mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-22 02:45:55 +08:00
提交促销以己部分页面商家端功能迁移,接口对接
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user