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
fd82237e
Commit
fd82237e
authored
Nov 24, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '父业务模板回显bug'
parent
1b682a83
Pipeline
#82263
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
AddModalNew.jsx
...s/bsmanager/patrolMaintenance/maintenance/AddModalNew.jsx
+2
-2
api.js
src/services/maintenance/api.js
+4
-0
No files found.
src/pages/bsmanager/patrolMaintenance/maintenance/AddModalNew.jsx
View file @
fd82237e
...
...
@@ -48,7 +48,7 @@ import {
NewCM_XWBPlan_DataEditORAdd
,
NewCM_XWBPlan_DataList
,
QueryDevicesList
,
GetParentDeviceTemplate
,
new
GetParentDeviceTemplate
,
GetFeedbackTableFields
,
GetAccountConfigInfo
,
newGetAccountConfigInfo
,
...
...
@@ -477,7 +477,7 @@ const AddModal = props => {
const
getParentList
=
e
=>
{
let
value
=
e
?
e
:
formObj
.
accountName
;
GetParentDeviceTemplate
({
accountName
:
value
}).
then
(
res
=>
{
new
GetParentDeviceTemplate
({
accountName
:
value
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
setParentList
(
res
.
data
);
}
...
...
src/services/maintenance/api.js
View file @
fd82237e
...
...
@@ -88,6 +88,10 @@ export const NewCM_XWBPlan_ChangeOrder = planIds =>
export
const
GetParentDeviceTemplate
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/GetParentDeviceTemplate`
,
query
);
// 获取父级维保模板
export
const
newGetParentDeviceTemplate
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/NewGetParentDeviceTemplate`
,
query
);
export
const
GetFeedbackTableFields
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/GetFeedbackTableFields`
,
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