1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9,4,5],{486:function(t,e,n){var content=n(489);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(16).default)("77b95bad",content,!0,{sourceMap:!1})},487:function(t,e,n){var content=n(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(16).default)("1e01d57a",content,!0,{sourceMap:!1})},488:function(t,e,n){"use strict";n(486)},489:function(t,e,n){var o=n(15)((function(i){return i[1]}));o.push([t.i,"[data-v-0b2dbd4c] .el-descriptions-item__label:not(.is-bordered-label){margin-right:0}",""]),o.locals={},t.exports=o},490:function(t,e,n){"use strict";n(487)},491:function(t,e,n){var o=n(15)((function(i){return i[1]}));o.push([t.i,".null-data[data-v-93598fb0]{padding:100px}.null-data .img-null[data-v-93598fb0]{height:150px;width:150px}",""]),o.locals={},t.exports=o},492:function(t,e,n){"use strict";n.r(e);n(65),n(27),n(66);var o=n(144);var r=n(194),c=n(107);function l(t){return function(t){if(Array.isArray(t))return Object(o.a)(t)}(t)||Object(r.a)(t)||Object(c.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n(12),n(49);var d={props:{list:{type:Array,default:function(){return[]}}},data:function(){return{flexRow:[0,1,2]}},watch:{list:{immediate:!0,handler:function(t){this.flexRow=l(Array(Math.ceil(this.list.length/3)).keys()),console.log("this.flexRow"),console.log(this.flexRow)}}},methods:{},computed:{}},h=(n(488),n(9)),component=Object(h.a)(d,(function(){var t=this,e=t._self._c;return e("div",t._l(t.flexRow,(function(n,o){return e("el-row",{key:o,staticClass:"row-bg",staticStyle:{margin:"10px"},attrs:{type:"flex",gutter:10}},t._l(t.list.slice(3*o,3*o+3),(function(n,o){return e("el-col",{key:o,attrs:{span:8}},[e("nuxt-link",{attrs:{to:"/talents_detail/".concat(n.id)}},[e("el-card",{attrs:{shadow:"hover"}},[e("el-descriptions",{attrs:{colon:!1,column:1}},[e("el-descriptions-item",[e("div",{staticClass:"flex row-between",staticStyle:{width:"100%"}},[e("div",{staticClass:"flex flex-1",staticStyle:{"font-weight":"bold"}},[e("div",{staticClass:"flex-none",staticStyle:{width:"8px",height:"8px",background:"#DD4250","border-radius":"50%","margin-right":"10px"}}),t._v(" "),e("div",{staticClass:"flex-none"},[t._v(t._s(n.title))]),t._v(" "),e("div",{staticClass:"flex-none"},[e("el-tag",{attrs:{type:"danger",size:"small"}},[t._v(t._s(n.module))])],1),t._v(" "),n.position?e("div",{staticClass:"primary flex-1 text-right"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(n.position)+"\n\t\t\t\t\t\t\t\t\t")]):t._e()])])]),t._v(" "),e("el-descriptions-item",{attrs:{"content-style":"overflow: hidden"}},[e("div",{staticClass:"flex row-between",staticStyle:{width:"100%"}},[n.chain?e("div",{staticClass:"flex-1 line-1"},[e("span",[t._v("产业链:"+t._s(n.chain))])]):t._e(),t._v(" "),n.tel?e("div",{staticClass:"flex-1"},[e("div",{staticClass:"primary pointer text-right"},[e("i",{staticClass:"el-icon-phone"}),t._v(t._s(n.tel)+"\n\t\t\t\t\t\t\t\t\t")])]):t._e()])]),t._v(" "),n.company?e("el-descriptions-item",{attrs:{"content-style":"overflow: hidden"}},[e("div",{staticClass:"flex line-1"},[e("span",{staticClass:"line-1"},[t._v("单位:"+t._s(n.company))])])]):t._e(),t._v(" "),"base"==n.module?e("el-descriptions-item",[t._v("负责人:"+t._s(n.principal))]):t._e(),t._v(" "),"pedigreeCompany"==n.module?e("el-descriptions-item",[t._v("法人:"+t._s(n.principal))]):t._e(),t._v(" "),"firm"==n.module?e("el-descriptions-item",[t._v("秘书长:"+t._s(n.principal))]):t._e(),t._v(" "),e("el-descriptions-item",{attrs:{"content-style":"overflow: hidden"}},[e("div",{staticClass:"flex line-1"},["talent"==n.module?e("span",[t._v("研究领域:")]):"base"==n.module?e("span",[t._v("基地特色:")]):"university"==n.module||"association"==n.module?e("span",[t._v("研究方向:")]):"fund"==n.module?e("span",[t._v("投资产业领域:")]):"pedigreeCompany"==n.module?e("span",[t._v("主要产品:")]):"pedigree"==n.module?e("span",[t._v("个人简介:")]):e("span",[t._v("简介:")]),t._v(" "),e("span",{staticClass:"line-1"},[t._v(t._s(n.description))])])]),t._v(" "),e("el-descriptions-item",{attrs:{"content-style":"overflow: hidden"}},[e("div",{staticClass:"flex p-t-10 line-1",staticStyle:{"border-top":"1px solid #DEDEDE",width:"100%"}},[e("i",{staticClass:"el-icon-location"}),t._v(" "),e("div",{staticClass:"m-l-10 line-1"},[t._v(t._s(n.city)+t._s(n.address))])])])],1)],1)],1)],1)})),1)})),1)}),[],!1,null,"0b2dbd4c",null);e.default=component.exports},493:function(t,e,n){"use strict";n.r(e);var o={components:{},props:{img:{type:String},text:{type:String,default:"暂无数据"},imgStyle:{type:String,default:""}},methods:{}},r=(n(490),n(9)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-white flex-col col-center null-data"},[e("img",{staticClass:"img-null",style:t.imgStyle,attrs:{src:t.img,alt:""}}),t._v(" "),e("div",{staticClass:"muted mt8"},[t._v(t._s(t.text))])])}),[],!1,null,"93598fb0",null);e.default=component.exports},494:function(t,e,n){t.exports=n.p+"img/goods_null.d774c28.png"},501:function(t,e,n){var content=n(510);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(16).default)("512ed8b0",content,!0,{sourceMap:!1})},509:function(t,e,n){"use strict";n(501)},510:function(t,e,n){var o=n(15)((function(i){return i[1]}));o.push([t.i,"page{height:100%;padding:0}.goods-search{height:100%;position:relative}.goods-search .header-wrap{position:relative;z-index:999}.goods-search .header-wrap .search{background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.03);padding:0 30px 20px;position:relative;z-index:1}.goods-search .nav-container{padding:24px 24px 0}.goods-search .search-content{height:100%;width:100%;z-index:100}.goods-search .search-content .search-words{padding-bottom:20px;padding-left:24px}.goods-search .search-content .search-words .title{font-weight:500;padding:26px 0}.goods-search .search-content .search-words .words .item{background:#f7f8fa;border-radius:8px 8px 8px 8px;color:#666;cursor:pointer;height:33px;line-height:33px;padding:0 24px}.goods-search .content{flex:1;min-height:0}.goods-search .content .goods-list{overflow:hidden}",""]),o.locals={},t.exports=o},516:function(t,e,n){"use strict";n.r(e);n(33),n(27),n(32),n(12),n(41),n(24),n(42);var o=n(5),r=n(18),c=(n(48),n(28),n(20));n(50),n(67),n(51),n(34),n(66),n(68),n(49),n(19),n(108),n(65);function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var h={data:function(){return{keyword:"",page:1,showHistory:!1,historyList:[],talentsList:[]}},watch:{keyword:function(t,e){t||this.id||(this.showHistory=!0)},showHistory:function(t){t&&this.getSearchpageFun()}},created:function(){this.onSearch=function(t){var time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,e=arguments.length>2?arguments[2]:void 0,n=new Date(0).getTime();return function(){var o=(new Date).getTime();if(o-n>time){for(var r=arguments.length,c=new Array(r),l=0;l<r;l++)c[l]=arguments[l];t.apply(e,c),n=o}}}(this.onSearch,500,this),this.init()},mounted:function(){var t=this;this.$nuxt.$on("search",(function(e){t.keyword=e,t.showHistory=!1,t.getTalents()})),this.$nuxt.$on("searchFouce",(function(e){t.showHistory=!0}))},computed:d(d({},Object(c.d)(["sysInfo","config"])),{},{actionStyle:function(){return{background:"#DD4250","border-radius":"100px","font-size":"24px",width:"100px",height:"60px","line-height":"60px",color:"#ffffff",flex:"none"}}}),methods:{downCallback:function(){this.onRefresh()},onChange:function(t){this.keyword=t.value},clearSearchFun:function(){var t=this;clearSearch().then((function(e){1==e.code&&t.getSearchpageFun()}))},init:function(){var t=this,e=this.$route.query,n=e.id,o=(e.name,e.type);this.type=o,n?(this.id=n,this.$nextTick((function(){t.onRefresh()}))):this.showHistory=!0},getSearchpageFun:function(){var t=this;this.$get("article/history-search",{}).then((function(e){1==e.code&&(t.historyList=e.data)}))},onClear:function(){this.id&&this.onRefresh()},onSearch:function(){var t=this;this.showHistory=!1,this.$nextTick((function(){t.onRefresh()}))},onRefresh:function(){this.getTalents()},changePage:function(t){this.page=t,this.getTalents()},getTalents:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,code,data,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={page_size:9,page_no:t.page,cid:t.cateTwoId,chain:t.chain},e.next=3,t.$get("article",{params:n});case 3:o=e.sent,code=o.code,data=o.data,r=o._meta,1==code&&(t.talentsList=data,t.count=r.totalCount);case 8:case"end":return e.stop()}}),e)})))()},onChangeKeyword:function(t){this.keyword=t,this.showHistory=!1,this.$nuxt.$emit("keyword",this.keyword),this.onRefresh()}}},f=h,v=(n(509),n(9)),component=Object(v.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"goods-search flex-col bg-white"},[e("div",{staticClass:"nav-container flex"},[e("el-breadcrumb",{staticStyle:{flex:"1"},attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),t._v(" "),e("el-breadcrumb-item",{staticClass:"line1",staticStyle:{"max-width":"800px"}},[t._v("搜索:"+t._s(t.keyword))])],1)],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showHistory,expression:"showHistory"}],staticClass:"search-content bg-white"},[e("div",{staticStyle:{height:"100%"},attrs:{"scroll-y":!0}},[e("div",{staticClass:"search-words"},[e("div",{staticClass:"title flex row-between"},[e("div",[t._v("历史搜索")]),t._v(" "),e("div",{staticClass:"xs muted m-r-20",staticStyle:{padding:"10px 20px"},on:{click:t.clearSearchFun}},[t._v("清空")])]),t._v(" "),e("div",{staticClass:"words flex flex-wrap"},t._l(t.historyList,(function(n,o){return e("div",{key:o,staticClass:"item m-r-20 m-b-20 line-1",on:{click:function(e){return t.onChangeKeyword(n)}}},[t._v(t._s(n)+"\n\t\t\t\t\t")])})),0)]),t._v(" "),e("div",{staticClass:"search-words"},[e("div",{staticClass:"title"},[t._v("热门搜索")]),t._v(" "),e("div",{staticClass:"words flex flex-wrap"},t._l(t.config.hot_search,(function(n,o){return e("div",{key:o,staticClass:"item m-r-20 m-b-20 line-1",on:{click:function(e){return t.onChangeKeyword(n)}}},[t._v(t._s(n))])})),0)])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showHistory,expression:"!showHistory"}],staticClass:"content"},[t.talentsList.length>0?e("div",[e("talents-list",{attrs:{list:t.talentsList}}),t._v(" "),t.count?e("div",{staticClass:"pagination flex row-center",staticStyle:{"padding-bottom":"38px"}},[e("el-pagination",{attrs:{background:"","hide-on-single-page":"",layout:"prev, pager, next","page-size":9,total:t.count,"prev-text":"上一页","next-text":"下一页"},on:{"current-change":t.changePage}})],1):t._e()],1):e("null-data",{attrs:{img:n(494),text:"暂无数据~"}})],1)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{TalentsList:n(492).default,NullData:n(493).default})}}]);
|