|
@@ -6,7 +6,7 @@
|
|
<meta name="Description" content="{{Msg "seo" "qfw.swordfishsl.description"}}"/>
|
|
<meta name="Description" content="{{Msg "seo" "qfw.swordfishsl.description"}}"/>
|
|
<meta name="renderer" content="webkit">
|
|
<meta name="renderer" content="webkit">
|
|
<meta content="telephone=no" name="format-detection"/>
|
|
<meta content="telephone=no" name="format-detection"/>
|
|
- <meta content="采购单位搜索" theme="light" name="enable-header"/>
|
|
|
|
|
|
+ <meta content="招标搜索" theme="light" name="enable-header"/>
|
|
{{include "/common/pnc.html"}}
|
|
{{include "/common/pnc.html"}}
|
|
<link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet" />
|
|
<link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet" />
|
|
<link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet" />
|
|
<link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet" />
|
|
@@ -15,129 +15,30 @@
|
|
<script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
|
|
<script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
|
|
<script src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
|
|
<script src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
|
|
|
|
|
|
- <link href="//cdn.jsdelivr.net/npm/element-ui@2.13.2/lib/theme-chalk/index.css" rel="stylesheet" />
|
|
|
|
|
|
+ <link href="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/theme-chalk/index.css" rel="stylesheet" />
|
|
<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/css/ele-reset.css?v={{Msg "seo" "version"}}'>
|
|
<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/css/ele-reset.css?v={{Msg "seo" "version"}}'>
|
|
|
|
+ <!-- <link href='{{Msg "seo" "cdn"}}/css/dev2/newBidSearch.css?v={{Msg "seo" "version"}}' rel="stylesheet"> -->
|
|
<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/css/selector/selector.css?v={{Msg "seo" "version"}}'>
|
|
<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/css/selector/selector.css?v={{Msg "seo" "version"}}'>
|
|
- <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/pccss/ent-search-index-pc.css?v={{Msg "seo" "version"}}'>
|
|
|
|
|
|
+ <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/pccss/pur-search-index-pc.css?v={{Msg "seo" "version"}}'>
|
|
<style>
|
|
<style>
|
|
.search-container {
|
|
.search-container {
|
|
line-height: 1;
|
|
line-height: 1;
|
|
padding-top: 64px;
|
|
padding-top: 64px;
|
|
min-height: calc(100vh - 364px);
|
|
min-height: calc(100vh - 364px);
|
|
}
|
|
}
|
|
- .diy-for-register-group .select-group-container {
|
|
|
|
- flex-wrap: nowrap;
|
|
|
|
- }
|
|
|
|
- .diy-for-register-group .el-checkbox {
|
|
|
|
- margin-right: 16px;
|
|
|
|
- }
|
|
|
|
- .diy-for-register-group .selector-content.select-list-content {
|
|
|
|
- padding-right: 0;
|
|
|
|
- }
|
|
|
|
- .diy-for-register-group .section-d .section-d-item.left::after {
|
|
|
|
- right: -7px;
|
|
|
|
- background-color: #e0e0e0;
|
|
|
|
- }
|
|
|
|
- .diy-for-register-group .section-d .section-d-item.left {
|
|
|
|
- margin-right: 20px;
|
|
|
|
- }
|
|
|
|
- .diy-for-register-group .select-group-content.price-container:focus-within + button {
|
|
|
|
- opacity: 1;
|
|
|
|
- }
|
|
|
|
- .diy-for-register-group .parent-input-group.focus-within .select-group-content.price-container,
|
|
|
|
- .diy-for-register-group .select-group-content.price-container:focus-within {
|
|
|
|
- background: #2abed1;
|
|
|
|
- }
|
|
|
|
- .diy-for-register-group .select-group-content.price-container + button {
|
|
|
|
- opacity: 0;
|
|
|
|
- margin-left: 6px !important;
|
|
|
|
- }
|
|
|
|
- .diy-for-register-group .select-group-content.price-container {
|
|
|
|
- padding: 6px;
|
|
|
|
- background: #f5f6f7;
|
|
|
|
- border-radius: 2px;
|
|
|
|
- }
|
|
|
|
- .founding-div .selector-content{
|
|
|
|
- flex: none;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- .timerInput {
|
|
|
|
- /* margin-top: -9px; */
|
|
|
|
- /* margin-left: 40px; */
|
|
|
|
- /* border: 1px solid #fff; */
|
|
|
|
- background-color: #F5F6F7;
|
|
|
|
- padding: 5px 5px;
|
|
|
|
- position: relative;
|
|
|
|
- }
|
|
|
|
- .timerInput.active{
|
|
|
|
- background-color: #2cb7ca;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .timerInput input[type="text"] {
|
|
|
|
- float: left;
|
|
|
|
- width: 160px;
|
|
|
|
- height: 28px;
|
|
|
|
- padding: 0 15px;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- border: 1px solid #e0e0e0;
|
|
|
|
- border-radius: 2px;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .timerInput span {
|
|
|
|
- float: left;
|
|
|
|
- width: 15px;
|
|
|
|
- height: 2px;
|
|
|
|
- line-height: 15px;
|
|
|
|
- background-color: #E0E0E0;
|
|
|
|
- padding: 0;
|
|
|
|
- margin: 12px 6px 0;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .timerInput button {
|
|
|
|
- float: left;
|
|
|
|
- width: 58px;
|
|
|
|
- height: 28px;
|
|
|
|
- margin: 0 0 0 8px;
|
|
|
|
- background-color: #2cb7ca;
|
|
|
|
- color: #ffffff;
|
|
|
|
- cursor: pointer;
|
|
|
|
- border-radius:2px;
|
|
|
|
- }
|
|
|
|
- .this_opacity0{
|
|
|
|
- position: absolute;
|
|
|
|
- top: 0;
|
|
|
|
- left: 0;
|
|
|
|
- opacity: 0;
|
|
|
|
- }
|
|
|
|
- .focus_color{
|
|
|
|
- background-color: #2cb7ca;
|
|
|
|
- }
|
|
|
|
- .this_opacity_end{
|
|
|
|
- position: absolute;
|
|
|
|
- right: -55px;
|
|
|
|
- top: 5px;
|
|
|
|
- opacity: 0;
|
|
|
|
- }
|
|
|
|
- .this_opacity_start{
|
|
|
|
- position: absolute;
|
|
|
|
- left: 5px;
|
|
|
|
- top: 5px;
|
|
|
|
- opacity: 0;
|
|
|
|
- }
|
|
|
|
</style>
|
|
</style>
|
|
</head>
|
|
</head>
|
|
|
|
|
|
<body>
|
|
<body>
|
|
{{include "/common/pchead.html"}}
|
|
{{include "/common/pchead.html"}}
|
|
<section class="search-container">
|
|
<section class="search-container">
|
|
- <div class="vue-search-container" v-cloak>
|
|
|
|
|
|
+ <div class="vue-search-container" id="pur-search-container" v-cloak>
|
|
<div class="search-header">
|
|
<div class="search-header">
|
|
<div class="search-header-content w">
|
|
<div class="search-header-content w">
|
|
<div class="search-header-top">
|
|
<div class="search-header-top">
|
|
<div class="input-container flex">
|
|
<div class="input-container flex">
|
|
<el-input
|
|
<el-input
|
|
- placeholder="输入企业名称"
|
|
|
|
|
|
+ placeholder="输入采购单位名称"
|
|
v-model.trim="searchContent"
|
|
v-model.trim="searchContent"
|
|
clearable
|
|
clearable
|
|
@focus="preSearch.focus=true"
|
|
@focus="preSearch.focus=true"
|
|
@@ -157,14 +58,6 @@
|
|
<span>筛选</span>
|
|
<span>筛选</span>
|
|
<span class="el-icon-arrow-up" :class="filterShow ? '' : 'rotate180'"></span>
|
|
<span class="el-icon-arrow-up" :class="filterShow ? '' : 'rotate180'"></span>
|
|
</div>
|
|
</div>
|
|
- <div class="pre-search-list" style="display: none;" v-show="preSearchListShow" @mouseout="preSearch.hover=false" @mouseover="preSearch.hover=true">
|
|
|
|
- <div
|
|
|
|
- class="pre-search-item ellipsis"
|
|
|
|
- v-for="(item,index) in preSearch.list"
|
|
|
|
- :key="index"
|
|
|
|
- @click="toDetail(item.entId)"
|
|
|
|
- >${ item.name }</div>
|
|
|
|
- </div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="search-right-wx">
|
|
<div class="search-right-wx">
|
|
<img src="{{Msg "seo" "cdn"}}/images/biddingSearch/sea-right-wx.png" />
|
|
<img src="{{Msg "seo" "cdn"}}/images/biddingSearch/sea-right-wx.png" />
|
|
@@ -187,222 +80,177 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="search-content w">
|
|
<div class="search-content w">
|
|
|
|
+ <div class="tit-r">
|
|
|
|
+ <a class="mesg-box" href="/jylab/purScopebusniess/index.html" target="_blank">
|
|
|
|
+ <i class="el-icon-jy-top-mesg"></i>
|
|
|
|
+ <span>业务范围设置</span>
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
<div class="selector-card-container search-filters">
|
|
<div class="selector-card-container search-filters">
|
|
- <div class="selector-card search-type">
|
|
|
|
- <div class="selector-card-header">搜索范围:</div>
|
|
|
|
- <div class="selector-card-content">
|
|
|
|
- <select-list-component
|
|
|
|
- ref="searchType"
|
|
|
|
- :list="searchTypeList"
|
|
|
|
- select-button-type="checkbox"
|
|
|
|
- :show-all-button="false"
|
|
|
|
- @change="searchTypeChange"
|
|
|
|
- ></select-list-component>
|
|
|
|
- </div>
|
|
|
|
- <div class="selector-card-footer" v-if="showEntUsage">
|
|
|
|
- <el-popover
|
|
|
|
- placement="top"
|
|
|
|
- width="292"
|
|
|
|
- trigger="hover">
|
|
|
|
- <div class="popover-content" v-if="entUseInfo.used < entUseInfo.total" key="popover-content">
|
|
|
|
- <p>超级订阅用户,每购买一个省,每月可看50个画像。</p>
|
|
|
|
- <p v-show="false">您当前订阅了${getVipSubText},如需查看更多,请前往订阅更多省份。<span class="popover-link" @click="openVipPage('popover-link')">前往</span></p>
|
|
|
|
- </div>
|
|
|
|
- <div class="popover-content" v-else key="popover-content">
|
|
|
|
- <p>超级订阅用户,每购买一个省,每月可看50个画像。</p>
|
|
|
|
- <p v-if="entUseInfo.province == -1">您当前订阅了${getVipSubText},查看机会已经消耗完毕。如需要更多服务,请前往<span class="popover-link" @click="openCustomerService">联系客服</span></p>
|
|
|
|
- <p v-else>您当前订阅了${getVipSubText},如需查看更多,请前往订阅更多省份。<span class="popover-link" @click="openVipPage('popover-link')">前往</span></p>
|
|
|
|
- </div>
|
|
|
|
- <div class="used-counter" slot="reference">
|
|
|
|
- <span>当月已使用:</span>
|
|
|
|
- <span class="u-c-label">
|
|
|
|
- <span class="count-used highlight-text">${entUseInfo.used}</span><span class="count-total">/${entUseInfo.total}</span>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- </el-popover>
|
|
|
|
- <div class="to-ent-history" @click="openEntHistory" id="to-ent-history">历史记录查看</div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
<div class="selector-card">
|
|
<div class="selector-card">
|
|
- <div class="selector-card-header">注册地:</div>
|
|
|
|
|
|
+ <div class="selector-card-header">选择区域:</div>
|
|
<div class="selector-card-content">
|
|
<div class="selector-card-content">
|
|
<area-city-component @change="areaCityChange"></area-city-component>
|
|
<area-city-component @change="areaCityChange"></area-city-component>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="selector-card price">
|
|
|
|
- <div class="selector-card-header">注册资本:</div>
|
|
|
|
- <div class="selector-card-content diy-for-register-group">
|
|
|
|
- <select-list-component
|
|
|
|
- ref="entCapital"
|
|
|
|
- select-button-type="checkbox"
|
|
|
|
- :list="priceList"
|
|
|
|
- @change="inexactPriceChange"
|
|
|
|
- ></select-list-component>
|
|
|
|
- <price-component class="parent-input-group" :class="{'focus-within': getInputStatus}" @confirm="exactPriceChange"></price-component>
|
|
|
|
|
|
+ <!--行业分类-->
|
|
|
|
+ <div class="industry-lis-t">
|
|
|
|
+ <div class="indus-tit">行业分类:</div>
|
|
|
|
+ <div class="selector-content" :class="{ 'no-more': !showMore }">
|
|
|
|
+ <div class="select-group-container" >
|
|
|
|
+ <div class="select-group-header"
|
|
|
|
+ v-show="!showMore"
|
|
|
|
+ v-for="(item, index) in industryListMap"
|
|
|
|
+ :key="index+'A'"
|
|
|
|
+ :class="{
|
|
|
|
+ 'right-line': showMore
|
|
|
|
+ }">
|
|
|
|
+ <button
|
|
|
|
+ class="j-button-item"
|
|
|
|
+ :class="{
|
|
|
|
+ active: item.selected,
|
|
|
|
+ [item.id]: true,
|
|
|
|
+ 'button-level-0': item.level === 0,
|
|
|
|
+ 'button-level-1': item.level === 1,
|
|
|
|
+ 'all': item.level === 0,
|
|
|
|
+ 'bgc': item.level === 1
|
|
|
|
+ }"
|
|
|
|
+ @click="changeIndustryState(item)"
|
|
|
|
+ >${ item.name }</button>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="select-group-header"
|
|
|
|
+ v-show="showMore"
|
|
|
|
+ v-for="(item, index) in getIndustryListMap"
|
|
|
|
+ :key="index+'B'"
|
|
|
|
+ :class="{
|
|
|
|
+ 'right-line': showMore
|
|
|
|
+ }">
|
|
|
|
+ <button
|
|
|
|
+ class="j-button-item"
|
|
|
|
+ :class="{
|
|
|
|
+ active: item.selected,
|
|
|
|
+ [item.id]: true,
|
|
|
|
+ 'button-level-0': item.level === 0,
|
|
|
|
+ 'button-level-1': item.level === 1,
|
|
|
|
+ 'all': item.level === 0,
|
|
|
|
+ 'bgc': item.level === 1
|
|
|
|
+ }"
|
|
|
|
+ @click="changeIndustryState(item)"
|
|
|
|
+ >${ item.name }</button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <span class="action-button show-more" v-if="showmoreBtn" @click="showMore = !showMore">
|
|
|
|
+ <span class="action-text">${ showMore ? '收起' : '更多' }</span>
|
|
|
|
+ <span class="el-icon-arrow-down" :class="showMore ? 'rotate180' : ''"></span>
|
|
|
|
+ </span>
|
|
</div>
|
|
</div>
|
|
- <div class="selector-card">
|
|
|
|
- <div class="selector-card-header">企业类型:</div>
|
|
|
|
- <div class="selector-card-content">
|
|
|
|
- <select-list-component
|
|
|
|
- ref="entType"
|
|
|
|
- select-button-type="checkbox"
|
|
|
|
- :list="entTypeList"
|
|
|
|
- @change="entTypeChange"
|
|
|
|
- ></select-list-component>
|
|
|
|
|
|
+ <!-- 客户分类 -->
|
|
|
|
+ <div class="customer-card industry bus-card">
|
|
|
|
+ <div class="leftTitle r-industry">客户分类:</div>
|
|
|
|
+ <div class="right_msg">
|
|
|
|
+ <span class="spa" :class="{g_active:qutive}" @click="quanBu('全部')">全部</span>
|
|
|
|
+ <span
|
|
|
|
+ v-for="(item,index) in indusData"
|
|
|
|
+ :key="item"
|
|
|
|
+ class="spa"
|
|
|
|
+ :class="{'g_active':caiIndex.indexOf(index)>-1}"
|
|
|
|
+ @click="caiIndus(item,index)"
|
|
|
|
+ >${item}</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="stops cus-more">更多</div>
|
|
</div>
|
|
</div>
|
|
- <div class="selector-card">
|
|
|
|
- <div class="selector-card-header">企业状态:</div>
|
|
|
|
- <div class="selector-card-content">
|
|
|
|
- <select-list-component
|
|
|
|
- ref="entState"
|
|
|
|
- select-button-type="checkbox"
|
|
|
|
- :list="entStateList"
|
|
|
|
- @change="entStateChange"
|
|
|
|
- ></select-list-component>
|
|
|
|
|
|
+ <!-- 业务范围 -->
|
|
|
|
+ <div class="customer-card industry job-card">
|
|
|
|
+ <div class="leftTitle r-industry">业务范围:</div>
|
|
|
|
+ <div class="right_msg">
|
|
|
|
+ <span class="spa" :class="{g_active:qutive1}" @click="quanBu1('全部')">全部</span>
|
|
|
|
+ <span
|
|
|
|
+ v-for="(item,index) in jobData"
|
|
|
|
+ :key="index"
|
|
|
|
+ class="spa"
|
|
|
|
+ :class="{'g_active':caiIndex1.indexOf(index)>-1}"
|
|
|
|
+ @click="caiIndus1(item.a_key,index)"
|
|
|
|
+ >
|
|
|
|
+ <i v-for="(ite,indx) in item.a_key" :key="indx">${keyChange(ite.appendkey,ite.key,ite.notkey)}</i>
|
|
|
|
+ </span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <!-- <div class="stops job-more">更多</div> -->
|
|
</div>
|
|
</div>
|
|
- <div class="selector-card">
|
|
|
|
- <div class="selector-card-header">成立时间:</div>
|
|
|
|
- <div class="selector-card-content founding-div">
|
|
|
|
- <select-list-component
|
|
|
|
- ref="entTime"
|
|
|
|
- select-button-type="checkbox"
|
|
|
|
- :list="entTimeList"
|
|
|
|
- @change="entTimeChange"
|
|
|
|
- ></select-list-component>
|
|
|
|
- <div class="timerInput fl" @click="changeColor()" :class="focusColor?'focus_color':''">
|
|
|
|
- <input type="text" id="starttime" readonly="true" placeholder="" :value="startDate"/>
|
|
|
|
- <span></span>
|
|
|
|
- <input type="text" name="maxtime" id="endtime" readonly="true" placeholder="" :value="endDate" />
|
|
|
|
-
|
|
|
|
- <!-- <el-date-picker
|
|
|
|
- class="this_opacity0"
|
|
|
|
- v-model="foundingTime"
|
|
|
|
- type="daterange"
|
|
|
|
- range-separator="-"
|
|
|
|
- start-placeholder="开始日期"
|
|
|
|
- end-placeholder="结束日期"
|
|
|
|
- value-format="timestamp"
|
|
|
|
- @change="foundingTimeChange"
|
|
|
|
- @focus="showButton"
|
|
|
|
- @blur="hiddenButton"
|
|
|
|
- >
|
|
|
|
- </el-date-picker> -->
|
|
|
|
- <el-date-picker
|
|
|
|
- class="this_opacity_start"
|
|
|
|
- v-model="thisStartTime"
|
|
|
|
- type="date"
|
|
|
|
- value-format="timestamp"
|
|
|
|
- @change="startTimeChange"
|
|
|
|
- @focus="showButton"
|
|
|
|
- @blur="hiddenButton"
|
|
|
|
- placeholder="">
|
|
|
|
- </el-date-picker>
|
|
|
|
- <el-date-picker
|
|
|
|
- class="this_opacity_end"
|
|
|
|
- v-model="thisEndTime"
|
|
|
|
- type="date"
|
|
|
|
- value-format="timestamp"
|
|
|
|
- @change="endTimeChange"
|
|
|
|
- @focus="showButton"
|
|
|
|
- @blur="hiddenButton"
|
|
|
|
- placeholder="">
|
|
|
|
- </el-date-picker>
|
|
|
|
- </div>
|
|
|
|
- <button class="j-button-item active bgc" style="min-width: 60px; margin-left: 10px; color: #fff;
|
|
|
|
- background-color: #2abed1;position: relative;z-index: 99;" @click="establishSearch" v-show="buttonType">确定</button>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <!-- 企业历史客户 -->
|
|
|
|
+ <div class="qy-card">
|
|
|
|
+ <div class="leftTitle r-industry">企业历史客户:</div>
|
|
|
|
+ <el-checkbox-group v-model="qyCheck" @change="qyChange">
|
|
|
|
+ <el-checkbox v-for="(item, index) in qyData" :label="item">${item}</el-checkbox>
|
|
|
|
+ </el-checkbox-group>
|
|
|
|
+ <!-- <div class="stops qy-more">更多</div> -->
|
|
</div>
|
|
</div>
|
|
- <div class="selector-card vip filter-zbly">
|
|
|
|
- <div class="selector-card-header">
|
|
|
|
- <span>招标领域筛选条件</span>
|
|
|
|
- <span class="icon-hot-vip"></span>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="search-pur-container">
|
|
|
|
+ <div class="list-header">
|
|
|
|
+ <div class="r-head">
|
|
|
|
+ <input class="custom-checkbox check-all" @click="allChange" name="bus-list" type="checkbox" dataid="" />
|
|
|
|
+ <span>客户列表</span>
|
|
</div>
|
|
</div>
|
|
- <div class="selector-card-content flex mini-select">
|
|
|
|
- <div class="select-title">中标区域</div>
|
|
|
|
- <el-select v-model="filterState.biddingArea" @change="zbFilterChange('中标区域')" clearable placeholder="中标区域">
|
|
|
|
- <el-option
|
|
|
|
- v-for="item in zblyFilterOption.zbAreaOptions"
|
|
|
|
- :key="item.value"
|
|
|
|
- :label="item.label"
|
|
|
|
- :value="item.value">
|
|
|
|
- </el-option>
|
|
|
|
- </el-select>
|
|
|
|
- <div class="select-title">单位类型</div>
|
|
|
|
- <el-select v-model="filterState.entClass" @change="zbFilterChange('单位类型')" clearable placeholder="单位类型">
|
|
|
|
- <el-option
|
|
|
|
- v-for="item in zblyFilterOption.dwlxOptions"
|
|
|
|
- :key="item.value"
|
|
|
|
- :label="item.label"
|
|
|
|
- :value="item.value">
|
|
|
|
- </el-option>
|
|
|
|
- </el-select>
|
|
|
|
- <div class="select-title">联系方式</div>
|
|
|
|
- <el-select v-model="filterState.entContact" @change="zbFilterChange('联系方式')" clearable placeholder="联系方式">
|
|
|
|
- <el-option
|
|
|
|
- v-for="item in zblyFilterOption.lxfsOptions"
|
|
|
|
- :key="item.value"
|
|
|
|
- :label="item.label"
|
|
|
|
- :value="item.value">
|
|
|
|
- </el-option>
|
|
|
|
- </el-select>
|
|
|
|
|
|
+ <div class="r-cont">
|
|
|
|
+ <div class="img-c" @click="allGuanren(0)">
|
|
|
|
+ <img src='{{Msg "seo" "cdn"}}/images/focused.png' v-if="follow">
|
|
|
|
+ <img src='{{Msg "seo" "cdn"}}/images/focus.png' v-else>
|
|
|
|
+ <i v-if="follow">已关注</i>
|
|
|
|
+ <i v-else>关注</i>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="img-c" @click="allGuanren(1)">
|
|
|
|
+ <img src='{{Msg "seo" "cdn"}}/images/renling_active.png' v-if="claim" style="margin-left: 16px;">
|
|
|
|
+ <img src='{{Msg "seo" "cdn"}}/images/renling.png' v-else style="margin-left: 16px;">
|
|
|
|
+ <i v-if="claim">已认领</i>
|
|
|
|
+ <i v-else>认领</i>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div class="search-result-container">
|
|
|
|
- <div class="ent-info-list" v-loading="listState.loading">
|
|
|
|
- <div
|
|
|
|
- class="ent-info-item"
|
|
|
|
- :class="{
|
|
|
|
- hover: !item.showMask
|
|
|
|
- }"
|
|
|
|
- v-for="(item,index) in listState.list"
|
|
|
|
- @click="toDetail(item.id)"
|
|
|
|
- :key="item.id">
|
|
|
|
- <div class="ei-i-left">
|
|
|
|
- <div class="ei-i-l-container" :class="item.randomBgc">${ item.company_shortname ? item.company_shortname.slice(0,4) : item.company_name.slice(0,4) }</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="ei-i-right">
|
|
|
|
- <div class="ei-r-title-container flex">
|
|
|
|
- <div class="ei-r-title">${ item.company_name }</div>
|
|
|
|
- <div class="ei-r-tag" :class="getEntStatus(item.company_status)" v-if="item.company_status">${ item.company_status }</div>
|
|
|
|
|
|
+ <div class="pur-info-list" v-loading="listState.loading">
|
|
|
|
+ <div class="list-item" v-for="(item, index) in listState.list" :key="index">
|
|
|
|
+ <div class="list-header pur-top">
|
|
|
|
+ <div class="tit">
|
|
|
|
+ <input class="custom-checkbox title-text-checkbox" @click="singleChange" name="bus-list" type="checkbox" :dataname="item.Buyer" />
|
|
|
|
+ <div class="img-tit">${item.Buyer}</div>
|
|
</div>
|
|
</div>
|
|
- <div class="ei-r-info-container">
|
|
|
|
- <div class="ei-r-info-item">
|
|
|
|
- <div class="i-label">法定代表人:</div>
|
|
|
|
- <div class="i-text">${ item.legal_person ? item.legal_person : '-' }</div>
|
|
|
|
|
|
+ <div class="r-cont">
|
|
|
|
+ <div class="img-c" @click="guanAndren(item, 0)">
|
|
|
|
+ <img src='{{Msg "seo" "cdn"}}/images/focused.png' v-if="item.follow1">
|
|
|
|
+ <img src='{{Msg "seo" "cdn"}}/images/focus.png' v-else>
|
|
|
|
+ <i v-if="item.follow1">已关注</i>
|
|
|
|
+ <i v-else>关注</i>
|
|
</div>
|
|
</div>
|
|
- <div class="ei-r-info-item">
|
|
|
|
- <div class="i-label">注册资本:</div>
|
|
|
|
- <div class="i-text">${ calcListItemForCap(item.capital) }</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="ei-r-info-item">
|
|
|
|
- <div class="i-label">成立日期:</div>
|
|
|
|
- <div class="i-text">${ item.establishStamp ? new Date(item.establishStamp * 1000).pattern('yyyy-MM-dd') : '-' }</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="ei-r-info-item">
|
|
|
|
- <div class="i-label">联系方式:</div>
|
|
|
|
- <div class="i-text">${ item.company_phone ? item.company_phone : '-' }</div>
|
|
|
|
|
|
+ <div class="img-c" @click="guanAndren(item, 1)">
|
|
|
|
+ <img src='{{Msg "seo" "cdn"}}/images/renling_active.png' v-if="item.claim1" style="margin-left: 16px;">
|
|
|
|
+ <img src='{{Msg "seo" "cdn"}}/images/renling.png' v-else style="margin-left: 16px;">
|
|
|
|
+ <i v-if="item.claim1">已认领</i>
|
|
|
|
+ <i v-else>认领</i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="ei-r-info-container">
|
|
|
|
- <div class="ei-r-info-item">
|
|
|
|
- <div class="i-label">地址:</div>
|
|
|
|
- <div class="i-text">${ item.company_address ? item.company_address : '-' }</div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pur-bot">
|
|
|
|
+ <span>项目数量:<i>${item.PNCount || '-'}</i></span>
|
|
|
|
+ <span>项目总金额:<i>${moneyUnit(item.Budget) || '-'}</i></span>
|
|
|
|
+ <span>所在地:<i>${item.WProvince || '-'} ${item.WCity || ''}</i></span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 自定义标签弹框 -->
|
|
|
|
+ <div class="tags-box">
|
|
|
|
+ <div class="tags-inputs">
|
|
|
|
+ <div class="tag-input">
|
|
|
|
+ <div class="tag-labels"></div>
|
|
|
|
+ <input type="text" class="clear-input" maxlength="5" oninput="this.value=this.value.replace(/\s+/g,'')">
|
|
|
|
+ <div class="tag-placeholder">新增标签回车保存</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="add-tag-button">添加并使用</div>
|
|
</div>
|
|
</div>
|
|
- <div @click.stop.prevent class="list-item-mask" v-if="item.showMask">
|
|
|
|
- <p>${ buttonText }会员,查看更多搜索结果</p>
|
|
|
|
- <button class="j-t-button confirm active" @click="openVipPage('more')">
|
|
|
|
- 去${ buttonText }
|
|
|
|
- </button>
|
|
|
|
|
|
+ <div class="tags-list clearfix"></div>
|
|
|
|
+ <div class="tags-footer">
|
|
|
|
+ <div class="tags-button button-confirm">确认添加</div>
|
|
|
|
+ <div class="tags-button button-cancel">暂不添加</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="_u4m8od8j3s"></div>
|
|
|
|
- <no-data style="display: none;" v-show="listState.list.length === 0 && listState.loaded" tip-text="没有找到符合条件的企业"></no-data>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="el-pagination-container">
|
|
<div class="el-pagination-container">
|
|
@@ -418,19 +266,6 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="search-footer w"></div>
|
|
<div class="search-footer w"></div>
|
|
- <el-dialog
|
|
|
|
- title="开通超级订阅"
|
|
|
|
- :visible.sync="powerDialogShow"
|
|
|
|
- custom-class="j-el-confirm"
|
|
|
|
- :show-close="false"
|
|
|
|
- top="25vh"
|
|
|
|
- width="30%">
|
|
|
|
- <span>立享更多搜索权限,寻找商机更精准</span>
|
|
|
|
- <span slot="footer" class="dialog-footer">
|
|
|
|
- <button class="j-t-button confirm active" @click="openVipPage">去开通</el-button>
|
|
|
|
- <button class="j-t-button cancel" @click="powerDialogShow=false">取 消</button>
|
|
|
|
- </span>
|
|
|
|
- </el-dialog>
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
|
|
|
|
@@ -438,8 +273,8 @@
|
|
{{include "/common/baiducc.html"}}
|
|
{{include "/common/baiducc.html"}}
|
|
|
|
|
|
<script src="https://cdn-common.jianyu360.com/cdn/lib/vue/2.6.11/vue.min.js"></script>
|
|
<script src="https://cdn-common.jianyu360.com/cdn/lib/vue/2.6.11/vue.min.js"></script>
|
|
- <script src="//cdn.jsdelivr.net/npm/element-ui@2.13.2/lib/index.js"></script>
|
|
|
|
- <script src="{{Msg "seo" "cdn"}}/big-member/js/utils.js?v={{Msg "seo" "version"}}"></script>
|
|
|
|
|
|
+ <script src="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/index.js"></script>
|
|
|
|
+ <script src='{{Msg "seo" "cdn"}}/big-member/js/utils.js?v={{Msg "seo" "version"}}'></script>
|
|
<script>
|
|
<script>
|
|
var dataId = '';
|
|
var dataId = '';
|
|
var pageInfo = {
|
|
var pageInfo = {
|
|
@@ -453,84 +288,318 @@
|
|
<script src='{{Msg "seo" "cdn"}}/js/selector/area-city-pc.js?v={{Msg "seo" "version"}}'></script>
|
|
<script src='{{Msg "seo" "cdn"}}/js/selector/area-city-pc.js?v={{Msg "seo" "version"}}'></script>
|
|
<script src='{{Msg "seo" "cdn"}}/js/selector/price-pc.js?v={{Msg "seo" "version"}}'></script>
|
|
<script src='{{Msg "seo" "cdn"}}/js/selector/price-pc.js?v={{Msg "seo" "version"}}'></script>
|
|
<script src='{{Msg "seo" "cdn"}}/js/selector/no-data-pc.js?v={{Msg "seo" "version"}}'></script>
|
|
<script src='{{Msg "seo" "cdn"}}/js/selector/no-data-pc.js?v={{Msg "seo" "version"}}'></script>
|
|
- <script src='{{Msg "seo" "cdn"}}/js/ent-search-index-pc.js?v={{Msg "seo" "version"}}1'></script>
|
|
|
|
|
|
+ <script src='{{Msg "seo" "cdn"}}/js/purSearch.js?v={{Msg "seo" "version"}}'></script>
|
|
|
|
+ <script src='{{Msg "seo" "cdn"}}/js/pur-search-index-pc.js?v={{Msg "seo" "version"}}1'></script>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
- setTimeout(() => {
|
|
|
|
- if(!vm.powerInfo.entniche && !vm.powerInfo.member && vm.powerInfo.vip <= 0) {
|
|
|
|
- (window.slotbydup = window.slotbydup || []).push({
|
|
|
|
- id: "u6603900",
|
|
|
|
- container: "_u4m8od8j3s",
|
|
|
|
- async: true
|
|
|
|
- });
|
|
|
|
- getAjaxAdv()
|
|
|
|
- var frames = document.getElementById("iframeu6603900_0");
|
|
|
|
- console.log(frames, 'frames')
|
|
|
|
|
|
+ var industry = {{.T.industry}}!=null?{{.T.industry}}:"";
|
|
|
|
+ var industrylist = {{.T.industrylist}}!=null?{{.T.industrylist}}:"";
|
|
|
|
+ var sortArray = {{.T.sortArray}}!=null?{{.T.sortArray}}:"";
|
|
|
|
+ var selectPublishtime = {{.T.publishtime}}?{{.T.publishtime}}:"thisyear";
|
|
|
|
+ $(function() {
|
|
|
|
+ // 客户分类
|
|
|
|
+ $('.bus-card').find('.right_msg').css('height','22px')
|
|
|
|
+ $('.bus-card').find('.cus-more').click(function() {
|
|
|
|
+ var txts = $(this).html()
|
|
|
|
+ if (txts == '更多') {
|
|
|
|
+ $(this).html('收起')
|
|
|
|
+ $('.bus-card').find('.right_msg').css('height','auto')
|
|
|
|
+ } else {
|
|
|
|
+ $(this).html('更多')
|
|
|
|
+ $('.bus-card').find('.right_msg').css('height','22px')
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ // 自定义标签
|
|
|
|
+ // 标签输入框事件
|
|
|
|
+ $('.tags-box').click(function(e) {
|
|
|
|
+ e.stopPropagation()
|
|
|
|
+ })
|
|
|
|
|
|
- IframeOnClick.track(frames, function() {
|
|
|
|
- jQuery(document).click();
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- }, 1000);
|
|
|
|
- function getAjaxAdv () {
|
|
|
|
- $.ajax({
|
|
|
|
- type: 'POST',
|
|
|
|
- url: '/publicapply/adLeague/exposure',
|
|
|
|
- data: {
|
|
|
|
- client: 'PC',
|
|
|
|
- id: 'ad2',
|
|
|
|
- position: '企业搜索列表页底部'
|
|
|
|
- },
|
|
|
|
- success: function(res) {
|
|
|
|
- console.log(res)
|
|
|
|
- }
|
|
|
|
|
|
+ $('.tag-input').click(function(e) {
|
|
|
|
+ e.stopPropagation()
|
|
|
|
+ $(this).children('.tag-placeholder').hide()
|
|
|
|
+ $(this).children('input').focus()
|
|
})
|
|
})
|
|
- }
|
|
|
|
- var IframeOnClick = {
|
|
|
|
- resolution: 200,
|
|
|
|
- iframes: [],
|
|
|
|
- interval: null,
|
|
|
|
- Iframe: function() {
|
|
|
|
- this.element = arguments[0];
|
|
|
|
- this.cb = arguments[1];
|
|
|
|
- this.hasTracked = false;
|
|
|
|
- },
|
|
|
|
- track: function(element, cb) {
|
|
|
|
- this.iframes.push(new this.Iframe(element, cb));
|
|
|
|
- var _this = this;
|
|
|
|
- this.interval = setInterval(function() { _this.checkClick(); }, this.resolution);
|
|
|
|
- },
|
|
|
|
- checkClick: function() {
|
|
|
|
- if (document.activeElement) {
|
|
|
|
- var activeElement = document.activeElement;
|
|
|
|
- for (var i in this.iframes) {
|
|
|
|
- if (activeElement === this.iframes[i].element) { // user is in this Iframe
|
|
|
|
- if (this.iframes[i].hasTracked == false) {
|
|
|
|
- this.iframes[i].cb.apply(window, []);
|
|
|
|
- this.iframes[i].hasTracked = true;
|
|
|
|
- $.ajax({
|
|
|
|
- type: 'POST',
|
|
|
|
- url: '/publicapply/adLeague/click',
|
|
|
|
- data: {
|
|
|
|
- client: 'PC',
|
|
|
|
- id: 'ad2',
|
|
|
|
- position: '企业搜索列表页底部'
|
|
|
|
- },
|
|
|
|
- success: function(res) {
|
|
|
|
- console.log(res)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+ // 标签输入框回车事件
|
|
|
|
+ $('.tag-input .clear-input').keydown(function(event){
|
|
|
|
+ event.stopPropagation()
|
|
|
|
+ if (event.keyCode == 13) {
|
|
|
|
+ if (!$('.tags-box').is(':hidden')) {
|
|
|
|
+ $('.tags-inputs .add-tag-button').trigger('click')
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ // 标签输入框失去焦点事件
|
|
|
|
+ $('.tag-input .clear-input').blur(function() {
|
|
|
|
+ if($('.tag-labels').children().length == 0 && $(this).val() == '') {
|
|
|
|
+ $('.tag-placeholder').show()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ // 添加标签按钮事件
|
|
|
|
+ $('.tags-inputs .add-tag-button').on('click', function () {
|
|
|
|
+ var input = $('.tag-input .clear-input')
|
|
|
|
+ if(input.val().length >= 2 && input.val().length < 6) {
|
|
|
|
+ // ajax提交自定义标签
|
|
|
|
+ addTagsAjax(input.val())
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ // 点击确定按钮,绑定标签
|
|
|
|
+ $('.tags-footer .button-confirm').on('click', function () {
|
|
|
|
+ if (!$('.tags-box').is(':hidden')){
|
|
|
|
+ var lids = ""
|
|
|
|
+ var lname = ""
|
|
|
|
+ $('.tags-item.tags-active').each(function() {
|
|
|
|
+ if ($(this).attr('data-id')){
|
|
|
|
+ if(lids != ""){
|
|
|
|
+ lids += ",";
|
|
|
|
+ }
|
|
|
|
+ if(lname != "") {
|
|
|
|
+ lname+= ",";
|
|
|
|
+ }
|
|
|
|
+ lids += $(this).attr('data-id');
|
|
|
|
+ lname += $(this).text()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ var params = {
|
|
|
|
+ lids: lids,
|
|
|
|
+ laction: 'S',
|
|
|
|
+ binfo: JSON.parse(sessionStorage.getItem('$save-tags-binfo'))
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // 执行保存绑定标签操作
|
|
|
|
+ if (params.lids !== '') {
|
|
|
|
+ saveChooseTags(params, function () {
|
|
|
|
+ $('.tags-footer .button-cancel').trigger('click')
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ $('.tags-footer .button-cancel').on('click', function () {
|
|
|
|
+ $('.tags-box').hide(function() {
|
|
|
|
+ // 标签弹框消失时 清除上次选择的标签分类
|
|
|
|
+ activeTags = []
|
|
|
|
+ $('.tag-labels').empty()
|
|
|
|
+ $('.clear-input').val('')
|
|
|
|
+ $('.tags-list').find('.tags-item').removeClass('tags-active')
|
|
|
|
+ $('.tag-placeholder').show()
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ var activeTags = []; //选中的自定义标签 作为全局变量使用
|
|
|
|
+ // 解绑自定义标签
|
|
|
|
+ function deleteInputTag(item) {
|
|
|
|
+ var index = $(item).parent().attr('data-index')
|
|
|
|
+ var id = $(item).parent().attr('data-id')
|
|
|
|
+ activeTags.splice(index, 1)
|
|
|
|
+ inputTagList()
|
|
|
|
+ $('.tags-item[data-id="' + id + '"]').removeClass('tags-active')
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ function inputTagList () {
|
|
|
|
+ var ht = '';
|
|
|
|
+ $('.tag-labels').html(ht)
|
|
|
|
+ activeTags.forEach(function(v,i) {
|
|
|
|
+ ht+='<span class="tag-label" data-index=' + i + ' data-id="' + v.lid + '">'
|
|
|
|
+ ht+='<em>'+ v.lname + '</em>'
|
|
|
|
+ ht+='<i class="tag-close" onclick="deleteInputTag(this)"></i>'
|
|
|
|
+ ht+='</span>'
|
|
|
|
+ });
|
|
|
|
+ $('.tag-labels').html(ht)
|
|
|
|
+ if ($('.tag-labels').children('.tag-label').length > 0) {
|
|
|
|
+ $('.tag-placeholder').hide()
|
|
|
|
+ }
|
|
|
|
+ checkTagDisabled()
|
|
|
|
+ }
|
|
|
|
+ // 渲染标签列表数据
|
|
|
|
+ function renderTagsList (data) {
|
|
|
|
+ if (data && data.length > 0) {
|
|
|
|
+ var ht = '';
|
|
|
|
+ data.forEach(function(v,i) {
|
|
|
|
+ ht+='<span class="tags-item" data-count=' + v.count + ' data-id=' + v.lid + '>'+ v.lanme +'</span>'
|
|
|
|
+ });
|
|
|
|
+ $(".tags-list").html(ht)
|
|
|
|
+ activeTags.forEach(function(s,j){
|
|
|
|
+ $('.tags-list .tags-item[data-id="' + s.lid + '"]').addClass('tags-active')
|
|
|
|
+ })
|
|
|
|
+ $('.tags-item').click(function(e) {
|
|
|
|
+ e.stopPropagation()
|
|
|
|
+ if ($(this).hasClass('disabled')) return
|
|
|
|
+ var id = $(this).attr('data-id');
|
|
|
|
+ var name = $(this).text()
|
|
|
|
+ $(this).toggleClass('tags-active')
|
|
|
|
+ if ($(this).hasClass('tags-active')) {
|
|
|
|
+ activeTags.push({
|
|
|
|
+ lid: id,
|
|
|
|
+ lname: name
|
|
|
|
+ })
|
|
|
|
+ inputTagList ()
|
|
} else {
|
|
} else {
|
|
- this.iframes[i].hasTracked = false;
|
|
|
|
|
|
+ var newArr = activeTags.filter(function(item) {
|
|
|
|
+ return item.lid != id
|
|
|
|
+ })
|
|
|
|
+ activeTags = newArr
|
|
|
|
+ // console.log(activeTags,newArr, 'quxiao')
|
|
|
|
+ inputTagList ()
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ inputTagList()
|
|
|
|
+ }
|
|
|
|
+ // 获取用户自定义标签
|
|
|
|
+ function getUserTags () {
|
|
|
|
+ $.ajax({
|
|
|
|
+ type:'post',
|
|
|
|
+ url:'/publicapply/bidcoll/getLabel?t=' + Date.now(),
|
|
|
|
+ success: function(r){
|
|
|
|
+ if (r.error_code == 0 && $.isArray(r.data)) {
|
|
|
|
+ renderTagsList(r.data.reverse())
|
|
}
|
|
}
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ /*
|
|
|
|
+ 保存或清除标签 ajax
|
|
|
|
+ params: {
|
|
|
|
+ lids: String 标签id(加密后), 非必传
|
|
|
|
+ lname: String 标签名称, 非必传
|
|
|
|
+ laction: String 用户行为:S添加或绑定标签;D删除标签 非必传
|
|
|
|
+ binfo: Array 招标信息数组(已收藏的招标信息) 非必传
|
|
|
|
+ bid: String 招标信息加密后id 必传
|
|
|
|
+ }
|
|
|
|
+ 1:lids为空;lname不为空;laction=”S”;binfo数组不为空->新增标签并且绑定收藏信息
|
|
|
|
+ 2:lids不为空;laction=”S”;binfo数组不为空->收藏信息绑定标签
|
|
|
|
+ 3:lids不为空;laction=”D”;->删除标签 并解绑收藏的信息
|
|
|
|
+ */
|
|
|
|
+ function saveChooseTags(params, callback) {
|
|
|
|
+ $.ajax({
|
|
|
|
+ type:'post',
|
|
|
|
+ url:'/publicapply/bidcoll/label',
|
|
|
|
+ contentType: "application/json",
|
|
|
|
+ data: JSON.stringify(params),
|
|
|
|
+ dataType:'json',
|
|
|
|
+ success: function(r){
|
|
|
|
+ if (r.data) {
|
|
|
|
+ toastFn("标签绑定成功", 1000)
|
|
|
|
+ callback && callback()
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ // 新增标签
|
|
|
|
+ function addTagsAjax (name) {
|
|
|
|
+ console.info('66666666')
|
|
|
|
+ $.ajax({
|
|
|
|
+ type:'post',
|
|
|
|
+ url:'/publicapply/bidcoll/addLabel',
|
|
|
|
+ data: {
|
|
|
|
+ name: name
|
|
|
|
+ },
|
|
|
|
+ dataType:'json',
|
|
|
|
+ success: function(r){
|
|
|
|
+ if (r.data) {
|
|
|
|
+ $('.tag-input .clear-input').val('')
|
|
|
|
+ // 添加标签成功后 绑定标签
|
|
|
|
+ if (activeTags.length < 3) {
|
|
|
|
+ activeTags.push({
|
|
|
|
+ lid: r.data,
|
|
|
|
+ lname: name
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ getUserTags()
|
|
|
|
+ } else {
|
|
|
|
+ // toastFn(r.error_msg, 1000)
|
|
|
|
+ toastFn('标签已经存在,无需添加', 1000)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ function checkTagDisabled () {
|
|
|
|
+ if (activeTags.length >= 3) {
|
|
|
|
+ // 禁用标签
|
|
|
|
+ $('.tags-list').find('.tags-item:not(.tags-active)').addClass('disabled')
|
|
|
|
+ } else {
|
|
|
|
+ // 解除禁用
|
|
|
|
+ $('.tags-list').find('.disabled').removeClass('disabled')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- };
|
|
|
|
- </script>
|
|
|
|
- <!-- 多条广告如下脚本只需引入一次 -->
|
|
|
|
- <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" >
|
|
|
|
|
|
+ })
|
|
</script>
|
|
</script>
|
|
|
|
+ <script type="text/javascript">
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ if(!vm.powerInfo.entniche && !vm.powerInfo.member && vm.powerInfo.vip <= 0) {
|
|
|
|
+ (window.slotbydup = window.slotbydup || []).push({
|
|
|
|
+ id: "u6603900",
|
|
|
|
+ container: "_u4m8od8j3s",
|
|
|
|
+ async: true
|
|
|
|
+ });
|
|
|
|
+ getAjaxAdv()
|
|
|
|
+ var frames = document.getElementById("iframeu6603900_0");
|
|
|
|
+ console.log(frames, 'frames')
|
|
|
|
+
|
|
|
|
+ IframeOnClick.track(frames, function() {
|
|
|
|
+ jQuery(document).click();
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ }, 1000);
|
|
|
|
+ function getAjaxAdv () {
|
|
|
|
+ $.ajax({
|
|
|
|
+ type: 'POST',
|
|
|
|
+ url: '/publicapply/adLeague/exposure',
|
|
|
|
+ data: {
|
|
|
|
+ client: 'PC',
|
|
|
|
+ id: 'ad2',
|
|
|
|
+ position: '企业搜索列表页底部'
|
|
|
|
+ },
|
|
|
|
+ success: function(res) {
|
|
|
|
+ console.log(res)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ var IframeOnClick = {
|
|
|
|
+ resolution: 200,
|
|
|
|
+ iframes: [],
|
|
|
|
+ interval: null,
|
|
|
|
+ Iframe: function() {
|
|
|
|
+ this.element = arguments[0];
|
|
|
|
+ this.cb = arguments[1];
|
|
|
|
+ this.hasTracked = false;
|
|
|
|
+ },
|
|
|
|
+ track: function(element, cb) {
|
|
|
|
+ this.iframes.push(new this.Iframe(element, cb));
|
|
|
|
+ var _this = this;
|
|
|
|
+ this.interval = setInterval(function() { _this.checkClick(); }, this.resolution);
|
|
|
|
+ },
|
|
|
|
+ checkClick: function() {
|
|
|
|
+ if (document.activeElement) {
|
|
|
|
+ var activeElement = document.activeElement;
|
|
|
|
+ for (var i in this.iframes) {
|
|
|
|
+ if (activeElement === this.iframes[i].element) { // user is in this Iframe
|
|
|
|
+ if (this.iframes[i].hasTracked == false) {
|
|
|
|
+ this.iframes[i].cb.apply(window, []);
|
|
|
|
+ this.iframes[i].hasTracked = true;
|
|
|
|
+ $.ajax({
|
|
|
|
+ type: 'POST',
|
|
|
|
+ url: '/publicapply/adLeague/click',
|
|
|
|
+ data: {
|
|
|
|
+ client: 'PC',
|
|
|
|
+ id: 'ad2',
|
|
|
|
+ position: '企业搜索列表页底部'
|
|
|
|
+ },
|
|
|
|
+ success: function(res) {
|
|
|
|
+ console.log(res)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ this.iframes[i].hasTracked = false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
+ </script>
|
|
|
|
+ <!-- 多条广告如下脚本只需引入一次 -->
|
|
|
|
+ <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer"></script>
|
|
</body>
|
|
</body>
|
|
|
|
|
|
</html>
|
|
</html>
|