update 企标稽查计划会签节点不跳过

This commit is contained in:
danshihao
2023-12-08 14:44:25 +08:00
parent 4248d4ff01
commit a97c8d32da
@@ -456,7 +456,12 @@ export default {
if (this.loading) return
this.loading = true
this.getPageParams().then(res => {
res.map.pass = true
// pass在这里有两种可能
// 1.联络人汇总节点,选择是否会签,是true,否false;
// 2.其他节点按钮区分,同意传true,驳回传false
if (res.map.pass !== undefined) {
res.map.pass = true
}
// 不是提交按钮 且 如果没有填写注释,就默认同意
if (!isSubmitBtn && !res.processApprovalRecord.commitText) {
res.processApprovalRecord.commitText = '同意'