‘liyuanpeng’ 3 anni fa
parent
commit
db4e320e2b
2 ha cambiato i file con 8 aggiunte e 5 eliminazioni
  1. 7 4
      src/pages/main/terminal/advcheck.vue
  2. 1 1
      vue.config.js

+ 7 - 4
src/pages/main/terminal/advcheck.vue

@@ -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){
@@ -194,6 +196,7 @@
             },
             dialogCli(v) {
                 let _this = this;
+
                 if (v == 1) {
                     let advTypeName = '';
                     for (let i = 0; i < this.typeList.length; i++) {

+ 1 - 1
vue.config.js

@@ -96,7 +96,7 @@ module.exports = {
                 // target: 'http://114.215.71.182:29600',
                 // target: 'http://10.230.26.15:8000/spfm',
                 // target: 'http://127.0.0.1:9600/',
-                target: 'http://192.168.2.142:9600/',
+                target: 'http://192.168.2.142:9610/',
                 // target: 'http://192.168.2.170:9600/',
                 // target: 'http://192.168.2.169:9600/',
                 changeOrigin: true