|
@ -1,11 +1,6 @@ |
|
|
import { NsSelect } from './../../../../../lib/component/form/select/index'; |
|
|
|
|
|
import { dateUtil } from '/nerv-lib/util/date-util'; |
|
|
|
|
|
import data from './mock.json'; |
|
|
|
|
|
import { http } from '/nerv-lib/util'; |
|
|
import { http } from '/nerv-lib/util'; |
|
|
import { ref } from 'vue'; |
|
|
import { group } from '/@/api/deviceManage'; |
|
|
import { device, group } from '/@/api/deviceManage'; |
|
|
|
|
|
import { dict } from '/@/api'; |
|
|
import { dict } from '/@/api'; |
|
|
import { origanizemanage } from '/@/api/origanizemanage'; |
|
|
|
|
|
const tableCalKeyMap = [ |
|
|
const tableCalKeyMap = [ |
|
|
{ |
|
|
{ |
|
|
title: '来源企业', |
|
|
title: '来源企业', |
|
@ -103,7 +98,8 @@ export const formSchema = [ |
|
|
field: 'pointName', |
|
|
field: 'pointName', |
|
|
component: 'NsInput', |
|
|
component: 'NsInput', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
placeholder: '请输入节点名称(必填)', |
|
|
placeholder: '请输入', |
|
|
|
|
|
maxLength: 32, |
|
|
}, |
|
|
}, |
|
|
rules: [ |
|
|
rules: [ |
|
|
{ |
|
|
{ |
|
@ -117,7 +113,7 @@ export const formSchema = [ |
|
|
field: 'pointType', |
|
|
field: 'pointType', |
|
|
component: 'NsSelectApi', |
|
|
component: 'NsSelectApi', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
placeholder: '请选择节点类型(必填)', |
|
|
placeholder: '请选择', |
|
|
api: () => dict({ params: { dicKey: 'COUNT_POINT' } }), |
|
|
api: () => dict({ params: { dicKey: 'COUNT_POINT' } }), |
|
|
// params: { dicKey: 'COUNT_POINT' },
|
|
|
// params: { dicKey: 'COUNT_POINT' },
|
|
|
immediate: true, |
|
|
immediate: true, |
|
|