|
@@ -118,6 +118,12 @@
|
|
|
prop="state"
|
|
|
label="状态"
|
|
|
min-width="6%">
|
|
|
+ <!-- <template #default="scope"> -->
|
|
|
+ <div>
|
|
|
+ <!-- {{scope.row.name + (scope.row.status==0?"":"(已屏蔽)")}} -->
|
|
|
+ {{ status==-1?"未审核" :status ? "已审核" : "撤回中" }}
|
|
|
+ </div>
|
|
|
+ <!-- </template> -->
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="operation"
|
|
@@ -130,7 +136,7 @@
|
|
|
<!-- <el-button type="primary" > -->
|
|
|
<!-- <el-link class="btt" type="primary" :underline="false"> -->
|
|
|
<el-button type="primary" size="mini" @click="paApply">查看详情</el-button>
|
|
|
- <el-button type="primary" size="mini" @click="audit">{{(status?"审核":"撤回")}}</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="audit">{{(status==-1?"审核": status?"撤回":"审核")}}</el-button>
|
|
|
<el-button type="primary" size="mini" @click="edit(scope)" >申请表</el-button>
|
|
|
<el-button type="primary" size="mini">删除</el-button>
|
|
|
<!-- </el-link> -->
|
|
@@ -252,7 +258,7 @@
|
|
|
return {
|
|
|
textarea:'',
|
|
|
input:'',
|
|
|
- status:1,
|
|
|
+ status:-1,
|
|
|
dialogVisible:false,//立项审核
|
|
|
dialogVisible1:false,//立项撤回提交
|
|
|
options:[],//项目筛选
|
|
@@ -301,12 +307,14 @@
|
|
|
this.dialogVisible1=false;
|
|
|
},
|
|
|
audit(){
|
|
|
- if(this.status){
|
|
|
+ if(this.status==-1){
|
|
|
this.dialogVisible=true;
|
|
|
- // console.log(this.status);
|
|
|
return
|
|
|
- }else{
|
|
|
+ }else if(this.status){
|
|
|
this.dialogVisible1=true;
|
|
|
+ return
|
|
|
+ }else{
|
|
|
+ this.dialogVisible=true;
|
|
|
}
|
|
|
},
|
|
|
edit(){
|
|
@@ -314,7 +322,7 @@
|
|
|
},
|
|
|
commit(){
|
|
|
this.dialogVisible=false;
|
|
|
- this.status--
|
|
|
+ this.status=1
|
|
|
console.log(this.status);
|
|
|
},
|
|
|
cancel(){
|