Procházet zdrojové kódy

市场工作台ui-已办待办溢出隐藏

hujunwei před 2 roky
rodič
revize
c5b6022a81

+ 17 - 13
src/pages/main/leader/leaderhomeTask.vue

@@ -34,9 +34,10 @@
                       ? 'cursor: pointer;color:red;float:left;display:inline-block;text-align:left;width: 90%;'
                       : 'cursor: pointer;color:blue;float:left;display:inline-block;text-align:left;width: 90%;'
                   "
-                  ><span style="float: left; color: #afb2d8;margin-right:5px"
-                  >•</span
-                >{{ scope.row.woTitle }}</span
+                  >
+                  <!-- <span style="float: left; color: #afb2d8;margin-right:5px"
+                  >•</span> -->
+                {{ scope.row.woTitle }}</span
                 >
               </template>
             </el-table-column>
@@ -45,9 +46,10 @@
               label="流程名称"
               align="center"
               width="180"
+              :show-overflow-tooltip="true"
             >
               <template slot-scope="scope">
-                <span>{{ scope.row.procName }}</span>
+                <span :title="scope.row.procName">{{ scope.row.procName }}</span>
               </template>
             </el-table-column>
             <el-table-column
@@ -118,19 +120,20 @@
           >
             <el-table-column prop="woTitle" label="工单标题" align="center" :show-overflow-tooltip="true">
               <template slot-scope="scope">
-                <span style="float: left; color: #afb2d8;margin-right:5px"
+                <!-- <span style="float: left; color: #afb2d8;margin-right:5px"
                   >•</span
-                >
+                > -->
                 <span
                   @click="RowDoneTitle(scope.row)"
+                  :title="scope.row.woTitle" 
                   style="cursor: pointer; color: blue; display: inline-block;float:left;"
                   >{{ scope.row.woTitle }}</span
                 >
               </template>
             </el-table-column>
-            <el-table-column prop="procName" label="流程名称" align="center" width="180">
+            <el-table-column prop="procName" label="流程名称" align="center" width="180" :show-overflow-tooltip="true">
               <template slot-scope="scope">
-                <span>{{ scope.row.procName }}</span>
+                <span :title="scope.row.procName">{{ scope.row.procName }}</span>
               </template>
             </el-table-column>
 
@@ -180,21 +183,22 @@
             style="width: 100%; font-size: 16px; background: '#FaFaFa'"
             height="442px"
           >
-            <el-table-column prop="woTitle" label="工单标题" align="center" :show-overflow-tooltip="true">
+            <el-table-column prop="woTitle" label="工单标题" align="center"  :show-overflow-tooltip="true">
               <template slot-scope="scope">
-                <span style="float: left; color: #afb2d8;margin-right:5px"
+                <!-- <span style="float: left; color: #afb2d8;margin-right:5px"
                   >•</span
-                >
+                > -->
                 <span
+                  :title="scope.row.woTitle"
                   @click="RowlaunchTitle(scope.row)"
                   style="cursor: pointer; color: blue; float: left"
                   >{{ scope.row.woTitle }}</span
                 >
               </template>
             </el-table-column>
-            <el-table-column prop="procName" label="流程名称" align="center">
+            <el-table-column prop="procName" label="流程名称" align="center"  :show-overflow-tooltip="true">
               <template slot-scope="scope">
-                <span>{{ scope.row.procName }}</span>
+                <span :title="scope.row.procName">{{ scope.row.procName }}</span>
               </template>
             </el-table-column>
 

+ 9 - 1
src/pages/main/leader/numberHits.vue

@@ -23,11 +23,19 @@
               v-if="
                 scope.$index + 1 != 1 &&
                 scope.$index + 1 != 2 &&
-                scope.$index + 1 != 3
+                scope.$index + 1 != 3 &&
+                scope.$index + 1 != 10
               "
               style="color: #afb2d8;float:left;margin: 0px 6px;text-align: center;"
               >{{ scope.$index + 1 }}.</span
             >
+            <span
+              v-if="
+                scope.$index + 1 == 10
+              "
+              style="color: #afb2d8;float:left;text-align: center;"
+              >{{ scope.$index + 1 }}.</span
+            >
             <svg
               v-if="scope.$index + 1 == 1"
               t="1657159951636"