|
@@ -9,7 +9,7 @@ var subScribeTemplate = `
|
|
<span class="item-label">区域</span>
|
|
<span class="item-label">区域</span>
|
|
</span>
|
|
</span>
|
|
<span class="item-r">
|
|
<span class="item-r">
|
|
- <span class="keywords-text ellipsis">已选:{{info.area}}</span>
|
|
|
|
|
|
+ <span class="keywords-text ellipsis">{{info.area}}</span>
|
|
<span class="iconfont icon-arrow"></span>
|
|
<span class="iconfont icon-arrow"></span>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
@@ -23,7 +23,7 @@ var subScribeTemplate = `
|
|
<span class="item-label">采购单位行业</span>
|
|
<span class="item-label">采购单位行业</span>
|
|
</span>
|
|
</span>
|
|
<span class="item-r">
|
|
<span class="item-r">
|
|
- <span class="keywords-text ellipsis">已选:{{info.industry}}</span>
|
|
|
|
|
|
+ <span class="keywords-text ellipsis">{{info.industry}}</span>
|
|
<span class="iconfont icon-arrow"></span>
|
|
<span class="iconfont icon-arrow"></span>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
@@ -212,7 +212,7 @@ var subComponent = {
|
|
let _this = this
|
|
let _this = this
|
|
if(this.initdata.area) {
|
|
if(this.initdata.area) {
|
|
if(JSON.stringify(this.initdata.area) == '{}') {
|
|
if(JSON.stringify(this.initdata.area) == '{}') {
|
|
- this.info.area = '全国'
|
|
|
|
|
|
+ this.info.area = '已选:全国'
|
|
} else {
|
|
} else {
|
|
let proStr = ''
|
|
let proStr = ''
|
|
Object.keys(this.initdata.area).forEach(function(item,index) {
|
|
Object.keys(this.initdata.area).forEach(function(item,index) {
|
|
@@ -234,7 +234,7 @@ var subComponent = {
|
|
if(proStr[proStr.length - 1] == '、') {
|
|
if(proStr[proStr.length - 1] == '、') {
|
|
proStr = proStr.substr(0,proStr.length - 1);
|
|
proStr = proStr.substr(0,proStr.length - 1);
|
|
}
|
|
}
|
|
- _this.info.area = proStr
|
|
|
|
|
|
+ _this.info.area = '已选:' + proStr
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.info.area = '请选择区域'
|
|
this.info.area = '请选择区域'
|
|
@@ -245,9 +245,9 @@ var subComponent = {
|
|
let _this = this
|
|
let _this = this
|
|
if(this.initdata.industry) {
|
|
if(this.initdata.industry) {
|
|
if(this.initdata.industry.length == 0) {
|
|
if(this.initdata.industry.length == 0) {
|
|
- this.info.industry = '全部行业'
|
|
|
|
|
|
+ this.info.industry = '已选:全部行业'
|
|
} else {
|
|
} else {
|
|
- this.info.industry = this.initdata.industry.join('、')
|
|
|
|
|
|
+ this.info.industry = '已选:' + this.initdata.industry.join('、')
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.info.industry = '请选择采购单位行业'
|
|
this.info.industry = '请选择采购单位行业'
|
|
@@ -392,12 +392,14 @@ var subComponent = {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
setMatchway(index) {
|
|
setMatchway(index) {
|
|
|
|
+ let _this = this
|
|
$.post("/subscribepay/afterPay/setUserInfo", {pageType: "saveSeniorset", matchtype: index}, function (r) {
|
|
$.post("/subscribepay/afterPay/setUserInfo", {pageType: "saveSeniorset", matchtype: index}, function (r) {
|
|
if (r.flag) {
|
|
if (r.flag) {
|
|
var subVipState = sessionStorage.getItem('sub_vip_state');
|
|
var subVipState = sessionStorage.getItem('sub_vip_state');
|
|
var reqData = JSON.parse(subVipState);
|
|
var reqData = JSON.parse(subVipState);
|
|
reqData.matchway = index;
|
|
reqData.matchway = index;
|
|
sessionStorage.setItem('sub_vip_state', JSON.stringify(reqData))
|
|
sessionStorage.setItem('sub_vip_state', JSON.stringify(reqData))
|
|
|
|
+ _this.getResultView()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|