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
ad36ad47
Commit
ad36ad47
authored
9 months ago
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 辅助视图添加 公文预览
parent
64e59090
Pipeline
#91474
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
26 deletions
+24
-26
AddView.jsx
...nents/flowChartComponents/nodeModalComponents/AddView.jsx
+24
-26
No files found.
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/nodeModalComponents/AddView.jsx
View file @
ad36ad47
...
...
@@ -28,8 +28,14 @@ const WebPages = [
value
:
'XGWorkOrderView'
,
type
:
'专用'
,
color
:
'purple'
,
}
]
},
{
lable
:
'OfficialDocumentView:公文预览'
,
value
:
'OfficialDocumentView'
,
type
:
'专用'
,
color
:
'purple'
,
},
];
const
{
Option
}
=
Select
;
const
AddView
=
props
=>
{
...
...
@@ -118,18 +124,14 @@ const AddView = props => {
</
Form
.
Item
>
<
Form
.
Item
label=
"前端视图"
name=
"WebPage"
>
<
Select
placeholder=
"请输入前端视图"
showSearch
optionLabelProp=
"label"
>
{
WebPages
.
map
(
v
=>
{
return
(
<
Option
value=
{
v
.
value
}
label=
{
v
.
value
}
>
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
<
Tag
color=
{
v
.
color
}
>
{
v
.
type
}
</
Tag
>
{
v
.
lable
}
</
div
>
</
Option
>
)
})
}
{
WebPages
.
map
(
v
=>
(
<
Option
value=
{
v
.
value
}
label=
{
v
.
value
}
>
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
<
Tag
color=
{
v
.
color
}
>
{
v
.
type
}
</
Tag
>
{
v
.
lable
}
</
div
>
</
Option
>
))
}
</
Select
>
</
Form
.
Item
>
<
Form
.
Item
...
...
@@ -165,18 +167,14 @@ const AddView = props => {
</
Form
.
Item
>
<
Form
.
Item
label=
"手持视图"
name=
"MobilePage"
>
<
Select
placeholder=
"请输入手持视图"
showSearch
optionLabelProp=
"label"
>
{
WebPages
.
map
(
v
=>
{
return
(
<
Option
value=
{
v
.
value
}
label=
{
v
.
value
}
>
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
<
Tag
color=
{
v
.
color
}
>
{
v
.
type
}
</
Tag
>
{
v
.
lable
}
</
div
>
</
Option
>
)
})
}
{
WebPages
.
map
(
v
=>
(
<
Option
value=
{
v
.
value
}
label=
{
v
.
value
}
>
<
div
style=
{
{
marginRight
:
'6px'
}
}
>
<
Tag
color=
{
v
.
color
}
>
{
v
.
type
}
</
Tag
>
{
v
.
lable
}
</
div
>
</
Option
>
))
}
</
Select
>
</
Form
.
Item
>
<
Form
.
Item
...
...
This diff is collapsed.
Click to expand it.
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