mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-embeded.git
synced 2025-06-24 13:34:13 +08:00
fixed
This commit is contained in:
parent
3465897824
commit
247f564cd1
@ -53,12 +53,12 @@ export const schema = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'deviceSn',
|
field: 'deviceSn',
|
||||||
label: '设备序列号',
|
label: '设备',
|
||||||
defaultValue: undefined,
|
defaultValue: undefined,
|
||||||
form: {
|
form: {
|
||||||
componentProps: {
|
componentProps: {
|
||||||
allowClear: true,
|
allowClear: true,
|
||||||
placeholder: '设备序列号',
|
placeholder: '请选择设备',
|
||||||
labelInValue: false,
|
labelInValue: false,
|
||||||
api: DeviceApi.all,
|
api: DeviceApi.all,
|
||||||
params: {},
|
params: {},
|
||||||
@ -68,6 +68,7 @@ export const schema = {
|
|||||||
},
|
},
|
||||||
colProps,
|
colProps,
|
||||||
component: 'ApiSelect',
|
component: 'ApiSelect',
|
||||||
|
rules: [{ required: true, message: '请选择设备!' }],
|
||||||
},
|
},
|
||||||
table: {
|
table: {
|
||||||
},
|
},
|
||||||
@ -84,6 +85,7 @@ export const schema = {
|
|||||||
},
|
},
|
||||||
slot: 'paramJson',
|
slot: 'paramJson',
|
||||||
colProps: { span: 24 },
|
colProps: { span: 24 },
|
||||||
|
rules: [{ required: true, message: '请输入任务参数!' }],
|
||||||
},
|
},
|
||||||
table: {
|
table: {
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user