qinzhipeng_v@didiglobal.com 4 лет назад
Родитель
Сommit
5b43dc8209

+ 1 - 1
src/views/quality/components/drawerAll.vue

@@ -276,7 +276,7 @@ export default {
 }
 .fontSize {
   color: #333333;
-  font-weight: 500;
+  font-weight: 600;
 }
 >>> :focus{outline:0;}
 >>>.el-table::before {

+ 6 - 2
src/views/quality/components/tables/index.vue

@@ -71,7 +71,11 @@
           {{ scope.row.devFixTimePurgeNH/(1000 * 3600) | numFilter }}
         </template>
       </el-table-column>
-      <el-table-column prop="bugStatusName" label="状态" min-width="100" align="center" />
+      <el-table-column prop="bugStatusName" label="状态" min-width="100" align="center">
+        <template slot-scope="scope">
+          {{ scope.row.bugStatusName }}
+        </template>
+      </el-table-column>
     </el-table>
 
     <el-table v-if="title === '分布图数据' || title === '去除节假日的修复时长数据' || title === '模块分布数据' || title === '缺陷统计数据'" :data="data" style="width: auto;" :height="title === '模块分布数据' ? 'calc(100vh - 175px)': 'calc(100vh - 318px)'" :header-cell-style="{ 'color':'rgba(74,74,74,1)','font-size':'14px','font-weight':'500' }">
@@ -98,7 +102,7 @@
           {{ scope.row.devFixTimePurgeNH/(1000 * 3600) | numFilter }}
         </template>
       </el-table-column>
-      <el-table-column v-if="type === '缺陷状态' || type === '优先级' || title === '缺陷统计数据' " prop="bugStatusName" label="状态" min-width="100" align="center">
+      <el-table-column v-if="title === '模块分布数据' || title === '去除节假日的修复时长数据' || type === '缺陷状态' || type === '优先级' || title === '缺陷统计数据' " prop="bugStatusName" label="状态" min-width="100" align="center">
         <template slot-scope="scope">
           {{ scope.row.bugStatusName }}
         </template>

+ 3 - 0
src/views/quality/defectStatistics.vue

@@ -605,18 +605,21 @@ export default {
       value.title = '分布图数据'
       this.requireList = { ...value, ...this.chart1Data }
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'bug_statistic_distribution_map' })
     },
     cilckRepairTimeListNoHoliday(value, data) {
       value.title = '去除节假日的修复时长数据'
       value.xaxis = ['全部', 'P0', 'P1', 'P2', 'P3']
       this.requireList = { ...value, ...data }
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'bug_statistic_remove_holiday_repair_time' })
     },
     getModuleData(value) {
       value.title = '模块分布数据'
       value.xaxis = ['全部', 'P0', 'P1', 'P2', 'P3']
       this.requireList = { ...value }
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'bug_statistic_module_distribution' })
     },
     getHoliday(value) {
       value.title = `${this.holiday}的修复时长区间数据`

+ 3 - 0
src/views/quality/requireStatistics.vue

@@ -562,12 +562,14 @@ export default {
       value.xaxis = ['全部', 'P0', 'P1', 'P2', 'P3']
       this.requireList = value
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'requirement_statistic_defect_statistics' })
     },
     clickCodeData(value) {
       value.title = '需求分布图数据'
       value.toType = '需求'
       this.requireList = { ...value, ...this.distributeData }
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'requirement_statistic_demand_distribution' })
     },
     statusStayChart(value, list, data) {
       value.title = '状态停留分布图数据'
@@ -576,6 +578,7 @@ export default {
       value.statusList = data
       this.requireList = { ...value, xaxis: data.xaxis }
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'requirement_statistic_state_stay' })
     },
     clone(v) {
       this.drawer = v

+ 4 - 0
src/views/quality/taskStatistics.vue

@@ -574,18 +574,21 @@ export default {
       value.xaxis = ['全部', 'P0', 'P1', 'P2', 'P3']
       this.requireList = value
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'task_defect_statistics_data' })
     },
     clickCount(value, data) {
       value.title = '报告统计数据'
       value.xaxis = ['全部', '提测报告', '测试日报', '准出报告']
       this.requireList = { ...value, reportData: data }
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'task_report_statistics_data' })
     },
     getTaskDat(value) {
       value.title = '任务分布图数据'
       value.toType = '任务'
       this.requireList = { ...value, ...this.distributeData }
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'task_distribution_data' })
     },
     statusStayChart(value, list, data) {
       value.title = '状态停留分布图数据'
@@ -594,6 +597,7 @@ export default {
       value.statusList = data
       this.requireList = { ...value, xaxis: data.xaxis }
       this.openDrawer = true
+      window.log({ c: 'statistic', d: 'task_state_stay_data' })
     },
     clone(v) {
       this.drawer = v