|
@@ -70,9 +70,9 @@ export default {
|
|
],
|
|
],
|
|
formData: {
|
|
formData: {
|
|
status: 1,
|
|
status: 1,
|
|
- pageSize: 10,
|
|
|
|
- pageNum: 1,
|
|
|
|
- msgType: 2,
|
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ pageNum: 1,
|
|
|
|
+ msgType: 2,
|
|
},
|
|
},
|
|
// 表单
|
|
// 表单
|
|
tableSet: [
|
|
tableSet: [
|
|
@@ -113,7 +113,7 @@ export default {
|
|
label: "回复内容",
|
|
label: "回复内容",
|
|
prop: "answerText",
|
|
prop: "answerText",
|
|
hidden: true,
|
|
hidden: true,
|
|
- width:"250px"
|
|
|
|
|
|
+ width: "250px",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: "回复人",
|
|
label: "回复人",
|
|
@@ -131,7 +131,7 @@ export default {
|
|
total: 0, //一共多少条
|
|
total: 0, //一共多少条
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- activated(){
|
|
|
|
|
|
+ activated() {
|
|
this.search();
|
|
this.search();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -175,14 +175,14 @@ export default {
|
|
}
|
|
}
|
|
)
|
|
)
|
|
.then(() => {
|
|
.then(() => {
|
|
- // var data = {
|
|
|
|
- // goodsId: v.goodsId,
|
|
|
|
- // status: -1,
|
|
|
|
- // };
|
|
|
|
- // this.$api.editGoods(data).then((res) => {
|
|
|
|
- // this.$message.success("删除成功");
|
|
|
|
- // this.search();
|
|
|
|
- // });
|
|
|
|
|
|
+ var data = {
|
|
|
|
+ answerId: v.answerId,
|
|
|
|
+ status: -1,
|
|
|
|
+ };
|
|
|
|
+ this.$api.editcourseanswer(data).then((res) => {
|
|
|
|
+ this.$message.success("删除成功");
|
|
|
|
+ this.search();
|
|
|
|
+ });
|
|
})
|
|
})
|
|
.catch(() => {
|
|
.catch(() => {
|
|
this.$message({
|
|
this.$message({
|