Commit 005dcea9 by 董晓奇

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

parent ac0c5a6d
......@@ -144,7 +144,7 @@ export interface FormProps {
formWidth?: number;
isSearch?: boolean;
slots?: Slots;
buttonList: buttonListInfo[];
buttonList?: buttonListInfo[];
}
export interface FormSchema {
// Field name
......
......@@ -210,9 +210,9 @@ export const formProps: FormProps = {
span: 8,
list: [
{
label: '编号',
key: '63358dcd4fc24817b7ed628c1628b768',
field: 'code',
label: '编号',
type: 'auto-code',
component: 'AutoCodeRule',
colProps: { span: 24 },
......@@ -233,9 +233,9 @@ export const formProps: FormProps = {
},
},
{
label: '采集内容',
key: 'e7f5cb98a72b435486e7b27202b20314',
field: 'contentType',
label: '采集内容',
type: 'select',
component: 'XjrSelect',
colProps: { span: 24 },
......@@ -273,9 +273,9 @@ export const formProps: FormProps = {
},
},
{
label: '标准值',
key: '6bcc83ede1a446bd95291c6af00ab4af',
field: 'standardValue',
label: '标准值',
type: 'input',
component: 'Input',
colProps: { span: 24 },
......@@ -305,15 +305,38 @@ export const formProps: FormProps = {
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,
list: [
{
label: '名称',
key: '94675ea0ccc842aaaeec56e898af23ec',
field: 'name',
label: '名称',
type: 'input',
component: 'Input',
colProps: { span: 24 },
......@@ -344,9 +367,9 @@ export const formProps: FormProps = {
},
},
{
label: '项目类别',
key: 'aeef62f898504ee69ec02be990a3e827',
field: 'qualityCategoryId',
label: '项目类别',
type: 'select',
component: 'XjrSelect',
colProps: { span: 24 },
......@@ -384,9 +407,9 @@ export const formProps: FormProps = {
},
},
{
label: '标准上限',
key: 'd1f5113e7e8a462d8b33908230ea7fc3',
field: 'upperValue',
label: '标准上限',
type: 'number',
component: 'InputNumber',
colProps: { span: 24 },
......@@ -414,9 +437,9 @@ export const formProps: FormProps = {
span: 8,
list: [
{
label: '必填项',
key: '781dbbcd076e4d3c87e7f1bef5a237d7',
field: 'required',
label: '必填项',
type: 'switch',
component: 'Switch',
colProps: { span: 24 },
......@@ -437,9 +460,9 @@ export const formProps: FormProps = {
},
},
{
label: '数据类型',
key: 'a70a1e8f07f342a5b92de0a9e8bb1777',
field: 'dataType',
label: '数据类型',
type: 'select',
component: 'XjrSelect',
colProps: { span: 24 },
......@@ -477,9 +500,9 @@ export const formProps: FormProps = {
},
},
{
label: '标准下限',
key: '076321d9eb244b1c9f6e2f9ddc53091e',
field: 'lowerValue',
label: '标准下限',
type: 'number',
component: 'InputNumber',
colProps: { span: 24 },
......@@ -507,9 +530,9 @@ export const formProps: FormProps = {
span: 24,
list: [
{
label: '备注',
key: '181de7ae00fd4ffda6cb3a729c65bc58',
field: 'note',
label: '备注',
type: 'textarea',
component: 'InputTextArea',
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