tangning 2 lat temu
rodzic
commit
e8bbcee156

+ 1 - 1
src/views/account/overview/AddDownModal.vue

@@ -97,7 +97,7 @@
         console.log('onDataReceive', data, res);
         resetFields();
         fileFlow.type = data.type;
-        fileFlow.id = data.userId;
+        fileFlow.id = data.id;
         fileFlow.title = data.type == '1' ? '新增下载(四维看看)' : '新增下载(四维深时)';
         setFieldsValue(data);
       }

+ 4 - 4
src/views/account/overview/data.tsx

@@ -42,10 +42,10 @@ export const refundSchema: DescItem[] = [
     field: 'createTime',
     label: '注册时间',
   },
-  {
-    field: 'vip',
-    label: '四维看看会员',
-  },
+  // {
+  //   field: 'vip',
+  //   label: '四维看看会员',
+  // },
 ];
 export const personSchema: DescItem[] = [
   {

+ 5 - 3
src/views/empower/install.vue

@@ -6,9 +6,9 @@
           >授权</a-button
         >
       </template>
-      <template #copy="{ record }">
-        <a @click="handleCopy(record.authorizeKey)">
-          {{ record.authorizeKey }}
+      <template #copy="{ text }">
+        <a @click="handleCopy(text)">
+          {{ text }}
         </a>
       </template>
       <template #action="{ record }">
@@ -100,12 +100,14 @@
         {
           title: '设备UUID',
           ellipsis: true,
+          slots: { customRender: 'copy' },
           dataIndex: 'machineUuid',
           width: 120,
         },
         {
           title: '设备名称',
           ellipsis: true,
+          slots: { customRender: 'copy' },
           dataIndex: 'machineName',
           width: 120,
         },