From 266793e83a7dba86d1507db5f5d649a2018c30c2 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 09 Jan 2024 18:32:04 +0800
Subject: [PATCH] 物业管理服务下页面调整

---
 src/views/property/propertyCapitalApply.vue |   43 ++++++++++++++++++-------------------------
 1 files changed, 18 insertions(+), 25 deletions(-)

diff --git a/src/views/property/propertyCapitalApply.vue b/src/views/property/propertyCapitalApply.vue
index 98354e3..4d3ee81 100644
--- a/src/views/property/propertyCapitalApply.vue
+++ b/src/views/property/propertyCapitalApply.vue
@@ -7,12 +7,12 @@
             @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
             @refresh-change="refreshChange" @on-load="onLoad">
 
-            <template slot-scope="scope" slot="menu">
-                <el-button type="text" size="small" v-if="scope.row.applyStatus === 4" @click="handleWork(scope.row)">调整申请
+            <template slot-scope="{ row, size, index }" slot="menu">
+                <el-button :size="size" type="text" v-if="scope.row.applyStatus === 4" @click="handleWork(scope.row)">调整申请
                 </el-button>
-                <el-button type="text" size="small" @click="goDetail(scope.row)">查看申请
+                <el-button :size="size" type="text" @click="goDetail(scope.row)">查看申请
                 </el-button>
-                <el-button type="text" size="small" @click="goDetail(scope.row)">删 除
+                <el-button :size="size" type="text" @click="goDetail(scope.row)">删 除
                 </el-button>
             </template>
             <!-- <template slot="menuLeft">
@@ -56,13 +56,16 @@
             datetime: "",
             selectionList: [],
             option: {
+                labelWidth: 154,
+                searchLabelWidth: 96,
+                searchShow: true,
+                searchMenuSpan: 3,
+                menuWidth: 140,
+
                 height: "auto",
                 calcHeight: 54,
                 dialogWidth: 1150,
                 tip: false,
-                searchShow: true,
-                searchMenuSpan: 3,
-                menuWidth: 350,
                 border: true,
                 //stripe:true,
                 index: true,
@@ -103,7 +106,6 @@
                         },
                         defaultExpandedKeys: ["361102003"],
                         span: 12,
-                        labelWidth: 120,
                         width: 260,
                         rules: [{
                             required: true,
@@ -115,11 +117,10 @@
                     {
                         label: '维修项目名称',
                         prop: 'name',
-                        searchLabelWidth: 120,
                         searchSpan: 5,
+                        searchLabelWidth: 124,
                         search: true,
                         span: 12,
-                        labelWidth: 140,
                         rules: [{
                             required: true,
                             message: "请输入维修项目名称",
@@ -127,10 +128,10 @@
                         },],
                     },
                     {
+                        width: 100,
                         label: "预计开工时间",
                         prop: "runTime",
                         span: 12,
-                        labelWidth: 140,
                         type: "date",
                         format: "yyyy-MM-dd",
                         valueFormat: "yyyy-MM-dd",
@@ -141,9 +142,9 @@
                         },],
                     },
                     {
+                        width: 100,
                         label: "预计竣工时间",
                         prop: "completedTime",
-                        labelWidth: 140,
                         span: 12,
                         type: "date",
                         format: "yyyy-MM-dd",
@@ -157,18 +158,18 @@
                     {
                         label: "项目分摊方式",
                         prop: "allocationWay",
-                        labelWidth: 140,
                         value: '按建筑面积分摊',
                         span: 14,
                         row: true,
                     },
                     {
+                        width: 110,
                         label: '联系人',
                         prop: 'linkman',
                         span: 12,
-                        labelWidth: 120,
-                        search: true,
                         searchSpan: 4,
+                        searchLabelWidth: 80,
+                        search: true,
                         rules: [{
                             required: true,
                             message: "请输入联系人",
@@ -176,10 +177,10 @@
                         },],
                     },
                     {
+                        width: 120,
                         label: '联系方式',
                         prop: 'linkPhone',
                         span: 12,
-                        labelWidth: 140,
                         rules: [{
                             required: true,
                             message: "请输入联系方式",
@@ -187,16 +188,15 @@
                         },],
                     },
                     {
+                        width: 100,
                         label: '申请时间',
                         prop: 'applyTime',
                         span: 12,
-                        labelWidth: 160,
                         display: false,
                     }, {
                         label: '审核进度',
                         prop: 'applyStatus',
                         span: 12,
-                        labelWidth: 140,
                         display: false,
                         dicData: [{
                             label: "待审核",
@@ -226,7 +226,6 @@
                         prop: "budgetAmount",
                         span: 12,
                         hide: true,
-                        labelWidth: 140,
                         type: 'number',
                         precision: 2,
                         value: '0.00'
@@ -236,7 +235,6 @@
                         prop: "actualAmount",
                         span: 12,
                         hide: true,
-                        labelWidth: 140,
                         type: 'number',
                         precision: 2,
                         value: '0.00'
@@ -246,7 +244,6 @@
                         prop: "selfAmount",
                         span: 12,
                         hide: true,
-                        labelWidth: 140,
                         type: 'number',
                         precision: 2,
                         value: '0.00'
@@ -256,7 +253,6 @@
                         prop: "budgetAppropriateAmount",
                         span: 12,
                         hide: true,
-                        labelWidth: 140,
                         type: 'number',
                         precision: 2,
                         value: '0.00'
@@ -267,7 +263,6 @@
                         hide: true,
                         prop: "projectDigest",
                         placeholder: "例如:“XX小区XX栋XX设施设备维修,总的预算金额是X,是否含有审价,本次维修涉及范围共XX户,总面积的建筑面积为XX平方米”",
-                        labelWidth: 140,
                         type: "textarea"
                     },
                     {
@@ -275,7 +270,6 @@
                         span: 24,
                         hide: true,
                         prop: "projectDescribe",
-                        labelWidth: 140,
                         type: "textarea"
                     },
                     {
@@ -284,7 +278,6 @@
                         type: 'upload',
                         span: 24,
                         hide: true,
-                        labelWidth: 140,
                         multiple: true,
                         // showFileList: true,
                         propsHttp: {

--
Gitblit v1.9.3