|
|
|
@@ -64,6 +64,7 @@ |
|
|
|
import yinnongIndex from "../../yinnongIndex"; |
|
|
|
import {A_myDoneList, A_myTodoList} from "../../../api/audit/aauditpipeline"; |
|
|
|
import PagedList from "@/components/common/PagedList.vue"; |
|
|
|
import {selectDictLabel} from "@/utils/utils"; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
@@ -82,9 +83,10 @@ |
|
|
|
total:0, |
|
|
|
queryParams: { |
|
|
|
pageNum: 1, |
|
|
|
pageSize: 10, |
|
|
|
pageSize: 20, |
|
|
|
systemType: null, |
|
|
|
deptId: null, |
|
|
|
translate_dict:'1' |
|
|
|
}, |
|
|
|
activityBusinessTypeOptions:[], |
|
|
|
images:['../../../../static/images/yinnong/banner_02.jpg'], |
|
|
|
@@ -99,7 +101,6 @@ |
|
|
|
if(this.$route.query.activeName){ |
|
|
|
this.activeName = this.$route.query.activeName |
|
|
|
} |
|
|
|
// this.getList(); |
|
|
|
}); |
|
|
|
//console.log(this.$route.query.fr) |
|
|
|
if(this.$route.query.fr){ |
|
|
|
@@ -119,6 +120,7 @@ |
|
|
|
//console.log(pageInfo, this.queryParams.pageNum, this.queryParams.pageSize) |
|
|
|
this.$set(this.queryParams, "deptId", this.$store.state.user.deptId); |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
|
|
|
|
A_myDoneList(this.queryParams).then((response) => { |
|
|
|
//console.info(_this.taskList.length) |
|
|
|
response.rows.forEach(res => { |
|
|
|
@@ -129,14 +131,8 @@ |
|
|
|
// }else if(res.tableName?res.tableName.indexOf('yinnong')>0:""){ |
|
|
|
// res.tableName = '来自银农直联审批管理系统' |
|
|
|
// } |
|
|
|
if(this.activityBusinessTypeOptions){ |
|
|
|
this.activityBusinessTypeOptions.map(t => { |
|
|
|
if(t.dictValue === res.businessType){ |
|
|
|
res.businessType = t.dictLabel |
|
|
|
this.taskList.push(res) |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
res.businessType = this.selectDictLabel(this.activityBusinessTypeOptions, res.businessType); |
|
|
|
this.taskList.push(res) |
|
|
|
}); |
|
|
|
resolve(response); |
|
|
|
}); |
|
|
|
|