|
@@ -524,7 +524,7 @@ var vMainSearchComponent = new Vue({
|
|
|
finished: false
|
|
|
},
|
|
|
activeTabIndex: 0,
|
|
|
- beforeTabIndex: 0,
|
|
|
+ beforeTabIndex: 1,
|
|
|
entTabs: [
|
|
|
{
|
|
|
title: ''
|
|
@@ -566,24 +566,24 @@ var vMainSearchComponent = new Vue({
|
|
|
{
|
|
|
title: '有联系方式',
|
|
|
checked: true,
|
|
|
- key: ''
|
|
|
+ key: 'y'
|
|
|
},
|
|
|
{
|
|
|
title: '无联系方式',
|
|
|
checked: false,
|
|
|
- key: '1'
|
|
|
+ key: 'n'
|
|
|
}
|
|
|
],
|
|
|
9: [
|
|
|
{
|
|
|
title: '有联系方式',
|
|
|
checked: true,
|
|
|
- key: ''
|
|
|
+ key: 'y'
|
|
|
},
|
|
|
{
|
|
|
title: '无联系方式',
|
|
|
checked: false,
|
|
|
- key: '1'
|
|
|
+ key: 'n'
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -597,6 +597,8 @@ var vMainSearchComponent = new Vue({
|
|
|
industry: '',
|
|
|
buyerclass: '',
|
|
|
winner: '',
|
|
|
+ winnertel: '',
|
|
|
+ buyertel: '',
|
|
|
},
|
|
|
industryComponentKey: new Date().getTime(),
|
|
|
dateComponentKey: new Date().getTime(),
|
|
@@ -631,7 +633,7 @@ var vMainSearchComponent = new Vue({
|
|
|
},
|
|
|
changePower (type, member) {
|
|
|
this.entTabs[7].disabled = type
|
|
|
- // this.entTabs[6].hide = !member
|
|
|
+ this.entTabs[6].hide = !member
|
|
|
},
|
|
|
getMoreListToStr (key) {
|
|
|
if (typeof this.conditionMap[key] !== "undefined" && this.conditionMap[key].length) {
|
|
@@ -727,6 +729,21 @@ var vMainSearchComponent = new Vue({
|
|
|
}
|
|
|
break
|
|
|
}
|
|
|
+ case 6: {
|
|
|
+ if (type) {
|
|
|
+ tempParams = SuperSearch.filterWin ? SuperSearch.filterWin.select : []
|
|
|
+ } else {
|
|
|
+ SuperSearch.filterWin = {}
|
|
|
+ // 清除中标企业
|
|
|
+ $("#supersearchPage #select-win-list").html('')
|
|
|
+ $("#supersearchPage #search-win-list").html('')
|
|
|
+ $("#supersearchPage #search-win-input").val('')
|
|
|
+ }
|
|
|
+ if (tempParams) {
|
|
|
+ this.conditionStrMap.winner = tempParams.join(',')
|
|
|
+ }
|
|
|
+ break
|
|
|
+ }
|
|
|
case 7: {
|
|
|
var tempParams = {}
|
|
|
if (type) {
|
|
@@ -743,6 +760,14 @@ var vMainSearchComponent = new Vue({
|
|
|
}
|
|
|
break
|
|
|
}
|
|
|
+ case 8: {
|
|
|
+ this.conditionStrMap.winnertel = this.getMoreListToStr(8)
|
|
|
+ break
|
|
|
+ }
|
|
|
+ case 9: {
|
|
|
+ this.conditionStrMap.buyertel = this.getMoreListToStr(9)
|
|
|
+ break
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
goUpBuyPage () {
|
|
@@ -858,21 +883,21 @@ var vMainSearchComponent = new Vue({
|
|
|
},
|
|
|
removeFixedScroll () {
|
|
|
$("#selLable").show()
|
|
|
- $(".app-layout-content-b").scrollTop(0)
|
|
|
+ // $(".app-layout-content-b").scrollTop(0)
|
|
|
$(".app-layout-content-b").removeClass('ent-stop-scroll')
|
|
|
$("#v-search-group .ent-search-list").css({height: 'unset'})
|
|
|
$("#v-search-group .ent-search-pop").css({height: 'unset'})
|
|
|
},
|
|
|
fixedScroll () {
|
|
|
$("#selLable").hide()
|
|
|
- $(".app-layout-content-b").scrollTop(0)
|
|
|
+ // $(".app-layout-content-b").scrollTop(0)
|
|
|
$(".app-layout-content-b").addClass('ent-stop-scroll')
|
|
|
var isMaxHeight = $(".app-layout-content-b").height() - $("#v-search-group .van-tabs.van-tabs--line").height()
|
|
|
$("#v-search-group .ent-search-list").css({height: isMaxHeight})
|
|
|
$("#v-search-group .ent-search-pop").css({height: isMaxHeight})
|
|
|
},
|
|
|
updateScrollTop () {
|
|
|
- $(".app-layout-content-b").scrollTop(0)
|
|
|
+ // $(".app-layout-content-b").scrollTop(0)
|
|
|
},
|
|
|
selectEnt (ent) {
|
|
|
console.log(ent)
|
|
@@ -931,8 +956,7 @@ var vMainSearchComponent = new Vue({
|
|
|
this.checkNowPower()
|
|
|
this.showEntSearch = type
|
|
|
if (type) {
|
|
|
- this.beforeTabIndex = 1
|
|
|
- this.activeTabIndex = 1
|
|
|
+ this.activeTabIndex = Number(this.beforeTabIndex)
|
|
|
this.togglePop(true)
|
|
|
this.doQueryList()
|
|
|
}
|