diff --git a/project/fengdu/AppOutSource/AppMarkRate/components/Detail.vue b/project/fengdu/AppOutSource/AppMarkRate/components/Detail.vue index 697f344f..18217789 100644 --- a/project/fengdu/AppOutSource/AppMarkRate/components/Detail.vue +++ b/project/fengdu/AppOutSource/AppMarkRate/components/Detail.vue @@ -9,21 +9,21 @@ - - + + - - + + - +
@@ -61,7 +61,9 @@ export default { }, data() { return { - info: {}, + info: { + fileList:[] + }, tableData1:[], colConfigs1:[ { prop: 'integralUserName', label: '清单类型', align: 'center' }, @@ -78,8 +80,10 @@ export default { }, created() { - this.getDetail() - this.getScoredetail() + this.$dict.load('evaluatorType').then(()=>{ + this.getDetail() + this.getScoredetail() + }) }, methods: { @@ -87,11 +91,11 @@ export default { try { const {code,data} = await this.instance.post('/app/appscoredetails/queryDetailById',null,{ params:{ - id:this.params.id + id:this.params.shopId } }) if(code===0){ - this.info = data + } }catch (e) { console.error(e) @@ -107,6 +111,11 @@ export default { }) if(code===0){ this.info = data + this.info.fileList = data.pictureUrl?.split(',')?.map(item=>{ + return { + url:item + } + }) } }catch (e) { console.error(e) diff --git a/project/fengdu/AppOutSource/AppMarkRate/components/List.vue b/project/fengdu/AppOutSource/AppMarkRate/components/List.vue index 7c341ad9..c0c4fd23 100644 --- a/project/fengdu/AppOutSource/AppMarkRate/components/List.vue +++ b/project/fengdu/AppOutSource/AppMarkRate/components/List.vue @@ -113,8 +113,11 @@ export default { { prop: 'shopName', label: '门店名称', align: 'center' }, { prop: 'evaluator', label: '评价人', align: 'center' }, { prop: 'evaluationTime', label: '评价时间', align: 'center' }, - { prop: 'evaluatorPhone', label: '联系电话', align: 'center' }, - { prop: 'evaluatorType', label: '评价人类型', align: 'center'}, + { prop: 'phone', label: '联系电话', align: 'center' }, + { prop: 'evaluatorType', label: '评价人类型', align: 'center',render: (h, {row}) => { + return h('span', { + }, this.dict.getLabel('evaluatorType', row.evaluatorType)) + }}, { prop: 'assessType', label: '评价类型', align: 'center' }, { prop: 'address', label: '门店地址', align: 'center' }, { prop: 'score', label: '分数', align: 'center' }, @@ -155,11 +158,12 @@ export default { }) }, - toDetail ({id}) { + toDetail ({id,shopId}) { this.$emit('change', { type: 'Detail', params: { - id: id || '' + id: id || '', + shopId:shopId || '' } }) }, diff --git a/project/fengdu/AppOutSource/AppMarkStatic/AppMarkStatic.vue b/project/fengdu/AppOutSource/AppMarkStatic/AppMarkStatic.vue index ae1dc29c..0b0bb4ff 100644 --- a/project/fengdu/AppOutSource/AppMarkStatic/AppMarkStatic.vue +++ b/project/fengdu/AppOutSource/AppMarkStatic/AppMarkStatic.vue @@ -209,7 +209,6 @@ export default { .app-ark-static { height: 100%; background: #F3F6F9; - overflow: auto; .card_list { display: flex;