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