Commit daf2c75b by 莫晓莉

mxl

parent fde55b76
<template>
<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>
<view>
<view class="flex">
<view class="ser-name ellipsis2" style="">服务名称</view>
<view class="time">2020.9.10</view>
<view class="ser-name ellipsis2" style="">{{item.disableUserProjectTypeName}}</view>
<!-- <view class="time">{{item.createTime}}</view> -->
</view>
<!-- <view>
<text></text>
......@@ -13,14 +13,15 @@
<text></text>
<text></text>
</view> -->
<view class="time">{{item.createTime}}</view>
<view style="color:#ccc;">
服务好,非常满意
{{item.remark}}
</view>
<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> -->
</view>
</view>
......@@ -58,28 +59,38 @@
import {
getSatisfactionEvaluation
} from "@/api/login"
import url from "@/utils/etc" //引入链接地址
export default {
data() {
return {
page:1,
size:5
page: 1,
size: 5,
satisHisList: [], //反馈记录
fileUrl: url.fileURL
}
},
onShow() {
this.getSatisfactionEvaluation();
},
methods: {
getSatisfactionEvaluation(){
getSatisfactionEvaluation({page:this.page,size:this.size}).then(res => {
getSatisfactionEvaluation() {
getSatisfactionEvaluation({
page: this.page,
size: this.size
}).then(res => {
if (res.code == 200) {
console.log(res);
uni.showToast({
icon: 'success',
title: '获取成功',
success: () => {
var satisHisList = res.data.data.rows;
this.satisHisList = satisHisList;
console.log('反馈历史', res);
}
})
// /images/project/202009/19/b39f0eec18d94e3f80f9be320e012cd2.jpeg=res.data.data.rows;
// uni.showToast({
// icon: 'success',
// title: '获取成功',
// success: () => {
// }
// })
}
})
}
......@@ -88,5 +99,5 @@
</script>
<style>
@import url("evaluate-history.css");
@import url("evaluate-history.css");
</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