fix: 台账字段调整
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<template>
|
||||
<ns-modal
|
||||
ref="modalRef"
|
||||
centered
|
||||
v-bind="extraModalConfig"
|
||||
destroyOnClose
|
||||
v-model:visible="visible"
|
||||
|
@@ -1,3 +1,4 @@
|
||||
import { device } from './../../../api/deviceManage';
|
||||
import { dateUtil } from '/nerv-lib/util/date-util';
|
||||
import { device } from '/@/api/deviceManage';
|
||||
import { ref } from 'vue';
|
||||
@@ -14,7 +15,7 @@ export const tableConfig = (orgId) => {
|
||||
title: '设备类别',
|
||||
},
|
||||
params: { orgId },
|
||||
dynamicParams: 'code',
|
||||
dynamicParams: { deviceCode: 'code' },
|
||||
defaultExpandAll: true,
|
||||
api: device.queryDeviceTree,
|
||||
fieldNames: { title: 'deviceType', key: 'code' },
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<!-- @format -->
|
||||
|
||||
<template>
|
||||
<a-modal v-bind="getBindValue">
|
||||
<a-modal v-bind="getBindValue" centered>
|
||||
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
|
||||
<slot :name="item" v-bind="data || {}"></slot>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user