|
@@ -133,7 +133,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup name="DeviceManage">
|
|
|
-import { ref, reactive, onMounted } from 'vue';
|
|
|
+import {ref, reactive, onMounted, computed} from 'vue';
|
|
|
import { DialogPlugin, MessagePlugin } from 'tdesign-vue-next';
|
|
|
import useFetchTable from '@/hooks/useFetchTable';
|
|
|
import EditDeviceDialog from './edit-device-dialog.vue';
|
|
@@ -151,6 +151,7 @@ import {
|
|
|
import { dictToOptionList } from '@/utils/tool';
|
|
|
import { ABLE_TYPE, RUNNING_STATUS, INOUT_TYPE } from '@/config/constants';
|
|
|
import usePermission from '@/hooks/usePermission';
|
|
|
+import {omit} from "lodash";
|
|
|
const { perm } = usePermission();
|
|
|
|
|
|
const showEditDeviceDialog = ref(false);
|
|
@@ -306,7 +307,8 @@ const {
|
|
|
fetchData,
|
|
|
search,
|
|
|
onChange,
|
|
|
-} = useFetchTable(deviceQueryApi);
|
|
|
+} = useFetchTable(deviceQueryApi,{ params: params });
|
|
|
+
|
|
|
|
|
|
const selectChange = (value) => {
|
|
|
selectedRowKeys.value = value;
|