|
|
|
@ -177,7 +177,7 @@ |
|
|
|
<el-link style="cursor: pointer" @click="updateModal(scope.row)" v-if="scope.row.proofingStatus !== '已完成'">编辑</el-link> |
|
|
|
</template> |
|
|
|
<template v-if="isAuth('103001:issued')"> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.proofingStatus === '草稿'" @click="updateModalStatus(scope.row,'C')">下达</el-link> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.proofingStatus === '草稿'" :disabled="!!issuingSet[scope.row.proofingNo]" @click="updateModalStatus(scope.row,'C')">下达</el-link> |
|
|
|
</template> |
|
|
|
<template v-if="isAuth('103001:detail')"> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.proofingStatus === '已完成'" @click="getDetailData(scope.row)">详情</el-link> |
|
|
|
@ -1024,6 +1024,7 @@ export default { |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
issuingSet: {}, |
|
|
|
approvalList: [], |
|
|
|
selectionDelegateAccess: [], |
|
|
|
selectionDelegateAccess2: [], |
|
|
|
@ -3652,6 +3653,8 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
updateModalStatus(row, status) { |
|
|
|
if (this.issuingSet[row.proofingNo]) return |
|
|
|
this.$set(this.issuingSet, row.proofingNo, true) |
|
|
|
this.$confirm(`是否确认下达?`, '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
@ -3702,7 +3705,11 @@ export default { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
} |
|
|
|
}).finally(() => { |
|
|
|
this.$set(this.issuingSet, row.proofingNo, false) |
|
|
|
}) |
|
|
|
}).catch(() => { |
|
|
|
this.$set(this.issuingSet, row.proofingNo, false) |
|
|
|
}) |
|
|
|
}, |
|
|
|
searchDelegateAccessByUser() { |
|
|
|
|