shudonghui 1 rok pred
rodič
commit
bdaa428ffa

+ 1 - 1
src/views/system/config-manage/checkin-manage/index.vue

@@ -59,7 +59,7 @@
         v-loading="tableLoading"
       >
         <template #face-open="{ item, row }">
-          {{ row[columns.colKey] ? '是' : '否' }}
+          {{ row.faceOpen ? '是' : '否' }}
         </template>
         <template #ding-objs="{ row }">
           {{

+ 4 - 2
src/views/system/config-manage/device-manage/index.vue

@@ -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;