Commit 8376372b authored by 皮倩雯's avatar 皮倩雯

fix: '巡维保验证bug修复'

parent 19370aae
Pipeline #54510 passed with stages
......@@ -406,22 +406,38 @@ const AddModal = props => {
</Col>
<Col span={23}>
<Item
label="反馈名称"
label={
<>
<span
style={{
lineHeight: '12px',
verticalAlign: 'middle',
color: 'red',
fontSize: '16px',
marginRight: '4px',
marginTop: '4px',
}}
>
*
</span>
<span>反馈名称</span>
</>
}
name="feedbackName"
labelCol={{ span: 4 }}
rules={[
{
required: true,
message: '请输入业务名称',
},
{
validator: (rule, value) => {
if (inputValue.feedbackName == '') {
if (form.getFieldValue().feedbackName == '') {
return Promise.reject('反馈名称必填');
}
return Promise.resolve();
},
},
// {
// required: true,
// message: '请选择反馈名称',
// },
]}
>
<div className={styles.filed_listItem}>
......@@ -443,22 +459,38 @@ const AddModal = props => {
</Col>
<Col span={23}>
<Item
label="执行角色"
label={
<>
<span
style={{
lineHeight: '12px',
verticalAlign: 'middle',
color: 'red',
fontSize: '16px',
marginRight: '4px',
marginTop: '4px',
}}
>
*
</span>
<span>执行角色</span>
</>
}
name="doRole"
labelCol={{ span: 4 }}
rules={[
{
required: true,
message: '请输入业务名称',
},
{
validator: (rule, value) => {
if (inputValue.doRole == '') {
if (form.getFieldValue().doRole == '') {
return Promise.reject('执行角色必填');
}
return Promise.resolve();
},
},
// {
// required: true,
// message: '请选择执行角色',
// },
]}
>
<div className={styles.filed_listItem}>
......
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