瀏覽代碼

跟进动态tab调整

qymljy 5 月之前
父節點
當前提交
32e0bd8bd4

+ 7 - 2
src/components/normal-basic-layout-new/details/modules/followTable/index.vue

@@ -15,7 +15,7 @@
       <el-table-column
           prop="createby"
           label="跟进人"
-          min-width="69">
+          min-width="60">
       </el-table-column>
       <el-table-column
           prop="createdate"
@@ -32,7 +32,7 @@
           prop="contacts"
           v-if="$route.path === '/projectChangeDetail' || $route.path === '/customerDetail' || $route.path === '/PublicCustomerDetail' || $route.path === '/phonebookDetail'"
           label="跟进对象"
-          min-width="117">
+          min-width="69">
         <template slot-scope="scope">
           <div v-for="item in scope.row.contacts" :key="item.index">
             <span v-if="item.rowindex === scope.row.contacts.length" class="span-style">
@@ -78,6 +78,7 @@
       </el-table-column>
       <el-table-column
           label="操作"
+          fixed="right"
           min-width="220">
         <template slot-scope="scope">
           <el-button type="text" size="small" @click="showReview(scope.row)" class="inline-16">{{$t(`评论`)}}({{scope.row.commentqty}})</el-button>
@@ -369,4 +370,8 @@ export default {
     width: 100%;
     height: calc(100vh - 390px);
   }
+  /deep/ .el-table .cell.el-tooltip {
+    white-space: break-spaces;
+    min-width: 50px;
+  }
 </style>

+ 7 - 2
src/components/normal-basic-layout/details/modules/followTable/index.vue

@@ -15,7 +15,7 @@
       <el-table-column
           prop="createby"
           label="跟进人"
-          min-width="69">
+          min-width="60">
       </el-table-column>
       <el-table-column
           prop="createdate"
@@ -32,7 +32,7 @@
           prop="contacts"
           v-if="$route.path === '/projectChangeDetail' || $route.path === '/customerDetail' || $route.path === '/PublicCustomerDetail'"
           label="跟进对象"
-          min-width="117">
+          min-width="69">
         <template slot-scope="scope">
           <div v-for="item in scope.row.contacts" :key="item.index">
             <span v-if="item.rowindex === scope.row.contacts.length" class="span-style">
@@ -78,6 +78,7 @@
       </el-table-column>
       <el-table-column
           label="操作"
+          fixed="right"
           min-width="220">
         <template slot-scope="scope">
           <el-button type="text" size="small" @click="showReview(scope.row)" class="inline-16">{{$t(`评论`)}}({{scope.row.commentqty}})</el-button>
@@ -369,4 +370,8 @@ export default {
     width: 100%;
     height: calc(100vh - 390px);
   }
+  /deep/ .el-table .cell.el-tooltip {
+     white-space: break-spaces;
+    min-width: 50px;
+  }
 </style>