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

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

parent e16d5564
Pipeline #80523 passed with stages
......@@ -32,6 +32,7 @@ import {
GetTaskSyncField,
GetGisPatrolObject,
GetGisFeedbackTableFields,
GetDictionaryInfoAll,
} from '@/services/PatrolFeedback/api';
import {
GetCM_Event_LoadEventTable,
......@@ -158,7 +159,7 @@ const AddModal = props => {
}, [visible]);
const getDataList = () => {
GetDataDictionaryList({ nodeID: 647 }).then(res => {
GetDictionaryInfoAll({ level: '管网巡检任务性质' }).then(res => {
if (res.code === 0) {
setDataList(res.data);
} else {
......@@ -847,8 +848,8 @@ const AddModal = props => {
>
{dataList
? dataList.map((item, index) => (
<Option key={index} value={item.nodeName}>
{item.nodeName}
<Option key={index} value={item.fieldName}>
{item.fieldName}
</Option>
))
: ''}
......
......@@ -53,3 +53,7 @@ export const GetGisPatrolObject = query => get(`${PANDA_GIS}/MapLayer/GetGisPatr
// 获取GIS反馈表字段
export const 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