From 53bf64712ec7d42dadbbe55a6a97347b40ceedf6 Mon Sep 17 00:00:00 2001 From: wanglei <1336977847@qq.com> Date: Thu, 27 Jun 2024 09:38:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AF=84=E5=88=86=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppArchives/components/List.vue | 5 +- .../AppRateManage/components/AppraiseTask.vue | 10 +-- .../AppRateManage/components/RuleManage.vue | 68 +++++++++++++++---- 3 files changed, 62 insertions(+), 21 deletions(-) diff --git a/project/fengdu/AppOutSource/AppArchives/components/List.vue b/project/fengdu/AppOutSource/AppArchives/components/List.vue index f6dafa25..cfcf81b8 100644 --- a/project/fengdu/AppOutSource/AppArchives/components/List.vue +++ b/project/fengdu/AppOutSource/AppArchives/components/List.vue @@ -17,6 +17,7 @@ v-model="search.storeLevel" @change="(search.current = 1), getList()" placeholder="门店等级" + multiple :selectList="$dict.getDict('storeLevel')"> @@ -167,6 +168,7 @@ export default { size: 10, girdCode:'', girdName:'', + storeLevel:[], girdInfoList:[] }, ids: [], @@ -295,7 +297,8 @@ export default { getList() { this.instance.post(`/app/appshoparchives/list`, null, { params: { - ...this.search + ...this.search, + storeLevel:this.search.storeLevel.join(',') } }).then(res => { if (res.code == 0) { diff --git a/project/fengdu/AppOutSource/AppRateManage/components/AppraiseTask.vue b/project/fengdu/AppOutSource/AppRateManage/components/AppraiseTask.vue index 0ad575cf..b41020ef 100644 --- a/project/fengdu/AppOutSource/AppRateManage/components/AppraiseTask.vue +++ b/project/fengdu/AppOutSource/AppRateManage/components/AppraiseTask.vue @@ -147,10 +147,8 @@ export default { this.$refs['formRef'].validate(async valid=>{ if(valid){ try { - const {code} = await this.instance.post('/app/apptaskmanage/addOrUpdate',null,{ - params:{ - ...form - } + const {code} = await this.instance.post('/app/apptaskmanage/addOrUpdate',{ + ...this.form }) if(code===0){ this.$message.success('保存成功') @@ -192,7 +190,9 @@ export default { async getList(){ try { - const {code,data} = await this.instance.post('/app/apptaskmanage/list') + const {code,data} = await this.instance.post('/app/apptaskmanage/list',{ + ...this.search + }) if(code===0){ this.tableData = data.records this.total = data.total diff --git a/project/fengdu/AppOutSource/AppRateManage/components/RuleManage.vue b/project/fengdu/AppOutSource/AppRateManage/components/RuleManage.vue index cbdad920..2494a6db 100644 --- a/project/fengdu/AppOutSource/AppRateManage/components/RuleManage.vue +++ b/project/fengdu/AppOutSource/AppRateManage/components/RuleManage.vue @@ -13,13 +13,13 @@