panxiandiao_i 5 жил өмнө
parent
commit
310bdb18f9

+ 17 - 16
src/views/quality/qualityMeasurement.vue

@@ -67,7 +67,7 @@
                 <template slot-scope="scope"><a href="javascript:void(0)" style="color:#20a0ff" @click="toReportView('0')">{{ scope.row.totalOnlineNum }}</a></template>
               </el-table-column>
               <el-table-column
-                label="免提测上线数"
+                label="免提测全量上线数"
                 style="width:50%;"
                 align="center"
               >
@@ -96,7 +96,7 @@
                 </el-table-column>
                 <el-table-column
                   prop="noTestRollback"
-                  label="免提测回滚数"
+                  label="免提测全量回滚数"
                   style="width:20%;"
                   align="center"
                 />
@@ -144,13 +144,13 @@
                 <template slot-scope="scope">{{ scope.row.skipPreIfHavaPercent | toPercent }}</template>
               </el-table-column>
               <el-table-column
-                label="免提测上线占比"
+                label="免提测全量上线占比"
                 align="center"
               >
                 <template slot-scope="scope">{{ scope.row.noTestPercent | toPercent }}</template>
               </el-table-column>
               <el-table-column
-                label="免提测回滚占比"
+                label="免提测全量回滚占比"
                 align="center"
               >
                 <template slot-scope="scope">{{ scope.row.noTestRollbackPercent | toPercent }}</template>
@@ -197,11 +197,12 @@
                 <template slot-scope="scope">{{ scope.row.smallLess5MinPercent | toPercent }}</template>
               </el-table-column>
               <el-table-column
-                prop="name"
                 label="裸奔上线占比"
                 style="width:25%;"
                 align="center"
-              />
+              >
+                <template slot-scope="scope">{{ scope.row.skipOnlinePercent | toPercent }}</template>
+              </el-table-column>
               <el-table-column
                 label="紧急上线占比"
                 style="width:25%;"
@@ -226,7 +227,7 @@
               />
               <el-table-column
                 prop="name"
-                label="免提测上线数"
+                label="免提测全量上线数"
                 align="center"
               >
                 <el-table-column
@@ -434,7 +435,7 @@
                   label="上线次数"
                 />
                 <el-table-column
-                  label="免提测上线占比"
+                  label="免提测全量上线占比"
                   align="center"
                 >
                   <template slot-scope="scope">{{ scope.row.processVO.noTestPer | toPercent }}</template>
@@ -596,7 +597,7 @@ export default {
     // 部门table数据不需要缺陷数据
     deleteAfter() {
       this.guild = this.treeGuide(this.dealWithBusinessDate, this.pauseTreeNode.id, this.pauseTreeNode.type).join('/')
-      const pretermitSearch = { id: this.pauseTreeNode.id, type: this.pauseKey, startTime: this.timeInterval[0], endTime: this.timeInterval[1] }
+      const pretermitSearch = { id: this.pauseTreeNode.id, type: this.pauseTreeNode.type, startTime: this.timeInterval[0], endTime: this.timeInterval[1] }
       axios.all([getOnlineAllCount(pretermitSearch), getOnlineProblem(pretermitSearch)]).then(axios.spread((resAllCount, resProblem) => {
         this.onlineProcess = resAllCount.code === 0 ? resAllCount.data : ''
         this.problemData = resProblem.code === 0 ? resProblem.data : ''
@@ -649,7 +650,7 @@ export default {
                 dimensions: ['product', ...pauseArr],
                 source: this.seriesDeal
               },
-              xAxis: { type: 'category', 'axisLabel': { interval: 0 }},
+              xAxis: { type: 'category', 'axisLabel': { interval: 0, rotate: 40 }},
               yAxis: {},
               // Declare several bar series, each will be mapped
               // to a column of dataset.source by default.
@@ -665,7 +666,7 @@ export default {
                 dimensions: ['product', ...pauseArrOthersMount],
                 source: this.seriesDealOthersMount
               },
-              xAxis: { type: 'category', 'axisLabel': { interval: 0 }},
+              xAxis: { type: 'category', 'axisLabel': { interval: 0, rotate: 40 }},
               yAxis: {},
               // Declare several bar series, each will be mapped
               // to a column of dataset.source by default.
@@ -683,7 +684,7 @@ export default {
                 dimensions: ['product', ...pauseArrOthersMountRate],
                 source: this.seriesDealOthersRate
               },
-              xAxis: { type: 'category', 'axisLabel': { interval: 0 }},
+              xAxis: { type: 'category', 'axisLabel': { interval: 0, rotate: 40 }},
               yAxis: {},
               // Declare several bar series, each will be mapped
               // to a column of dataset.source by default.
@@ -726,7 +727,7 @@ export default {
                   dimensions: ['product', ...pauseArrOnline],
                   source: this.seriesDealOthersOnline
                 },
-                xAxis: { type: 'category', 'axisLabel': { interval: 0 }},
+                xAxis: { type: 'category', 'axisLabel': { interval: 0, rotate: 40 }},
                 yAxis: {},
                 // Declare several bar series, each will be mapped
                 // to a column of dataset.source by default.
@@ -853,7 +854,7 @@ export default {
     // 业务线table数据
     allCountAndProlemGet() {
       this.guild = this.treeGuide(this.dealWithBusinessDate, this.pauseTreeNode.id, this.pauseTreeNode.type).join('/')
-      const pretermitSearch = { id: this.pauseTreeNode.id, type: this.pauseKey, startTime: this.timeInterval[0], endTime: this.timeInterval[1] }
+      const pretermitSearch = { id: this.pauseTreeNode.id, type: this.pauseTreeNode.type, startTime: this.timeInterval[0], endTime: this.timeInterval[1] }
       axios.all([getOnlineAllCount(pretermitSearch), getOnlineProblem(pretermitSearch), getOnlineVitium(pretermitSearch)]).then(axios.spread((resAllCount, resProblem, resDefeat) => {
         this.onlineProcess = resAllCount.code === 0 ? resAllCount.data : ''
         this.problemData = resProblem.code === 0 ? resProblem.data : ''
@@ -922,7 +923,7 @@ export default {
       const { href } = this.$router.resolve({
         name: '上线过程',
         query: {
-          id: this.pauseTreeNode.id, type: this.pauseKey, dataType: e, startTime: this.timeInterval[0], endTime: this.timeInterval[1]
+          id: this.pauseTreeNode.id, type: this.pauseTreeNode.type, dataType: e, startTime: this.timeInterval[0], endTime: this.timeInterval[1]
         }
       })
       window.open(href, '_blank')
@@ -942,7 +943,7 @@ export default {
       const { href } = this.$router.resolve({
         name: '缺陷过程',
         query: {
-          id: this.pauseTreeNode.id, type: this.pauseKey, startTime: this.timeInterval[0], endTime: this.timeInterval[1]
+          id: this.pauseTreeNode.id, type: this.pauseTreeNode.type, startTime: this.timeInterval[0], endTime: this.timeInterval[1]
         }
       })
       window.open(href, '_blank')