Commit 306bad43 authored by 皮倩雯's avatar 皮倩雯

fix: '选件反馈怎加异常事件反馈配置'

parent e9233875
Pipeline #76519 passed with stages
...@@ -154,7 +154,11 @@ const AddModal = props => { ...@@ -154,7 +154,11 @@ const AddModal = props => {
setType2(''); setType2('');
setFiled1({}); setFiled1({});
} else if (type === 'edit') { } else if (type === 'edit') {
onChangeFeed(formObj.feedbackName, '', JSON.parse(formObj.mappingFields)); onChangeFeed(
formObj.feedbackName,
'',
formObj.mappingFields && JSON.parse(formObj.mappingFields),
);
CM_XWBPlan_DataList({ id: formObj.id }).then(res => { CM_XWBPlan_DataList({ id: formObj.id }).then(res => {
let data = res.data[0]; let data = res.data[0];
if (data.isSubmit === '是') { if (data.isSubmit === '是') {
...@@ -790,7 +794,8 @@ const AddModal = props => { ...@@ -790,7 +794,8 @@ const AddModal = props => {
<Select placeholder="选择业务类型" onSearch={inputType} showSearch> <Select placeholder="选择业务类型" onSearch={inputType} showSearch>
<Option value="巡检">巡检</Option> <Option value="巡检">巡检</Option>
<Option value="保养">保养</Option> <Option value="保养">保养</Option>
<Option value="水厂">水厂</Option> <Option value="水箱清洗">水箱清洗</Option>
<Option value="扫码巡检">扫码巡检</Option>
</Select> </Select>
</Item> </Item>
</Col> </Col>
......
...@@ -49,3 +49,7 @@ export const GetTaskSyncField = query => ...@@ -49,3 +49,7 @@ export const GetTaskSyncField = query =>
get(`${PANDA_GIS}/PatrolInspection/GetTaskSyncField`, query); get(`${PANDA_GIS}/PatrolInspection/GetTaskSyncField`, query);
export const GetGisPatrolObject = query => get(`${PANDA_GIS}/MapLayer/GetGisPatrolObject`, query); export const GetGisPatrolObject = query => get(`${PANDA_GIS}/MapLayer/GetGisPatrolObject`, query);
// 获取GIS反馈表字段
export const GetGisFeedbackTableFields = query =>
get(`${PUBLISH_SERVICE}/WorkOrderCenter/GetGisFeedbackTableFields`, 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