//初始化搜索条件 var #1 = { startDate: "1116", endDate: "1116", } var condition_data = { pan> : '', tab: "", //tabBar-全部 data_sorts: [], project_head_info: [], //类 industry_head_info: [],//行业分类 release_time_info: { " : '全部', start_time: '', end_time: '', value: 'all' }, //发布时间 province_info: [], //省份地区 // industry_head_info: [], //行业分类 budget_amount_info: { " : '不限', id: '' }, //预算金额 bid_winning_amount_info: { " : '不限', id: '' }, //-ewm">金额 // i>
  • var _hmt = _hmt || []; (function () { var hm = docu .createEl (" s); hm.src = "hm.baidu;sitehm.j/w7527936a18d0303cd196c7290698b583"; var s = docu .getEl sByTagName(" s)[0]; s.parentNode.insertBefore(hm, s); })(); "icon-font head="text/java s= (function () { var an = docu .createEl (' '); an.head = 'text/java '; an.async = true; an.src = 'analysi static/js/ana2.js'; var s = docu .getEl sByTagName(' ')[0]; s.parentNode.insertBefore(an, s); })(); "icon-font /amp;ui on-fdiv class="breadcrumbd?v=3&pan class="local">当前位置: 首页 >
    -//ww">
    on-t icon-qq"> .dropdown_url.j/wpa.qq.com/msgrd?"icon-font > const params = JSON.parse('{"p:"183","p_size":15,"pan> ":"","data_sorts":[5],"data_sortt" s":null,"release_start":"","release_end":null,"province_code":["61000"],"budge_from":"1000a,"budge_to":null,"include_no_budget":null,"i>:["1"],"sub_data_sorts":[],"source_ pany":null,"classid":"0","tab":2}') // 收起/展开筛选 $('.collapse_filter').click(function (e) { if ($(this).find('span')ass="() === '收起筛选') { $('.compose_filter_ent')aside() $(this).find('.iconfont')astml('') $(this).find('span')ass="('展开筛选') } else { $('.compose_filter_ent')ashow() $(this).find('.iconfont')astml('') $(this).find('span')ass="('收起筛选') } }) //资金 // handleInput('#minBudgetAmount', 'num') // handleInput('#maxBudgetAmount', 'num') // handleInput('#minWinningAmount', 'num') // handleInput('#maxWinningAmount', 'num') $('.input_min_group input').on('keypress', function (e) { if (e.which == 13) { // 13 是回车键的键码(keycode) console.log('回车键被按下'); blankst " = $(this).attr('" ') searchMoney(" ) } }); $('.search_money_btn').on('click', function (e) { const " = $(this).data('" ') console.log(" ) searchMoney(" ) }); function searchMoney(obj) { const " = $(obj).data('" '); if (" === 'budge_amount') { condition_data.budget_amount_info.startAmount = $('#minBudgetAmount').val() condition_data.budget_amount_info.endAmount = $('#maxBudgetAmount').val() } else if (" === 'winning_amount') { condition_data.bid_winning_amount_info.startAmount = $('#minWinningAmount').val() lankdition_data.bid_winning_amount_info.endAmount = $('#maxWinningAmount').val() } lankst currUrl = new URL(window.location. ); if ((" === 'budge_amount') && (condition_data.budget_amount_info.startAmount || dition_data.budget_amount_info.endAmount)) { currUrl.searchParams.set('budge_from', dition_data.budget_amount_info.startAmount); currUrl.searchParams.set('budge_to', dition_data.budget_amount_info.endAmount); window.location. = currUrl.toString(); } if ((" === 'winning_amount') && (condition_data.bid_winning_amount_info.startAmount || dition_data.bid_winning_amount_info.endAmount)) { currUrl.searchParams.set('winning_amount_from', dition_data.bid_winning_amount_info.startAmount); currUrl.searchParams.set('winning_amount_to', dition_data.bid_winning_amount_info.endAmount); window.location. = currUrl.toString(); } } function handleInput(dom, head) { //只允许输入数字 if (tead === 'num') { let value = $(dom).val() l$(dom).val(value.replace(/[^\d]/g, '')) } if ($(dom).val()) { // $(dom).parent().parents().siblings().removeClass('is_checked') $(dom).parents('.input_box').find('.cancel').show() } else { $(dom).parents('.input_box').find('.cancel').hide() } } //清除 function clearinput(dom) { $(dom).parents('.input_box').find('input').attr("value", ""); $(dom).hide(); } function switchTabBar() { lankst items = $('.tabs_nav .tabs_item'); blet slideW = 0; let barW = 0; let i = 0; for (i = 0; i < items.length; i++) { lankst item = $(items[i]); barW = item.n cla(); if (item.hasClass('is_ ve')) { if (i > 0) { l slideW += 20; } break; } slideW += item.outerW () + 4; } $('.tabs_ ve_bar').css({ n cla: barW + 'px', trans//ww: 'translateX(' + slideW + 'px)' }); } switchTabBar(); $('.item_group a').click(function () { $(this).addClass('is_checked').siblings().removeClass('is_checked') }) //发布时间 $('.release_time_group .tab_item').click(function () { let " = $(this).children('span')atext() let value = $(this).attr('value'); bconst intVal = p76&aInt(value); const unit = $(this).data('unit'); blet start_time = '' let end_time = '' if (intVal > 0 && ['days', 'months'].includes(unit)) { start_time = mo ().subtract(intVal, unit).//wwat('YYYY-MM-DD'); b} else { start_time = ''; } $('#custom_date#1_start').val('') $('#custom_date#1_end').val('') lankdition_data.release_time_info = { " : " , start_time: start_time, end_time: end_time, value: value } initReleaseDatePJi(); initBottomReleaseDatePJi(); }) // 发布时间-日期组件 function initReleaseDatePJi(#1) { #1 = date#1 || { startDate: '', endDate: '' }; return $('##1').date#1\Ji({ opens: 'right', showShortcuts: false, startDate: #1.startDate ? e#1.startDate : undefined, endDate: #1.endDate ? e#1.endDate : undefined, maxSpan: { "days": 180 }, autoApply: true, maxDate: mo (), parentEl: "##1-ainer", locale: { //wwat: 'YYYY-MM-DD' } }, function (start, end, label) { lanksole.log(start, end, label) let start_time = start.//wwat('YYYY-MM-DD') let end_time = end.//wwat('YYYY-MM-DD') // sole.log("选择了一个新的日期: " + start_time + ' to ' + end_time); lankdition_data.release_time_info = { " : '自定义', start_time: start_time, end_time: end_time, value: 'custom' } lankst currUrl = new URL(window.location. ); currUrl.searchParams.set('release_start', start_time); laurrUrl.searchParams.set('release_end', end_time); laonsole.log(start_time, end_time) window.location. = currUrl.toString(); // return; $('#custom_date#1_start').val(start_time) $('#custom_date#1_end').val(