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
598f2cc7
Commit
598f2cc7
authored
Oct 24, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '修改巡检反馈接口'
parent
e16d5564
Pipeline
#80523
passed with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
AddModal.jsx
...s/bsmanager/patrolMaintenance/patrolFeedback/AddModal.jsx
+4
-3
api.js
src/services/PatrolFeedback/api.js
+4
-0
No files found.
src/pages/bsmanager/patrolMaintenance/patrolFeedback/AddModal.jsx
View file @
598f2cc7
...
@@ -32,6 +32,7 @@ import {
...
@@ -32,6 +32,7 @@ import {
GetTaskSyncField
,
GetTaskSyncField
,
GetGisPatrolObject
,
GetGisPatrolObject
,
GetGisFeedbackTableFields
,
GetGisFeedbackTableFields
,
GetDictionaryInfoAll
,
}
from
'@/services/PatrolFeedback/api'
;
}
from
'@/services/PatrolFeedback/api'
;
import
{
import
{
GetCM_Event_LoadEventTable
,
GetCM_Event_LoadEventTable
,
...
@@ -158,7 +159,7 @@ const AddModal = props => {
...
@@ -158,7 +159,7 @@ const AddModal = props => {
},
[
visible
]);
},
[
visible
]);
const
getDataList
=
()
=>
{
const
getDataList
=
()
=>
{
GetD
ataDictionaryList
({
nodeID
:
647
}).
then
(
res
=>
{
GetD
ictionaryInfoAll
({
level
:
'管网巡检任务性质'
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
setDataList
(
res
.
data
);
setDataList
(
res
.
data
);
}
else
{
}
else
{
...
@@ -847,8 +848,8 @@ const AddModal = props => {
...
@@ -847,8 +848,8 @@ const AddModal = props => {
>
>
{
dataList
{
dataList
?
dataList
.
map
((
item
,
index
)
=>
(
?
dataList
.
map
((
item
,
index
)
=>
(
<
Option
key=
{
index
}
value=
{
item
.
node
Name
}
>
<
Option
key=
{
index
}
value=
{
item
.
field
Name
}
>
{
item
.
node
Name
}
{
item
.
field
Name
}
</
Option
>
</
Option
>
))
))
:
''
}
:
''
}
...
...
src/services/PatrolFeedback/api.js
View file @
598f2cc7
...
@@ -53,3 +53,7 @@ export const GetGisPatrolObject = query => get(`${PANDA_GIS}/MapLayer/GetGisPatr
...
@@ -53,3 +53,7 @@ export const GetGisPatrolObject = query => get(`${PANDA_GIS}/MapLayer/GetGisPatr
// 获取GIS反馈表字段
// 获取GIS反馈表字段
export
const
GetGisFeedbackTableFields
=
query
=>
export
const
GetGisFeedbackTableFields
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/GetGisFeedbackTableFields`
,
query
);
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/GetGisFeedbackTableFields`
,
query
);
// 获取GIS反馈表字段
export
const
GetDictionaryInfoAll
=
query
=>
get
(
`/PandaCore/GCK/Common/GetDictionaryInfoAll`
,
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