|
@@ -26,7 +26,7 @@
|
|
|
<el-table-column label="操作" width="120px" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="mini" type="primary" @click="dialogCheck(scope.row,1)">查看</el-button>
|
|
|
- <el-button size="mini" type="danger" v-if="userInfo.loginName != scope.row.opName||scope.row.sts==3"
|
|
|
+ <el-button size="mini" type="danger" v-if="scope.row.sts==3"
|
|
|
@click="dialogCheck(scope.row,2)">审核</el-button>
|
|
|
<el-button v-if="userInfo.loginName == scope.row.opName&&scope.row.sts=='1'" size="mini"
|
|
|
type="primary" @click="advSure(scope.row)">归档
|
|
@@ -136,9 +136,11 @@
|
|
|
this.tableData = res.data.data;
|
|
|
this.total = res.data.totalRecord;
|
|
|
this.loading = false;
|
|
|
- this.tableData.forEach(item => {
|
|
|
- this.getSts(item);
|
|
|
- });
|
|
|
+ if(this.advstatus!=0){
|
|
|
+ this.tableData.forEach(item => {
|
|
|
+ this.getSts(item);
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
getSts(v){
|
|
@@ -160,6 +162,7 @@
|
|
|
if(res.data.assigneeNo == this.userInfo.loginNo){
|
|
|
v.sts = '3'
|
|
|
return
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -194,6 +197,7 @@
|
|
|
},
|
|
|
dialogCli(v) {
|
|
|
let _this = this;
|
|
|
+
|
|
|
if (v == 1) {
|
|
|
let advTypeName = '';
|
|
|
for (let i = 0; i < this.typeList.length; i++) {
|