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