Commit daf2c75b by 莫晓莉

mxl

parent fde55b76
<template> <template>
<view style="padding:0 35rpx;"> <view style="padding:0 35rpx;">
<view class="flex m-list" style=""> <view class="flex m-list" v-for="(item,index) in satisHisList" :key="index">
<image class="head-img" style="" src="../../static/img/app-icon.png"></image> <image class="head-img" style="" src="../../static/img/app-icon.png"></image>
<view> <view>
<view class="flex"> <view class="flex">
<view class="ser-name ellipsis2" style="">服务名称</view> <view class="ser-name ellipsis2" style="">{{item.disableUserProjectTypeName}}</view>
<view class="time">2020.9.10</view> <!-- <view class="time">{{item.createTime}}</view> -->
</view> </view>
<!-- <view> <!-- <view>
<text></text> <text></text>
...@@ -13,14 +13,15 @@ ...@@ -13,14 +13,15 @@
<text></text> <text></text>
<text></text> <text></text>
</view> --> </view> -->
<view class="time">{{item.createTime}}</view>
<view style="color:#ccc;"> <view style="color:#ccc;">
服务好,非常满意 {{item.remark}}
</view> </view>
<view class="img-area" style="margin-top:25upx;"> <view class="img-area" style="margin-top:25upx;">
<image v-for="(img,index2) in item.imageUrl" :key="index2" class="upload-img" :src="fileUrl+img.imageUrl"></image>
<!-- <image class="upload-img" src="../../static/img/app-icon.png"></image>
<image class="upload-img" src="../../static/img/app-icon.png"></image> <image class="upload-img" src="../../static/img/app-icon.png"></image>
<image class="upload-img" src="../../static/img/app-icon.png"></image> <image class="upload-img" src="../../static/img/app-icon.png"></image> -->
<image class="upload-img" src="../../static/img/app-icon.png"></image>
<image class="upload-img" src="../../static/img/app-icon.png"></image>
</view> </view>
</view> </view>
...@@ -58,28 +59,38 @@ ...@@ -58,28 +59,38 @@
import { import {
getSatisfactionEvaluation getSatisfactionEvaluation
} from "@/api/login" } from "@/api/login"
import url from "@/utils/etc" //引入链接地址
export default { export default {
data() { data() {
return { return {
page:1, page: 1,
size:5 size: 5,
satisHisList: [], //反馈记录
fileUrl: url.fileURL
} }
}, },
onShow() { onShow() {
this.getSatisfactionEvaluation(); this.getSatisfactionEvaluation();
}, },
methods: { methods: {
getSatisfactionEvaluation(){ getSatisfactionEvaluation() {
getSatisfactionEvaluation({page:this.page,size:this.size}).then(res => { getSatisfactionEvaluation({
page: this.page,
size: this.size
}).then(res => {
if (res.code == 200) { if (res.code == 200) {
console.log(res); var satisHisList = res.data.data.rows;
uni.showToast({ this.satisHisList = satisHisList;
icon: 'success', console.log('反馈历史', res);
title: '获取成功',
success: () => {
} // /images/project/202009/19/b39f0eec18d94e3f80f9be320e012cd2.jpeg=res.data.data.rows;
}) // uni.showToast({
// icon: 'success',
// title: '获取成功',
// success: () => {
// }
// })
} }
}) })
} }
...@@ -88,5 +99,5 @@ ...@@ -88,5 +99,5 @@
</script> </script>
<style> <style>
@import url("evaluate-history.css"); @import url("evaluate-history.css");
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment