fix: 台账字段调整
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<ns-modal
|
<ns-modal
|
||||||
ref="modalRef"
|
ref="modalRef"
|
||||||
centered
|
|
||||||
v-bind="extraModalConfig"
|
v-bind="extraModalConfig"
|
||||||
destroyOnClose
|
destroyOnClose
|
||||||
v-model:visible="visible"
|
v-model:visible="visible"
|
||||||
|
|||||||
@@ -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' },
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!-- @format -->
|
<!-- @format -->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<a-modal v-bind="getBindValue">
|
<a-modal v-bind="getBindValue" centered>
|
||||||
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
|
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
|
||||||
<slot :name="item" v-bind="data || {}"></slot>
|
<slot :name="item" v-bind="data || {}"></slot>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user