tangning 1 年之前
父節點
當前提交
144fdfd5b3
共有 3 個文件被更改,包括 13 次插入5 次删除
  1. 3 4
      src/views/account/product/index.vue
  2. 1 1
      src/views/product/rtk/AddModal.vue
  3. 9 0
      src/views/product/rtk/list.vue

+ 3 - 4
src/views/account/product/index.vue

@@ -443,10 +443,9 @@
       const canDownload = ref<boolean>(true);
       function handleDownload(record: Recordable) {
         console.log('handleDownload', record);
-        let isObj = tableType.value == 4 ? 1 : 0;
-        let params = { num: record.num };
-        if (tableType.value == 4 || tableType.value == 2) {
-          params.isObj = isObj;
+        let params = { num: record.num, isObj: 0 };
+        if (tableType.value == 6 || tableType.value == 2) {
+          params.isObj = 1;
         }
         checkDownLoad(params).then((res) => {
           console.log(res);

+ 1 - 1
src/views/product/rtk/AddModal.vue

@@ -253,7 +253,7 @@
           { field: 'mountPoint', ifShow },
           { field: 'port', ifShow },
           { field: 'userName', ifShow },
-          { field: 'sgRtkSn', ifShow },
+          // { field: 'sgRtkSn', ifShow },
           { field: 'password', ifShow },
           { field: 'operator', ifShow },
         ]);

+ 9 - 0
src/views/product/rtk/list.vue

@@ -193,6 +193,15 @@
               xxl: 8,
             },
           },
+          {
+            field: 'sgRtkSn',
+            label: '深光rtk插件sn',
+            component: 'Input',
+            colProps: {
+              xl: 8,
+              xxl: 8,
+            },
+          },
         ],
       };
       const [registerTable, { reload }] = useTable({