Commit 6e9dc926 authored by youjie's avatar youjie

no message

parent 61d6bc60
......@@ -218,6 +218,8 @@ export default {
PrizeId: 0, //
IsInChengdu:-1,//是否已在成都落地
BrandEnterpriseType:null,
MallBaseId: 0,
TenantId:null,
},
loadText: {
loadmore: "轻轻上拉,加载更多",
......@@ -306,13 +308,13 @@ export default {
},
onLoad(options) {
let uid = uni.getStorageSync("mall_UserInfo")
this.TenantId = uid.TenantId
this.msg.TenantId = this.TenantId = uid.TenantId
this.replace = uni.getStorageSync('replace_page_index')
this.msg.BrandEnterpriseType = this.replace.state=='1'?1:2
if (options && options.id) {
this.msg.BrandClassId = options.id;
}
// if (options && options.id) {
// this.msg.BrandClassId = options.id;
// }
// this.u = uni.getStorageSync("mall_UserInfo");
// if (!this.u) {
// this.u = {
......@@ -391,7 +393,7 @@ export default {
init() {
let url = "/api/AppletTrade/GetBrandPageList"
if(this.TenantId!=18&&this.replace.state){
if(this.replace.state=='1') url = "/api/AppletTrade/GetBrandEnterprisePageList"
if(this.replace.state=='1') url = "/api/AppletTrade/GetAllBrandEnterprisePageList"
else url = "/api/AppletTrade/GetEnterpriseServicesPageList"
}
this.request2(
......
......@@ -273,7 +273,9 @@ export default {
BuildingCarrierType: null,
IsChengDu: -1,//首店类型 1成都 0宜宾
OrderBy: ""
OrderBy: "",
MallBaseId: 0,
TenantId: null,
},
loading: false,
pageCount: 0,
......@@ -326,14 +328,14 @@ export default {
text: '全部',
value: -1
},
{
text: '成都',
value: 1
},
{
text: '宜宾',
value: 2
},
// {
// text: '成都',
// value: 1
// },
// {
// text: '宜宾',
// value: 2
// },
],
};
},
......@@ -397,13 +399,13 @@ export default {
},
onLoad(options) {
let uid = uni.getStorageSync("mall_UserInfo")
this.TenantId = uid.TenantId
this.msg.TenantId = this.TenantId = uid.TenantId
this.replace = uni.getStorageSync('replace_page_index')
this.msg.BuildingCarrierType = this.replace.state=='1'?1:2
if (options && options.id) {
if(this.TenantId==18) this.msg.ProjectType = options.id;
else this.msg.CategoryId = options.id
// if(this.TenantId==18) this.msg.ProjectType = options.id;
// else this.msg.CategoryId = options.id
}
let c = this.$uiConfig.is_bang ? 78 : 50;
this.contentHeight = this.$utils.calcContentHeight(c) + 40;
......@@ -504,7 +506,7 @@ export default {
getCarrierPageList() {
let url = "/api/AppletTrade/GetCarrierPageList"
if(this.TenantId!=18&&this.replace.state){
if(this.replace.state=='1') url = "/api/AppletTrade/GetBuildingCarrierPageList"
if(this.replace.state=='1') url = "/api/AppletTrade/GetAllCarrierPageList"
else url = "/api/AppletTrade/GetBuildingPageList"
}
this.request2({
......
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