1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8,2,4,5],{493:function(t,e,o){var content=o(496);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(14).default)("77b95bad",content,!0,{sourceMap:!1})},494:function(t,e,o){var content=o(498);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(14).default)("1e01d57a",content,!0,{sourceMap:!1})},495:function(t,e,o){"use strict";o(493)},496:function(t,e,o){var c=o(13)((function(i){return i[1]}));c.push([t.i,"[data-v-0b2dbd4c] .el-descriptions-item__label:not(.is-bordered-label){margin-right:0}",""]),c.locals={},t.exports=c},497:function(t,e,o){"use strict";o(494)},498:function(t,e,o){var c=o(13)((function(i){return i[1]}));c.push([t.i,".null-data[data-v-93598fb0]{padding:100px}.null-data .img-null[data-v-93598fb0]{height:150px;width:150px}",""]),c.locals={},t.exports=c},499:function(t,e,o){"use strict";o.r(e);o(65),o(26),o(66);var c=o(145);var n=o(194),r=o(108);function l(t){return function(t){if(Array.isArray(t))return Object(c.a)(t)}(t)||Object(n.a)(t)||Object(r.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.")}()}o(12),o(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=(o(495),o(8)),component=Object(h.a)(d,(function(){var t=this,e=t._self._c;return e("div",t._l(t.flexRow,(function(o,c){return e("el-row",{key:c,staticClass:"row-bg",staticStyle:{margin:"10px"},attrs:{type:"flex",gutter:10}},t._l(t.list.slice(3*c,3*c+3),(function(o,c){return e("el-col",{key:c,attrs:{span:8}},[e("nuxt-link",{attrs:{to:"/talents_detail/".concat(o.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(o.title))]),t._v(" "),e("div",{staticClass:"flex-none"},[e("el-tag",{attrs:{type:"danger",size:"small"}},[t._v(t._s(o.module))])],1),t._v(" "),o.position?e("div",{staticClass:"primary flex-1 text-right"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(o.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%"}},[o.chain?e("div",{staticClass:"flex-1 line-1"},[e("span",[t._v("产业链:"+t._s(o.chain))])]):t._e(),t._v(" "),o.tel?e("div",{staticClass:"flex-1"},[e("div",{staticClass:"primary pointer text-right"},[e("i",{staticClass:"el-icon-phone"}),t._v(t._s(o.tel)+"\n\t\t\t\t\t\t\t\t\t")])]):t._e()])]),t._v(" "),o.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(o.company))])])]):t._e(),t._v(" "),"base"==o.module?e("el-descriptions-item",[t._v("负责人:"+t._s(o.principal))]):t._e(),t._v(" "),"pedigreeCompany"==o.module?e("el-descriptions-item",[t._v("法人:"+t._s(o.principal))]):t._e(),t._v(" "),"firm"==o.module?e("el-descriptions-item",[t._v("秘书长:"+t._s(o.principal))]):t._e(),t._v(" "),e("el-descriptions-item",{attrs:{"content-style":"overflow: hidden"}},[e("div",{staticClass:"flex line-1"},["talent"==o.module?e("span",[t._v("研究领域:")]):"base"==o.module?e("span",[t._v("基地特色:")]):"university"==o.module||"association"==o.module?e("span",[t._v("研究方向:")]):"fund"==o.module?e("span",[t._v("投资产业领域:")]):"pedigreeCompany"==o.module?e("span",[t._v("主要产品:")]):"pedigree"==o.module?e("span",[t._v("个人简介:")]):e("span",[t._v("简介:")]),t._v(" "),e("span",{staticClass:"line-1"},[t._v(t._s(o.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(o.city)+t._s(o.address))])])])],1)],1)],1)],1)})),1)})),1)}),[],!1,null,"0b2dbd4c",null);e.default=component.exports},500:function(t,e,o){"use strict";o.r(e);var c={components:{},props:{img:{type:String},text:{type:String,default:"暂无数据"},imgStyle:{type:String,default:""}},methods:{}},n=(o(497),o(8)),component=Object(n.a)(c,(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},501:function(t,e,o){t.exports=o.p+"img/goods_null.38f1689.png"},502:function(t,e,o){var content=o(504);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(14).default)("0d4ee706",content,!0,{sourceMap:!1})},503:function(t,e,o){"use strict";o(502)},504:function(t,e,o){var c=o(13)((function(i){return i[1]}));c.push([t.i,".category[data-v-ce2cd446]{position:relative}.category .title[data-v-ce2cd446]{background:#dd4250;border-radius:0;box-sizing:border-box;color:#fff;flex:none;padding:12px 20px;width:160px}.category .category-con[data-v-ce2cd446]{box-shadow:0 2px 4px rgba(0,0,0,.1);cursor:pointer;height:440px;padding:10px 0;position:absolute;width:100%;z-index:999}.category .category-con .category-one[data-v-ce2cd446]{height:100%;overflow-y:auto}.category .category-con .category-one[data-v-ce2cd446]::-webkit-scrollbar{display:none}.category .category-con .category-one>li[data-v-ce2cd446]{border-bottom:1px solid hsla(0,0%,90%,.898)}.category .category-con .category-one>li>a[data-v-ce2cd446],.category .category-con .category-one>li>div[data-v-ce2cd446]{height:42px;padding:0 20px}.category .category-con .category-one>li.active>div[data-v-ce2cd446]{color:#dd4250;font-weight:700}.category .category-con .category-one .category-float[data-v-ce2cd446]{box-shadow:0 2px 4px rgba(0,0,0,.1);height:440px;left:160px;overflow-y:auto;padding:0 24px;position:absolute;top:0;width:880px}.category .category-con .category-one .category-float[data-v-ce2cd446]::-webkit-scrollbar{display:none}.category .category-con .category-one .category-float a[data-v-ce2cd446]:hover{color:#ff2c3c}.category .category-con .category-one .category-float .float-con .category-three[data-v-ce2cd446]{border-bottom:1px dashed hsla(0,0%,90%,.898)}.category .category-con .category-one .category-float .float-con .category-three .item[data-v-ce2cd446]{margin-bottom:20px;padding-right:10px;width:20%}.category .category-con .category-two[data-v-ce2cd446]{height:100%;overflow-y:auto}.category .category-con .category-two[data-v-ce2cd446]::-webkit-scrollbar{display:none}.category .category-con .category-two>li>a[data-v-ce2cd446],.category .category-con .category-two>li>div[data-v-ce2cd446]{height:42px;padding:0 20px}.category .category-con .category-two>li.active div[data-v-ce2cd446]{color:#dd4250;font-weight:700}.category .category-con .category-two .category-float[data-v-ce2cd446]{box-shadow:0 2px 4px rgba(0,0,0,.1);height:440px;left:160px;overflow-y:auto;padding:0 24px;position:absolute;top:0;width:880px}.category .category-con .category-two .category-float[data-v-ce2cd446]::-webkit-scrollbar{display:none}.category .category-con .category-two .category-float a[data-v-ce2cd446]:hover{color:#ff2c3c}.category .category-con .category-two .category-float .float-con .category-three[data-v-ce2cd446]{border-bottom:1px dashed hsla(0,0%,90%,.898)}.category .category-con .category-two .category-float .float-con .category-three .item[data-v-ce2cd446]{margin-bottom:20px;padding-right:10px;width:20%}",""]),c.locals={},t.exports=c},505:function(t,e,o){"use strict";o.r(e);var c=o(15),n=(o(65),o(29),o(12),o(30),o(26),o(39),o(21),o(40),o(16));function r(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(object);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,o)}return e}var l={data:function(){return{cateList:[],selectIndex:0,selectTowIndex:0,cateTwoList:[],cateThreeList:[],cateTwoId:0,showCate:!0,showCateFloat:!1,currentTab:0}},created:function(){},mounted:function(){},updated:function(){},methods:{changeActive:function(t){this.selectIndex=t,this.selectTowIndex=0,this.cateTwoList=this.cateList[this.selectIndex].children,this.cateThreeSet()},changeTwoActive:function(t){this.selectTowIndex=t,this.cateThreeSet(),console.log(this.selectTowIndex),this.$forceUpdate()},cateThreeSet:function(){this.cateTwoId=this.cateTwoList[this.selectTowIndex].id;var t=this.cateTwoList[this.selectTowIndex].children.slice();"全部"!=t[0].title&&t.unshift({type:1,pid:this.cateTwoId,title:"全部"}),this.currentTab=0,this.cateThreeList=t.filter((function(t,e){return 1==t.type})),this.cateThreeList.length>0&&this.$emit("chain",this.cateThreeList)}},watch:{$route:{immediate:!0,handler:function(t){this.showCate="/"==t.path}},category:{handler:function(t){this.cateList=t.slice(),this.cateList.length>0&&(this.cateTwoList=this.cateList[this.selectIndex].children,this.cateThreeSet())},immediate:!0,deep:!1}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?r(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):r(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(n.d)(["category"]))},d=l,h=(o(503),o(8)),component=Object(h.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"category"},[t._m(0),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.category.length&&t.showCate,expression:"category.length && showCate"}],staticClass:"category-con bg-white"},[e("ul",{staticClass:"category-one"},[t._l(t.cateList,(function(o,c){return e("li",{key:c,class:{active:c===t.selectIndex},on:{click:function(e){return t.changeActive(c)}}},[e("div",{staticClass:"flex row-between"},[e("span",{staticClass:"line-1"},[t._v(t._s(o.title))]),t._v(" "),o.children.length?e("i",{class:c===t.selectIndex?"el-icon-arrow-down":"el-icon-arrow-right"}):t._e()]),t._v(" "),e("ul",{directives:[{name:"show",rawName:"v-show",value:c===t.selectIndex,expression:"index === selectIndex"}],staticClass:"category-two"},t._l(t.cateTwoList,(function(o,c){return e("li",{key:c,class:{active:c===t.selectTowIndex},on:{click:function(e){return e.stopPropagation(),t.changeTwoActive(c)}}},[e("div",{staticClass:"flex row-center"},[e("span",{staticClass:"line-1"},[t._v(t._s(o.title))])])])})),0)])})),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showCateFloat&&t.cateTwoList.length,expression:"showCateFloat && cateTwoList.length"}],staticClass:"category-float bg-white"},[e("div",{staticClass:"float-con"},t._l(t.cateTwoList,(function(o,c){return e("div",{key:c,staticClass:"m-t-16"},[e("div",{staticClass:"category-two weight-500 m-b-15"},[e("nuxt-link",{attrs:{to:"/category?id=".concat(o.id)}},[t._v(t._s(o.title))])],1),t._v(" "),e("div",{staticClass:"category-three flex flex-wrap"},t._l(o.children,(function(o,c){return e("div",{key:c,staticClass:"item"},[e("nuxt-link",{staticClass:"flex",attrs:{to:"/category?id=".concat(o.id)}},[e("span",{staticClass:"m-l-8"},[t._v(t._s(o.title))])])],1)})),0)])})),0)])],2)])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"title",attrs:{type:"primary"}},[e("div",{staticClass:"flex lg"},[e("i",{staticClass:"el-icon-s-fold"}),t._v(" "),e("div",{staticClass:"m-l-8"},[t._v("人才图谱分类")])])])}],!1,null,"ce2cd446",null);e.default=component.exports},511:function(t,e,o){var content=o(525);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(14).default)("a35429ca",content,!0,{sourceMap:!1})},524:function(t,e,o){"use strict";o(511)},525:function(t,e,o){var c=o(13)((function(i){return i[1]}));c.push([t.i,".index :deep(.el-tabs__item:last-child){padding:0 20px}",""]),c.locals={},t.exports=c},533:function(t,e,o){"use strict";o.r(e);var c=o(5),n=(o(48),o(505)),r=o(499),l=(o(63),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},layout:"index",components:{Category:n.default,TalentsList:r.default},asyncData:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$get;case 1:case"end":return e.stop()}}),e)})))()},data:function(){return{chainList:[],cateTwoId:0,chainIndex:"0",chain:"",talentsList:[],page:1}},watch:{},created:function(){},mounted:function(){},updated:function(){},methods:{getChainList:function(t){this.chainList=t,this.cateTwoId=t[0].pid,this.chainIndex="0",this.setChain()},changeChain:function(t){this.chainIndex=t.index,this.setChain()},setChain:function(){this.chain=this.chainList[this.chainIndex].title,this.page=1,this.getTalents()},changePage:function(t){this.page=t,this.getTalents()},getTalents:function(){var t=this;return Object(c.a)(regeneratorRuntime.mark((function e(){var o,c,code,data,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={page_size:9,page_no:t.page,cid:t.cateTwoId,chain:t.chain},e.next=3,t.$get("article",{params:o});case 3:c=e.sent,code=c.code,data=c.data,n=c._meta,1==code&&(t.talentsList=data,t.count=n.totalCount);case 8:case"end":return e.stop()}}),e)})))()}}}),d=(o(524),o(8)),component=Object(d.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"index flex-1 flex col-top"},[e("category",{staticClass:"flex-none",on:{chain:t.getChainList}}),t._v(" "),e("div",{staticClass:"flex-1",staticStyle:{overflow:"auto"}},[e("el-tabs",{attrs:{stretch:!1},on:{"tab-click":t.changeChain},model:{value:t.chainIndex,callback:function(e){t.chainIndex=e},expression:"chainIndex"}},t._l(t.chainList,(function(t,o){return e("el-tab-pane",{key:o,attrs:{label:t.title}})})),1),t._v(" "),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:o(501),text:"暂无数据~"}})],1)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Category:o(505).default,TalentsList:o(499).default,NullData:o(500).default})}}]);
|