diff --git a/src/views/wjnft/feedback/index.vue b/src/views/wjnft/feedback/index.vue
index c229835..0b33bb7 100644
--- a/src/views/wjnft/feedback/index.vue
+++ b/src/views/wjnft/feedback/index.vue
@@ -85,16 +85,16 @@
-
+
-
-
-
-
-
-
-
-
+ 新增
@@ -129,23 +129,43 @@
-
+
-
-
-
+
+
+
-
-
+
+
+
+
+
+
+
+
{{ parseTime(scope.row.createdTime, '{y}-{m}-{d}') }}
-
+
@@ -188,8 +208,21 @@
-
-
+
+
+
+
+
+
+
+
@@ -235,7 +268,7 @@
@@ -249,6 +282,8 @@ export default {
name: "Feedback",
data() {
return {
+ //文本框
+ textarea: '',
// 遮罩层
loading: true,
// 选中数组
@@ -261,6 +296,7 @@ export default {
showSearch: true,
// 总条数
total: 0,
+ srcLists: [],
// 意见反馈表格数据
feedbackList: [],
// 弹出层标题
@@ -298,6 +334,9 @@ export default {
this.loading = true;
listFeedback(this.queryParams).then(response => {
this.feedbackList = response.rows;
+ response.rows.forEach(item =>{
+ this.srcLists.push(item.picture);
+ });
this.total = response.total;
this.loading = false;
});
@@ -346,14 +385,14 @@ export default {
this.open = true;
this.title = "添加意见反馈";
},
- /** 修改按钮操作 */
+ /** 回复按钮操作 */
handleUpdate(row) {
this.reset();
const id = row.id || this.ids
getFeedback(id).then(response => {
this.form = response.data;
this.open = true;
- this.title = "修改意见反馈";
+ this.title = "回复意见反馈";
});
},
/** 提交按钮 */
@@ -362,13 +401,13 @@ export default {
if (valid) {
if (this.form.id != null) {
updateFeedback(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess("回复成功");
this.open = false;
this.getList();
});
} else {
addFeedback(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess("回复失败");
this.open = false;
this.getList();
});