panxiandiao_i 5 ani în urmă
părinte
comite
8c82567df9

+ 3 - 1
src/layout/components/AppMain.vue

@@ -1,7 +1,9 @@
 <template>
   <section class="app-main">
     <transition name="fade-transform" mode="out-in">
-      <router-view :key="key" />
+      <keep-alive include="DefectManage">
+        <router-view />
+      </keep-alive>
     </transition>
   </section>
 </template>

+ 1 - 1
src/views/Platform/defectManagement.vue

@@ -376,7 +376,7 @@
 import { bugList, bugGet, bugDelete, bugUpdate, bugCreate, bugCopy, taskListCreate, bugGetEnum } from '@/api/defectManage'
 
 export default {
-  name: 'DefectManagement',
+  name: 'DefectManage',
   data() {
     return {
       bugTypeStr: [],

+ 10 - 2
src/views/quality/qualityDefectProcess.vue

@@ -20,10 +20,13 @@
         size="mini"
       >
         <el-table-column
-          prop="bugName"
           label="bug名称"
           align="center"
-        />
+        >
+          <template slot-scope="scope">
+            <a href="javascript:void(0)" style="color:#20a0ff" @click="toReportView(scope.row.id)">{{ scope.row.bugName }}</a>
+          </template>
+        </el-table-column>
         <el-table-column
           prop="projectId"
           label="Qrcc项目ID"
@@ -60,6 +63,7 @@
           prop="operator"
           label="经办人"
           align="center"
+          show-overflow-tooltip
         />
         <el-table-column
           prop="bugLevel"
@@ -118,6 +122,10 @@ export default {
         this.total = res.data.total
       })
     },
+    // 跳转到bug详情
+    toReportView(e) {
+      this.$router.push({ name: '查看Bug', query: { id: e }})
+    },
     handleSizeChange(size) {
       this.curIndex = 1
       this.pageSize = size

+ 1 - 1
src/views/quality/qualityHotpatchProcess.vue

@@ -114,7 +114,7 @@ export default {
   },
   methods: {
     _initProcess() {
-      this.processSerach = { appKey: this.$route.query.appKey }
+      this.processSerach = { appKey: this.$route.query.appKey, startTime: this.$route.query.startTime, endTime: this.$route.query.endTime }
       getHotpatchProcess(this.processSerach).then(res => {
         res.code === 0 ? this.tableData = res.data.ahs : this.errorFun(res.msg)
       })

+ 2 - 2
src/views/quality/qualityMeasurement.vue

@@ -824,11 +824,11 @@ export default {
     .aside >>> .el-tree-node__children .el-tree-node__label
       font-size 13px
     .aside >>> .el-tree-node__children
-      opacity 0.8
+      opacity 0.9
     .aside >>> .el-tree-node__expand-icon
       font-size 14px
       color black
-      opacity 0.6
+      opacity 0.7
     .aside >>> .el-tree-node__expand-icon.is-leaf
       color transparent !important
       cursor default !important

+ 0 - 2
src/views/quality/qualityProcess.vue

@@ -132,10 +132,8 @@ export default {
   methods: {
     _initProcess() {
       if (!this.$route.query.dataType) {
-        console.log(this.$route.query.dataType)
         this.processSerach = { id: this.$route.query.id, type: this.$route.query.type, page: this.curIndex, perPage: this.pageSize, startTime: this.$route.query.startTime, endTime: this.$route.query.endTime }
       } else {
-        console.log(this.$route.query.dataType)
         this.processSerach = { id: this.$route.query.id, type: this.$route.query.type, dataType: this.$route.query.dataType, page: this.curIndex, perPage: this.pageSize, startTime: this.$route.query.startTime, endTime: this.$route.query.endTime }
       }
       getOnlineInfo(this.processSerach).then(res => {