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
412fc2ea
Commit
412fc2ea
authored
Feb 20, 2024
by
田翔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 优化
parent
68d1ac7b
Pipeline
#85089
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
28 deletions
+47
-28
AddView.jsx
...nents/flowChartComponents/nodeModalComponents/AddView.jsx
+47
-28
No files found.
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/nodeModalComponents/AddView.jsx
View file @
412fc2ea
...
@@ -3,6 +3,28 @@ import React, { useEffect, useState } from 'react';
...
@@ -3,6 +3,28 @@ import React, { useEffect, useState } from 'react';
import
{
Form
,
Modal
,
Input
,
message
,
Button
,
Select
,
Tag
}
from
'antd'
;
import
{
Form
,
Modal
,
Input
,
message
,
Button
,
Select
,
Tag
}
from
'antd'
;
import
ParmarModal
from
'../../../../workFlow/flowNode/flowNodeComponents/auxiliaryComponents/ParmarModal'
;
import
ParmarModal
from
'../../../../workFlow/flowNode/flowNodeComponents/auxiliaryComponents/ParmarModal'
;
import
MobileParmarModal
from
'../../../../workFlow/flowNode/flowNodeComponents/auxiliaryComponents/ParmarModal'
;
import
MobileParmarModal
from
'../../../../workFlow/flowNode/flowNodeComponents/auxiliaryComponents/ParmarModal'
;
const
WebPages
=
[
{
lable
:
'FeedbackAccount:工单反馈标准视图'
,
value
:
'FeedbackAccount'
,
type
:
'标准'
,
color
:
'blue'
,
},
{
lable
:
'GisGatherProjectView:管网采集辅助视图'
,
value
:
'GisGatherProjectView'
,
type
:
'专用'
,
color
:
'purple'
,
},
{
lable
:
'CRMProductDetailView:CRM产品调拨辅助视图'
,
value
:
'CRMProductDetailView'
,
type
:
'专用'
,
color
:
'purple'
,
}
]
const
{
Option
}
=
Select
;
const
{
Option
}
=
Select
;
const
AddView
=
props
=>
{
const
AddView
=
props
=>
{
const
{
onSubumit
,
handleCancel
,
visible
,
msg
,
flowNodeId
,
modalType
,
title
}
=
props
;
const
{
onSubumit
,
handleCancel
,
visible
,
msg
,
flowNodeId
,
modalType
,
title
}
=
props
;
...
@@ -71,6 +93,7 @@ const AddView = props => {
...
@@ -71,6 +93,7 @@ const AddView = props => {
return
(
return
(
<
Modal
<
Modal
title=
"流程节点辅助视图配置"
title=
"流程节点辅助视图配置"
width=
{
600
}
visible=
{
visible
}
visible=
{
visible
}
onOk=
{
onFinish
}
onOk=
{
onFinish
}
onCancel=
{
handleCancel
}
onCancel=
{
handleCancel
}
...
@@ -84,26 +107,23 @@ const AddView = props => {
...
@@ -84,26 +107,23 @@ const AddView = props => {
initialValues=
{
{
remember
:
true
}
}
initialValues=
{
{
remember
:
true
}
}
onFieldsChange=
{
changeValue
}
onFieldsChange=
{
changeValue
}
>
>
{
/* <Form.Item label="流程节点" name="FlowName">
<Input disabled />
</Form.Item> */
}
<
Form
.
Item
label=
"前端标签"
name=
"WebLabel"
>
<
Form
.
Item
label=
"前端标签"
name=
"WebLabel"
>
<
Input
placeholder=
"请输入前端标签"
/>
<
Input
placeholder=
"请输入前端标签"
/>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
label=
"前端视图"
name=
"WebPage"
>
<
Form
.
Item
label=
"前端视图"
name=
"WebPage"
>
<
Select
placeholder=
"请输入前端视图"
showSearch
optionLabelProp=
"label"
>
<
Select
placeholder=
"请输入前端视图"
showSearch
optionLabelProp=
"label"
>
<
Option
value=
"FeedbackAccount"
label=
"FeedbackAccount"
>
{
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
WebPages
.
map
(
v
=>
{
<
Tag
color=
"blue"
>
标准
</
Tag
>
return
(
FeedbackAccount:工单反馈标准视图
<
Option
value=
{
v
.
value
}
label=
{
v
.
value
}
>
</
div
>
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
</
Option
>
<
Tag
color=
{
v
.
color
}
>
{
v
.
type
}
</
Tag
>
<
Option
value=
"GisGatherProjectView"
label=
"GisGatherProjectView"
>
{
v
.
lable
}
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
</
div
>
<
Tag
color=
"purple"
>
专用
</
Tag
>
</
Option
>
GisGatherProjectView:管网采集辅助视图
)
</
div
>
})
</
Option
>
}
</
Select
>
</
Select
>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
<
Form
.
Item
...
@@ -138,20 +158,19 @@ const AddView = props => {
...
@@ -138,20 +158,19 @@ const AddView = props => {
<
Input
placeholder=
"请输入手持标签"
/>
<
Input
placeholder=
"请输入手持标签"
/>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
label=
"手持视图"
name=
"MobilePage"
>
<
Form
.
Item
label=
"手持视图"
name=
"MobilePage"
>
{
/* <Input placeholder="请输入手持视图" /> */
}
<
Select
placeholder=
"请输入手持视图"
showSearch
optionLabelProp=
"label"
>
<
Select
placeholder=
"请输入手持视图"
showSearch
optionLabelProp=
"label"
>
<
Option
value=
"FeedbackAccount"
label=
"FeedbackAccount"
>
{
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
WebPages
.
map
(
v
=>
{
<
Tag
color=
"blue"
>
标准
</
Tag
>
return
(
FeedbackAccount:工单反馈标准视图
<
Option
value=
{
v
.
value
}
label=
{
v
.
value
}
>
</
div
>
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
</
Option
>
<
Tag
color=
{
v
.
color
}
>
{
v
.
type
}
</
Tag
>
<
Option
value=
"GisGatherProjectView"
label=
"GisGatherProjectView"
>
{
v
.
lable
}
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
</
div
>
<
Tag
color=
"purple"
>
专用
</
Tag
>
</
Option
>
GisGatherProjectView:管网采集辅助视图
)
</
div
>
})
</
Option
>
}
</
Select
>
</
Select
>
</
Form
.
Item
>
</
Form
.
Item
>
{
/* <Form.Item label="手持参数" name="MobileParam">
{
/* <Form.Item label="手持参数" name="MobileParam">
...
...
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