qinzhipeng_v 5 жил өмнө
parent
commit
70ababf571

+ 1 - 1
src/views/projectManage/requirement/details/index.vue

@@ -168,7 +168,7 @@
           </template>
         </el-table-column>
         <el-table-column prop="stageString" label="任务健康状态" min-width="12%">
-          <template v-slot="scope">{{ scope.row.stageString }}</template>
+          <template v-slot="scope">{{ scope.row.stageString }}{{ scope.row.lateMsg }}</template>
         </el-table-column>
         <el-table-column prop="rate" label="任务进展" min-width="15%">
           <template v-slot="scope">

+ 12 - 9
src/views/projectManage/taskList/taskIndex.vue

@@ -18,7 +18,7 @@
             v-for="item in arr_taskName"
             :key="item.id"
             :label="item.name"
-            :value="item.id"
+            :value="item.name"
           >
             <span style="float: left">{{ item.name }}</span>
             <span style="float: right; color: #8492a6; font-size: 13px,">{{ item.id }}</span>
@@ -232,13 +232,13 @@
           </el-table-column>
           <el-table-column label="开发" min-width="80" align="center" show-overflow-tooltip>
             <template slot-scope="scope">
-              <div v-for="item of scope.row.rdList" :key="item">{{ item.name }}</div>
+              <div v-for="(item, value) of scope.row.rdList" :key="value">{{ item.name }}</div>
               <!-- {{ scope.row.rdList }} -->
             </template>
           </el-table-column>
           <el-table-column label="测试" min-width="100" align="center" show-overflow-tooltip>
             <template slot-scope="scope">
-              <div v-for="item of scope.row.qaList" :key="item">{{ item.name }}</div>
+              <div v-for="(item, value) of scope.row.qaList" :key="value">{{ item.name }}</div>
               <!-- {{ scope.row.qaList }} -->
             </template>
           </el-table-column>
@@ -334,12 +334,14 @@ export default {
     },
     get_taskList(e) {
       // 查询
+      console.log(e, 'f')
       this.table_loading = true
       var task = { pageSize: 15, curIndex: 1 }
       if (e !== undefined) {
         task = this.form_task_number
         task.pageSize = this.pageSize
         task.curIndex = this.curIndex
+        task.name = this.form_task.name_label
       }
       taskList(task).then(res => {
         this.task_table = res.data
@@ -386,11 +388,11 @@ export default {
       switch (command.flag) {
         case 2:
           this.form_task.name_label = command.label
-          this.form_task_number.name = command.value
+          this.form_task_number.name = this.form_task.name_label
           break
         case 3:
           this.form_task.project_label = command.label
-          this.form_task_number.project = command.value
+          this.form_task_number.projectId = command.value
           configShowRequirementVersionEnum(Number(command.value)).then(res => {
             // 获取需求(查询)
             this.demandList = res.data.belongingRequire
@@ -398,7 +400,7 @@ export default {
           break
         case 4:
           this.form_task.demand_label = command.label
-          this.form_task_number.demand = command.value
+          this.form_task_number.requireId = command.value
           break
         case 5:
           this.form_task.bizId_label = command.label
@@ -406,15 +408,16 @@ export default {
           break
         case 6:
           this.form_task.platform_label = command.label
-          this.form_task_number.platform = command.value
+          this.form_task_number.type = command.value
           break
         case 7:
           this.form_task.Modular_label = command.label
-          this.form_task_number.Modular = command.value
+          this.form_task_number.clientType = command.value
           break
         case 8:
+
           this.form_task.noTest_label = command.label
-          this.form_task_number.noTest = command.value
+          this.form_task_number.notest = command.value
           break
       }
     },