You need to sign in or sign up before continuing.
|
@@ -135,12 +135,10 @@ export const step1Schemas: FormSchema[] = [ |
|
@@ -135,12 +135,10 @@ export const step1Schemas: FormSchema[] = [ |
|
135
|
required: true,
|
135
|
required: true,
|
|
136
|
component: 'Input',
|
136
|
component: 'Input',
|
|
137
|
colProps: { span: 14 },
|
137
|
colProps: { span: 14 },
|
|
138
|
- componentProps() {
|
|
|
|
139
|
- return {
|
|
|
|
140
|
- disabled: false,
|
|
|
|
141
|
- ength: 255,
|
|
|
|
142
|
- placeholder: '请输入产品名称',
|
|
|
|
143
|
- };
|
138
|
+ componentProps: {
|
|
|
|
139
|
+ disabled: false,
|
|
|
|
140
|
+ maxLength: 63,
|
|
|
|
141
|
+ placeholder: '请输入产品名称',
|
|
144
|
},
|
142
|
},
|
|
145
|
},
|
143
|
},
|
|
146
|
{
|
144
|
{
|
|
@@ -321,7 +321,6 @@ export const formSchema: QFormSchema[] = [ |
|
@@ -321,7 +321,6 @@ export const formSchema: QFormSchema[] = [ |
|
321
|
{
|
321
|
{
|
|
322
|
field: 'devices',
|
322
|
field: 'devices',
|
|
323
|
label: '设备',
|
323
|
label: '设备',
|
|
324
|
- helpMessage: ['报表配置只对拥有"数值型"属性的设备才能配置'],
|
|
|
|
325
|
component: 'Select',
|
324
|
component: 'Select',
|
|
326
|
slot: 'devices',
|
325
|
slot: 'devices',
|
|
327
|
colProps: { span: 24 },
|
326
|
colProps: { span: 24 },
|
|
@@ -13,7 +13,12 @@ |
|
@@ -13,7 +13,12 @@ |
|
13
|
:name="ifAdd ? 'name' : 'params'"
|
13
|
:name="ifAdd ? 'name' : 'params'"
|
|
14
|
:rules="[{ required: true, message: ifAdd ? '请输入脚本名称' : '请输入参数' }]"
|
14
|
:rules="[{ required: true, message: ifAdd ? '请输入脚本名称' : '请输入参数' }]"
|
|
15
|
>
|
15
|
>
|
|
16
|
- <a-input v-if="ifAdd" v-model:value="scriptForm.name" placeholder="请输入脚本名称" />
|
16
|
+ <a-input
|
|
|
|
17
|
+ v-if="ifAdd"
|
|
|
|
18
|
+ :maxlength="36"
|
|
|
|
19
|
+ v-model:value="scriptForm.name"
|
|
|
|
20
|
+ placeholder="请输入脚本名称"
|
|
|
|
21
|
+ />
|
|
17
|
<a-input
|
22
|
<a-input
|
|
18
|
@change="handleInputChange"
|
23
|
@change="handleInputChange"
|
|
19
|
v-else
|
24
|
v-else
|
|
@@ -127,7 +127,7 @@ export const accountFormSchema: FormSchema[] = [ |
|
@@ -127,7 +127,7 @@ export const accountFormSchema: FormSchema[] = [ |
|
127
|
colProps: { span: 12 },
|
127
|
colProps: { span: 12 },
|
|
128
|
required: true,
|
128
|
required: true,
|
|
129
|
componentProps: {
|
129
|
componentProps: {
|
|
130
|
- maxLength: 255,
|
130
|
+ maxLength: 10,
|
|
131
|
},
|
131
|
},
|
|
132
|
},
|
132
|
},
|
|
133
|
{
|
133
|
{
|