diff --git a/src/views/wjnft/artist/index.vue b/src/views/wjnft/artist/index.vue
index 7d0a505..c88055e 100644
--- a/src/views/wjnft/artist/index.vue
+++ b/src/views/wjnft/artist/index.vue
@@ -416,10 +416,7 @@
this.$message.error("请填写创作者介绍")
return;
}
- if (this.form.proportion === "" || this.form.proportion === null || this.form.proportion === undefined) {
- this.$message.error("请填写比例")
- return;
- }
+
if (this.form.artistName === "" || this.form.artistName === null || this.form.artistName === undefined) {
this.$message.error("请填写作为创作者的名称")
return;
@@ -438,10 +435,7 @@
this.$message.error("请填写创作者介绍")
return;
}
- if (this.form.proportion === "" || this.form.proportion === null || this.form.proportion === undefined) {
- this.$message.error("请填写比例")
- return;
- }
+
if (this.form.artistName === "" || this.form.artistName === null || this.form.artistName === undefined) {
this.$message.error("请填写作为创作者的名称")
return;
diff --git a/src/views/wjnft/collection/index.vue b/src/views/wjnft/collection/index.vue
index a09e19e..b1146c2 100644
--- a/src/views/wjnft/collection/index.vue
+++ b/src/views/wjnft/collection/index.vue
@@ -311,11 +311,11 @@
-
-
- {{ parseTime(scope.row.createdTime, '{y}-{m}-{d}') }}
-
-
+
+
+
+
+
@@ -323,7 +323,7 @@
-
+
@@ -813,7 +813,7 @@ export default {
updatedBy: null,
updatedTime: null,
reservedA: null,
- reservedB: null,
+ heatValue: null,
reservedC: null,
reservedD: null
};
diff --git a/src/views/wjnft/feedback/index.vue b/src/views/wjnft/feedback/index.vue
index c229835..c049ce8 100644
--- a/src/views/wjnft/feedback/index.vue
+++ b/src/views/wjnft/feedback/index.vue
@@ -45,15 +45,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
@@ -85,16 +85,16 @@
-
+
-
-
-
-
-
-
-
-
+ 新增
@@ -129,23 +129,44 @@
-
+
-
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
{{ parseTime(scope.row.createdTime, '{y}-{m}-{d}') }}
-
+
@@ -164,7 +185,7 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
- v-hasPermi="['wjnft:feedback:edit']"
+ v-if="scope.row.admContent==null"
>回复
@@ -188,8 +209,21 @@
-
-
+
+
+
+
+
+
+
+
@@ -235,7 +269,7 @@
@@ -249,6 +283,8 @@ export default {
name: "Feedback",
data() {
return {
+ //文本框
+ textarea: '',
// 遮罩层
loading: true,
// 选中数组
@@ -261,6 +297,7 @@ export default {
showSearch: true,
// 总条数
total: 0,
+ srcLists: [],
// 意见反馈表格数据
feedbackList: [],
// 弹出层标题
@@ -298,6 +335,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 +386,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 +402,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();
});