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 @@
+
{
- this.enterpriseList = response.data;
- // console.log(this.enterpriseList);
- this.total = response.data.length;
+ listEnterprise(this.queryParams).then((res) => {
+ this.enterpriseList = res.rows;
+ this.total = res.total;
this.loading = false;
});
},