From 3f488360b04f1b02d290ddf9b684e59abe966d0f Mon Sep 17 00:00:00 2001 From: laozt <2721205210@qq.com> Date: Tue, 9 Jan 2024 16:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/views/components/AddDialog/tab1.vue | 6 +++--- src/views/components/AddDialog/tab2.vue | 9 ++++++--- src/views/components/AddDialog/tab3.vue | 6 +++--- src/views/yingji/planManage.vue | 8 ++++---- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.env.development b/.env.development index e7dbfd9..ebdaf25 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ # @Author: 张涛 # @Date: 2023-07-18 13:04:50 # @LastEditors: laozt 2721205210@qq.com - # @LastEditTime: 2024-01-04 09:40:25 + # @LastEditTime: 2024-01-09 14:04:56 # @FilePath: \suzhouyingjiPC\.env.development ### # 页面标题 diff --git a/src/views/components/AddDialog/tab1.vue b/src/views/components/AddDialog/tab1.vue index d6a8617..910af6f 100644 --- a/src/views/components/AddDialog/tab1.vue +++ b/src/views/components/AddDialog/tab1.vue @@ -292,9 +292,9 @@ export default { }, /** 查询计划企业列表 */ getPlanEnterpriseList() { - listEnterprise(this.queryPlanEnterpriseParams).then((response) => { - this.enterpriseList = response.data; - this.enterpriseTotal = response.data.length; + listEnterprise(this.queryPlanEnterpriseParams).then((res) => { + this.enterpriseList = res.rows; + this.enterpriseTotal = res.total; }); }, /** 查询企业新列表 */ diff --git a/src/views/components/AddDialog/tab2.vue b/src/views/components/AddDialog/tab2.vue index daf8426..53d40fa 100644 --- a/src/views/components/AddDialog/tab2.vue +++ b/src/views/components/AddDialog/tab2.vue @@ -423,9 +423,9 @@ export default { }, /** 查询计划企业列表 */ getPlanEnterpriseList() { - listEnterprise(this.queryPlanEnterpriseParams).then((response) => { - this.enterpriseList = response.data; - this.enterpriseTotal = response.data.length; + listEnterprise(this.queryPlanEnterpriseParams).then((res) => { + this.enterpriseList = res.rows; + this.enterpriseTotal = res.total; }); }, /** 查询企业新列表 */ @@ -505,6 +505,9 @@ export default { } this.openNew = true; this.titleNew = "企业补录"; + this.$nextTick(() => { + this.$refs.areaCascader.onClear(); + }); }, // 表单重置 resetNew() { diff --git a/src/views/components/AddDialog/tab3.vue b/src/views/components/AddDialog/tab3.vue index b592754..5bb26fa 100644 --- a/src/views/components/AddDialog/tab3.vue +++ b/src/views/components/AddDialog/tab3.vue @@ -227,9 +227,9 @@ export default { /** 查询计划企业列表 */ getList() { this.loading = true; - listEnterprise(this.queryParams).then((response) => { - this.enterpriseList = response.data; - this.total = response.data.length; + listEnterprise(this.queryParams).then((res) => { + this.enterpriseList = res.rows; + this.total = res.total; this.loading = false; }); }, diff --git a/src/views/yingji/planManage.vue b/src/views/yingji/planManage.vue index 5f11e29..f9222d2 100644 --- a/src/views/yingji/planManage.vue +++ b/src/views/yingji/planManage.vue @@ -157,6 +157,7 @@ +