提交 8bbca3d3 authored 作者: 钟是志's avatar 钟是志

25516 2021030552 h5 在我的事务中查看维修待办已办数据 从哪条数据进去 然后返回 就在哪条数据

上级 ffb357d5
...@@ -130,7 +130,7 @@ export const getHistoryFormDetail = (params = {}) => { ...@@ -130,7 +130,7 @@ export const getHistoryFormDetail = (params = {}) => {
return uaaRequest('/UnifiedAppFormApi/getFormDetail', params) return uaaRequest('/UnifiedAppFormApi/getFormDetail', params)
.then((res) => { .then((res) => {
if (res) { if (res) {
console.log(queryApiVersion()); // console.log(queryApiVersion());
if (queryApiVersion() === '2.0') { // 2.0的接口 流程日志单独获取 if (queryApiVersion() === '2.0') { // 2.0的接口 流程日志单独获取
return api2_0_getTaskInfo(params) return api2_0_getTaskInfo(params)
.then((res2) => { .then((res2) => {
...@@ -146,7 +146,7 @@ export const getHistoryFormDetail = (params = {}) => { ...@@ -146,7 +146,7 @@ export const getHistoryFormDetail = (params = {}) => {
return null; return null;
} }
}).then((g) => { }).then((g) => {
console.log(g); // console.log(g);
return g; return g;
}); });
}; };
......
...@@ -15,6 +15,7 @@ const myCollect = { ...@@ -15,6 +15,7 @@ const myCollect = {
user: {}, // 用户数据 user: {}, // 用户数据
todoListApps: [], todoListApps: [],
todoListMessage: [], todoListMessage: [],
goBackInfo: {},
}, },
effects: { effects: {
/** /**
...@@ -302,6 +303,12 @@ const myCollect = { ...@@ -302,6 +303,12 @@ const myCollect = {
todoListApps: payload.todoListApps, todoListApps: payload.todoListApps,
}; };
}, },
saveGoBack(state, { payload }) {
return {
...state,
goBackInfo: payload,
};
},
}, },
}; };
export default myCollect; export default myCollect;
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论