From 5ffd91762a85913e9bcaba09b17ab89073a16be3 Mon Sep 17 00:00:00 2001 From: 1154079537 <1154079537@qq.com> Date: Tue, 30 Apr 2024 17:57:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9C=81=E5=B8=82=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shoplist.js | 10 +- src/views/merchant/application/index.vue | 20 +-- .../merchant/list/handle/merEditForm.vue | 163 +++++++++++------- 3 files changed, 118 insertions(+), 75 deletions(-) diff --git a/src/api/shoplist.js b/src/api/shoplist.js index db7e0c2..86bb404 100644 --- a/src/api/shoplist.js +++ b/src/api/shoplist.js @@ -1,18 +1,22 @@ import request from './request_area' -/* +/* 获取第一级商圈 */ export const get_area = (data) => request.get('api/city/get_area', data) -/* +/* 获取第二级商圈 */ export const get_stree = (data) => request.get('api/city/get_street', data) -/* +/* 获取第三级级商圈 */ export const get_village = (data) => request.get('api/city/get_village', data) +// 城市 export const get_city = (data) => request.get('api/city/get_city', data) + +// 省份 +export const get_province = (data) => request.get('api/city/get_province', data) diff --git a/src/views/merchant/application/index.vue b/src/views/merchant/application/index.vue index a5f3837..a8599ed 100644 --- a/src/views/merchant/application/index.vue +++ b/src/views/merchant/application/index.vue @@ -172,8 +172,6 @@ - -
@@ -186,7 +184,7 @@ - + @@ -266,8 +264,6 @@ - -
@@ -278,8 +274,6 @@ - - @@ -390,11 +384,11 @@ export default { this.$refs.searchForm.resetFields() this.getList(1) }, - statusChange(tab) { - this.tableFrom.status = tab; - this.tableFrom.page = 1; - this.getList(""); - }, + // statusChange(tab) { + // this.tableFrom.status = tab; + // this.tableFrom.page = 1; + // this.getList(""); + // }, // 具体日期 onchangeTime(e) { this.timeVal = e; @@ -445,7 +439,7 @@ export default { // 修改状态 onchangeIsShow(item) { this.statusAuditVisible = true; - this.statusAuditForm = item; + this.statusAuditForm = Object.assign(this.statusAuditForm,item) this.$set(this.statusAuditForm, 'state', 1); this.$set(this.statusAuditForm, 'create_mer', 1); }, diff --git a/src/views/merchant/list/handle/merEditForm.vue b/src/views/merchant/list/handle/merEditForm.vue index e0fd990..04119a9 100644 --- a/src/views/merchant/list/handle/merEditForm.vue +++ b/src/views/merchant/list/handle/merEditForm.vue @@ -1,6 +1,6 @@