Commit 6e9dc926 authored by youjie's avatar youjie

no message

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