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
7906ce25
Commit
7906ce25
authored
Mar 14, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '流程审查功能样式优化'
parent
55ed17cd
Pipeline
#69151
waiting for manual action with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
36 deletions
+26
-36
ProcessConfig.jsx
...nager/workOrder/workFlow/flowComponents/ProcessConfig.jsx
+4
-4
AddModal.jsx
.../workFlow/flowComponents/timelimitComponents/AddModal.jsx
+7
-7
NodeEdit.jsx
...rkOrder/workFlow/flowNode/flowNodeComponents/NodeEdit.jsx
+5
-9
AddModal.jsx
...wNode/flowNodeComponents/auxiliaryComponents/AddModal.jsx
+10
-16
No files found.
src/pages/bsmanager/workOrder/workFlow/flowComponents/ProcessConfig.jsx
View file @
7906ce25
...
...
@@ -74,7 +74,7 @@ const ProcessConfig = props => {
<
Input
disabled
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"流程结束"
name=
"flowEndBehavior"
>
<
Radio
.
Group
disabled=
{
allDisabled
}
>
<
Radio
.
Group
>
<
Radio
value=
{
0
}
>
不做任何事情
</
Radio
>
<
Radio
value=
{
1
}
>
直接关闭事件
</
Radio
>
<
Radio
value=
{
2
}
>
事件转为待审核
</
Radio
>
...
...
@@ -87,7 +87,7 @@ const ProcessConfig = props => {
initialValue=
"多表显示"
rules=
{
[{
required
:
true
,
message
:
'请选择办理样式'
}]
}
>
<
Select
placeholder=
"请选择办理样式"
disabled=
{
allDisabled
}
>
<
Select
placeholder=
"请选择办理样式"
>
<
Option
value=
"多表在办显示"
>
多表在办显示
</
Option
>
<
Option
value=
"多表显示"
>
多表显示
</
Option
>
<
Option
value=
"表堆叠显示"
>
表堆叠显示
</
Option
>
...
...
@@ -95,13 +95,13 @@ const ProcessConfig = props => {
</
Select
>
</
Form
.
Item
>
<
Form
.
Item
label=
"编码样式"
name=
"useFixedCodingRule"
>
<
Radio
.
Group
disabled=
{
allDisabled
}
>
<
Radio
.
Group
>
<
Radio
value=
{
false
}
>
{
form
.
getFieldValue
(
'codingDefaultText'
)
}
</
Radio
>
<
Radio
value
>
{
form
.
getFieldValue
(
'coding12Text'
)
}
</
Radio
>
</
Radio
.
Group
>
</
Form
.
Item
>
<
Form
.
Item
label=
"接口配置"
name=
"interfaceConfig"
>
<
TextArea
placeholder=
"请填写接口配置"
disabled=
{
allDisabled
}
/>
<
TextArea
placeholder=
"请填写接口配置"
/>
</
Form
.
Item
>
</
Form
>
</
Modal
>
...
...
src/pages/bsmanager/workOrder/workFlow/flowComponents/timelimitComponents/AddModal.jsx
View file @
7906ce25
...
...
@@ -193,7 +193,7 @@ const AddModal = props => {
<
Input
disabled
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"规则名称"
name=
"Name"
rules=
{
[{
required
:
true
}]
}
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入规则名称"
/>
<
Input
placeholder=
"请输入规则名称"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"起止节点"
style=
{
{
marginBottom
:
0
,
message
:
'请选择节点'
}
}
required
>
<
div
style=
{
{
display
:
'flex'
}
}
>
...
...
@@ -202,7 +202,7 @@ const AddModal = props => {
style=
{
{
width
:
'100%'
}
}
rules=
{
[{
required
:
true
,
message
:
'请选择节点'
}]
}
>
<
Select
disabled=
{
allDisabled
}
>
<
Select
>
{
flowNodes
.
map
((
item
,
index
)
=>
(
<
Option
value=
{
item
.
Name
}
...
...
@@ -220,7 +220,7 @@ const AddModal = props => {
style=
{
{
width
:
'100%'
}
}
rules=
{
[{
required
:
true
,
message
:
'请选择节点'
}]
}
>
<
Select
disabled=
{
allDisabled
}
>
<
Select
>
{
flowNodes
.
map
((
item
,
index
)
=>
(
<
Option
value=
{
item
.
Name
}
...
...
@@ -250,14 +250,14 @@ const AddModal = props => {
},
]
}
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入默认时限"
/>
<
Input
placeholder=
"请输入默认时限"
/>
</
Form
.
Item
>
<
Form
.
Item
name=
"TimeUnit"
style=
{
{
width
:
'100%'
}
}
rules=
{
[{
required
:
true
,
message
:
'请选择时限单位'
}]
}
>
<
Select
disabled=
{
allDisabled
}
>
<
Select
>
<
Option
value=
"小时"
>
小时
</
Option
>
<
Option
value=
"自然日"
>
自然日
</
Option
>
<
Option
value=
"工作日"
>
工作日
</
Option
>
...
...
@@ -270,7 +270,7 @@ const AddModal = props => {
name=
"TimeLimitField"
rules=
{
[{
required
:
true
,
message
:
'请选择时限指派字段'
}]
}
>
<
Select
disabled=
{
allDisabled
}
>
<
Select
>
{
timeLimitFlowNodes
.
map
(
item
=>
(
<
Option
value=
{
item
.
Name
}
key=
{
item
.
ID
}
>
<
span
>
{
item
.
Name
}
</
span
>
...
...
@@ -287,7 +287,7 @@ const AddModal = props => {
name=
"TimeoutField"
rules=
{
[{
required
:
true
,
message
:
'请选择超时记录字段'
}]
}
>
<
Select
disabled=
{
allDisabled
}
>
<
Select
>
{
timeLimitFlowNodesEnd
.
map
(
item
=>
(
<
Option
value=
{
item
.
Name
}
key=
{
item
.
ID
}
>
<
span
>
{
item
.
Name
}
</
span
>
...
...
src/pages/bsmanager/workOrder/workFlow/flowNode/flowNodeComponents/NodeEdit.jsx
View file @
7906ce25
...
...
@@ -445,11 +445,11 @@ const NodeEdit = props => {
name=
"NodeAliasName"
rules=
{
[{
required
:
true
,
message
:
'请填写节点别名'
}]
}
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入节点别名"
/>
<
Input
placeholder=
"请输入节点别名"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"节点类型"
>
<
Form
.
Item
name=
"NodeType"
style=
{
{
marginBottom
:
'10px'
}
}
>
<
Select
disabled=
{
allDisabled
}
placeholder=
"请选择节点类型"
style=
{
{
width
:
'334px'
}
}
>
<
Select
placeholder=
"请选择节点类型"
style=
{
{
width
:
'334px'
}
}
>
<
Option
value=
"办理"
>
办理
</
Option
>
<
Option
value=
"上报"
>
上报
</
Option
>
<
Option
value=
"分派"
>
分派
</
Option
>
...
...
@@ -463,7 +463,7 @@ const NodeEdit = props => {
<
Row
span=
{
24
}
>
<
Col
span=
{
9
}
>
<
Form
.
Item
name=
"Rollbackable"
valuePropName=
"checked"
style=
{
{
marginBottom
:
0
}
}
>
<
Checkbox
disabled=
{
allDisabled
}
>
允许回退至
</
Checkbox
>
<
Checkbox
>
允许回退至
</
Checkbox
>
</
Form
.
Item
>
</
Col
>
<
Col
span=
{
9
}
>
...
...
@@ -489,7 +489,6 @@ const NodeEdit = props => {
onChange=
{
changTable
}
showSearch
style=
{
{
width
:
'100%'
}
}
disabled=
{
allDisabled
}
>
{
eventTable
.
map
(
item
=>
(
<
Option
value=
{
item
.
Name
}
key=
{
item
.
ID
}
>
...
...
@@ -499,7 +498,7 @@ const NodeEdit = props => {
</
Select
>
</
Form
.
Item
>
<
Form
.
Item
label=
"移交方式"
name=
"Handover"
>
<
Radio
.
Group
disabled=
{
allDisabled
}
>
<
Radio
.
Group
>
<
Radio
value=
"移交选择人"
>
移交选择人
</
Radio
>
<
Radio
value=
"自处理"
>
自处理
</
Radio
>
<
Radio
value=
"移交默认人"
>
移交默认人
</
Radio
>
...
...
@@ -558,7 +557,6 @@ const NodeEdit = props => {
unCheckedChildren=
"否"
checked=
{
visibleChecked5
}
onChange=
{
change5
}
disabled=
{
allDisabled
}
/>
</
Form
.
Item
>
<
Form
.
Item
...
...
@@ -619,7 +617,6 @@ const NodeEdit = props => {
unCheckedChildren=
"否"
checked=
{
visibleChecked1
}
onChange=
{
change1
}
disabled=
{
allDisabled
}
/>
{
/* <Radio.Group>
<Radio value="0">否</Radio>
...
...
@@ -632,7 +629,6 @@ const NodeEdit = props => {
unCheckedChildren=
"否"
checked=
{
visibleChecked2
}
onChange=
{
change2
}
disabled=
{
allDisabled
}
/>
{
/* <Radio.Group>
<Radio value={0}>否</Radio>
...
...
@@ -656,7 +652,7 @@ const NodeEdit = props => {
>
<
div
className=
{
styles
.
filedListItem
}
>
<
Form
.
Item
name=
"Fields"
style=
{
{
marginBottom
:
0
,
width
:
'100%'
}
}
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请选编辑字段"
allowClear
/>
<
Input
placeholder=
"请选编辑字段"
allowClear
/>
</
Form
.
Item
>
{
allDisabled
?
null
:
(
<
Button
...
...
src/pages/bsmanager/workOrder/workFlow/flowNode/flowNodeComponents/auxiliaryComponents/AddModal.jsx
View file @
7906ce25
...
...
@@ -120,7 +120,7 @@ const ProcessConfig = props => {
<
Input
disabled
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"前端标签"
name=
"WebLabel"
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入前端标签"
/>
<
Input
placeholder=
"请输入前端标签"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"前端视图"
name=
"WebPage"
>
<
Select
...
...
@@ -131,7 +131,6 @@ const ProcessConfig = props => {
optionLabelProp=
"label"
value=
{
selectValue
}
style=
{
{
marginLeft
:
'-3px'
}
}
disabled=
{
allDisabled
}
>
<
Option
value=
"FeedbackAccount"
label=
"FeedbackAccount"
>
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
...
...
@@ -158,11 +157,7 @@ const ProcessConfig = props => {
{
selectValue
===
'FeedbackAccount'
&&
(
<
div
style=
{
{
display
:
'flex'
}
}
>
<
Form
.
Item
name=
"WebParam"
style=
{
{
marginBottom
:
0
,
width
:
'100%'
}
}
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入视图参数"
style=
{
{
width
:
'100%'
}
}
/>
<
Input
placeholder=
"请输入视图参数"
style=
{
{
width
:
'100%'
}
}
/>
</
Form
.
Item
>
{
allDisabled
?
null
:
<
Button
onClick=
{
addParama
}
>
参数管理
</
Button
>
}
</
div
>
...
...
@@ -174,32 +169,31 @@ const ProcessConfig = props => {
onSearch=
{
changeParam
}
showSearch
style=
{
{
marginLeft
:
'-3px'
}
}
disabled=
{
allDisabled
}
>
{
paramValue
?
paramValue
.
map
((
item
,
index
)
=>
(
<
Option
key=
{
index
}
value=
{
item
}
>
{
item
}
</
Option
>
))
<
Option
key=
{
index
}
value=
{
item
}
>
{
item
}
</
Option
>
))
:
''
}
</
Select
>
</
Form
.
Item
>
)
}
{
selectValue
!==
'FeedbackAccount'
&&
selectValue
!==
'GisGatherProjectView'
&&
(
<
Form
.
Item
name=
"WebParam"
style=
{
{
marginBottom
:
0
,
width
:
'100%'
}
}
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入视图参数"
/>
<
Input
placeholder=
"请输入视图参数"
/>
</
Form
.
Item
>
)
}
</
Form
.
Item
>
<
Form
.
Item
label=
"手持标签"
name=
"MobileLabel"
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入手持标签"
/>
<
Input
placeholder=
"请输入手持标签"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"手持视图"
name=
"MobilePage"
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入手持视图"
/>
<
Input
placeholder=
"请输入手持视图"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"手持参数"
name=
"MobileParam"
>
<
Input
disabled=
{
allDisabled
}
placeholder=
"请输入手持参数"
/>
<
Input
placeholder=
"请输入手持参数"
/>
</
Form
.
Item
>
</
Form
>
<
ParmarModal
...
...
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