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

1

parent 888e9cfb
......@@ -361,6 +361,7 @@ export default {
BrandClassId: 0, //分类
ExcelEnumIds: [],
UserId: 0, //用户认证
PrizeId: 0,
},
usermsg: {
pageIndex: 1,
......@@ -403,16 +404,11 @@ export default {
if (this.$route.query && this.$route.query.readonly) {
this.readonly = this.$route.query.readonly;
}
if (this.$route.query && this.$route.query.data) {
this.dataList = this.$route.query.data;
this.pageCount = this.dataList.length;
this.dataList.forEach((x) => {
x.LogoList = [];
x.LogoList.push(x.Logo);
});
} else {
this.getList();
if (this.$route.query && this.$route.query.PrizeId) {
this.msg.PrizeId = this.$route.query.PrizeId;
}
this.getList();
},
methods: {
ChangeListName(val) {
......
......@@ -483,15 +483,9 @@ export default {
},
jumpBrandList(item) {
if (item.TotalCount > 0) {
this.apipost("/api/Trade/GetPrizeDetails", { Id: item.Id }, (res) => {
if (res.data.resultCode == 1) {
this.$router.push({
path: "/brandManagement",
query: { data: res.data.data.BrandList, readonly: 1 },
});
} else {
this.Error(res.data.message);
}
this.$router.push({
path: "/brandManagement",
query: { PrizeId: item.Id, readonly: 1 },
});
}
},
......
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