|
@ -1,3 +1,4 @@ |
|
|
|
|
|
import { device } from './../../../api/deviceManage'; |
|
|
import { dateUtil } from '/nerv-lib/util/date-util'; |
|
|
import { dateUtil } from '/nerv-lib/util/date-util'; |
|
|
import { device } from '/@/api/deviceManage'; |
|
|
import { device } from '/@/api/deviceManage'; |
|
|
import { ref } from 'vue'; |
|
|
import { ref } from 'vue'; |
|
@ -14,7 +15,7 @@ export const tableConfig = (orgId) => { |
|
|
title: '设备类别', |
|
|
title: '设备类别', |
|
|
}, |
|
|
}, |
|
|
params: { orgId }, |
|
|
params: { orgId }, |
|
|
dynamicParams: 'code', |
|
|
dynamicParams: { deviceCode: 'code' }, |
|
|
defaultExpandAll: true, |
|
|
defaultExpandAll: true, |
|
|
api: device.queryDeviceTree, |
|
|
api: device.queryDeviceTree, |
|
|
fieldNames: { title: 'deviceType', key: 'code' }, |
|
|
fieldNames: { title: 'deviceType', key: 'code' }, |
|
|