qinzhipeng_v@didiglobal.com 4 vuotta sitten
vanhempi
sitoutus
11240af097

+ 1 - 1
src/views/projectManage/components/scheduleList.vue

@@ -33,7 +33,7 @@
             <div v-for="(item, index) in scope.row.taskObjectList" :key="index" class="Layout_space_between" style="max-height: 300px; padding: 0 10px 10px" align="center">
               <span>TASK-{{ item.id }}</span>
               <span class="public_Jump" @click="Task_Jump(item.id)">{{ item.name }}</span>
-              <span>{{ item.moduleInfoName.length > 10 ? item.moduleInfoName.substring(0,10) + '...' : item.moduleInfoName }}</span>
+              <span v-show="item.moduleInfoName">{{ item.moduleInfoName.length > 10 ? item.moduleInfoName.substring(0,10) + '...' : item.moduleInfoName }}</span>
             </div>
             <el-button slot="reference" type="text">{{ scope.row.taskObjectList.length }}</el-button>
           </el-popover>

+ 5 - 0
src/views/reportManagement/Testing/newTestingTemplate.vue

@@ -179,6 +179,7 @@ export default {
     },
     templateId: {
       handler(newV) {
+        console.log(newV, '成都市哪家口碑传播打开手机')
         if (newV === '新建模版') {
           this.releaseType = true
           return false
@@ -190,11 +191,13 @@ export default {
         }
         this.releaseType = false
         if (newV.id) { // 编辑
+          alert(1)
           this.tpltId = newV.moduleId
           this.reportdelivertestGetReportById(newV.id)
           return false
         }
         if (newV) { // 新建
+          alert(2)
           this.tpltId = newV
           this.tpltId ? this.settingGetReportModuleById(newV) : ''
         }
@@ -207,6 +210,7 @@ export default {
   },
   methods: {
     async reportdelivertestGetReportById(val) { // 获取提测报告数据
+      alert(5)
       const res = await reportdelivertestGetReportById(val)
       if (res.code === 200) {
         const from = res.data
@@ -264,6 +268,7 @@ export default {
       }
     },
     async remoteMethod_data(query) { // 远程搜索任务
+      alert(7)
       const res = await taskList({ name: query })
       this.tasksDetailList.push(res.data[0])
       this.taskId.push(res.data[0].id)

+ 9 - 7
src/views/reportManagement/components/TestingReport.vue

@@ -126,18 +126,20 @@ export default {
       this.dialogDaliy = true
       switch (index) {
         case 2: // 编辑
+          alert(10)
           reportdelivertestGetReportById(newData.id).then(res => {
             if (res.code === 200) {
-              this.daily_taskIds = null// 关联任务
               this.fromData.radio = res.data // 选择的模块
+              this.daily_taskIds = null// 关联任务
+              this.reportHome = true // 步骤条
+              this.active = 2 // 步骤条状态第三步
+              this.showOne = false // 隐藏第一步
+              this.newDailyTemplate = true // 隐藏第二步
+              this.dailyPreview = false // 展示第三部
+              this.updateDaily = true // 编辑
             }
           })
-          this.reportHome = true // 步骤条
-          this.active = 2 // 步骤条状态第三步
-          this.showOne = false // 隐藏第一步
-          this.newDailyTemplate = true // 隐藏第二步
-          this.dailyPreview = false // 展示第三部
-          this.updateDaily = true // 编辑
+
           break
         case 4: // 重新提测
           reportdelivertestGetReportById(newData.id).then(res => {