Commit 5c6b61ee authored by 彭俊龙's avatar 彭俊龙

维保配置接口修改

parent f830d554
Pipeline #86482 passed with stages
...@@ -52,6 +52,7 @@ import { ...@@ -52,6 +52,7 @@ import {
GetFeedbackTableFields, GetFeedbackTableFields,
GetAccountConfigInfo, GetAccountConfigInfo,
newGetAccountConfigInfo, newGetAccountConfigInfo,
NewGetFeedbackTableFields
} from '@/services/maintenance/api'; } from '@/services/maintenance/api';
import BaseTimeConfig from './components/BaseTimeConfig'; import BaseTimeConfig from './components/BaseTimeConfig';
...@@ -1024,7 +1025,7 @@ const AddModal = props => { ...@@ -1024,7 +1025,7 @@ const AddModal = props => {
}; };
const onChangeFeed = (val, flag, str) => { const onChangeFeed = (val, flag, str) => {
GetFeedbackTableFields({ feedbackName: val }).then(res => { NewGetFeedbackTableFields({ feedbackName: val }).then(res => {
if (res.code === 0) { if (res.code === 0) {
let newData = [res.data.DeviceData]; let newData = [res.data.DeviceData];
res.data.FeedbackData.length > 0 && res.data.FeedbackData.length > 0 &&
......
...@@ -95,6 +95,9 @@ export const newGetParentDeviceTemplate = query => ...@@ -95,6 +95,9 @@ export const newGetParentDeviceTemplate = query =>
export const GetFeedbackTableFields = query => export const GetFeedbackTableFields = query =>
get(`${PUBLISH_SERVICE}/WorkOrderCenter/GetFeedbackTableFields`, query); get(`${PUBLISH_SERVICE}/WorkOrderCenter/GetFeedbackTableFields`, query);
export const NewGetFeedbackTableFields = query =>
get(`${PUBLISH_SERVICE}/WorkOrderCenter/NewGetFeedbackTableFields`, query);
export const GetAccountConfigInfo = query => export const GetAccountConfigInfo = query =>
get(`/PandaWorkFlow/WorkFlow/AccountManage/GetAccountConfigInfo`, query); get(`/PandaWorkFlow/WorkFlow/AccountManage/GetAccountConfigInfo`, 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