diff --git a/src/mixins/WorkCenterMixin.js b/src/mixins/WorkCenterMixin.js
index f78f5e3..a0bcbd7 100644
--- a/src/mixins/WorkCenterMixin.js
+++ b/src/mixins/WorkCenterMixin.js
@@ -8,7 +8,8 @@ export const WorkCenterMixin = {
return {
personnelInfoData: [], // 需要传给PersonnelInfo的数据
switchValue: 'base',
- formItemColon: false // a-form不显示冒号
+ formItemColon: false, // a-form不显示冒号
+ showCountersign: false // 加签按钮是否显示
}
},
methods: {
@@ -22,6 +23,13 @@ export const WorkCenterMixin = {
getProcessNodeList(param).then(res => {
if (res.success) {
console.log(res.result)
+ let curNode = res.result.find(item => item.xmlNodeId === this.$route.query.nodeId)
+ // 如果nodeId没有找到,再去匹配流程名
+ if (!curNode) {
+ curNode = res.result.find(item => item.nodeName === this.$route.query.taskName)
+ }
+ // 是否显示会签
+ this.showCountersign = curNode ? curNode.countersignFlag + '' === '1' : false
// 处理人员信息数据,判断每个节点是否能选人
this.personnelInfoData = res.result.map(item => {
return {
diff --git a/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue b/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue
index e4b78bd..2583f2d 100644
--- a/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue
+++ b/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue
@@ -161,7 +161,7 @@
-
{{ $t('countersign') }}
+
{{ $t('countersign') }}
diff --git a/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue b/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue
index 7046eb2..aba17a5 100644
--- a/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue
+++ b/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue
@@ -100,7 +100,7 @@
-
{{ $t('countersign') }}
+
{{ $t('countersign') }}
diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/RegulatoryComplianceCheckProcess.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/RegulatoryComplianceCheckProcess.vue
index cc88bdd..befa302 100644
--- a/src/views/workCenter/regulatoryComplianceCheckProcess/RegulatoryComplianceCheckProcess.vue
+++ b/src/views/workCenter/regulatoryComplianceCheckProcess/RegulatoryComplianceCheckProcess.vue
@@ -128,7 +128,7 @@
-
{{ $t('countersign') }}
+
{{ $t('countersign') }}
diff --git a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue
index b42b714..2ab2a21 100644
--- a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue
+++ b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue
@@ -112,7 +112,7 @@
-
{{ $t('countersign') }}
+
{{ $t('countersign') }}
{{ $t('turnTo') }}