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
9aee8da0
Commit
9aee8da0
authored
Dec 22, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '优化事件是否内置配置'
parent
378d7cf1
Pipeline
#65756
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
16 deletions
+32
-16
AddModal.jsx
src/pages/bsmanager/workOrder/incident/AddModal.jsx
+32
-16
No files found.
src/pages/bsmanager/workOrder/incident/AddModal.jsx
View file @
9aee8da0
...
...
@@ -536,10 +536,10 @@ const AddModal = props => {
obj
.
ReportFromMobile
=
''
;
obj
.
ReportFromWeb
=
''
;
}
if
(
visibleChecked
===
false
)
{
obj
.
Reportable
=
true
;
}
else
{
obj
.
Reportable
=
false
;
if
(
visibleChecked
===
false
)
{
obj
.
Reportable
=
true
;
}
else
{
obj
.
Reportable
=
false
;
}
if
((
obj
.
Roles
==
''
||
obj
.
Roles
==
undefined
)
&&
obj
.
CreateMode
===
'0'
)
{
console
.
log
(
obj
.
CreateMode
);
...
...
@@ -642,9 +642,9 @@ const AddModal = props => {
setEditable
(
res
.
data
.
root
.
Editable
);
setReportFromMobile
(
res
.
data
.
root
.
ReportFromMobile
);
setReportFromWeb
(
res
.
data
.
root
.
ReportFromWeb
);
if
(
res
.
data
.
root
.
Reportable
===
false
)
{
if
(
res
.
data
.
root
.
Reportable
===
false
)
{
setVisibleChecked
(
true
);
}
else
{
}
else
{
setVisibleChecked
(
false
);
}
setType1
(
res
.
data
.
root
.
BusinessType
);
...
...
@@ -1553,16 +1553,6 @@ const AddModal = props => {
{
/* </Item> */
}
</
Col
>
<
Col
span=
{
24
}
>
<
Item
name=
"Reportable"
label=
"是否内置"
labelCol=
{
{
span
:
5
}
}
>
<
Switch
checkedChildren=
"是"
unCheckedChildren=
"否"
checked=
{
visibleChecked
}
onChange=
{
change
}
/>
</
Item
>
</
Col
>
{
/* <Col span={5}>
<Item />
</Col>
...
...
@@ -1901,6 +1891,32 @@ const AddModal = props => {
<
Input
placeholder=
"请输入接口配置"
/>
</
Item
>
</
Col
>
<
Col
span=
{
24
}
>
<
Item
name=
"Reportable"
label=
{
<
div
style=
{
{
display
:
'flex'
,
alignItems
:
'center'
}
}
>
<
Tooltip
title=
"内置事件将无法上报和正常办理"
>
<
InfoCircleOutlined
style=
{
{
color
:
'#1890ff'
,
marginRight
:
'2px'
}
}
/>
</
Tooltip
>
<
span
>
是否内置
</
span
>
</
div
>
}
labelCol=
{
{
span
:
5
}
}
>
<
Switch
checkedChildren=
"是"
unCheckedChildren=
"否"
checked=
{
visibleChecked
}
onChange=
{
change
}
/>
</
Item
>
</
Col
>
</
Row
>
<
Row
>
<
Col
span=
{
10
}
>
...
...
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