From 205f17b706c762e4104573b62289ac93cdaeb0c2 Mon Sep 17 00:00:00 2001 From: wanglei <1336977847@qq.com> Date: Thu, 27 Jun 2024 16:33:52 +0800 Subject: [PATCH 1/5] fix: 433 --- .../AppOutSource/AppArchives/components/List.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/project/fengdu/AppOutSource/AppArchives/components/List.vue b/project/fengdu/AppOutSource/AppArchives/components/List.vue index 6611b15f..8b34e2c6 100644 --- a/project/fengdu/AppOutSource/AppArchives/components/List.vue +++ b/project/fengdu/AppOutSource/AppArchives/components/List.vue @@ -125,7 +125,9 @@ :visible.sync="dialog" :destroyOnClose="true" width="720px"> - +
+ +
@@ -390,4 +392,11 @@ export default { cursor: pointer; } } + +:deep(.flex-center){ + width: 100%; + display: flex; + align-items: center; + justify-content: center; +} From 1e65208a4b743944ccc9dd9bd7dbbfd89ae065df Mon Sep 17 00:00:00 2001 From: wanglei <1336977847@qq.com> Date: Thu, 27 Jun 2024 16:38:54 +0800 Subject: [PATCH 2/5] fix: 414 --- .../fengdu/AppOutSource/AppRateManage/components/RuleManage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/fengdu/AppOutSource/AppRateManage/components/RuleManage.vue b/project/fengdu/AppOutSource/AppRateManage/components/RuleManage.vue index 2494a6db..e625842f 100644 --- a/project/fengdu/AppOutSource/AppRateManage/components/RuleManage.vue +++ b/project/fengdu/AppOutSource/AppRateManage/components/RuleManage.vue @@ -83,7 +83,7 @@ 常规 - + From 172213cdc2a82d330b75fce0fbd4b5caec07062b Mon Sep 17 00:00:00 2001 From: wanglei <1336977847@qq.com> Date: Thu, 27 Jun 2024 17:02:06 +0800 Subject: [PATCH 3/5] =?UTF-8?q?feat:=20=E9=97=A8=E5=BA=97=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppMarkRate/components/Detail.vue | 75 ++++++++++--------- 1 file changed, 41 insertions(+), 34 deletions(-) diff --git a/project/fengdu/AppOutSource/AppMarkRate/components/Detail.vue b/project/fengdu/AppOutSource/AppMarkRate/components/Detail.vue index 18217789..313a2de7 100644 --- a/project/fengdu/AppOutSource/AppMarkRate/components/Detail.vue +++ b/project/fengdu/AppOutSource/AppMarkRate/components/Detail.vue @@ -37,14 +37,14 @@ class="mt-16" :tableData="tableData1" :is-show-pagination="false" - :col-configs="colConfigs1"> + :col-configs="colConfigs"> + :col-configs="colConfigs"> @@ -62,62 +62,69 @@ export default { data() { return { info: { - fileList:[] + fileList: [] }, - tableData1:[], - colConfigs1:[ - { prop: 'integralUserName', label: '清单类型', align: 'center' }, - { prop: 'areaName', label: '状态', align: 'center' }, - { prop: 'girdName', label: '分数', align: 'center' }, + tableData1: [], + colConfigs: [ + {prop: 'listType', label: '清单类型', align: 'center'}, + { + prop: 'status', label: '状态', align: 'center', render: (h, {row}) => { + if (row.status === '1') { + return h('i', { + class: "el-icon-circle-check", + style: 'font-size:18px' + }) + } + return '' + } + }, + {prop: 'score', label: '分数', align: 'center'}, ], - tableData2:[], - colConfigs2:[ - { prop: 'integralUserName', label: '清单类型', align: 'center' }, - { prop: 'areaName', label: '状态', align: 'center' }, - { prop: 'girdName', label: '分数', align: 'center' }, - ] + tableData2: [], } }, created() { - this.$dict.load('evaluatorType').then(()=>{ + this.$dict.load('evaluatorType').then(() => { this.getDetail() - this.getScoredetail() + this.getList() }) }, methods: { - async getScoredetail(){ + async getList() { try { - const {code,data} = await this.instance.post('/app/appscoredetails/queryDetailById',null,{ - params:{ - id:this.params.shopId + const {code, data: {records}} = await this.instance.post('/app/appscoredetails/list', null, { + params: { + shopId: this.params.shopId, + pages: 1000 } }) - if(code===0){ - + if (code === 0 && records) { + this.tableData1 = records?.filter(item => item.type === '1') + this.tableData2 = records?.filter(item => item.type === '0') } - }catch (e) { + } catch (e) { console.error(e) } }, - async getDetail(){ + async getDetail() { try { - const {code,data} = await this.instance.post('/app/appshopassess/queryDetailById',null,{ - params:{ - id:this.params.id + const {code, data} = await this.instance.post('/app/appshopassess/queryDetailById', null, { + params: { + id: this.params.id } }) - if(code===0){ + if (code === 0) { this.info = data - this.info.fileList = data.pictureUrl?.split(',')?.map(item=>{ + this.info.fileList = data.pictureUrl?.split(',')?.map(item => { return { - url:item + url: item } }) } - }catch (e) { + } catch (e) { console.error(e) } }, @@ -133,7 +140,7 @@ export default {