Showing
1 changed file
with
1 additions
and
5 deletions
| @@ -10,7 +10,6 @@ import { findDictItemByCode } from '/@/api/system/dict'; | @@ -10,7 +10,6 @@ import { findDictItemByCode } from '/@/api/system/dict'; | ||
| 10 | import { DeviceTypeEnum } from '/@/api/device/model/deviceModel'; | 10 | import { DeviceTypeEnum } from '/@/api/device/model/deviceModel'; | 
| 11 | import { DataTypeEnum } from '/@/components/Form/src/externalCompns/components/StructForm/config'; | 11 | import { DataTypeEnum } from '/@/components/Form/src/externalCompns/components/StructForm/config'; | 
| 12 | import { TransportTypeEnum } from '/@/views/device/profiles/components/TransportDescript/const'; | 12 | import { TransportTypeEnum } from '/@/views/device/profiles/components/TransportDescript/const'; | 
| 13 | -import { nextTick } from 'vue'; | ||
| 14 | 13 | ||
| 15 | export enum BasicConfigField { | 14 | export enum BasicConfigField { | 
| 16 | NAME = 'name', | 15 | NAME = 'name', | 
| @@ -183,7 +182,7 @@ export const dataSourceSchema = (isEdit: boolean, frontId?: FrontComponent): For | @@ -183,7 +182,7 @@ export const dataSourceSchema = (isEdit: boolean, frontId?: FrontComponent): For | ||
| 183 | colProps: { span: 8 }, | 182 | colProps: { span: 8 }, | 
| 184 | rules: [{ required: true, message: '组织为必填项' }], | 183 | rules: [{ required: true, message: '组织为必填项' }], | 
| 185 | componentProps({ formActionType }) { | 184 | componentProps({ formActionType }) { | 
| 186 | - const { setFieldsValue, getFieldsValue } = formActionType; | 185 | + const { setFieldsValue } = formActionType; | 
| 187 | return { | 186 | return { | 
| 188 | placeholder: '请选择组织', | 187 | placeholder: '请选择组织', | 
| 189 | api: async () => { | 188 | api: async () => { | 
| @@ -195,9 +194,6 @@ export const dataSourceSchema = (isEdit: boolean, frontId?: FrontComponent): For | @@ -195,9 +194,6 @@ export const dataSourceSchema = (isEdit: boolean, frontId?: FrontComponent): For | ||
| 195 | setFieldsValue({ | 194 | setFieldsValue({ | 
| 196 | [DataSourceField.DEVICE_ID]: null, | 195 | [DataSourceField.DEVICE_ID]: null, | 
| 197 | }); | 196 | }); | 
| 198 | - nextTick(() => { | ||
| 199 | - console.log('org change', getFieldsValue()); | ||
| 200 | - }); | ||
| 201 | }, | 197 | }, | 
| 202 | getPopupContainer: () => document.body, | 198 | getPopupContainer: () => document.body, | 
| 203 | }; | 199 | }; |