qinzhipeng_v@didiglobal.com 4 years ago
parent
commit
3fb1ab03d4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/projectManage/taskList/taskViewDetail.vue

+ 3 - 1
src/views/projectManage/taskList/taskViewDetail.vue

@@ -654,7 +654,9 @@ export default {
       const res = await taskGet(this.$route.query.id)
       if (res.code === 200) {
         this.form_query = res.data
-        this.toilp = this.form_query.relatedDpmTaskInfo.taskId + this.form_query.relatedDpmTaskInfo.name
+        if (this.form_query.isDirectlyFromDpm === 0 || this.form_query.isDirectlyFromDpm === 1) {
+          this.toilp = this.form_query.relatedDpmTaskInfo.taskId + this.form_query.relatedDpmTaskInfo.name
+        }
         this.allStatus = res.data.availableStatusList
         this.$refs.timeLine.taskGetWorkFlow()
         this.$refs.record.operationLogTask()