Commit 005dcea9 by 董晓奇

基础数据中,生产数据-->采集项中增加字段:是否获取设备数采。选择是否

parent ac0c5a6d
...@@ -144,7 +144,7 @@ export interface FormProps { ...@@ -144,7 +144,7 @@ export interface FormProps {
formWidth?: number; formWidth?: number;
isSearch?: boolean; isSearch?: boolean;
slots?: Slots; slots?: Slots;
buttonList: buttonListInfo[]; buttonList?: buttonListInfo[];
} }
export interface FormSchema { export interface FormSchema {
// Field name // Field name
......
...@@ -210,9 +210,9 @@ export const formProps: FormProps = { ...@@ -210,9 +210,9 @@ export const formProps: FormProps = {
span: 8, span: 8,
list: [ list: [
{ {
label: '编号',
key: '63358dcd4fc24817b7ed628c1628b768', key: '63358dcd4fc24817b7ed628c1628b768',
field: 'code', field: 'code',
label: '编号',
type: 'auto-code', type: 'auto-code',
component: 'AutoCodeRule', component: 'AutoCodeRule',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -233,9 +233,9 @@ export const formProps: FormProps = { ...@@ -233,9 +233,9 @@ export const formProps: FormProps = {
}, },
}, },
{ {
label: '采集内容',
key: 'e7f5cb98a72b435486e7b27202b20314', key: 'e7f5cb98a72b435486e7b27202b20314',
field: 'contentType', field: 'contentType',
label: '采集内容',
type: 'select', type: 'select',
component: 'XjrSelect', component: 'XjrSelect',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -273,9 +273,9 @@ export const formProps: FormProps = { ...@@ -273,9 +273,9 @@ export const formProps: FormProps = {
}, },
}, },
{ {
label: '标准值',
key: '6bcc83ede1a446bd95291c6af00ab4af', key: '6bcc83ede1a446bd95291c6af00ab4af',
field: 'standardValue', field: 'standardValue',
label: '标准值',
type: 'input', type: 'input',
component: 'Input', component: 'Input',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -305,15 +305,38 @@ export const formProps: FormProps = { ...@@ -305,15 +305,38 @@ export const formProps: FormProps = {
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
{
label: '获取设备数采',
key: '781dbbcd076e4d3c87e7f1bef5a237d7',
field: 'deviceAcquisitionData',
type: 'switch',
component: 'Switch',
colProps: { span: 24 },
defaultValue: 0,
componentProps: {
span: 7,
defaultValue: 0,
checkedChildren: '',
unCheckedChildren: '',
checkedColor: '#4da9ff',
unCheckedColor: '#6b6b6b',
showLabel: true,
disabled: false,
events: {},
isShow: true,
tooltipConfig: { visible: false, title: '提示文本' },
style: {},
},
},
], ],
}, },
{ {
span: 8, span: 8,
list: [ list: [
{ {
label: '名称',
key: '94675ea0ccc842aaaeec56e898af23ec', key: '94675ea0ccc842aaaeec56e898af23ec',
field: 'name', field: 'name',
label: '名称',
type: 'input', type: 'input',
component: 'Input', component: 'Input',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -344,9 +367,9 @@ export const formProps: FormProps = { ...@@ -344,9 +367,9 @@ export const formProps: FormProps = {
}, },
}, },
{ {
label: '项目类别',
key: 'aeef62f898504ee69ec02be990a3e827', key: 'aeef62f898504ee69ec02be990a3e827',
field: 'qualityCategoryId', field: 'qualityCategoryId',
label: '项目类别',
type: 'select', type: 'select',
component: 'XjrSelect', component: 'XjrSelect',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -384,9 +407,9 @@ export const formProps: FormProps = { ...@@ -384,9 +407,9 @@ export const formProps: FormProps = {
}, },
}, },
{ {
label: '标准上限',
key: 'd1f5113e7e8a462d8b33908230ea7fc3', key: 'd1f5113e7e8a462d8b33908230ea7fc3',
field: 'upperValue', field: 'upperValue',
label: '标准上限',
type: 'number', type: 'number',
component: 'InputNumber', component: 'InputNumber',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -414,9 +437,9 @@ export const formProps: FormProps = { ...@@ -414,9 +437,9 @@ export const formProps: FormProps = {
span: 8, span: 8,
list: [ list: [
{ {
label: '必填项',
key: '781dbbcd076e4d3c87e7f1bef5a237d7', key: '781dbbcd076e4d3c87e7f1bef5a237d7',
field: 'required', field: 'required',
label: '必填项',
type: 'switch', type: 'switch',
component: 'Switch', component: 'Switch',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -437,9 +460,9 @@ export const formProps: FormProps = { ...@@ -437,9 +460,9 @@ export const formProps: FormProps = {
}, },
}, },
{ {
label: '数据类型',
key: 'a70a1e8f07f342a5b92de0a9e8bb1777', key: 'a70a1e8f07f342a5b92de0a9e8bb1777',
field: 'dataType', field: 'dataType',
label: '数据类型',
type: 'select', type: 'select',
component: 'XjrSelect', component: 'XjrSelect',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -477,9 +500,9 @@ export const formProps: FormProps = { ...@@ -477,9 +500,9 @@ export const formProps: FormProps = {
}, },
}, },
{ {
label: '标准下限',
key: '076321d9eb244b1c9f6e2f9ddc53091e', key: '076321d9eb244b1c9f6e2f9ddc53091e',
field: 'lowerValue', field: 'lowerValue',
label: '标准下限',
type: 'number', type: 'number',
component: 'InputNumber', component: 'InputNumber',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -507,9 +530,9 @@ export const formProps: FormProps = { ...@@ -507,9 +530,9 @@ export const formProps: FormProps = {
span: 24, span: 24,
list: [ list: [
{ {
label: '备注',
key: '181de7ae00fd4ffda6cb3a729c65bc58', key: '181de7ae00fd4ffda6cb3a729c65bc58',
field: 'note', field: 'note',
label: '备注',
type: 'textarea', type: 'textarea',
component: 'InputTextArea', component: 'InputTextArea',
colProps: { span: 24 }, colProps: { span: 24 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment