11.16
This commit is contained in:
parent
dde0c7d4ee
commit
bbc0a08162
@ -88,8 +88,14 @@
|
|||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
|
|
||||||
>修改</el-button>
|
>修改</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
@click="handleDeletexia(scope.row)"
|
||||||
|
v-if="scope.row.isonline == 0"
|
||||||
|
>下线</el-button>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@ -428,6 +434,7 @@
|
|||||||
import { listActiveNewlyweds, getActiveNewlyweds, delActiveNewlyweds, addActiveNewlyweds, updateActiveNewlyweds } from "@/api/EventMarketing/activeNewlyweds";
|
import { listActiveNewlyweds, getActiveNewlyweds, delActiveNewlyweds, addActiveNewlyweds, updateActiveNewlyweds } from "@/api/EventMarketing/activeNewlyweds";
|
||||||
import {listExchange, listFavorable} from "@/api/EventMarketing/activeConsumption";
|
import {listExchange, listFavorable} from "@/api/EventMarketing/activeConsumption";
|
||||||
import QRCode from "qrcodejs2";
|
import QRCode from "qrcodejs2";
|
||||||
|
import {getActiveFullminus, updateActiveFullminus} from "@/api/EventMarketing/activeFullminus";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ActiveNewlyweds",
|
name: "ActiveNewlyweds",
|
||||||
@ -744,6 +751,19 @@ export default {
|
|||||||
this.title = "修改新人有礼活动";
|
this.title = "修改新人有礼活动";
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
handleDeletexia(row){
|
||||||
|
getActiveNewlyweds(row.id).then(response => {
|
||||||
|
|
||||||
|
let data = response.data
|
||||||
|
data.isonline = 1
|
||||||
|
updateActiveNewlyweds(data).then(response => {
|
||||||
|
this.$modal.msgSuccess("下线成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
},
|
||||||
/** 提交按钮 */
|
/** 提交按钮 */
|
||||||
submitForm() {
|
submitForm() {
|
||||||
// this.form.activeNewlywedsChildList
|
// this.form.activeNewlywedsChildList
|
||||||
|
Loading…
Reference in New Issue
Block a user