qinzhipeng_v 5 жил өмнө
parent
commit
214547b5a2

+ 1 - 0
src/router/index.js

@@ -378,6 +378,7 @@ export const constantRoutes = [{
   path: '/onlineProblem',
   name: '线上问题',
   component: Layout,
+  hidden: true,
   redirect: '/onlineProblem/problemList',
   meta: { title: '线上问题', icon: '线上问题' },
   children: [

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

@@ -1,6 +1,6 @@
 <template>
   <div class="Parent">
-    <el-dialog :visible.sync="modalShow" width="60%" top="8vh" :close-on-click-modal="false" @close="modalClose">
+    <el-dialog ref="modalShow" :visible.sync="modalShow" width="60%" top="8vh" :close-on-click-modal="false" @close="modalClose">
       <el-form ref="formInline" label-position="left" :model="formInline" :rules="rules" label-width="90px">
         <el-row style="margin: 0 4% 2% 4%;">
           <el-col :span="24">
@@ -252,6 +252,9 @@ export default {
       if (e === 1) {
         this.titleName = '新建缺陷'
         if (ele !== undefined) {
+          this.$nextTick(function() {
+            this.$refs.modalShow.resetFields()
+          })
           this.$set(this.formInline, 'taskId', ele.id)
           this.$set(this.formInline, 'cliType', [ele.bizId, ele.type, ele.clientType])
         }

+ 1 - 1
src/views/projectManage/version/list/index.vue

@@ -55,7 +55,7 @@
             <template v-slot="scope">
               <div>
                 <el-tooltip class="item" effect="dark" placement="bottom" :content="scope.row.requirementName" :disabled="scope.row.requirementName.length < 6">
-                  <div style="cursor: pointer;" @click="getToRequirementDetails(scope.row.id)">
+                  <div style="cursor: pointer;" @click="getToRequirementDetails(scope.row.requirementId)">
                     {{ getRequirementName(scope.row.requirementName) }}
                     <div v-if="scope.row.delay" class="div_requirement_name">{{ searchTitle.version +'版本已延期' }}</div>
                   </div>