浏览代码

评估合同登记和归档撤回

huangguoce 2 月之前
父节点
当前提交
de26d171d4
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/workContract/WorkContractList.vue

+ 3 - 3
src/views/workContract/WorkContractList.vue

@@ -170,9 +170,9 @@
                 v-if="hasPermission('sys:workContract:edit') && scope.row.createId === $store.state.user.id && scope.row.filedType === '4'"
                 text type="primary" @click="adjustFiled(scope.row)">驳回调整</el-button>
 
-              <el-button v-if="scope.row.status === '5'" text type="primary"
+              <el-button v-if="scope.row.status === '5' && isAdmin" text type="primary"
                 @click="rebackAllByAdmin(scope.row)">撤回合同登记</el-button>
-              <el-button v-if="scope.row.status === '5' && scope.row.filedType === '5'" text type="primary"
+              <el-button v-if="scope.row.status === '5' && scope.row.filedType === '5' && isAdmin" text type="primary"
                 @click="rebackFiled(scope.row)">撤回归档</el-button>
 
               <!--合同借用-->
@@ -610,7 +610,7 @@ export default {
           const res1 = await processService.revokeProcIns(res.procInsId)
           let form = { filedType: '3', id: row.id }
           const res2 = await this.workContractFileService.updateStatusById(form)
-          this.$message.success(res2)
+          this.$message.success("撤回成功")
           this.refreshList()
         }
       })