wangziqian 5 жил өмнө
parent
commit
86b6490892

+ 1 - 3
src/components/input/textArea.vue

@@ -132,10 +132,9 @@ export default {
 </script>
 <style scoped lang="scss">
 article {
-  padding: 20px 30px;
+  padding: 0 30px 20px 30px;
 }
 .text-edit {
-  height: 25vh;
   color: #666666;
   font-size: 14px;
   display: flex;
@@ -147,7 +146,6 @@ article {
   font-size: 14px;
   color: #333B4A;
   cursor: pointer;
-  min-height: 20vh;
 }
 /deep/ textarea {
   width: calc(100% - 40px);

+ 3 - 0
src/styles/detail-pages.scss

@@ -149,5 +149,8 @@
       color: #333333;
       font-size: 14px;
     }
+    >>>.el-form-item{
+      margin-bottom: 0;
+    }
   }
 }

+ 31 - 3
src/views/projectManage/requirement/list/index.vue

@@ -123,9 +123,17 @@
             <div class="div_priority" :style="{background: priorityColors[scope.row.priority % priorityColors.length]}">{{ 'P'+scope.row.priority }}</div>
           </template>
         </el-table-column>
-        <el-table-column label="需求名称" fixed min-width="250" show-overflow-tooltip align="left">
+        <el-table-column label="需求名称" fixed min-width="300" show-overflow-tooltip align="left">
           <template v-slot="scope">
-            <span style="font-size: 12px;color: rgba(167,174,188,1);">{{ scope.row.requirementDisplayId }}<img v-if="scope.row.type === 1" :src="extraUrgent" style="height: 17px; padding: 0 10px;"></span><br>
+            <span class="require-item-title">
+              {{ scope.row.requirementDisplayId }}
+              <img v-if="scope.row.type === 1" :src="extraUrgent" style="height: 17px; padding: 0 10px;">
+              <div
+                v-if="scope.row.optionsObject && scope.row.optionsObject.tagsType !==-1 && scope.row.optionsObject.remindTags"
+                :class="'tag-tip'+scope.row.optionsObject.tagsType"
+              >{{ scope.row.optionsObject.remindTags }}
+              </div>
+            </span><br>
             <span class="stylus-hover" @click="getToRequirementDetails(scope.row.id)">{{ scope.row.name }}</span>
           </template>
         </el-table-column>
@@ -445,7 +453,7 @@ export default {
 }
 </script>
 
-<style scoped>
+<style scoped lang="scss">
 .el-loading-mask {
   z-index: 8;
 }
@@ -483,6 +491,26 @@ export default {
 .el-from-spacing {
   margin: 15px 0;
 }
+.require-item-title {
+  font-size: 12px;
+  color: rgba(167,174,188,1);
+}
+.tag-tip0,.tag-tip1 {
+  margin-left: 5px;
+  display: inline-block;
+  padding: 0 5px;
+  border-radius: 8px;
+  height: 16px;
+  line-height: 16px;
+}
+.tag-tip0 {
+  background: rgba(255,137,82,0.15);
+  color: rgba(255,137,82,1);
+}
+.tag-tip1{
+  background: rgba(245,108,108,0.17);
+  color: rgba(245,108,108,1);
+}
 </style>
 
 <style>