|
@@ -146,8 +146,7 @@ export default {
|
|
|
this.$api
|
|
|
.inquireactivityrecommendList({
|
|
|
platform: 1,
|
|
|
- type: this.activeName === "first" ? 1 : 2,
|
|
|
- status:"0,1"
|
|
|
+ type: this.activeName === "first" ? 1 : 2
|
|
|
})
|
|
|
.then((res) => {
|
|
|
this.tableData = res.rows;
|
|
@@ -175,10 +174,9 @@ export default {
|
|
|
)
|
|
|
.then(() => {
|
|
|
var data = {
|
|
|
- recommendId: v.recommendId,
|
|
|
- status: -1,
|
|
|
+ recommendId: v.recommendId
|
|
|
};
|
|
|
- this.$api.editactivityrecommend(data).then((res) => {
|
|
|
+ this.$api.removeactivityrecommend(data).then((res) => {
|
|
|
this.$message.success("删除成功");
|
|
|
this.search();
|
|
|
});
|