Commit dae87c00 authored by jingnan's avatar jingnan 👀

首页装配等任务接口调用时机修改

parent 7d3f4b0b
...@@ -154,9 +154,7 @@ export default { ...@@ -154,9 +154,7 @@ export default {
created() { created() {
}, },
mounted: function() { mounted: function() {
this.quickAccessList.forEach((item, index) => {
this.getCustomModules(index, item)
})
}, },
methods: { methods: {
// 获取所有app后取MOM对应的数据用于查询流程 // 获取所有app后取MOM对应的数据用于查询流程
...@@ -224,8 +222,16 @@ export default { ...@@ -224,8 +222,16 @@ export default {
// const code = item.bizExtInfo.bizObjectState // const code = item.bizExtInfo.bizObjectState
// return this.$utils.getParamsFromLists(this.dict[this.stateDictName], 'value', code, 'label') || code // return this.$utils.getParamsFromLists(this.dict[this.stateDictName], 'value', code, 'label') || code
// }, // },
getOthersTasks(type) {
if (type === '单个签审') {
this.quickAccessList.forEach((item, index) => {
this.getCustomModules(index, item)
})
}
},
// 获取待办任务列表 // 获取待办任务列表
getTasks(page, type) { getTasks(page, type) {
this.getOthersTasks(type)
const params = { const params = {
'page': page || this.pagination.currentPage, 'page': page || this.pagination.currentPage,
'size': this.pagination.pageSize 'size': this.pagination.pageSize
......
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