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
0e016648
Commit
0e016648
authored
Oct 11, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '方案制定接口修改'
parent
d461d0aa
Pipeline
#79844
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
AddModalNew.jsx
...s/bsmanager/patrolMaintenance/maintenance/AddModalNew.jsx
+3
-3
maintenance.jsx
...s/bsmanager/patrolMaintenance/maintenance/maintenance.jsx
+1
-1
api.js
src/services/maintenance/api.js
+5
-2
No files found.
src/pages/bsmanager/patrolMaintenance/maintenance/AddModalNew.jsx
View file @
0e016648
...
...
@@ -46,7 +46,7 @@ import {
CM_XWBPlan_feedbackTable
,
CM_XWBPlan_DataEditORAdd
,
CM_XWBPlan_DataList
,
CM_XWBPlan_DeviceAccountTable
,
QueryDevicesList
,
GetParentDeviceTemplate
,
GetFeedbackTableFields
,
GetAccountConfigInfo
,
...
...
@@ -452,7 +452,7 @@ const AddModal = props => {
};
const
getList
=
()
=>
{
CM_XWBPlan_DeviceAccountTable
().
then
(
res
=>
{
QueryDevicesList
().
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
setTreeData
(
res
.
data
);
}
...
...
@@ -784,7 +784,7 @@ const AddModal = props => {
const
mapTree
=
org
=>
{
if
(
org
.
Value
)
{
return
(
<
TreeNode
value=
{
org
.
Key
}
title=
{
org
.
K
ey
}
disabled
>
<
TreeNode
value=
{
org
.
key
}
title=
{
org
.
k
ey
}
disabled
>
{
org
.
Value
.
map
(
item
=>
mapTree
(
item
))
}
</
TreeNode
>
);
...
...
src/pages/bsmanager/patrolMaintenance/maintenance/maintenance.jsx
View file @
0e016648
...
...
@@ -374,7 +374,7 @@ const maintenance = () => {
return
<
Tag
color=
"#d3adf7"
>
水箱清洗
</
Tag
>;
}
else
if
(
record
===
'扫码巡检'
)
{
return
<
Tag
color=
"#e3799e"
>
扫码巡检
</
Tag
>;
}
else
{
}
else
if
(
record
)
{
return
<
Tag
color=
"#f50"
>
{
record
}
</
Tag
>;
}
},
...
...
src/services/maintenance/api.js
View file @
0e016648
...
...
@@ -28,6 +28,10 @@ export const CM_XWBPlan_AccountTable = query =>
export
const
CM_XWBPlan_DeviceAccountTable
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/CM_XWBPlan_DeviceAccountTable`
,
query
);
// 新巡维保获取维保设备
export
const
QueryDevicesList
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/QueryDevicesList`
,
query
);
// 计划关联反馈台账表
export
const
CM_XWBPlan_feedbackTable
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/CM_XWBPlan_feedbackTable`
,
query
);
...
...
@@ -52,4 +56,4 @@ export const GetFeedbackTableFields = query =>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/GetFeedbackTableFields`
,
query
);
export
const
GetAccountConfigInfo
=
query
=>
get
(
`/PandaWorkFlow/WorkFlow/AccountManage/GetAccountConfigInfo`
,
query
);
\ No newline at end of file
get
(
`/PandaWorkFlow/WorkFlow/AccountManage/GetAccountConfigInfo`
,
query
);
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