|
@@ -241,8 +241,10 @@
|
|
|
<el-button v-if="scope.row.status1==='2' && checkIsAuditFirst(scope.row) && scope.row.cancellationStatus !== '5'" text type="primary" @click="examineFirst(scope.row)">一级校审审核</el-button>
|
|
|
<!-- 一级校审 被驳回后当前申请人重新调整-->
|
|
|
<el-button v-if="hasPermission('program:registered:edit')&&(scope.row.createBy === $store.state.user.id||haveProjectIds.includes(scope.row.id))&&scope.row.status1 === '4' && scope.row.cancellationStatus !== '5'" text type="primary" @click="adjustFirst(scope.row)">驳回调整</el-button>
|
|
|
+ <!-- 管理员可撤回 -->
|
|
|
+ <el-button v-if="hasPermission('program:registered:edit')&&scope.row.status1 === '5' && isAdmin && scope.row.cancellationStatus !== '5'" text type="primary" @click="backFirst(scope.row)">一级校审撤回</el-button>
|
|
|
|
|
|
- <!-- 二级校审 发起-->
|
|
|
+ <!-- 二级校审 发起-->
|
|
|
<el-button v-if="hasPermission('program:registered:edit')&&(scope.row.createBy === $store.state.user.id||haveProjectIds.includes(scope.row.id))&&scope.row.status1 === '5'&&(scope.row.status2 === '0'||scope.row.status2 === '1'||scope.row.status2 === '3') && scope.row.cancellationStatus !== '5'" text type="primary" @click="secondAuditPush(scope.row)">二级校审</el-button>
|
|
|
<!-- 二级校审 撤回-->
|
|
|
<el-button v-if="hasPermission('program:registered:edit')&&scope.row.status2 === '2'&&(scope.row.createBy === $store.state.user.id||haveProjectIds.includes(scope.row.id)) && scope.row.cancellationStatus !== '5'" type="text" @click="secondAuditReback(scope.row)">校审撤回</el-button>
|
|
@@ -250,6 +252,8 @@
|
|
|
<el-button v-if="scope.row.status2==='2' && checkIsAuditSecond(scope.row) && scope.row.cancellationStatus !== '5'" text type="primary" @click="examineSecond(scope.row)">二级校审审核</el-button>
|
|
|
<!-- 二级校审 被驳回后当前申请人重新调整-->
|
|
|
<el-button v-if="hasPermission('program:registered:edit')&&(scope.row.createBy === $store.state.user.id||haveProjectIds.includes(scope.row.id))&&scope.row.status2 === '4' && scope.row.cancellationStatus !== '5'" text type="primary" @click="adjustSecond(scope.row)">驳回调整</el-button>
|
|
|
+ <!-- 管理员可撤回 -->
|
|
|
+ <el-button v-if="hasPermission('program:registered:edit')&&scope.row.status2 === '5' && isAdmin && scope.row.cancellationStatus !== '5'" text type="primary" @click="backSecond(scope.row)">二级校审撤回</el-button>
|
|
|
|
|
|
<!-- 三级校审 发起-->
|
|
|
<el-button v-if="hasPermission('program:registered:edit')&&(scope.row.createBy === $store.state.user.id||haveProjectIds.includes(scope.row.id))&&scope.row.status2 === '5' &&(scope.row.status3 === '0'||scope.row.status3 === '1'||scope.row.status3 === '3') && scope.row.cancellationStatus !== '5'" text type="primary" @click="thirdAuditPush(scope.row)">三级校审</el-button>
|
|
@@ -259,7 +263,8 @@
|
|
|
<el-button v-if="scope.row.status3==='2' && checkIsAuditThird(scope.row) && scope.row.cancellationStatus !== '5'" text type="primary" @click="examineThird(scope.row)">三级校审审核</el-button>
|
|
|
<!-- 三级校审 被驳回后当前申请人重新调整-->
|
|
|
<el-button v-if="hasPermission('program:registered:edit')&&(scope.row.createBy === $store.state.user.id||haveProjectIds.includes(scope.row.id))&&scope.row.status3 === '4' && scope.row.cancellationStatus !== '5'" text type="primary" @click="adjustThird(scope.row)">驳回调整</el-button>
|
|
|
-
|
|
|
+ <!-- 管理员可撤回 -->
|
|
|
+ <el-button v-if="hasPermission('program:registered:edit')&&scope.row.status3 === '5' && isAdmin && scope.row.cancellationStatus !== '5'" text type="primary" @click="backThird(scope.row)">三级校审撤回</el-button>
|
|
|
<!--三神结束后,评估报告签发前进行资产评估项目(校对)-->
|
|
|
<el-button v-if="hasPermission('program:registered:proo')&&(scope.row.createBy === $store.state.user.id||haveProjectIds.includes(scope.row.id))&&scope.row.status3 === '5'&&scope.row.issuedStatus === '0' && scope.row.cancellationStatus !== '5'" text type="primary" @click="proofread(scope.row.id)">校对</el-button>
|
|
|
<!--报告签发-->
|
|
@@ -817,6 +822,21 @@
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
+ //管理员撤回一级校审
|
|
|
+ backFirst(row){
|
|
|
+ this.$confirm(`确定要撤回该申请吗?`, '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(async () => {
|
|
|
+ let form = {status: '1', id: row.auditId1}
|
|
|
+ this.programProjectListInfoService.updateStatusByAuditId(form).then((data)=>{
|
|
|
+ this.$message.success('撤回成功')
|
|
|
+ this.refreshList()
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
// 发起二级校审
|
|
|
secondAuditPush (row) {
|
|
|
// 读取流程表单
|
|
@@ -895,6 +915,20 @@
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
+ //管理员撤回二级校审
|
|
|
+ backSecond(row){
|
|
|
+ this.$confirm(`确定要撤回该申请吗?`, '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(async () => {
|
|
|
+ let form = {status: '1', id: row.auditId2}
|
|
|
+ this.programProjectListInfoService.updateStatusByAuditId(form).then((data)=>{
|
|
|
+ this.$message.success('撤回成功')
|
|
|
+ this.refreshList()
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
// 发起三级校审
|
|
|
thirdAuditPush (row) {
|
|
|
// 读取流程表单
|
|
@@ -973,6 +1007,19 @@
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
+ backThird(row){
|
|
|
+ this.$confirm(`确定要撤回该申请吗?`, '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(async () => {
|
|
|
+ let form = {status: '1', id: row.auditId3}
|
|
|
+ this.programProjectListInfoService.updateStatusByAuditId(form).then((data)=>{
|
|
|
+ this.$message.success('撤回成功')
|
|
|
+ this.refreshList()
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
// 发起项目登记归档
|
|
|
archivePush (row) {
|
|
|
// 读取流程表单
|