|
@@ -238,6 +238,11 @@ var subComponent = {
|
|
|
} else {
|
|
|
this.info.area = '请选择区域'
|
|
|
}
|
|
|
+ var areaNull = sessionStorage.getItem('areaNull')
|
|
|
+ if(areaNull) {
|
|
|
+ this.initdata.area = {}
|
|
|
+ this.info.area = '请选择区域'
|
|
|
+ }
|
|
|
},
|
|
|
// 设置行业
|
|
|
setIndustry: function() {
|
|
@@ -251,6 +256,11 @@ var subComponent = {
|
|
|
} else {
|
|
|
this.info.industry = '请选择采购单位行业'
|
|
|
}
|
|
|
+ var industryNull = sessionStorage.getItem('industryNull')
|
|
|
+ if(industryNull) {
|
|
|
+ this.initdata.industry = []
|
|
|
+ this.info.industry = '请选择采购单位行业'
|
|
|
+ }
|
|
|
},
|
|
|
// 设置关键词
|
|
|
setKeyword: function() {
|
|
@@ -369,10 +379,15 @@ var subComponent = {
|
|
|
// })
|
|
|
},
|
|
|
hideActionSheet: function() {
|
|
|
+ var update_renew = $('.update_renew')
|
|
|
var $iosMask = $('#iosMask');
|
|
|
var $iosActionsheet = $('#iosActionsheet');
|
|
|
$iosActionsheet.removeClass('weui-actionsheet_toggle');
|
|
|
$iosMask.fadeOut(200);
|
|
|
+ if(update_renew) {
|
|
|
+ update_renew.show()
|
|
|
+ }
|
|
|
+ this.$emit('footershow', 'false')
|
|
|
},
|
|
|
iosMask: function() {
|
|
|
this.hideActionSheet()
|
|
@@ -381,22 +396,32 @@ var subComponent = {
|
|
|
this.hideActionSheet()
|
|
|
},
|
|
|
matchWay: function() {
|
|
|
+ var update_renew = $('.update_renew')
|
|
|
var $iosMask = $('#iosMask');
|
|
|
var $iosActionsheet = $('#iosActionsheet');
|
|
|
$iosActionsheet.addClass('weui-actionsheet_toggle');
|
|
|
$iosMask.fadeIn(200);
|
|
|
+ if(update_renew) {
|
|
|
+ update_renew.hide()
|
|
|
+ }
|
|
|
+ this.$emit('footershow', 'true')
|
|
|
},
|
|
|
actionSheet: function(title, index) {
|
|
|
let _this = this
|
|
|
+ var update_renew = $('.update_renew')
|
|
|
$.post("/subscribepay/afterPay/setUserInfo", {pageType: "saveSeniorset", matchtype: index}, function (r) {
|
|
|
if (r.flag) {
|
|
|
var subVipState = sessionStorage.getItem('sub_vip_state');
|
|
|
var reqData = JSON.parse(subVipState);
|
|
|
- this.active = index
|
|
|
+ _this.active = index
|
|
|
var $iosMask = $('#iosMask');
|
|
|
var $iosActionsheet = $('#iosActionsheet');
|
|
|
$iosActionsheet.removeClass('weui-actionsheet_toggle');
|
|
|
$iosMask.fadeOut(200);
|
|
|
+ if(update_renew) {
|
|
|
+ update_renew.show()
|
|
|
+ }
|
|
|
+ _this.$emit('footershow', 'false')
|
|
|
$('.match-way-value').text(title)
|
|
|
if(index == 1) {
|
|
|
$('.titleMacth').addClass('active')
|