Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
8376372b
Commit
8376372b
authored
Jul 04, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '巡维保验证bug修复'
parent
19370aae
Pipeline
#54510
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
12 deletions
+44
-12
AddModal.jsx
src/pages/bsmanager/maintenance/AddModal.jsx
+44
-12
No files found.
src/pages/bsmanager/maintenance/AddModal.jsx
View file @
8376372b
...
...
@@ -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
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment