Commit fd82237e authored by 皮倩雯's avatar 皮倩雯

fix: '父业务模板回显bug'

parent 1b682a83
Pipeline #82263 passed with stages
......@@ -48,7 +48,7 @@ import {
NewCM_XWBPlan_DataEditORAdd,
NewCM_XWBPlan_DataList,
QueryDevicesList,
GetParentDeviceTemplate,
newGetParentDeviceTemplate,
GetFeedbackTableFields,
GetAccountConfigInfo,
newGetAccountConfigInfo,
......@@ -477,7 +477,7 @@ const AddModal = props => {
const getParentList = e => {
let value = e ? e : formObj.accountName;
GetParentDeviceTemplate({ accountName: value }).then(res => {
newGetParentDeviceTemplate({ accountName: value }).then(res => {
if (res.code === 0) {
setParentList(res.data);
}
......
......@@ -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);
......
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