فهرست منبع

月报:上午UI优化

洪海涛 4 سال پیش
والد
کامیت
44e5297bb6

+ 10 - 2
src/views/monthlyReport/childrenPage/editReport/components/OverallOverviewOfTheServer.vue

@@ -36,7 +36,7 @@
         <td class="col color_3_sub">发布延期</td>
       </tr>
       <tr v-for="(item, index) in tableList" :key="index">
-        <td>{{ item.name }}</td>
+        <td style="color: #333333;font-weight: 500;">{{ item.name }}</td>
         <td
           v-for="(elm, elmIndex) in item.tableRow"
           :key="elmIndex"
@@ -115,8 +115,8 @@ export default {
   td[class='first'] {
     width: 80px;
     min-width: 80px;
-    color: #333333;
     background-color: rgba(214, 214, 214, 0.12);
+    color: #333333;
     font-weight: 500;
   }
   // td[class='first']:before {
@@ -151,6 +151,8 @@ export default {
     min-width: 60px;
     // height: 67px;
     padding: 10px;
+    color: #333333;
+    font-weight: 500;
   }
   .title1 {
     position: absolute;
@@ -163,18 +165,24 @@ export default {
     left: 12px;
   }
   .color_1 {
+    color: #333333;
+    font-weight: 500;
     background: rgba(250, 173, 20, 0.15);
   }
   .color_1_sub {
     background: rgba(250, 173, 20, 0.08);
   }
   .color_2 {
+    color: #333333;
+    font-weight: 500;
     background: rgba(250, 126, 20, 0.15);
   }
   .color_2_sub {
     background: rgba(250, 126, 20, 0.08);
   }
   .color_3 {
+    color: #333333;
+    font-weight: 500;
     background: rgba(98, 217, 170, 0.15);
   }
   .color_3_sub {

+ 5 - 1
src/views/monthlyReport/childrenPage/editReport/components/PushAndBanck.vue

@@ -5,7 +5,7 @@
       <div v-if="isShowItem(item.copywriter)">
         {{ item.copywriter }}
         <div :class="{ red: isShowColor(item.copywriter, item.label) }">
-          {{ item.label }}
+          <span class="fontWeight">{{ item.label }}</span>
           <div v-if="isShow(item.copywriter)">%</div>
         </div>
         <div v-if="index < subTitle.length - 1">{{ item.copywriter.search(/发布次数|全量回滚率/) > -1 ? ';' : isComma(item.copywriter) }}</div>
@@ -99,4 +99,8 @@ export default {
     }
   }
 }
+.fontWeight {
+  color: #333;
+  font-weight: 500;
+}
 </style>

+ 3 - 1
src/views/monthlyReport/childrenPage/editReport/components/Refresh.vue

@@ -14,6 +14,7 @@
         此操作会将现有的数据覆盖,确认重新拉取?
       </div>
     </normal-dialog>
+    <!-- v-if="title && pullDataAgainTitle.indexOf(title) > -1" -->
     <span v-if="title && pullDataAgainTitle.indexOf(title) > -1">
       <el-tooltip
         class="item"
@@ -60,7 +61,7 @@ export default {
     return {
       animateClass: '',
       dialogTitle: '重新拉取数据',
-      pullDataAgainTitle: ['上月', '线上问题', '线下缺陷', '发布&回滚']
+      pullDataAgainTitle: ['上月问题跟进', '线上问题', '线下缺陷', '发布&回滚']
     }
   },
   computed: {
@@ -84,6 +85,7 @@ export default {
         title: this.title,
         subReportId: this.$route.query.subReportId,
         callback: () => {
+          this.$message.success(`${this.title}已重新拉取,并覆盖本地数据!`)
           this.animateClass = ''
           this.$forceUpdate()
         }

+ 10 - 6
src/views/monthlyReport/childrenPage/editReport/components/SubTitle.vue

@@ -2,12 +2,12 @@
   <span><span class="query-bug">线下缺陷 - </span>
     <span v-for="(item, index) in reportTextList" :key="index">
       <span class="query-bug" @click.stop="query(item, index)">
-        <span v-if="index === 0">新增bug{{ item.label }}个,</span>
-        <span v-if="index === 1">其中P0 bug数<span :class="[item.label !== '0' ? 'query-colors' : '' ]">{{ item.label }}</span>个,</span>
-        <span v-if="index === 2">P1 bug数{{ item.label }}个;</span>
-        <span v-if="index === 3">P0&P1平均修复时长{{ item.label }}H;</span>
-        <span v-if="index === 4">过夜率{{ item.label }}%;</span>
-        <span v-if="index === 5">Reopen {{ item.label }}次。</span>
+        <span v-if="index === 0">新增bug<span class="fontWeight">{{ item.label }}</span>个,</span>
+        <span v-if="index === 1">其中P0 bug数<span class="fontWeight" :class="[item.label !== '0' ? 'query-colors' : '' ]">{{ item.label }}</span>个,</span>
+        <span v-if="index === 2">P1 bug数 <span class="fontWeight">{{ item.label }}</span>个;</span>
+        <span v-if="index === 3">P0&P1平均修复时长<span class="fontWeight">{{ item.label }}H</span>;</span>
+        <span v-if="index === 4">过夜率<span class="fontWeight">{{ item.label }}%</span>;</span>
+        <span v-if="index === 5">Reopen<span class="fontWeight">{{ item.label }}</span>次。</span>
       </span>
       <!-- 新增bug 78个,其中P0 bug数XX(标红)个,P1 bug数XX个;P0&P1平均修复时长 23.8H;P0&P1 24小时修复率70.0%;reopen XX次。 -->
     </span>
@@ -119,4 +119,8 @@ export default {
 /deep/.el-drawer__body{
   width: 50vw;
 }
+.fontWeight {
+  color: #333;
+  font-weight: 500;
+}
 </style>

+ 1 - 0
src/views/monthlyReport/childrenPage/editReport/components/core.vue

@@ -49,6 +49,7 @@
         v-html="headerTitle"
       />
       <span v-if="baseData.title.search(/延期|发布&回滚/) > -1">。</span><Refresh v-if="pageDate && pageDate.status < 20" slot="refresh" :title="baseData.title" :dom-key="baseData.domKey" /><span><el-button v-if="headerTitle.indexOf('线下缺陷') > -1 && pageDate.status < 20" type="text" style="margin-left: 5px" @click.stop="marking">标记</el-button></span>
+      <span v-if="baseData.title.search(/提测打回/) > -1">。</span>
     </div>
     <div
       v-if="baseData.content && baseData.content.length"

+ 1 - 1
src/views/monthlyReport/childrenPage/editReport/components/markingIssues.vue

@@ -6,7 +6,7 @@
       :show-dialog="false"
       is-succes
       :title="titleName"
-      width="40%"
+      width="400px"
       @succes="updateModule"
     >
       <el-form label-width="100px" style="padding-right: 20px">