提交促销以己部分页面商家端功能迁移,接口对接

This commit is contained in:
Yer11214
2024-10-05 14:33:37 +08:00
parent c03778676c
commit 9e630bb2ba
16 changed files with 958 additions and 263 deletions

View File

@@ -50,6 +50,9 @@
>
</Form>
</Row>
<div class="mt_10">
<Button type="primary" @click="view">添加活动</Button>
</div>
<Table
:loading="loading"
border
@@ -162,6 +165,7 @@ export default {
};
},
methods: {
// 初始化数据
init() {
this.getDataList();
@@ -227,7 +231,14 @@ export default {
},
view(row) {
// 查看
this.$router.push({ name: "full-discount-detail", query: { id: row.id } });
let data = { name: "full-discount-detail" }
if(row){
data = {
name: "full-discount-detail",
query: { id: row.id }
}
}
this.$router.push(data);
},
},
mounted() {