From 74ed146f35d0c1a3e8c21ce334ee39c64592d37d Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Mon, 8 Aug 2022 14:37:40 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Statistics/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/Statistics/index.vue b/src/views/Statistics/index.vue index 1706688..6ac7a16 100644 --- a/src/views/Statistics/index.vue +++ b/src/views/Statistics/index.vue @@ -463,6 +463,7 @@ export default { legend: { show: true, bottom: "0", + type: 'scroll', }, graphic: [ { From 9eb1778144cb6d2bafb7255a9fbd908a201ce270 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Mon, 8 Aug 2022 15:45:02 +0800 Subject: [PATCH 02/13] =?UTF-8?q?=E8=A7=A3=E5=86=B3echarts=20legend?= =?UTF-8?q?=E8=BF=87=E5=A4=9A=E6=8C=A4=E5=8E=8B=E4=B8=80=E8=B5=B7=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Statistics/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/Statistics/index.vue b/src/views/Statistics/index.vue index 6ac7a16..0fd34ba 100644 --- a/src/views/Statistics/index.vue +++ b/src/views/Statistics/index.vue @@ -501,8 +501,9 @@ export default { name: "", type: "pie", radius: ["48%", "70%"], - avoidLabelOverlap: false, + avoidLabelOverlap: true, data: objoptlis, + }, ], }; From 866837bf59ea9f568963d48252d6b3fb31a2559a Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Mon, 8 Aug 2022 17:58:42 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=A4=A7=E9=83=A8?= =?UTF-8?q?=E5=88=86=E8=A1=A8=E6=A0=BC=E7=9A=84=E9=AB=98=E5=BA=A6=20bug?= =?UTF-8?q?=E7=BC=96=E5=8F=B75733?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/const/crud/admin/log.js | 2 ++ src/views/Customer/AgentManagement.vue | 2 +- src/views/Customer/CompanyRecord.vue | 2 +- src/views/Customer/Companymanagement.vue | 2 +- src/views/Customer/index.vue | 1 + src/views/Equipment/batch.vue | 2 +- src/views/Equipment/state.vue | 1 + src/views/File/index.vue | 1 + src/views/ReceivingRecords/index.vue | 1 + src/views/Scheduling/index.vue | 1 + src/views/Template/PinspeakwordsList.vue | 2 +- src/views/Template/taboo.vue | 2 +- src/views/Template/wrongword.vue | 2 +- src/views/admin/log/log.vue | 40 +++++++++++++----------- src/views/admin/user/index.vue | 1 + src/views/building/Count.vue | 12 +++---- src/views/building/index.vue | 2 +- src/views/houseData/count.vue | 2 +- 18 files changed, 42 insertions(+), 36 deletions(-) diff --git a/src/const/crud/admin/log.js b/src/const/crud/admin/log.js index 3df6bfe..31f5453 100644 --- a/src/const/crud/admin/log.js +++ b/src/const/crud/admin/log.js @@ -1,6 +1,7 @@ export const tableOption = { border: true, index: true, + height: 527, indexLabel: "序号", stripe: true, menuAlign: "center", @@ -61,6 +62,7 @@ export const tableOption1 = { index: true, indexLabel: "序号", stripe: true, + height: 527, menuAlign: "center", menuWidth: 150, menu:false, diff --git a/src/views/Customer/AgentManagement.vue b/src/views/Customer/AgentManagement.vue index 3889a7c..460c9d2 100644 --- a/src/views/Customer/AgentManagement.vue +++ b/src/views/Customer/AgentManagement.vue @@ -56,7 +56,7 @@
- +
- + diff --git a/src/views/Customer/Companymanagement.vue b/src/views/Customer/Companymanagement.vue index cdc4bac..5c19e98 100644 --- a/src/views/Customer/Companymanagement.vue +++ b/src/views/Customer/Companymanagement.vue @@ -86,7 +86,7 @@
- + diff --git a/src/views/Scheduling/index.vue b/src/views/Scheduling/index.vue index e74e778..19ec8da 100644 --- a/src/views/Scheduling/index.vue +++ b/src/views/Scheduling/index.vue @@ -84,6 +84,7 @@
- + diff --git a/src/views/Template/taboo.vue b/src/views/Template/taboo.vue index 2166d14..be6db63 100644 --- a/src/views/Template/taboo.vue +++ b/src/views/Template/taboo.vue @@ -47,7 +47,7 @@
- + diff --git a/src/views/Template/wrongword.vue b/src/views/Template/wrongword.vue index 9f4d4d2..5f069ea 100644 --- a/src/views/Template/wrongword.vue +++ b/src/views/Template/wrongword.vue @@ -63,7 +63,7 @@
- + diff --git a/src/views/admin/log/log.vue b/src/views/admin/log/log.vue index f406498..dd691ae 100644 --- a/src/views/admin/log/log.vue +++ b/src/views/admin/log/log.vue @@ -3,6 +3,7 @@
diff --git a/src/views/admin/user/index.vue b/src/views/admin/user/index.vue index cb92bff..b154c8a 100644 --- a/src/views/admin/user/index.vue +++ b/src/views/admin/user/index.vue @@ -190,6 +190,7 @@
-
+
@@ -125,12 +120,13 @@ 导出
+
-
- + diff --git a/src/views/building/index.vue b/src/views/building/index.vue index b75679a..46d8c1e 100644 --- a/src/views/building/index.vue +++ b/src/views/building/index.vue @@ -152,7 +152,7 @@
- + diff --git a/src/views/houseData/count.vue b/src/views/houseData/count.vue index c299671..9aab12f 100644 --- a/src/views/houseData/count.vue +++ b/src/views/houseData/count.vue @@ -54,7 +54,7 @@
- + From 670bebddb94f9132e17f55a55babb12aa19b93ec Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Mon, 8 Aug 2022 18:25:56 +0800 Subject: [PATCH 04/13] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E4=B8=8A=E7=9A=84=E5=B1=9E=E6=80=A7=E4=B8=8E=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E7=BC=BA=E5=B0=91=E7=A9=BA=E6=A0=BC=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Customer/CompanyRecord.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Customer/CompanyRecord.vue b/src/views/Customer/CompanyRecord.vue index a034183..90a4248 100644 --- a/src/views/Customer/CompanyRecord.vue +++ b/src/views/Customer/CompanyRecord.vue @@ -180,7 +180,7 @@ --> - +
- + { this.tableData = res.data.records; this.total = res.data.total; + + // 表格中设置ref属性,在数据渲染之后或者updated()之后 + this.$nextTick(() => { + this.$refs.table.doLayout(); + }); }); }, handleSizeChange(val) { diff --git a/src/views/Customer/CompanyRecord.vue b/src/views/Customer/CompanyRecord.vue index 90a4248..04a8dec 100644 --- a/src/views/Customer/CompanyRecord.vue +++ b/src/views/Customer/CompanyRecord.vue @@ -67,7 +67,7 @@
- + @@ -1119,6 +1119,11 @@ export default { console.log(res.data); this.tableData = res.data.records; this.total = res.data.total; + + // 表格中设置ref属性,在数据渲染之后或者updated()之后 + this.$nextTick(() => { + this.$refs.table.doLayout(); + }); }); }, handleSizeChange(val) { diff --git a/src/views/Customer/Companymanagement.vue b/src/views/Customer/Companymanagement.vue index 5c19e98..7db8ef9 100644 --- a/src/views/Customer/Companymanagement.vue +++ b/src/views/Customer/Companymanagement.vue @@ -86,7 +86,7 @@
- + { + this.$refs.table.doLayout(); + }); }); }, locationsChange1(e) { diff --git a/src/views/Customer/SalesStage.vue b/src/views/Customer/SalesStage.vue index 1938025..5b75f28 100644 --- a/src/views/Customer/SalesStage.vue +++ b/src/views/Customer/SalesStage.vue @@ -38,7 +38,7 @@
- + @@ -162,6 +162,10 @@ computed: { }; this.$api.api.lifeTrackDefineList(obj).then((res) => { this.tableData = res.data; + // 表格中设置ref属性,在数据渲染之后或者updated()之后 + this.$nextTick(() => { + this.$refs.table.doLayout(); + }); }); }, //删除 diff --git a/src/views/Customer/index.vue b/src/views/Customer/index.vue index 748e66a..cb97647 100644 --- a/src/views/Customer/index.vue +++ b/src/views/Customer/index.vue @@ -272,6 +272,7 @@ { + this.$refs.table.doLayout(); + }); }); }, clearScreen() { diff --git a/src/views/Equipment/batch.vue b/src/views/Equipment/batch.vue index b0374e7..e73b0f2 100644 --- a/src/views/Equipment/batch.vue +++ b/src/views/Equipment/batch.vue @@ -31,6 +31,7 @@ { + this.$refs.table.doLayout(); + }); }); }, handleSizeChange(val) { diff --git a/src/views/Equipment/equipmentOnlineRecordList.vue b/src/views/Equipment/equipmentOnlineRecordList.vue index 892809b..ee78669 100644 --- a/src/views/Equipment/equipmentOnlineRecordList.vue +++ b/src/views/Equipment/equipmentOnlineRecordList.vue @@ -97,7 +97,7 @@