|
|
|
@ -299,7 +299,9 @@ export default {
|
|
|
|
|
total: 0, |
|
|
|
|
srcLists: [], |
|
|
|
|
// 意见反馈表格数据 |
|
|
|
|
feedbackList: [], |
|
|
|
|
feedbackList: [ |
|
|
|
|
|
|
|
|
|
], |
|
|
|
|
// 弹出层标题 |
|
|
|
|
title: "", |
|
|
|
|
// 是否显示弹出层 |
|
|
|
@ -334,15 +336,12 @@ export default {
|
|
|
|
|
getList() { |
|
|
|
|
this.loading = true; |
|
|
|
|
listFeedback(this.queryParams).then(response => { |
|
|
|
|
this.feedbackList = response.rows; |
|
|
|
|
console.log(response.rows) |
|
|
|
|
// this.feedbackList.picture |
|
|
|
|
response.rows.forEach(item =>{ |
|
|
|
|
this.feedbackList.picture = item.picture.split(',')[0]; |
|
|
|
|
console.log(item.picture.split(',')) |
|
|
|
|
this.srcLists.push(item.picture); |
|
|
|
|
this.srcLists.push(item.picture.split(',')[0]); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.feedbackList.picture = this.srcLists; |
|
|
|
|
this.feedbackList = response.rows; |
|
|
|
|
console.log(this.feedbackList.picture) |
|
|
|
|
this.total = response.total; |
|
|
|
|
this.loading = false; |
|
|
|
|
}); |
|
|
|
|