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
ada095e6
Commit
ada095e6
authored
Sep 05, 2024
by
田翔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 事件配置增加抄送字段
parent
b3f51977
Pipeline
#92387
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
index.js
src/pages/bsmanager/workOrder/incident/AddModal/index.js
+40
-0
No files found.
src/pages/bsmanager/workOrder/incident/AddModal/index.js
View file @
ada095e6
...
@@ -437,10 +437,12 @@ const AddModal = (props) => {
...
@@ -437,10 +437,12 @@ const AddModal = (props) => {
const
[
reportIsShow
,
setReportIsShow
]
=
useState
(
'none'
);
// 上报字段外部字段是否显示
const
[
reportIsShow
,
setReportIsShow
]
=
useState
(
'none'
);
// 上报字段外部字段是否显示
const
[
displayIsShow
,
setDisplayIsShow
]
=
useState
(
'none'
);
// 显示字段外部字段是否显示
const
[
displayIsShow
,
setDisplayIsShow
]
=
useState
(
'none'
);
// 显示字段外部字段是否显示
const
[
transitIsShow
,
setTransitIsShow
]
=
useState
(
'none'
);
// 转单字段外部字段是否显示
const
[
transitIsShow
,
setTransitIsShow
]
=
useState
(
'none'
);
// 转单字段外部字段是否显示
const
[
copyIsShow
,
setCopyIsShow
]
=
useState
(
'none'
);
// 抄送字段外部字段是否显示
const
[
summaryValue
,
setSummaryValue
]
=
useState
();
// 保存摘要字段外部字段
const
[
summaryValue
,
setSummaryValue
]
=
useState
();
// 保存摘要字段外部字段
const
[
reportValue
,
setReportValue
]
=
useState
();
// 保存上报字段外部字段
const
[
reportValue
,
setReportValue
]
=
useState
();
// 保存上报字段外部字段
const
[
displayValue
,
setDisplayValue
]
=
useState
();
// 保存显示字段外部字段
const
[
displayValue
,
setDisplayValue
]
=
useState
();
// 保存显示字段外部字段
const
[
displayColumns
,
setDisplayColumns
]
=
useState
();
// 保存显示列字段外部字段
const
[
displayColumns
,
setDisplayColumns
]
=
useState
();
// 保存显示列字段外部字段
const
[
copyValue
,
setCopyValue
]
=
useState
();
//保存抄送字段外部字段
const
[
question
,
setQuestion
]
=
useState
({
outSearchFields
:
0
,
outOrderByFieldConfig
:
0
})
const
[
question
,
setQuestion
]
=
useState
({
outSearchFields
:
0
,
outOrderByFieldConfig
:
0
})
const
[
keepFiled
,
setKeepFiled
]
=
useState
([]);
const
[
keepFiled
,
setKeepFiled
]
=
useState
([]);
const
[
imageUrl
,
setImageUrl
]
=
useState
();
const
[
imageUrl
,
setImageUrl
]
=
useState
();
...
@@ -595,6 +597,12 @@ const AddModal = (props) => {
...
@@ -595,6 +597,12 @@ const AddModal = (props) => {
}
else
{
}
else
{
setTransitIsShow
(
'none'
);
setTransitIsShow
(
'none'
);
}
}
setCopyValue
(
res
.
data
.
root
.
outCopyField
)
if
(
res
.
data
.
root
.
outCopyField
!=
0
)
{
setCopyIsShow
(
'inline'
)
}
else
{
setCopyIsShow
(
'none'
)
}
setQuestion
({
setQuestion
({
outSearchFields
,
outSearchFields
,
outOrderByFieldConfig
outOrderByFieldConfig
...
@@ -1556,6 +1564,38 @@ const AddModal = (props) => {
...
@@ -1556,6 +1564,38 @@ const AddModal = (props) => {
<
/div
>
<
/div
>
<
/Item
>
<
/Item
>
<
/Col
>
<
/Col
>
<
Col
span
=
{
24
}
>
<
Item
label
=
{
<
div
style
=
{{
display
:
'flex'
,
alignItems
:
'center'
}}
>
<
Tooltip
title
=
{
`存在
${
copyValue
}
个外部字段`
}
>
<
InfoCircleOutlined
style
=
{{
color
:
'red'
,
marginRight
:
'2px'
,
display
:
copyIsShow
,
}}
/
>
<
/Tooltip
>
<
span
>
抄送字段
<
/span
>
<
/div
>
}
name
=
"CopyField"
labelCol
=
{{
span
:
5
}}
>
<
div
style
=
{{
display
:
'flex'
}}
>
<
Form
.
Item
name
=
"CopyField"
style
=
{{
marginBottom
:
0
,
width
:
'100%'
}}
>
<
Input
placeholder
=
"请选择抄送字段"
allowClear
/>
<
/Form.Item
>
<
Button
type
=
"dashed"
onClick
=
{()
=>
pickFiled
(
'CopyField'
)}
icon
=
{
<
PlusOutlined
style
=
{{
marginTop
:
'5px'
}}
/>
}
style
=
{{
marginLeft
:
'10px'
,
width
:
'70px'
}}
/
>
<
/div
>
<
/Item
>
<
/Col
>
<
Col
span
=
{
24
}
>
<
Col
span
=
{
24
}
>
<
Item
<
Item
name
=
"Reportable"
name
=
"Reportable"
...
...
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