|
@@ -35,7 +35,7 @@ $(function() {
|
|
|
let selectMinPrices = $(".PriceInput [name='minprice']").val();
|
|
|
let selectMaxPrices = $(".PriceInput [name='maxprice']").val();
|
|
|
console.log(selectMinPrices,selectMaxPrices)
|
|
|
-
|
|
|
+
|
|
|
if(selectMinPrices && selectMaxPrices){
|
|
|
let val = selectMinPrices+'万'+'~'+selectMaxPrices+'万'
|
|
|
$('.selectorMoney .valueBox .title').text(val)
|
|
@@ -1621,7 +1621,7 @@ function distributeInit(){
|
|
|
if(r.data.admin_system || r.data.admin_department){
|
|
|
$('#right-distribute').show();
|
|
|
$('.line-distribute').show();
|
|
|
- }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -1630,7 +1630,7 @@ function distributeInit(){
|
|
|
$('#right-distribute').off('click').bind('click',function(e){
|
|
|
e.stopPropagation()
|
|
|
let len = $('.custom-checkbox:not(".check-all"):checked').length;
|
|
|
- let checkedArea = []
|
|
|
+ let checkedArea = []
|
|
|
let checked_id = []
|
|
|
$('.custom-checkbox:not(".check-area"):checked').each(function(){
|
|
|
if ($(this).attr('data-area')) {
|
|
@@ -1646,7 +1646,7 @@ function distributeInit(){
|
|
|
person_Dialog.selectAreas = checkedArea
|
|
|
}else{
|
|
|
// 无地区
|
|
|
- person_Dialog.selectArea = []
|
|
|
+ person_Dialog.selectArea = []
|
|
|
}
|
|
|
person_Dialog.titleMsg = '选择接收人员' // 设置弹窗标题
|
|
|
person_Dialog.searchVal = ''
|
|
@@ -1722,7 +1722,7 @@ function joinBidsClick() {
|
|
|
e.stopPropagation()
|
|
|
var $that = $(this)
|
|
|
var checked = $(this).hasClass('checked')
|
|
|
- var checkedId = $(this).attr('dataid')
|
|
|
+ var checkedId = $(this).attr('dataid')
|
|
|
if (checked) {
|
|
|
toastFn('如需终止参标,需要在详情页进行操作。', 800)
|
|
|
} else {
|
|
@@ -1948,10 +1948,13 @@ function getWhetherInAntiSpiderWhiteList () {
|
|
|
// 延迟执行,需要等到Vue实例初始化, clear按钮事件绑定完成, whitelist内容获取完成之后在校验
|
|
|
var urlSearchValue = getParam('keywords')
|
|
|
if (urlSearchValue && !onAntiSpiderWhitelist) {
|
|
|
- setTimeout(function () {
|
|
|
- var hasCommonWords = checkAndClearTextIncludesCommonWords(searchvalue || urlSearchValue)
|
|
|
- if (hasCommonWords) {
|
|
|
- showToast('请输入项目名称等关键词')
|
|
|
+ var timer = setInterval(function () {
|
|
|
+ if (typeof searchInnerVue === 'object' ) {
|
|
|
+ clearInterval(timer)
|
|
|
+ var hasCommonWords = checkAndClearTextIncludesCommonWords(searchvalue || urlSearchValue)
|
|
|
+ if (hasCommonWords) {
|
|
|
+ showToast('请输入项目名称等关键词')
|
|
|
+ }
|
|
|
}
|
|
|
}, 500)
|
|
|
}
|