|
@@ -130,14 +130,14 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="state"
|
|
|
+ prop="endProject"
|
|
|
label="状态"
|
|
|
align="center"
|
|
|
min-width="8%">
|
|
|
<template #default="scope">
|
|
|
<div>
|
|
|
- <span v-if="scope.row.isupload == 1">进行中</span>
|
|
|
- <span v-if="scope.row.isupload == 2">已结题</span>
|
|
|
+ <span v-if="scope.row.endProject == 1">待审核</span>
|
|
|
+ <span v-if="scope.row.endProject == 2">已审核</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -151,8 +151,8 @@
|
|
|
<div class="operations">
|
|
|
<el-button type="primary" size="mini" @click="details(scope.row)">查看详情</el-button>
|
|
|
|
|
|
- <el-button type="primary" v-if="scope.row.isupload==1" style="width: 73.3px;" @click="audit(scope.row.courseId,scope.row.title)" size="mini">审核</el-button>
|
|
|
- <el-button type="info" disabled v-if="scope.row.isupload==2" style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;" size="mini">已审核</el-button>
|
|
|
+ <el-button type="primary" v-if="scope.row.endProject==1" style="width: 73.3px;" @click="audit(scope.row.courseId,scope.row.title)" size="mini">审核</el-button>
|
|
|
+ <el-button type="info" disabled v-if="scope.row.endProject==2" style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;" size="mini">已审核</el-button>
|
|
|
<!-- <el-button type="primary" disabled v-if="scope.row.isupload==0" style="width: 73.3px;background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;" @click="audit(scope.row.courseId,scope.row.title)" size="mini">审核</el-button> -->
|
|
|
|
|
|
<el-button v-show="scope.row.isupload==2" type="primary" size="mini" @click="edit(scope.row.courseId,scope.row.typeid)">成果查看</el-button>
|
|
@@ -213,17 +213,13 @@
|
|
|
value:'',
|
|
|
label:'全部'
|
|
|
},
|
|
|
- {
|
|
|
- value:0,
|
|
|
- label:'未审核'
|
|
|
- },
|
|
|
{
|
|
|
value:1,
|
|
|
- label:'进行中'
|
|
|
+ label:'待审核'
|
|
|
},
|
|
|
{
|
|
|
value:2,
|
|
|
- label:"已审核"
|
|
|
+ label:'已审核'
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -255,12 +251,13 @@
|
|
|
submitAll(){ //提交结项审核
|
|
|
let param={
|
|
|
uid:this.$store.state.userInfo.userid,
|
|
|
- cid:this.iid
|
|
|
+ pid:this.iid
|
|
|
}
|
|
|
this.ajax
|
|
|
- .post(this.$store.state.api+'/UpdateSettlementIsUpload',param)
|
|
|
+ .post(this.$store.state.api+'/UpdateSettlementEndProject',param)
|
|
|
.then(res=>{
|
|
|
- console.log(res);
|
|
|
+ console.log(res['data'])
|
|
|
+ this.$message.success("结项成功")
|
|
|
this.submitHint=false;
|
|
|
this.getData();
|
|
|
},err=>{
|