qinzhipeng_v@didiglobal.com пре 4 година
родитељ
комит
dd8cd2d722
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      src/views/quality/components/requireDrawer.vue

+ 7 - 0
src/views/quality/components/requireDrawer.vue

@@ -9,6 +9,9 @@
       </el-table-column>
       <el-table-column :label="Statistics.typeStr + '名称'" min-width="250">
         <template slot-scope="scope">
+          <div v-if="Statistics.typeStr === '缺陷'" class="drawer-id">{{ scope.row.bugId }}</div>
+          <div v-if="Statistics.typeStr === '任务'" class="drawer-id">{{ scope.row.taskIdSting }}</div>
+          <div v-if="Statistics.typeStr === '需求'" class="drawer-id">{{ scope.row.requirementDisplayId }}</div>
           <div v-if="Statistics.typeStr === '需求' || Statistics.typeStr === '任务'" class="drawer-name" @click="jumper(scope.row)">{{ scope.row.name }}</div>
           <div v-if="Statistics.typeStr === '缺陷'" class="drawer-name" @click="jumper(scope.row)">{{ scope.row.bugName }}</div>
         </template>
@@ -165,6 +168,10 @@ export default {
   border-radius: 4px;
   margin-left: 4px;
 }
+.drawer-id {
+  color: rgb(167, 174, 188);
+  font-size: 10px;
+}
 ._font {
   font-size: 16px;
   color: #409eff;