Commit 598f2cc7 authored by 皮倩雯's avatar 皮倩雯

fix: '修改巡检反馈接口'

parent e16d5564
Pipeline #80523 passed with stages
...@@ -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 = () => {
GetDataDictionaryList({ nodeID: 647 }).then(res => { GetDictionaryInfoAll({ 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.nodeName}> <Option key={index} value={item.fieldName}>
{item.nodeName} {item.fieldName}
</Option> </Option>
)) ))
: ''} : ''}
......
...@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment