Просмотр исходного кода

fix(列宽): 页面列表信息展示不全,调整列宽大小

lk 2 лет назад
Родитель
Сommit
f788386510

+ 1 - 1
src/views/contract/components/DetailsCollection.vue

@@ -171,7 +171,7 @@
           },
           {
             label: '计划回款比例',
-            width: '100px',
+            width: '120px',
             prop: 'planScale',
           },
           {

+ 1 - 1
src/views/contract/index.vue

@@ -313,7 +313,7 @@
           },
           {
             label: '合同签订单位',
-            width: '120px',
+            width: '280px',
             prop: 'distributorName',
             sortable: false,
             disableCheck: false,

+ 5 - 3
src/views/customer/detail.vue

@@ -17,7 +17,9 @@
             <div>
               <el-button @click="handleFollow">添加跟进</el-button>
               <span v-show="detail.salesId > 0">
-                <el-button v-permissions="['cust:list:shift']" @click="handleShift">转移客户</el-button>
+                <el-button v-permissions="['cust:list:shift']" style="margin-left: 10px" @click="handleShift">
+                  转移客户
+                </el-button>
                 <el-button v-permissions="['cust:list:open']" @click="handleToOpen">移入公海</el-button>
                 <el-button v-permissions="['cust:list:project']" @click="handleBusiness">创建项目</el-button>
               </span>
@@ -215,8 +217,8 @@
           </el-tab-pane>
           <el-tab-pane label="项目记录" name="item">
             <el-table border :data="items" height="calc(100% - 42px)">
-              <el-table-column align="center" label="项目编号" prop="nboCode" width="120px" />
-              <el-table-column align="center" label="项目名称" prop="nboName" show-overflow-tooltip width="200px" />
+              <el-table-column align="center" label="项目编号" prop="nboCode" width="130px" />
+              <el-table-column align="center" label="项目名称" prop="nboName" show-overflow-tooltip width="250px" />
               <el-table-column align="center" label="审批状态" prop="approStatus" width="120px">
                 <template slot-scope="scope">
                   {{ getStatus(scope.row.approStatus) }}

+ 4 - 4
src/views/proj/business/components/DetailsEnclosure.vue

@@ -42,7 +42,7 @@
           <span v-else>{{ row[item.prop] }}</span>
         </template>
       </el-table-column>
-      <el-table-column align="center" fixed="right" label="操作">
+      <el-table-column align="center" label="操作">
         <template slot-scope="scope">
           <el-button v-permissions="['business:detail:enclosure:download']" type="text" @click="downFile(scope.row)">
             下载
@@ -115,17 +115,17 @@
         columns: [
           {
             label: '附件名称',
-            width: 'auto',
+            width: '300px',
             prop: 'fileName',
           },
           {
             label: '上传人',
-            width: '120px',
+            width: '60px',
             prop: 'createdName',
           },
           {
             label: '上传时间',
-            width: '100px',
+            width: 'auto',
             prop: 'createdTime',
           },
         ],

+ 2 - 2
src/views/proj/business/components/ProductTable.vue

@@ -80,7 +80,7 @@
           },
           {
             label: '产品名称',
-            width: 'auto',
+            width: '420px',
             prop: 'prodName',
           },
           {
@@ -119,7 +119,7 @@
       if (this.isLook) {
         this.columns.push({
           label: '合计',
-          width: 'auto',
+          width: '120px',
           prop: 'total',
         })
       }

+ 4 - 4
src/views/proj/business/index.vue

@@ -244,8 +244,8 @@
           {
             label: '项目名称',
             prop: 'nboName',
-            width: '180px',
-            minWidth: '180px',
+            width: '240px',
+            minWidth: '240px',
             sortable: false,
             disableCheck: true,
           },
@@ -268,7 +268,7 @@
             label: '客户名称',
             prop: 'custName',
             width: 'auto',
-            minWidth: '200px',
+            minWidth: '240px',
           },
           {
             label: '项目备案时间',
@@ -288,7 +288,7 @@
           {
             label: '经销商/代理商',
             prop: 'distributorName',
-            minWidth: '180px',
+            minWidth: '240px',
             width: 'auto',
           },
           {

+ 6 - 6
src/views/work/deliver/index.vue

@@ -70,7 +70,7 @@
           <span v-else>{{ row[item.prop] }}</span>
         </template>
       </el-table-column>
-      <el-table-column align="center" label="操作" width="90">
+      <el-table-column align="center" fixed="right" label="操作" width="90">
         <template #default="{ row }">
           <el-button type="text" @click="handleUpdateUser(row)">成员</el-button>
           <el-button v-if="row.orderStatus != 20" type="text" @click="handleFinish(row)">完成</el-button>
@@ -133,7 +133,7 @@
           },
           {
             label: '关联合同',
-            width: 'auto',
+            width: '280px',
             prop: 'contractCode',
           },
           {
@@ -148,12 +148,12 @@
           },
           {
             label: '关联客户',
-            width: '220px',
+            width: '280px',
             prop: 'custName',
           },
           {
             label: '关联项目',
-            width: '220px',
+            width: '280px',
             prop: 'projectName',
           },
           {
@@ -168,7 +168,7 @@
           },
           {
             label: '产品线',
-            width: 'auto',
+            width: '120px',
             prop: 'product',
           },
           {
@@ -178,7 +178,7 @@
           },
           {
             label: '创建时间',
-            width: 'auto',
+            width: '120px',
             prop: 'createdTime',
           },
         ],

+ 1 - 1
src/views/work/order/components/DingTalkFromToVue.vue

@@ -112,7 +112,7 @@
             <el-form-item :label="item.props.label" :prop="item.props.id" :required="item.props.required">
               <el-button
                 v-show="item.props.actionName"
-                style="float: right; margin-top: -20px"
+                style="float: right; margin-top: -20px; margin-bottom: 10px"
                 @click="addTableData(index)">
                 {{ item.props.actionName }}
               </el-button>

+ 7 - 7
src/views/work/order/index.vue

@@ -74,7 +74,7 @@
           <span v-else>{{ row[item.prop] }}</span>
         </template>
       </el-table-column>
-      <el-table-column align="center" label="操作" width="60">
+      <el-table-column align="center" fixed="right" label="操作" width="60">
         <template #default="{ row }">
           <el-button v-if="row.orderStatus == 10 || row.orderStatus == 30" type="text" @click="handleClose(row.id)">
             关闭
@@ -134,13 +134,13 @@
           },
           {
             label: '工单标题',
-            width: '220px',
+            width: '320px',
             prop: 'name',
             disableCheck: true,
           },
           {
             label: '工单类型',
-            width: '160px',
+            width: '200px',
             prop: 'orderTypeName',
           },
           {
@@ -150,17 +150,17 @@
           },
           {
             label: '关联客户',
-            width: '220px',
+            width: '320px',
             prop: 'custName',
           },
           {
             label: '关联项目',
-            width: '220px',
+            width: '320px',
             prop: 'nboName',
           },
           {
             label: '产品线',
-            width: 'auto',
+            width: '160px',
             prop: 'productLine',
           },
           {
@@ -170,7 +170,7 @@
           },
           {
             label: '是否超期',
-            width: '80px',
+            width: 'auto',
             prop: 'endTime',
           },
           {