Browse Source

详情页任务调整

qymljy 1 year ago
parent
commit
472f04322c
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/components/normal-basic-layout/details/modules/task/index.vue

+ 4 - 2
src/components/normal-basic-layout/details/modules/task/index.vue

@@ -13,7 +13,9 @@
       </div>
       <div class="task_list__panel" v-for="item in list" :key="item.sys_taskid">
         <div class="flex-align-center flex-between">
-          <p class="task_title" @click="taskDetail(item)"><b>{{item.title}}</b></p>
+          <el-tooltip class="item" effect="dark" :content="item.title" placement="top-start">
+            <p class="task_title" @click="taskDetail(item)"><b>{{item.title}}</b></p>
+          </el-tooltip>
           <small>{{item.status}}</small>
           <small>{{item.starttime.split(' ')[0]}}</small>
         </div>
@@ -76,7 +78,7 @@
     margin-bottom: 0 !important;
   }
   .task_title{
-    width: 200px;
+    width: 160px;
     overflow: hidden;
     text-overflow:ellipsis;
     white-space: nowrap;