|
@@ -101,6 +101,7 @@
|
|
|
}"
|
|
|
:selected-row-keys="selectedRowKeys"
|
|
|
@select-change="selectChange"
|
|
|
+ :key="tableKey"
|
|
|
>
|
|
|
<template #serviceName="{ row }">
|
|
|
{{ row.serviceName || '--' }}
|
|
@@ -184,7 +185,7 @@ import EditDeviceInfoDialog from './edit-device-info-dialog.vue';
|
|
|
import { dictToOptionList } from '@/utils/tool';
|
|
|
import { downloadImportTemplate } from '@/api/common';
|
|
|
const { perm } = usePermission();
|
|
|
-
|
|
|
+const tableKey = ref(Date.now() + '');
|
|
|
const curRow = ref(null);
|
|
|
const showEditDeviceDialog = ref(false);
|
|
|
|
|
@@ -433,6 +434,7 @@ const { pagination, tableData, fetchData, search, onChange } = useFetchTable(
|
|
|
{
|
|
|
fetchDataHandle: () => {
|
|
|
selectedRowKeys.value = [];
|
|
|
+ tableKey.value = Date.now() + '';
|
|
|
},
|
|
|
params: computedParams,
|
|
|
}
|