Commit 0149f1ae authored by yht15023815643's avatar yht15023815643

公招市场

parent 8c82824d
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="17.2025146484375" height="17.110595703125" viewBox="0 0 17.2025146484375 17.110595703125"><g><g><g transform="matrix(0.9634730815887451,0.2678050994873047,-0.2678050994873047,0.9634730815887451,0.31323258932116005,-1.0652609714268806)"><path d="" fill="#D8D8D8" fill-opacity="0"/><path d="M9.351976079711914,1.1054855871429443Q9.393986079711915,1.0968885871429443,9.433926079711913,1.0812625871429442Q9.473866079711915,1.0656365871429443,9.510556079711915,1.0434375871429444Q9.547246079711915,1.0212395871429443,9.579626079711915,0.9931175871429443Q9.611996079711915,0.9649945871429444,9.639116079711915,0.9317705871429444Q9.666226079711915,0.8985455871429444,9.687286079711914,0.8611885871429443Q9.708346079711914,0.8238325871429444,9.722746079711914,0.7834345871429443Q9.737136079711913,0.7430375871429443,9.744436079711914,0.7007791871429443Q9.751736079711915,0.6585210871429443,9.751736079711915,0.6156365871429443Q9.751736079711915,0.5663908871429444,9.742136079711914,0.5180914871429443Q9.732526079711914,0.46979158714294433,9.713676079711913,0.4242945871429443Q9.694836079711914,0.3787975871429443,9.667476079711914,0.33785158714294433Q9.640116079711914,0.29690558714294435,9.605296079711914,0.26208358714294433Q9.570466079711913,0.2272615871429443,9.529526079711914,0.19990158714294431Q9.488576079711914,0.17254258714294435,9.443076079711915,0.15369658714294432Q9.397586079711914,0.13485158714294432,9.349286079711913,0.1252435871429443Q9.300986079711915,0.11563658714294434,9.251736079711915,0.11563658714294434Q9.201106079711913,0.11563658714294434,9.151506079711915,0.12578758714294436Q8.473826079711914,0.26445858714294435,7.836846079711914,0.5338796871429443Q6.580556079711914,1.0652465871429444,5.611966079711914,2.033836587142944Q3.561716079711914,4.0840765871429445,3.561716079711914,6.983576587142944Q3.561716079711914,9.883076587142945,5.611966079711914,11.933336587142945Q7.662216079711914,13.983536587142945,10.561716079711914,13.983536587142945Q13.461216079711914,13.983536587142945,15.511416079711914,11.933336587142945Q17.561716079711914,9.883076587142945,17.561716079711914,6.983576587142944Q17.561716079711914,5.560116587142945,17.011716079711913,4.259366587142944L17.011516079711914,4.259006587142944L17.011416079711914,4.258706587142944L16.090416079711915,4.6482665871429445L16.090416079711915,4.648326587142944L16.090716079711914,4.649046587142944Q16.561716079711914,5.762976587142944,16.561716079711914,6.983576587142944Q16.561716079711914,9.468866587142944,14.804316079711914,11.226236587142944Q13.046996079711914,12.983536587142945,10.561716079711914,12.983536587142945Q8.076436079711915,12.983536587142945,6.319076079711914,11.226236587142944Q4.561716079711914,9.468866587142944,4.561716079711914,6.983576587142944Q4.561716079711914,4.498296587142944,6.319076079711914,2.7409365871429445Q7.149746079711914,1.9102665871429443,8.226396079711915,1.4548845871429443Q8.771756079711913,1.2242155871429443,9.351976079711914,1.1054855871429443Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g transform="matrix(0.9501094818115234,0.31191641092300415,-0.31191641092300415,0.9501094818115234,1.466013217420695,-1.676830753886975)"><path d="" fill="#D8D8D8" fill-opacity="0"/><path d="M8.612602017211914,4.204861731674194Q8.680472017211914,4.1761547316741945,8.737172017211915,4.129087731674194Q8.793872017211914,4.082019731674194,8.834592017211914,4.020594731674194Q8.875302017211915,3.9591697316741943,8.896562017211913,3.8886107316741945Q8.917822017211915,3.8180521316741944,8.917822017211915,3.7443597316741943Q8.917822017211915,3.695114031674194,8.908212017211914,3.6468146316741943Q8.898602017211914,3.5985147316741943,8.879762017211913,3.553017731674194Q8.860912017211914,3.5075207316741945,8.833552017211915,3.466574731674194Q8.806192017211913,3.4256287316741942,8.771372017211913,3.3908067316741946Q8.736552017211913,3.3559847316741944,8.695602017211915,3.328624731674194Q8.654662017211914,3.3012657316741945,8.609162017211915,3.282419731674194Q8.563662017211914,3.2635747316741943,8.515362017211913,3.2539667316741943Q8.467062017211914,3.2443597316741943,8.417822017211915,3.2443597316741943Q8.316432017211914,3.2443597316741943,8.223042017211913,3.2838577316741944L8.223022017211914,3.283865731674194L8.222872017211914,3.283932731674194Q7.415332017211914,3.6255327316741943,6.792821017211914,4.2480397316741945Q5.474802017211914,5.566059731674194,5.474802017211914,7.430019731674195Q5.474802017211914,9.293979731674195,6.792821017211914,10.611999731674194Q8.110842017211914,11.930019731674195,9.974802017211914,11.930019731674195Q11.838762017211913,11.930019731674195,13.156782017211913,10.611999731674194Q14.474802017211914,9.293979731674195,14.474802017211914,7.430019731674195Q14.474802017211914,6.9706597316741945,14.383492017211914,6.524179731674194L14.383422017211915,6.523819731674195L14.383382017211915,6.523639731674194L13.403692017211913,6.724119731674195L8.612602017211914,4.204861731674194Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g><g transform="matrix(0.7071067690849304,0.7071067690849304,-0.7071067690849304,0.7071067690849304,5.219374692351266,-7.617286286789749)"><path d="M14.716515429687501,2.61707421875L13.8048054296875,3.22488021875L12.8930954296875,2.61707421875Q12.544208429687501,2.38448021875,12.1745094296875,2.58233681875Q11.8048095996875,2.78019421875,11.8048095996875,3.1995092187500003L11.8048095996875,5.68164921875Q11.8048095996875,6.18618921875,12.2834504296875,6.34572921875L13.3045654296875,6.68609921875L13.3045654296875,9.325439218749999Q13.3045654296875,9.37468921875,13.3141754296875,9.422979218750001Q13.3237754296875,9.47127921875,13.3426254296875,9.516779218749999Q13.3614754296875,9.56227921875,13.3888254296875,9.603219218749999Q13.4161854296875,9.644169218750001,13.4510154296875,9.67898921875Q13.4858354296875,9.71381921875,13.5267754296875,9.741169218749999Q13.5677254296875,9.76852921875,13.6132254296875,9.78737921875Q13.6587254296875,9.80621921875,13.7070154296875,9.81582921875Q13.7553154296875,9.825439218749999,13.8045654296875,9.825439218749999Q13.8538154296875,9.825439218749999,13.9021054296875,9.81582921875Q13.9504054296875,9.80621921875,13.9959054296875,9.78737921875Q14.0414054296875,9.76852921875,14.0823454296875,9.741169218749999Q14.1232954296875,9.71381921875,14.1581154296875,9.67898921875Q14.1929454296875,9.644169218750001,14.2202954296875,9.603219218749999Q14.2476554296875,9.56227921875,14.2665054296875,9.516779218749999Q14.2853454296875,9.47127921875,14.2949554296875,9.422979218750001Q14.3045654296875,9.37468921875,14.3045654296875,9.325439218749999L14.3045654296875,6.68626921875L15.3261654296875,6.34572921875Q15.8048054296875,6.18618921875,15.8048054296875,5.68164921875L15.8048054296875,3.1995092187500003Q15.8048054296875,2.78019421875,15.4351054296875,2.58233681875Q15.0654054296875,2.38448021875,14.716515429687501,2.61707421875ZM13.4165154296875,4.16786921875L12.8048054296875,3.76005921875L12.8048054296875,5.46542921875L13.8048054296875,5.79875921875L14.8048054296875,5.46542921875L14.8048054296875,3.76005921875L14.1930954296875,4.16786921875Q13.8048054296875,4.42672921875,13.4165154296875,4.16786921875Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="17.2025146484375" height="17.110595703125" viewBox="0 0 17.2025146484375 17.110595703125"><g><g><g><ellipse cx="8.615457534790039" cy="8.515636682510376" rx="4.5" ry="4.5" fill="#FFFFFF" fill-opacity="0.5"/></g><g transform="matrix(0.9634730815887451,0.2678050994873047,-0.2678050994873047,0.9634730815887451,0.31323370403424633,-1.0652691441899265)"><path d="" fill="#D8D8D8" fill-opacity="0"/><path d="M9.352006597290039,1.1054855871429443Q9.39401659729004,1.0968885871429443,9.433956597290038,1.0812625871429442Q9.47389659729004,1.0656365871429443,9.51058659729004,1.0434375871429444Q9.54727659729004,1.0212395871429443,9.57965659729004,0.9931175871429443Q9.61202659729004,0.9649945871429444,9.63914659729004,0.9317705871429444Q9.66625659729004,0.8985455871429444,9.687316597290039,0.8611885871429443Q9.708376597290039,0.8238325871429444,9.72277659729004,0.7834345871429443Q9.737166597290038,0.7430375871429443,9.744466597290039,0.7007791871429443Q9.75176659729004,0.6585210871429443,9.75176659729004,0.6156365871429443Q9.75176659729004,0.5663908871429444,9.742166597290039,0.5180914871429443Q9.732556597290039,0.46979158714294433,9.713706597290038,0.4242945871429443Q9.694866597290039,0.3787975871429443,9.66750659729004,0.33785158714294433Q9.64014659729004,0.29690558714294435,9.60532659729004,0.26208358714294433Q9.570496597290038,0.2272615871429443,9.52955659729004,0.19990158714294431Q9.488606597290039,0.17254258714294435,9.44310659729004,0.15369658714294432Q9.397616597290039,0.13485158714294432,9.349316597290038,0.1252435871429443Q9.30101659729004,0.11563658714294434,9.25176659729004,0.11563658714294434Q9.201136597290038,0.11563658714294434,9.15153659729004,0.12578758714294436Q8.47385659729004,0.26445858714294435,7.836876597290039,0.5338796871429443Q6.580586597290039,1.0652465871429444,5.611996597290039,2.033836587142944Q3.561746597290039,4.0840765871429445,3.561746597290039,6.983576587142944Q3.561746597290039,9.883076587142945,5.611996597290039,11.933336587142945Q7.662246597290039,13.983536587142945,10.561746597290039,13.983536587142945Q13.461246597290039,13.983536587142945,15.511446597290039,11.933336587142945Q17.56174659729004,9.883076587142945,17.56174659729004,6.983576587142944Q17.56174659729004,5.560116587142945,17.01174659729004,4.259366587142944L17.01154659729004,4.259006587142944L17.01144659729004,4.258706587142944L16.09044659729004,4.6482665871429445L16.09044659729004,4.648326587142944L16.09074659729004,4.649046587142944Q16.56174659729004,5.762976587142944,16.56174659729004,6.983576587142944Q16.56174659729004,9.468866587142944,14.804346597290039,11.226236587142944Q13.047026597290039,12.983536587142945,10.561746597290039,12.983536587142945Q8.07646659729004,12.983536587142945,6.319106597290039,11.226236587142944Q4.561746597290039,9.468866587142944,4.561746597290039,6.983576587142944Q4.561746597290039,4.498296587142944,6.319106597290039,2.7409365871429445Q7.149776597290039,1.9102665871429443,8.22642659729004,1.4548845871429443Q8.771786597290038,1.2242155871429443,9.352006597290039,1.1054855871429443Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g><g transform="matrix(0.9501094818115234,0.31191641092300415,-0.31191641092300415,0.9501094818115234,1.4660147399584815,-1.6768402728204137)"><path d="" fill="#D8D8D8" fill-opacity="0"/><path d="M8.61263253479004,4.204861731674194Q8.680502534790039,4.1761547316741945,8.73720253479004,4.129087731674194Q8.793902534790039,4.082019731674194,8.83462253479004,4.020594731674194Q8.87533253479004,3.9591697316741943,8.896592534790038,3.8886107316741945Q8.91785253479004,3.8180521316741944,8.91785253479004,3.7443597316741943Q8.91785253479004,3.695114031674194,8.90824253479004,3.6468146316741943Q8.898632534790039,3.5985147316741943,8.879792534790038,3.553017731674194Q8.86094253479004,3.5075207316741945,8.83358253479004,3.466574731674194Q8.806222534790038,3.4256287316741942,8.771402534790038,3.3908067316741946Q8.736582534790038,3.3559847316741944,8.69563253479004,3.328624731674194Q8.654692534790039,3.3012657316741945,8.60919253479004,3.282419731674194Q8.56369253479004,3.2635747316741943,8.515392534790038,3.2539667316741943Q8.467092534790039,3.2443597316741943,8.41785253479004,3.2443597316741943Q8.31646253479004,3.2443597316741943,8.223072534790038,3.2838577316741944L8.223052534790039,3.283865731674194L8.22290253479004,3.283932731674194Q7.415362534790039,3.6255327316741943,6.792851534790039,4.2480397316741945Q5.474832534790039,5.566059731674194,5.474832534790039,7.430019731674195Q5.474832534790039,9.293979731674195,6.792851534790039,10.611999731674194Q8.110872534790039,11.930019731674195,9.974832534790039,11.930019731674195Q11.838792534790038,11.930019731674195,13.156812534790038,10.611999731674194Q14.474832534790039,9.293979731674195,14.474832534790039,7.430019731674195Q14.474832534790039,6.9706597316741945,14.383522534790039,6.524179731674194L14.38345253479004,6.523819731674195L14.38341253479004,6.523639731674194L13.403722534790038,6.724119731674195L8.61263253479004,4.204861731674194Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g><g transform="matrix(0.7071067690849304,0.7071067690849304,-0.7071067690849304,0.7071067690849304,5.21939256913538,-7.617329445161886)"><path d="M14.716576464843751,2.61719621875L13.80486646484375,3.2250022187500003L12.89315646484375,2.61719621875Q12.544269464843751,2.38460221875,12.17457046484375,2.58245891875Q11.80487063484375,2.78031621875,11.80487063484375,3.19963121875L11.80487063484375,5.68177921875Q11.80487063484375,6.18630921875,12.28351146484375,6.345849218750001L13.30486646484375,6.68630921875L13.30486646484375,9.32555921875Q13.30486646484375,9.37480921875,13.31447646484375,9.42310921875Q13.32408646484375,9.47140921875,13.34292646484375,9.51689921875Q13.36177646484375,9.56239921875,13.38913646484375,9.603349218750001Q13.41649646484375,9.64428921875,13.45131646484375,9.67911921875Q13.48613646484375,9.71393921875,13.52708646484375,9.741299218750001Q13.56803646484375,9.768659218749999,13.61352646484375,9.78749921875Q13.65902646484375,9.80634921875,13.70732646484375,9.81594921875Q13.75562646484375,9.82555921875,13.80486646484375,9.82555921875Q13.85411646484375,9.82555921875,13.90241646484375,9.81594921875Q13.950716464843751,9.80634921875,13.99621646484375,9.78749921875Q14.04170646484375,9.768659218749999,14.082656464843751,9.741299218750001Q14.12360646484375,9.71393921875,14.15842646484375,9.67911921875Q14.19324646484375,9.64428921875,14.22060646484375,9.603349218750001Q14.24796646484375,9.56239921875,14.26680646484375,9.51689921875Q14.28565646484375,9.47140921875,14.295266464843749,9.42310921875Q14.30486646484375,9.37480921875,14.30486646484375,9.32555921875L14.30486646484375,6.68630921875L15.32622646484375,6.345849218750001Q15.80486646484375,6.18630921875,15.80486646484375,5.68177921875L15.80486646484375,3.19963121875Q15.80486646484375,2.78031621875,15.43516646484375,2.58245891875Q15.06546646484375,2.38460221875,14.716576464843751,2.61719621875ZM13.41657646484375,4.16798921875L12.80486646484375,3.76018921875L12.80486646484375,5.4655492187500005L13.80486646484375,5.79887921875L14.80486646484375,5.4655492187500005L14.80486646484375,3.76018921875L14.19315646484375,4.16798921875Q13.80486646484375,4.42684921875,13.41657646484375,4.16798921875Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
\ No newline at end of file
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="content"> <div class="content">
<div class="content_item"> <div class="content_item">
<div class="content_right"> <div class="content_right">
<el-input type="text" class="ename_input" placeholder="请输入集团名称查询" clearable v-model="companyName" @input="search(1)"><div slot="append" class="btn-search" @click="searchClick()">搜索</div></el-input> <el-input type="text" class="ename_input" placeholder="请输入集团名称或集团成员查询" clearable v-model="companyName" @input="search(1)"><div slot="append" class="btn-search" @click="searchClick()">搜索</div></el-input>
<div class="infinite-list" v-if="showlist" id="box" v-infinite-scroll="load" style="overflow:auto"> <div class="infinite-list" v-if="showlist" id="box" v-infinite-scroll="load" style="overflow:auto">
<div class="empty" v-if="searchList.length<1"> <div class="empty" v-if="searchList.length<1">
<img src="@/assets/images/kong.png" alt=""> <img src="@/assets/images/kong.png" alt="">
......
<template>
<div v-loading="loading" class="app-container">
<iframe id="companyIframe" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" width="100%" :style="{height:iframeHight+'px'}" :src="src" />
</div>
</template>
<script>
import { steerScroll } from '@/assets/js/jskplug'
import { dskAccessToken } from '@/api/common'
export default {
name: 'Enterprise',
components: {
},
data() {
return {
loading: false, // 是否加载完成-当前页控制
iframeTimer: '', // 是否加载中定时器-当前页控制
footHeight: 0, //底部高度,若为0(页面内部嵌套或者没有底部板块)
iframeHight: window.innerHeight, // iframe高度-当前页控制
navigation: {isFixed: true, fixedHeight: 56, totalHeight: 68}, // iframe之外页面顶部对象,ifFixed:是否浮动;fixedHeight:浮动对象高度;totalHeight:顶部整体高度
src: '', //iframe嵌套页面地址
domain: 'https://plug.jiansheku.com', // 插件地址
// domain: 'http://192.168.60.19:3400',
// domain: 'http://192.168.60.30:3300',
ak: 'aec7b3ff2y2q8x6t49a7e2c463ce21912', // 需要携带的sdkId
timelongs:7200,//刷新token时间
tokentimer:null,
}
},
created() {
this.gettokens()
},
mounted() {
this.iframeLoading() // 判断iframe页面是否加载完成-当前页控制
steerScroll('companyIframe', this.navigation, this.footHeight, true) // iframeId: iframe的id;navigation:页面排除iframe后剩下的顶部高度;footHeight: 页面排除iframe后剩下的底部高度;state:监听or移除监听;parentId: 父级id[不带默认就是铺满整个页面]];_this:指向当前实例(可忽略)
},
beforeDestroy() {
clearInterval(this.iframeTimer) // -当前页控制
steerScroll('companyIframe', this.navigation, this.footHeight) // iframeId: iframe的id;navigation:页面排除iframe后剩下的顶部高度;footHeight: 页面排除iframe后剩下的底部高度;state:监听or移除监听;parentId: 父级id[不带默认就是铺满整个页面]];_this:指向当前实例(可忽略)
clearInterval(this.tokentimer)
},
methods: {
gettokens(){
dskAccessToken().then(res=>{
if(res.code == 200){
this.timelongs = res.data.expire
this.ak = res.data.accessToken
this.src = `${this.domain}/search/market?ak=${this.ak}&initTime=${new Date().getTime()}&uid=${this.ak}`
this.refreshtoken()
}else{
clearTimeout(this.tokentimer)
}
})
},
refreshtoken(){
this.tokentimer = setTimeout(()=>{
dskAccessToken().then(res => {
if (res.code == 200) {
this.timelongs = res.data.expire
this.ak = res.data.accessToken
let ifam = document.getElementById('companyIframe') //iframe的id
let akObj = res.data.expire //accessToken接口的返回值
let initTime = new Date().getTime() //accessToken接口返回后的当前时间戳
ifam.contentWindow.postMessage({ 'accessToken': akObj.accessToken, 'initTime': initTime }, '*')
}else{
clearTimeout(this.tokentimer)
}
})
}, this.timelongs*1000)
},
//判断iframe页面是否加载完成-当前页控制
iframeLoading() {
let iframeHeight = document.getElementById("companyIframe").clientHeight, number = 0
this.iframeTimer = setInterval(()=>{
number ++
if(document.getElementById("companyIframe").clientHeight != iframeHeight || number == 5000){
this.loading = false
clearInterval(this.iframeTimer)
}
})
}
}
}
</script>
<style lang="scss" scoped>
.app-container{
padding: 0;
}
</style>
\ No newline at end of file
...@@ -87,9 +87,9 @@ ...@@ -87,9 +87,9 @@
<div class="content_item"> <div class="content_item">
<div class="label">项目级别</div> <div class="label">项目级别</div>
<div class="content_right"> <div class="content_right">
<el-radio v-model="importantProjectDto.projectLevel" label="省级">省级</el-radio> <el-checkbox-group v-model="importantProjectDto.projectLevel" class="keyword_checkbox" >
<el-radio v-model="importantProjectDto.projectLevel" label="市级">市级</el-radio> <el-checkbox v-for="item in projectLevelOption" :label="item.value" :key="item.label">{{item.label}}</el-checkbox>
<el-radio v-model="importantProjectDto.projectLevel" label="区县级">区/县级</el-radio> </el-checkbox-group>
</div> </div>
</div> </div>
<div class="content_item content_item1"> <div class="content_item content_item1">
...@@ -298,6 +298,20 @@ export default { ...@@ -298,6 +298,20 @@ export default {
label:'建设规模' label:'建设规模'
} }
], ],
projectLevelOption:[
{
label:"省级",
value:"省级",
},
{
label:"市级",
value:"市级",
},
{
label:"区/县级",
value:"区县级",
}
],
years:[], years:[],
fileTitleOptions:[], fileTitleOptions:[],
importantProjectDto: { importantProjectDto: {
...@@ -309,7 +323,7 @@ export default { ...@@ -309,7 +323,7 @@ export default {
buildingProjectType:[], buildingProjectType:[],
keywordStr:['projectName'], keywordStr:['projectName'],
keyword:'', keyword:'',
projectLevel:'', projectLevel:[],
}, },
startMoney: "", startMoney: "",
endMoney: "", endMoney: "",
...@@ -347,7 +361,7 @@ export default { ...@@ -347,7 +361,7 @@ export default {
buildingProjectType:[], buildingProjectType:[],
keywordStr:['projectName'], keywordStr:['projectName'],
keyword:'', keyword:'',
projectLevel:'', projectLevel:[],
}, },
provinceText:[], provinceText:[],
pageFlag: true, pageFlag: true,
...@@ -414,6 +428,7 @@ export default { ...@@ -414,6 +428,7 @@ export default {
data.city = data.city.join(","); data.city = data.city.join(",");
data.area = data.area.join(","); data.area = data.area.join(",");
data.keywordStr = data.keywordStr.join(","); data.keywordStr = data.keywordStr.join(",");
data.projectLevel = data.projectLevel.join(",");
data.year = data.year.join(","); data.year = data.year.join(",");
data.fileTitle = data.fileTitle.join(","); data.fileTitle = data.fileTitle.join(",");
data.buildingProjectType = data.buildingProjectType.join(","); data.buildingProjectType = data.buildingProjectType.join(",");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment