Commit 63eab27d authored by 罗超's avatar 罗超

1

parent 888e9cfb
...@@ -361,6 +361,7 @@ export default { ...@@ -361,6 +361,7 @@ export default {
BrandClassId: 0, //分类 BrandClassId: 0, //分类
ExcelEnumIds: [], ExcelEnumIds: [],
UserId: 0, //用户认证 UserId: 0, //用户认证
PrizeId: 0,
}, },
usermsg: { usermsg: {
pageIndex: 1, pageIndex: 1,
...@@ -403,16 +404,11 @@ export default { ...@@ -403,16 +404,11 @@ export default {
if (this.$route.query && this.$route.query.readonly) { if (this.$route.query && this.$route.query.readonly) {
this.readonly = this.$route.query.readonly; this.readonly = this.$route.query.readonly;
} }
if (this.$route.query && this.$route.query.data) { if (this.$route.query && this.$route.query.PrizeId) {
this.dataList = this.$route.query.data; this.msg.PrizeId = this.$route.query.PrizeId;
this.pageCount = this.dataList.length;
this.dataList.forEach((x) => {
x.LogoList = [];
x.LogoList.push(x.Logo);
});
} else {
this.getList();
} }
this.getList();
}, },
methods: { methods: {
ChangeListName(val) { ChangeListName(val) {
......
...@@ -483,15 +483,9 @@ export default { ...@@ -483,15 +483,9 @@ export default {
}, },
jumpBrandList(item) { jumpBrandList(item) {
if (item.TotalCount > 0) { if (item.TotalCount > 0) {
this.apipost("/api/Trade/GetPrizeDetails", { Id: item.Id }, (res) => { this.$router.push({
if (res.data.resultCode == 1) { path: "/brandManagement",
this.$router.push({ query: { PrizeId: item.Id, readonly: 1 },
path: "/brandManagement",
query: { data: res.data.data.BrandList, readonly: 1 },
});
} else {
this.Error(res.data.message);
}
}); });
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment