qinzhipeng_v 5 gadi atpakaļ
vecāks
revīzija
bb5fd116d7

+ 1 - 1
src/views/Platform/presentation/Templates/TestReport.vue

@@ -229,7 +229,7 @@ export default {
             this.handleClose1()
           })
         })
-      }, 500)
+      }, 6000)
     }
   }
 }

+ 1 - 1
src/views/projectManage/bugList/file/createdBug.vue

@@ -22,7 +22,7 @@
             <div class="Layouts" style="width: 100%;">
               <div style="width:100%; margin: 0 4%;">
                 <el-form-item label="所属任务" prop="taskId">
-                  <el-select v-model="formInline.taskId" size="small" filterable placeholder="请选择" style="width:100%;">
+                  <el-select v-model="formInline.taskId" size="small" filterable placeholder="请选择" style="width:100%;" @click.native="bugListSelect">
                     <el-option v-for="item in taskEnumList" :key="item.id" :label="item.name" :value="item.id" />
                   </el-select>
                 </el-form-item>

+ 3 - 3
src/views/projectManage/dialog_vue.vue

@@ -226,8 +226,8 @@ export default {
           this.requireId = url1.split('/')
           var ss = {}
           configShowRequirementVersionEnum({ bizId: Number(localStorage.getItem('bizId')) }).then(res => {
-            res.data.belongingRequire.map(item => {
-              item.code === Number(this.requireId[7]) ? ss = item : ''
+            res.data.map(item => {
+              item.id === Number(this.requireId[7]) ? ss = item : ''
             })
             this.dialogFormVisible = true
             var that = this
@@ -238,7 +238,7 @@ export default {
               that.$set(that.task_form, 'source', 2)
               that.$set(that.task_form, 'notest', 0)
               that.$set(that.task_form, 'followVersion', 2)
-              that.$set(that.task_form, 'requireId', ss.code)
+              that.$set(that.task_form, 'requireId', ss.id)
               that.$set(that.task_form, 'projectId', '')
               that.$set(that.task_form, 'bizId', Number(localStorage.getItem('bizId')))
               that.task_form.followVersion === 2 ? that.show_Client = false : ''