Browse Source

手机 待办已办

jingqu
张泽亮 3 months ago
parent
commit
58f3407ea6
2 changed files with 11 additions and 22 deletions
  1. +5
    -12
      src/views/yinnong/doneCompleted/completedNew.vue
  2. +6
    -10
      src/views/yinnong/doneCompleted/doneNew.vue

+ 5
- 12
src/views/yinnong/doneCompleted/completedNew.vue View File

@@ -87,9 +87,10 @@
electronicSignature:"",
queryParams: {
pageNum: 1,
pageSize:10,
pageSize:20,
systemType: null,
deptId: null,
translate_dict:'1'
},
activityBusinessTypeOptions:[],
images:['../../../../static/images/yinnong/banner_03.jpg'],
@@ -104,7 +105,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){
@@ -128,8 +128,8 @@
},
getListReq(pageInfo) {
//console.log(pageInfo, this.queryParams.pageNum, this.queryParams.pageSize);
this.$set(this.queryParams, "deptId", this.$store.state.user.deptId);
return new Promise((resolve, reject) => {
this.$set(this.queryParams, "deptId", this.$store.state.user.deptId);
A_myTodoList(this.queryParams).then((response) => {
//console.info(_this.taskList.length)
response.rows.forEach(res => {
@@ -140,15 +140,8 @@
// }else if(res.tableName?res.tableName.indexOf('yinnong')>0:""){
// res.tableName = '来自银农直联审批管理系统'
// }
if(this.activityBusinessTypeOptions){
this.activityBusinessTypeOptions.map(t => {
if(t.dictValue === res.businessType){
console.log('aaaaa')
res.businessType = t.dictLabel
this.taskList.push(res)
}
});
}
res.businessType = this.selectDictLabel(this.activityBusinessTypeOptions, res.businessType);
this.taskList.push(res)
});
resolve(response);
});


+ 6
- 10
src/views/yinnong/doneCompleted/doneNew.vue View File

@@ -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);
});


Loading…
Cancel
Save