Răsfoiți Sursa

优化样式

qinzhipeng_v 5 ani în urmă
părinte
comite
9c058391a6

+ 13 - 5
src/views/reportManagement/Testing/TestingPreview.vue

@@ -67,14 +67,18 @@
         style="width: 100%; margin-bottom: 20px;"
         show-overflow-tooltip="true"
       >
-        <el-table-column prop="bugName" label="需求" align="center" min-width="250" show-overflow-tooltip>
+        <el-table-column prop="name" label="需求" min-width="250" show-overflow-tooltip>
           <template slot-scope="scope">
-            <span class="didi-hover">{{ scope.row.bugName }}</span>
+            <span class="didi-hover" @click="goRequired(scope.row.id)">{{ scope.row.name }}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="priorityLevel" label="优先级" align="center" min-width="100" show-overflow-tooltip />
-        <el-table-column prop="priorityName" label="PM" align="center" min-width="100" show-overflow-tooltip />
-        <el-table-column prop="creatorList" label="跟版客户端" align="center" min-width="90" show-overflow-tooltip />
+        <el-table-column prop="priorityName" label="优先级" min-width="100" show-overflow-tooltip />
+        <el-table-column label="PM" min-width="100" show-overflow-tooltip>
+          <template slot-scope="scope">
+            <span class="didi-hover">{{ scope.row.pmMemberInfoResponse.name }}</span>
+          </template>
+        </el-table-column>
+        <el-table-column prop="referredClientTypeName" label="跟版客户端" min-width="90" show-overflow-tooltip />
       </el-table>
 
       <div v-html="fromCreateData.content" />
@@ -136,6 +140,10 @@ export default {
       }
     },
 
+    goRequired(id) {
+      this.$router.push({ name: '需求详情', query: { id: id }})
+    },
+
     sendReport() {
       if (this.form.name !== undefined) {
         setTimeout(() => {

+ 0 - 1
src/views/reportManagement/Testing/components/deliverDetails.vue

@@ -216,7 +216,6 @@ export default {
       }
     },
     goRequired(id) {
-      console.log(id)
       this.$router.push({ name: '需求详情', query: { id: id }})
     },
 

+ 13 - 5
src/views/reportManagement/Testing/newTestingTemplate.vue

@@ -90,14 +90,18 @@
       style="width: 100%; margin-bottom: 20px;"
       show-overflow-tooltip="true"
     >
-      <el-table-column prop="bugName" label="需求" align="center" min-width="250" show-overflow-tooltip>
+      <el-table-column prop="name" label="需求" min-width="250" show-overflow-tooltip>
         <template slot-scope="scope">
-          <span class="didi-hover">{{ scope.row.bugName }}</span>
+          <span class="didi-hover" @click="goRequired(scope.row.id)">{{ scope.row.name }}</span>
         </template>
       </el-table-column>
-      <el-table-column prop="priorityLevel" label="优先级" align="center" min-width="100" show-overflow-tooltip />
-      <el-table-column prop="priorityName" label="PM" align="center" min-width="100" show-overflow-tooltip />
-      <el-table-column prop="creatorList" label="跟版客户端" align="center" min-width="90" show-overflow-tooltip />
+      <el-table-column prop="priorityName" label="优先级" min-width="100" show-overflow-tooltip />
+      <el-table-column label="PM" min-width="100" show-overflow-tooltip>
+        <template slot-scope="scope">
+          <span class="didi-hover">{{ scope.row.pmMemberInfoResponse.name }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column prop="referredClientTypeName" label="跟版客户端" min-width="90" show-overflow-tooltip />
     </el-table>
 
     <normal-area id="report-template" :value.sync="fromCreateData.content" :height="500" />
@@ -225,6 +229,10 @@ export default {
       }
     },
 
+    goRequired(id) {
+      this.$router.push({ name: '需求详情', query: { id: id }})
+    },
+
     // 创建提测报告
     reportreleaseCreate(val) {
       this.$refs.fromCreateData.validate((valid) => {

+ 1 - 1
src/views/reportManagement/components/DailyReport.vue

@@ -13,7 +13,7 @@
       <div v-if="showOne" style="min-height: 34vh;">
         <el-row type="flex" justify="center">
           <el-col :span="19" class="creator">模版名称</el-col>
-          <el-col :span="5" class="creator">创建人</el-col>
+          <el-col :span="5" class="creator" style="margin-right: 17px;"> 创建人 </el-col>
         </el-row>
 
         <div ref="refName" style="max-height: 260px; overflow:scroll; overflow-x: hidden; margin: 20px 0;">

+ 9 - 3
src/views/reportManagement/daily/dailyPreview.vue

@@ -19,10 +19,10 @@
       </div>
 
       <div class="backStyle marginTop"> 报告预览</div>
-      <div class="Layout_space_between">
+      <div class="Layout_space_between reportName_style" style="border-bottom: 0.5px solid #eee;margin-bottom: 15px; padding-bottom: 10px;">
         <span class="backStyle report-name"> {{ fromCreateData.reportName }}</span>
         <span>报告人:{{ name }}</span>
-      </div><hr style="border: 0.5px solid #eee;">
+      </div>
       <div v-html="fromCreateData.content" />
       <icon-display :details="fromCreateData" />
     </div>
@@ -124,13 +124,19 @@ export default {
     line-height: 19px;
 }
   .backStyle {
+    color:#333;
     font-size: 14px;
     font-weight: bold;
   }
   .report-div {
-   margin-top: 10px;
+    margin-top: 10px;
   }
   .marginTop {
     margin-top: 30px;
   }
+  .reportName_style {
+    border-bottom: 0.5px solid #eee;
+    margin-bottom: 15px;
+    padding-bottom: 10px;
+  }
 </style>