|
@@ -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()
|
|
|
}
|
|
|
})
|