update 企标稽查整改调整
This commit is contained in:
+5
-5
@@ -177,11 +177,11 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
pageTitle () {
|
||||
return this.$t('flowCenter') + this.$route.meta.title + '(' + this.nodeTitle + ')'
|
||||
return this.$t('flowCenter') + this.$route.meta.title + (this.nodeTitle ? `(${this.nodeTitle})` : '')
|
||||
},
|
||||
// 节点标题
|
||||
nodeTitle () {
|
||||
return this.$route.query.taskName || EsInspectionRectification.uploadRectificationResult.text
|
||||
return this.$route.query.taskName || ''
|
||||
},
|
||||
processDisabled () {
|
||||
return this.currentNode !== EsInspectionRectification.uploadRectificationResult.value
|
||||
@@ -189,9 +189,9 @@ export default {
|
||||
},
|
||||
created () {
|
||||
const { projectId, nodeId, taskName } = this.$route.query
|
||||
// 发起、草稿进来没有nodeId,就默认发起节点
|
||||
this.currentNode = nodeId || EsInspectionRectification.uploadRectificationResult.value
|
||||
this.currentNodeName = taskName || EsInspectionRectification.uploadRectificationResult.text
|
||||
// 自动发起流程: 没有默认节点
|
||||
this.currentNode = nodeId || ''
|
||||
this.currentNodeName = taskName || ''
|
||||
this.projectId = projectId
|
||||
this.btn = EsInspectionRectification.propertyOfValue('btn', this.currentNode) || []
|
||||
// 如果有nodeId,但是匹配不到任何节点,就是是增加的审批节点
|
||||
|
||||
Reference in New Issue
Block a user