PageSourceSearch

https://qzd-web-group-oss.qizhidao.com/pc/static/prod/-/c15a6da.js

js qizhidao.com collected 2026-10-02 07:25:13 UTC 302,137 bytes, 1 lines download raw bytes

1(this.webpackJsonp=this.webpackJsonp||[]).push([[44],{1006:function(e,t,n){},1008:function(e,t,n){},1009:function(e,t,n){},1050:function(e,t,n){},1051:function(e,t,n){},1052:function(e,t,n){},1053:function(e,t,n){},1054:function(e,t,n){},1055:function(e,t,n){},1056:function(e,t,n){},1057:function(e,t,n){},1058:function(e,t,n){},1059:function(e,t,n){},1061:function(e,t,n){"use strict";n(19),n(36),n(53);var i=n(8),a=(n(74),n(42),n(20),n(31),n(69),n(203),n(96),n(55),n(63),n(35),n(9)),r=(n(44),n(54),n(26));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var o={name:"TextScroll",props:{carousel:{type:Boolean,default:!1},placeholder:{type:String,default:"输入产品或项目名称,帮您找商机"}},data:function(){return{count:0,intervalId:null,playTime:5e3,list:[{id:0,value:this.placeholder}]}},computed:{scrollItem:function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.list[this.count])}},mounted:function(){},methods:{parseData:function(e){var t,n=this,i=e.map((function(e,t){return{id:t+1,value:e.words}}));(t=this.list).push.apply(t,Object(r.a)(i)),this.intervalId=setInterval((function(){n.getText()}),this.playTime)},getText:function(){var e=this.list.length;0!==e&&(this.count===e-1?this.count=0:this.count++)},getScrollItem:function(){return this.scrollItem}},beforeDestroy:function(){clearInterval(this.intervalId)}},c=(n(1400),n(13)),l=Object(c.a)(o,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"text-scroll"},[t("transition",{attrs:{name:"slide",mode:"out-in"}},[t("p",{key:this.scrollItem.id,staticClass:"text"},[this._v(this._s(this.placeholder))])])],1)}),[],!1,null,"5e57d266",null).exports,u=n(391),d=n(18),h=n(190),p=n.n(h),f=n(580),m=n(227);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b={name:"InputBox",props:{activeTab:String,value:{type:String,default:""},size:{type:String,default:"medium"},borderRadius:{type:String,default:"12px"},visible:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!1},clear:{type:Boolean,default:!1},placeholder:{type:String,default:""},listData:{type:Array,default:function(){return[]}},hisWordsList:{type:Array,default:function(){return[]}},hisViewList:{type:Array,default:function(){return[]}},status:{type:Object,default:function(){return{default:!0,loading:!1,error:!1,netWork:!0}}},isTop:{type:Boolean,default:!1}},components:{TextScroll:l,SearchSelect:f.a},data:function(){return{timmer:null,inputFlag:!1,inputVal:"",tradeTypeOptions:m.f}},computed:y(y({},Object(d.mapState)("search",["marketSearchKey"])),{},{searchType:{get:function(){return this.$store.state.search.searchType},set:function(e){this.$store.commit("search/setSearchType",e)}},inputStule:function(){var e=this.borderRadius,t=this.size,n=this.shadow,i=this.border;return{paddingLeft:"4px",borderRadius:e,borderBottomLeftRadius:!this.status.netWork&&this.visible||this.showBorder?"0":e,borderBottomRightRadius:!this.status.netWork&&this.visible||this.showBorder&&"small"===t?"0":e,boxShadow:n?"0 3px 12px 0 rgba(34,36,77,.04)":"none",border:i?"1px solid #dbe1f1":"none"}},showDefaultPlaceholder:function(){return this.status.netWork&&0===this.listData.length&&0===this.hisWordsList.length&&0===this.hisViewList.length&&!this.inputVal&&!this.isFocus},showBorder:function(){return this.status.netWork&&this.visible&&(this.listData.length&&this.inputVal.length||(this.hisWordsList.length||this.hisViewList.length)&&!this.inputVal)}}),watch:{value:function(e){this.inputVal=e||""},inputVal:function(e){this.updataValue(e)}},methods:{searchTypeChange:function(e){this.$emit("searchTypeChange",e)},inputStart:function(){this.inputFlag=!0},inputEnd:function(e){this.inputFlag=!1,this.inputDebounce(e.target.value)},inputEvent:function(e){this.inputFlag||this.inputDebounce(e.target.value)},inputDebounce:p()((function(e){this.updataValue(e)}),100),onClick:function(e){var t={type:this.inputVal?"input":"secret",value:""},n=this.$refs.TextScroll.getScrollItem(),i=n.id,a=n.value;t.value="click"===e?this.inputVal||0!==i&&a||"":this.inputVal,this.$emit("search",t),this.$refs.Input.blur(),this.clear&&this.updataValue("")},updataValue:function(e){Object(u.b)(Object(i.a)({},u.a,e)),this.$emit("update:value",e?e.trim():"")},updataVisible:function(e){this.$emit("update:visible",e)},onFocus:function(){this.updataVisible(!0),this.isFocus=!0},onBlur:function(){this.$refs.Input.blur(),this.updataVisible(!1),this.$nuxt.$emit("triggleNoActive"),this.isFocus=!1},clearInput:function(){this.inputValue="",this.$emit("clear"),this.$refs.Input.focus()}}},g=(n(1401),Object(c.a)(b,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-box",class:[{isTop:e.isTop}],style:e.inputStule},[e.isTop?n("SearchSelect",{staticClass:"search-select__wrapper",attrs:{multiple:!1,asMultiple:!0,options:e.tradeTypeOptions},on:{change:e.searchTypeChange},model:{value:e.searchType,callback:function(t){e.searchType=t},expression:"searchType"}}
1):e._e(),e._v(" "),n("TextScroll",e._b({directives:[{name:"show",rawName:"v-show",value:e.showDefaultPlaceholder||!e.visible&&!e.inputVal,expression:"showDefaultPlaceholder || (!visible && !inputVal)"}],ref:"TextScroll",staticClass:"TextScroll",attrs:{placeholder:e.placeholder}},"TextScroll",e.$attrs,!1)),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.inputVal,expression:"inputVal"}],ref:"Input",staticClass:"qzd-input",style:{"padding-left":"4"!==e.activeTab?"24px":"20px"},attrs:{type:"text",autocomplete:"off",maxlength:"30"},domProps:{value:e.inputVal},on:{focus:e.onFocus,blur:e.onBlur,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onClick("keyup")},input:[function(t){t.target.composing||(e.inputVal=t.target.value)},e.inputEvent],compositionstart:e.inputStart,compositionend:e.inputEnd}}),e._v(" "),n("div",{staticClass:"search-btn",class:["btn-"+e.size],on:{click:function(t){return t.stopPropagation(),e.onClick("click")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"delete",on:{click:function(t){return t.stopPropagation(),e.clearInput(t)}}}),e._v(" "),n("v-icon",{staticClass:"icon-search",attrs:{id:"icon-a-pub-sousuo-changgui3x"}})],1)],1)}),[],!1,null,"78db0fee",null)),w=g.exports;installComponents(g,{VIcon:n(143).default});var _=n(287),O={name:"AssociationList",props:{visible:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!1},keyword:{type:String,default:""},width:{type:String,default:"calc(100% - 70px)"},listData:{type:Array,default:function(){return[]}},hisWordsList:{type:Array,default:function(){return[]}},hisViewList:{type:Array,default:function(){return[]}},matchList:{type:Array,default:function(){return[]}},enterpriseList:{type:Array,default:function(){return[]}},status:{type:Object,default:function(){return{default:!0,loading:!1,error:!1,netWork:!0}}},placeholder:{type:Object,default:function(){return{default:"请输入项目名称、关键词,帮您找商机",emptyNetWork:"网络不畅,请稍后重试"}}}},computed:{showList:function(){return!this.status.error&&this.listData.length&&this.status.netWork},showDefaultPlaceholder:function(){return this.status.default&&this.status.netWork&&!this.listData.length&&!this.showHistoryWord&&!this.showHisViewList},showHistoryWord:function(){return this.hisWordsList.length&&this.keyword.length<1&&this.status.netWork},showHisViewList:function(){return this.hisViewList.length&&this.keyword.length<1&&this.status.netWork},showDefaultTxt:function(){return this.status.netWork&&this.visible&&(this.listData.length&&this.keyword.length||(this.hisWordsList.length||this.hisViewList.length)&&!this.keyword)},listStyle:function(){var e=this.width,t=this.shadow;return{width:e,border:!this.border||!this.showDefaultTxt&&this.status.netWork?"none":"1px solid #dbe1f1",boxShadow:t?"0 10px 12px 0 rgba(0, 4, 84, 0.1)":"none"}}},methods:{clickListItem:function(e){this.$emit("clickListItem",e)},clickHisItem:function(e){this.$emit("clickHisItem",e)},clickHisWord:function(e){this.$emit("clickHisWord",e)},clearHistory:function(){this.$emit("clearHistory",!0)},listTemplate:function(e){var t=e.tradeType,n=e.title,i=Object(_.a)(n,this.matchList),a='</span><span class="tag">'.concat(t,"</span>");return t?i+a:i}}},k=(n(1402),Object(c.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"},{name:"loading",rawName:"v-loading",value:e.status.loading,expression:"status.loading"}],staticClass:"association-list",style:e.listStyle},[n("div",{staticClass:"history-list"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showHistoryWord,expression:"showHistoryWord"}],staticClass:"history-word"},e._l(e.hisWordsList,(function(t){return n("li",{key:t,staticClass:"tag",on:{mousedown:function(n){return e.clickHisWord(t)}}},[e._v(e._s(t))])})),0),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showHisViewList,expression:"showHisViewList"}],staticClass:"history-records-list"},e._l(e.hisViewList,(function(t){return n("li",{staticClass:"records-item",on:{mousedown:function(n){return e.clickHisItem(t)}}},[n("v-icon",{staticClass:"history-icon",attrs:{id:"icon-zuijinsousuo"}}),e._v(" "),n("p",{staticClass:"text"},[e._v(e._s(t.title))])],1)})),0),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showHistoryWord||e.showHisViewList,expression:"showHistoryWord || showHisViewList"}],staticClass:"deltet-btn",on:{mousedown:e.clearHistory}},[n("v-icon",{staticClass:"delete-icon",attrs:{id:"icon-lishijilushanchu"}}),e._v(" "),n("p",[e._v("删除历史")])],1)]),e._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!e.status.netWork,expression:"!status.netWork"}],staticClass:"placeholder"},[e._v(e._s(e.placeholder.emptyNetWork))]),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showList&&e.keyword.length,expression:"showList && keyword.length"}],class:["list",{singleLength:1===e.listData.length}]},e._l(e.listData,(function(t,i){return n("li",{key:i},[e._t("listItem",[n("div",{staticClass:"list-item",on:{mousedown:function(n){return e.clickListItem(t)}}},[n("div",{staticClass:"left-part"},[n("p",{staticClass:"text",domProps:{innerHTML:e._s(e.listTemplate(t))}})])])],null,t)],2)})),0),e._v(" "),e._t("default")],2)}),[],!1,null,"0cc35e8e",null)),S=k.exports;installComponents(k,{VIcon:n(143).default});var C=n(193),j=n(368),x=n(229);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?D(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P={name:"InputAssociation",props:{type:{type:String,default:"market"},size:{type:String,default:"medium"},width:{type:String,default:"100%"},height:{type:String,default:"50px"},slotTemplateRender:{type:Function}},components:{InputBox:w,AssociationList:S},data:function(){return{inputValue:"",visible:!1,matchList:[],listData:[],hisWordsList:[],hisViewList:[],associationStatus:{default:!0,loading:!0,empty:!1,error:!1,netWork:!0},tradeInputPlaceholderMap:m.c}},computed:T(T({},Object(d.mapState)("search",["searchType"])),{},{inputPlaceholder:function(){return this.tradeInputPlaceholderMap[this.searchType||"1"]},placeholder:function(){return{placeholder:"输入产品或项目名称,帮您找商机",default:"请输入项目名称、关键词,帮您找商机",empty:"温馨提示:暂无相关数据,试试换个关键词",emptyNetWork:"温馨提示:网络不畅,请稍后重试"}},inputHeight:function(){return"small"===this.size?"38px":"50px"},listWidth:function(){return"small"===this.size?"100%":"calc(100% - 70px)"}},Object(d.mapGetters)({userInfo:"user/userInfo",searchWord:"search/marketSearchKey"})),watch:{inputValue:function(e,t){e!==t&&(this.SET_MARKETSEARCHKEY(e),this.$emit("inputEvent",e),this.validate(e)?this.throttleGetSearchData(e):!e&&this.visible&&this.queryHistory())},visible:function(e){e&&(this.$emit("inputFocus",e),this.inputValue||this.queryHistory(),this.inputValue.length>=2&&!this.associationStatus.loading&&this.throttleGetSearchData(this.inputValue))},searchWord:function(e){this.inputValue=e||""}},mounted:function(){this.throttleGetSearchData=Object(x.throttle)(500,this.getSearchData);var e=(this.$route.query||{}).keyWord;this.inputValue=e||""},methods:T(T({},Object(d.mapMutations)("search",["SET_MARKETSEARCHKEY"])),{},{getListTemplate:function(e){return t=e,n=this.matchList,i=t.title,Object(_.a)(i,n);var t,n,i},validate:function(e){return!!e||(this.listData=[],this.changeStatus("default",!0),this.changeStatus("empty",!1),this.changeStatus("error",!1),!1)},changeStatus:function(e,t){this.associationStatus[e]=t},getSearchData:function(e){var t=this;return Object(a.a)(regeneratorRuntime.mark((function n(){var i,a,r,s,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e&&!(e.length<2)){n.next=2;break}return n.abrupt("return");case 2:return t.changeStatus("loading",!0),n.next=5,Object(j.a)();case 5:if(n.sent){n.next=12;break}return t.listData=[],t.changeStatus("netWork",!1),t.changeStatus("loading",!1),t.changeStatus("default",!1),n.abrupt("return");case 12:return t.changeStatus("netWork",!0),t.changeStatus("default",!0),n.next=16,t.$axios(Object(C.f)({prefix:e,size:10,serverName:m.b[t.searchType]||"sale"}));case 16:if(i=n.sent,a=i.data,r=void 0===a?[]:a,s=i.equity,o=void 0===s?[]:s,c=i.success,t.changeStatus("default",!1),t.changeStatus("loading",!1),c){n.next=28;break}return t.changeStatus("empty",!0),t.changeStatus("error",!0),n.abrupt("return");case 28:t.changeStatus("error",!1),t.inputValue===e&&(t.listData=r||[],t.matchList=o||[],t.changeStatus("empty",0===t.listData.length));case 30:case"end":return n.stop()}}),n)})))()},queryHistory:function(){var e=this;return Object(a.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.changeStatus("loading",!0),t.next=3,Object(j.a)();case 3:if(t.sent){t.next=11;break}return e.hisWordsList=[],e.hisViewList=[],e.changeStatus("netWork",!1),e.changeStatus("loading",!1),e.changeStatus("default",!1),t.abrupt("return");case 11:e.changeStatus("netWork",!0),e.changeStatus("default",!0),Promise.allSettled([e.queryHisWords(),e.queryHisViewList()]).then((function(t){t.filter((function(e){return"fulfilled"===e.status})).forEach((function(t){var n=t.value,i=n.key,a=n.data;i&&(e[i]=a)}))})).finally((function(){e.changeStatus("loading",!1)}));case 14:case"end":return t.stop()}}),t)})))()},queryHisWords:function(){var e=this;return Object(a.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(C.c)(5,e.$store.state.search.searchType));case 2:return n=t.sent,i=n.success,a=n.data,i&&(e.hisWordsList=a||[]),t.abrupt("return",{key:"hisWordsList",data:e.hisWordsList});case 7:case"end":return t.stop()}}),t)})))()},queryHisViewList:function(){var e=this;return Object(a.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(C.g)({current:1,pageSize:5,tradeType:e.$store.state.search.searchType}));case 2:return n=t.sent,i=n.success,a=n.data,i&&a&&(e.hisViewList=(null==a?void 0:a.records)||[]),t.abrupt("return",{key:"hisViewList",data:e.hisViewList});case 7:case"end":return t.stop()}}),t)})))()},clickListItem:function(e){this.inputValue=e.title,this.$emit("clickListItem",e,this.inputValue,this.listData)},clickHisItem:function(e){this.$emit("clickHisItem",e,this.inputValue)},clickHisWord:function(e){this.inputValue=e,this.$emit("clickHisWord",e,this.inputValue)},clearHistory:function(){var e=this;this.$axios(Object(C.j)({tradeType:this.$store.state.search.searchType})).then((function(t){t.success&&(e.hisWordsList=[])})),this.$axios(Object(C.b)({ids:[],isAll:!0,tradeType:this.$store.state.search.searchType})).then((function(t){t.success&&(e.hisViewList=[])}))},onSearchBtnClick:function(e){var t=e.value,n=e.type,i=e.selectVal,a=void 0===i?"":i;t.length<2?this.$message.warning("请输入2个字及以上关键词"):this.$emit("onSearchBtnClick",{value:t.trim(),type:n,selectVal:a})},onClear:function(){this.inputValue="",this.SET_MARKETSEARCHKEY(""),this.$emit("clear")},onAssignment:function(e){this.inputValue=e||"",this.onSearchBtnClick({value:e,type:"input"})}})};n(1403);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?L(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var I={name:"CompanySearch",components:{InputAssociation:Object(c.a)(P,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-association",style:{width:e.width,height:e.inputHeight}},[n("InputBox",e._b({ref:"inputBoxRef",attrs:{size:e.size,placeholder:e.inputPlaceholder,value:e.inputValue,visible:e.visible,status:e.associationStatus,listData:e.listData,hisWordsList:e.hisWordsList,hisViewList:e.hisViewList},on:{"update:value":function(t){e.inputValue=t},"update:visible":function(t){e.visible=t},search:e.onSearchBtnClick,clear:e.onClear,searchTypeChange:function(t){return e.$emit("searchTypeChange",t)}}},"InputBox",e.$attrs,!1)),e._v(" "),n("AssociationList",e._b({ref:"AssociationList",attrs:{width:e.listWidth,visible:e.visible,keyword:e.inputValue,status:e.associationStatus,placeholder:e.placeholder,listData:e.listData,hisWordsList:e.hisWordsList,hisViewList:e.hisViewList,matchList:e.matchList},on:{"update:visible":function(t){e.visible=t},clickListItem:e.clickListItem,clickHisItem:e.clickHisItem,clickHisWord:e.clickHisWord,clearHistory:e.clearHistory},scopedSlots:e._u([{key:"listItem",fn:function(t){return[n("div",{staticClass:"list-item",domProps:{innerHTML:e._s(e.getListTemplate(t))},on:{mousedown:function(n){return e.clickListItem(t)}}})]}}])},"AssociationList",e.$attrs,!1))],1)}),[],!1,null,"5d398348",null).exports},data:function(){return{source:"输入产品或项目名称,帮您找商机",searchMode:"输入搜索"}},props:{isHearder:{type:Boolean,default:!1}},computed:E(E({},Object(d.mapGetters)({userInfo:"user/userInfo"})),Object(d.mapState)("search",["searchType"])),methods:{onSearchBtnClick:function(e){var t=e.value;e.type;this.searchMode="输入搜索",this.$store.dispatch("search/setMarketSearchKey",t),this.nextChange(t),this.isHearder&&this.$nuxt.$emit("resultSearch",{searchKey:t,searchMode:this.searchMode})},nextChange:function(e){this.$emit("change",{searchKey:e,searchMode:this.searchMode})},clickHisWord:function(e,t){this.searchMode="历史搜索",this.$emit("change",{searchKey:e,searchMode:this.searchMode}),this.isHearder&&this.$nuxt.$emit("resultSearch",{searchKey:e,searchMode:this.searchMode})},clickHisItem:function(e){var t="/market/detail/".concat(null==e?void 0:e.intentionId,"?tradeType=").concat(this.searchType);window.open("".concat(window.location.origin).concat(t))},clickListItem:function(e,t,n){this.searchMode="联想搜索";var i=e.title;this.$emit("change",{searchKey:i,searchMode:this.searchMode}),this.isHearder&&this.$nuxt.$emit("resultSearch",{searchKey:i,searchMode:this.searchMode})},onClear:function(){this.$emit("clear")},searchTypeChange:function(e){this.isHearder&&this.$route.path.includes("/market/result")&&this.$nuxt.$emit("resultSearch",{tradeType:e,searchMode:""})}}},$=Object(c.a)(I,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("InputAssociation",e._b({ref:"InputAssociation",attrs:{carousel:""},on:{onSearchBtnClick:e.onSearchBtnClick,clickHisWord:e.clickHisWord,clickHisItem:e.clickHisItem,clickListItem:e.clickListItem,inputEvent:function(t){return e.$emit("inputEvent",t)},clear:e.onClear,searchTypeChange:e.searchTypeChange}},"InputAssociation",e.$attrs,!1))}),[],!1,null,"54c253ae",null);t.a=$.exports},1063:function(e,t,n){"use strict";n(36),n(53);var i=n(8),a=n(1071),r=n.n(a),s=n(743),o=n(18);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var l={data:function(){return{picUrl:r.a,showButton:!0,activeClass:"",markFocusButton:"",menuList:[{title:"订单待办",url:"backlog"},{title:"专利待办",url:"patent"}],patentList:[{title:"我的案件列表",url:"manage"},{title:"我的申请资料",url:"holder"}]}},mounted:function(){this.checkUserAuth(),this.juageSourceFn()},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(o.mapGetters)({userInfo:"user/userInfo",orderCount:"user/orderCount"})),methods:{checkUserAuth:function(){var e=this;this.$axios(Object(s.j)({})).then((function(t){e.showButton=t.data}))},juageSourceFn:function(){this.$route.path.includes("backlog")?(this.$emit("changeIframe","backlog"),this.activeClass="backlog"):(this.$emit("changeIframe","manage"),this.activeClass="manage")},pushClick:function(e){this.$emit("changeIframe",e),this.activeClass=e}}},u=(n(1425),n(13)),d=Object(u.a)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"left-box"},[n("div",{staticClass:"base-info"},[n("img",{attrs:{src:e.userInfo.headPortrait?e.userInfo.headPortrait:e.picUrl,alt:""}}),e._v(" "),n("div",{staticClass:"company"},[e._v(e._s(e.userInfo&&e.userInfo.companyModel&&e.userInfo.companyModel.companyName))]),e._v(" "),n("div",{staticClass:"username"},[e._v(e._s(e.userInfo&&e.userInfo.username)+",欢迎您!")])]),e._v(" "),n("div",{staticClass:"menu-list"},[n("div",{staticClass:"menu-li"},[n("div",{staticClass:"menu-li-title"},[e._v("我的待办")]),e._v(" "),n("ul",e._l(e.menuList,(function(t,i){return n("li",{key:i},[n("a",{class:{active:t.url===e.activeClass},on:{click:function(n){return e.pushClick(t.url)}}},[e._v("\n            "+e._s(t.title)+"\n            ")])])})),0),e._v(" "),n("div",{staticClass:"menu-li-title"},[e._v("专利管理")]),e._v(" "),n("ul",e._l(e.patentList,(function(t,i){return n("li",{directives:[{name:"show",rawName:"v-show",value:e.showButton||"/personal/manage"===t.url,expression:"showButton || menu.url === '/personal/manage'"}],key:i},[n("a",{class:{active:t.url===e.activeClass},on:{click:function(n){return e.pushClick(t.url)}}},[e._v("\n            "+e._s(t.title)+"\n            ")])])})),0)])])])}),[],!1,null,"2a6175a0",null);t.a=d.exports},1064:function(e,t,n){"use strict";n(44),n(62);var i=n(113),a={name:"image-upload",props:{limit:{type:Number,default:1},listType:{type:String,default:"picture-card"},fileList:{type:Array,default:function(){return[]}},defaultImgList:{type:Array,default:function(){return[]}},disabled:Boolean},model:{prop:"fileList",event:"change"},data:function(){return{files:[],dialogImageUrl:"",dialogVisible:!1}},methods:{clearFiles:function(){this.$refs.upload.clearFiles()},hanldeEmitFileList:function(){var e=this.$refs.upload.uploadFiles.map((function(e){return e.url}));this.$emit("change",e)},handleFileRemove:function(){this.hanldeEmitFileList()},handleBeforeUpload:function(e){return/^image\/(png|jpg|jpeg)$/i.test(e.type)?e.size>1048576?(this.$message.error("图片大小超过2M,请压缩后重新上传"),!1):void 0:(this.$message.error("请上传格式为JPG/JPEG/PNG的图片,格式大小不超过2M"),!1)},handleFileUpload:function(e){var t=this;if(!navigator.onLine)return this.$message.error("网络不畅,请稍后重试");var n=e.file;Object(i.a)(this.$axios,n).then((function(e){if(0===e.status){var n=e.data.downloadLocation||"",i=t.$refs.upload.uploadFiles.length;t.$refs.upload.uploadFiles[i-1].url=n,t.hanldeEmitFileList()}else t.$message({message:e.msg,type:"error",duration:2e3})}))},handleFileExceed:function(){this.$message.warning("最多上传".concat(this.limit,"张图片"))},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0}},watch:{defaultImgList:{handler:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.$nextTick((function(){e.files=t.map((function(e){return{url:e,uid:(new Date).getTime()}}))}))},immediate:!0,deep:!0},fileList:{handler:function(e){e.length||(this.files=[])},deep:!0}}},r=(n(1308),n(13)),s=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"image-upload"},[n("el-upload",{ref:"upload",attrs:{"file-list":e.files,"on-preview":e.handlePictureCardPreview,disabled:e.disabled,action:"","http-request":e.handleFileUpload,"before-upload":e.handleBeforeUpload,"on-remove":e.handleFileRemove,"on-exceed":e.handleFileExceed,limit:e.limit,"list-type":e.listType}},[n("i",{staticClass:"el-icon-plus"},[n("div",{staticClass:"el-icon-desc"},[e._v("上传图片")])])]),e._v(" "),n("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})]),e._v(" "),n("div",{staticClass:"upload-img-desc"},[e._v("点击浏览上传,支持jpg、jpeg、png。")])],1)}),[],!1,null,"5f9e1214",null);t.a=s.exports},1065:function(e,t,n){"use strict";var i={props:{keyvalue:String,businessCode:String,subTitle:String,className:String,size:{type:String,default:"large"},showClose:Boolean,haveRadius:{type:Boolean,default:!0},data:{type:Object,default:()=>({})},visible:{type:Boolean,default:!1},scrollHeight:{type:String,default:""},isLimitPage:{type:Boolean,default:!1}},data:()=>({prerogativeData:{}}),methods:{hanleButtonClick(){this.$emit("more"),window.open("https://kzone.qizhidao.com?goto=A6")},handleClose(){this.$emit("close")}}},a=(n(1536),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.visible?n("div",{staticClass:"ad",class:e.className},[n("PrerogativeNew2",{attrs:{size:e.size,haveRadius:e.haveRadius,showClose:e.showClose,subTitle:e.subTitle,title:"您的使用总量已达上限",insertData:e.prerogativeData,scrollHeight:e.scrollHeight,apiParams:{featureCodes:e.keyvalue||e.data.featureCode?[e.keyvalue||e.data.featureCode]:[],featureCode:e.keyvalue||e.data.featureCode,businessCode:e.businessCode||"policy"}},on:{handleClose:e.handleClose,hanleButtonClick:e.hanleButtonClick}}
1)],1):e._e()}),[],!1,null,"857b6680",null);t.a=r.exports},1072:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=["110000","120000","500000","310000"]},1122:function(e,t,n){"use strict";n(32),n(274),n(42),n(36),n(50),n(44),n(59),n(62),n(31),n(53),n(65),n(77),n(55),n(54);var i=n(26),a=n(14),r=n(462),s=n.n(r),o=n(116),c=n(306),l=n(578),u=n(1062),d=n(385),h={props:{appendToBody:c.a.props.appendToBody,offset:c.a.props.offset,boundariesPadding:c.a.props.boundariesPadding,arrowOffset:c.a.props.arrowOffset},methods:c.a.methods,data:function(){return Object(d.a)({visibleArrow:!0},c.a.data)},beforeDestroy:c.a.beforeDestroy},p={timerange:"HH:mm:ss",yearrange:"yyyy"},f=["date","datetime","time","time-select","week","month","year","yearrange","daterange","monthrange","timerange","datetimerange","dates","quarter","quarterrange"],m=function(e,t){return"timestamp"===t?e.getTime():Object(o.a)(e,t)},v=function(e,t){return"timestamp"===t?new Date(Number(e)):Object(o.h)(e,t)},y=function(e,t){return Object(o.a)(e,t)},b=function(e,t){var n=t.indexOf("yyyy"),i=t.indexOf("Q"),a=/yyyy/.test(t)?e.substring(n,n+4):(new Date).getFullYear(),r=e.substring(i,i+1);return new Date(a,3*(r-1)+1)},g={default:{formatter:function(e){return e?""+e:""},parser:function(e){return void 0===e||""===e?null:e}},week:{formatter:function(e,t){var n=Object(o.c)(e),i=e.getMonth(),a=new Date(e);1===n&&11===i&&(a.setHours(0,0,0,0),a.setDate(a.getDate()+3-(a.getDay()+6)%7));var r=Object(o.a)(a,t);return r=/WW/.test(r)?r.replace(/WW/,n<10?"0"+n:n):r.replace(/W/,n)},parser:function(e,t){var n=t.indexOf("yyyy"),i=t.includes("W")?t.indexOf("W"):t.indexOf("WW"),a=/yyyy/.test(t)?e.substring(n,n+4):(new Date).getFullYear(),r=isNaN(e.substring(i,i+2))?e.substring(i,i+1):e.substring(i,i+2),s=new Date(a).getTime()+7*r*24*60*60*1e3;return new Date(s)}},yearrange:{formatter:function(e,t){if(Array.isArray(e)&&2===e.length){var n=e[0],i=e[1];if(n&&i)return[m(n,t),m(i,t)]}return""},parser:function(e,t,n){if(Array.isArray(e)||(e=e.split(n)),2===e.length){var i=e[0],a=e[1];return[v(i,t),v(a,t)]}return[]}},number:{formatter:function(e){return e?""+e:""},parser:function(e){var t=Number(e);return isNaN(e)?null:t}},dates:{formatter:function(e,t){return e.map((function(e){return m(e,t)}))},parser:function(e,t){return("string"==typeof e?e.split(", "):e).map((function(e){return e instanceof Date?e:v(e,t)}))}},quarter:{formatter:y,parser:b},quarterrange:{formatter:function(e,t){if(Array.isArray(e)&&2===e.length){var n=e[0],i=e[1];if(n&&i)return[y(n,t),y(i,t)]}return""},parser:function(e,t){if(Array.isArray(e)&&2===e.length){var n=e[0],i=e[1];if(n&&i)return[b(n,t),b(i,t)]}return""}}},w={left:"bottom-start",center:"bottom",right:"bottom-end"},_=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"-";if(!e)return null;var a=(g[n]||g.default).parser,r=t||p[n];return a(e,r,i)},O=function(e,t,n){return e?(0,(g[n]||g.default).formatter)(e,t||p[n]):null},k=function(e,t){var n=function(e,t){var n=e instanceof Date,i=t instanceof Date;return n&&i?e.getTime()===t.getTime():!n&&!i&&e===t},i=Array.isArray(e),a=Array.isArray(t);return i&&a?e.length===t.length&&e.every((function(e,i){return n(e,t[i])})):!i&&!a&&n(e,t)},S=function(e){return"string"==typeof e||e instanceof String},C=function(e){return null==e||S(e)||Array.isArray(e)&&2===e.length&&e.every(S)},j={mixins:[l.a,h],inject:{elForm:{default:""},elFormItem:{default:""}},props:{size:String,format:String,valueFormat:String,readonly:Boolean,placeholder:String,startPlaceholder:String,endPlaceholder:String,prefixIcon:String,clearIcon:{type:String,default:"el-icon-circle-close"},name:{default:"",validator:C},disabled:Boolean,clearable:{type:Boolean,default:!0},id:{default:"",validator:C},popperClass:String,editable:{type:Boolean,default:!0},align:{type:String,default:"left"},value:{},defaultValue:{},defaultTime:{},rangeSeparator:{default:"-"},pickerOptions:{},unlinkPanels:Boolean,validateEvent:{type:Boolean,default:!0}},components:{ElInput:u.a},directives:{Clickoutside:s.a},data:function(){return{pickerVisible:!1,showClose:!1,userInput:null,valueOnOpen:null,unwatchPickerOptions:null}},watch:{pickerVisible:function(e){this.readonly||this.pickerDisabled||(e?(this.showPicker(),this.valueOnOpen=Array.isArray(this.value)?Object(i.a)(this.value):this.value):(this.hidePicker(),this.emitChange(this.value),this.userInput=null,this.validateEvent&&this.dispatch("ElFormItem","el.form.blur"),this.$emit("blur",this),this.blur()
1))},parsedValue:{immediate:!0,handler:function(e){this.picker&&(this.picker.value=e)}},defaultValue:function(e){this.picker&&(this.picker.defaultValue=e)},value:function(e,t){k(e,t)||this.pickerVisible||!this.validateEvent||this.dispatch("ElFormItem","el.form.change",e)}},computed:{ranged:function(){return this.type.includes("range")},reference:function(){var e=this.$refs.reference;return e.$el||e},refInput:function(){return this.reference?[].slice.call(this.reference.querySelectorAll("input")):[]},valueIsEmpty:function(){var e=this.value;if(Array.isArray(e)){for(var t=0,n=e.length;t<n;t++)if(e[t])return!1}else if(e)return!1;return!0},triggerClass:function(){return this.prefixIcon||(this.type.includes("time")?"el-icon-time":"el-icon-date")},selectionMode:function(){return"week"===this.type?"week":"month"===this.type?"month":"year"===this.type?"year":"dates"===this.type?"dates":"quarter"===this.type?"quarter":"day"},haveTrigger:function(){return void 0!==this.showTrigger?this.showTrigger:f.includes(this.type)},displayValue:function(){var e=O(this.parsedValue,this.format,this.type,this.rangeSeparator);return Array.isArray(this.userInput)?[this.userInput[0]||e&&e[0]||"",this.userInput[1]||e&&e[1]||""]:null!==this.userInput?this.userInput:e||""},parsedValue:function(){return this.value?Object(o.e)(this.value)||Array.isArray(this.value)&&this.value.every(o.e)?this.value:this.valueFormat?_(this.value,this.valueFormat,this.type,this.rangeSeparator)||this.value:Array.isArray(this.value)?this.value.map((function(e){return new Date(e)})):new Date(this.value):this.value},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},pickerSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},pickerDisabled:function(){return this.disabled||(this.elForm||{}).disabled},firstInputId:function(){var e,t={};return(e=this.ranged?this.id&&this.id[0]:this.id)&&(t.id=e),t},secondInputId:function(){var e,t={};return this.ranged&&(e=this.id&&this.id[1]),e&&(t.id=e),t}},created:function(){this.popperOptions={boundariesPadding:0,gpuAcceleration:!1},this.placement=w[this.align]||w.left,this.$on("fieldReset",this.handleFieldReset)},methods:{focus:function(){this.ranged?this.handleFocus():this.$refs.reference.focus()},blur:function(){this.refInput.forEach((function(e){return e.blur()}))},parseValue:function(e){var t=Object(o.e)(e)||Array.isArray(e)&&e.every(o.e);return this.valueFormat&&!t&&_(e,this.valueFormat,this.type,this.rangeSeparator)||e},formatToValue:function(e){var t=Object(o.e)(e)||Array.isArray(e)&&e.every(o.e);return this.valueFormat&&t?O(e,this.valueFormat,this.type,this.rangeSeparator):e},parseString:function(e){var t=Array.isArray(e)?this.type:this.t
vendor: 4,458 bytes, line 1
1ype.replace("range","");return _(e,this.format,t)},formatToString:function(e){var t=Array.isArray(e)?this.type:this.type.replace("range","");return O(e,this.format,t)},handleMouseEnter:function(){this.readonly||this.pickerDisabled||!this.valueIsEmpty&&this.clearable&&(this.showClose=!0)},handleChange:function(){if(this.userInput){var e=this.parseString(this.displayValue);e&&(this.picker.value=e,this.isValidValue(e)&&(this.emitInput(e),this.userInput=null))}""===this.userInput&&(this.emitInput(null),this.emitChange(null),this.userInput=null)},handleStartInput:function(e){this.userInput?this.userInput=[e.target.value,this.userInput[1]]:this.userInput=[e.target.value,null]},handleEndInput:function(e){this.userInput?this.userInput=[this.userInput[0],e.target.value]:this.userInput=[null,e.target.value]},handleStartChange:function(e){var t=this.parseString(this.userInput&&this.userInput[0]);if(t){this.userInput=[this.formatToString(t),this.displayValue[1]];var n=[t,this.picker.value&&this.picker.value[1]];this.picker.value=n,this.isValidValue(n)&&(this.emitInput(n),this.userInput=null)}},handleEndChange:function(e){var t=this.parseString(this.userInput&&this.userInput[1]);if(t){this.userInput=[this.displayValue[0],this.formatToString(t)];var n=[this.picker.value&&this.picker.value[0],t];this.picker.value=n,this.isValidValue(n)&&(this.emitInput(n),this.userInput=null)}},handleClickIcon:function(e){this.readonly||this.pickerDisabled||(this.showClose?(this.valueOnOpen=this.value,e.stopPropagation(),this.emitInput(null),this.emitChange(null),this.showClose=!1,this.picker&&"function"==typeof this.picker.handleClear&&this.picker.handleClear()):this.pickerVisible=!this.pickerVisible)},handleClose:function(){this.pickerVisible&&(this.pickerVisible=!1)},handleFieldReset:function(e){this.userInput=""===e?null:e},handleFocus:function(){var e=this.type;f.includes(e)&&!this.pickerVisible&&(this.pickerVisible=!0),this.$emit("focus",this)},handleKeydown:function(e){var t=this,n=e.keyCode;return 27===n?(this.pickerVisible=!1,void e.stopPropagation()):9!==n?13===n?((""===this.userInput||this.isValidValue(this.parseString(this.displayValue)))&&(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur()),void e.stopPropagation()):void(this.userInput?e.stopPropagation():this.picker&&this.picker.handleKeydown&&this.picker.handleKeydown(e)):void(this.ranged?setTimeout((function(){t.refInput.includes(document.activeElement)||(t.pickerVisible=!1,t.blur(),e.stopPropagation())}),0):(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur(),e.stopPropagation()))},handleRangeClick:function(){var e=this.type;f.includes(e)&&!this.pickerVisible&&(this.pickerVisible=!0),this.$emit("focus",this)},hidePicker:function(){this.picker&&(this.picker.resetView&&this.picker.resetView(),this.pickerVisible=this.picker.visible=!1,this.destroyPopper())},showPicker:function(){var e=this;this.$isServer||(this.picker||this.mountPicker(),this.pickerVisible=this.picker.visible=!0,this.updatePopper(),this.picker.value=this.parsedValue,this.picker.resetView&&this.picker.resetView(),this.$nextTick((function(){e.picker.adjustSpinners&&e.picker.adjustSpinners()})))},mountPicker:function(){var e=this;this.picker=new a.default(this.panel).$mount(),this.picker.defaultValue=this.defaultValue,this.picker.defaultTime=this.defaultTime,this.picker.popperClass=this.popperClass,this.popperElm=this.picker.$el,this.picker.width=this.reference.getBoundingClientRect().width,this.picker.showTime=!1,this.picker.selectionMode=this.selectionMode,this.picker.unlinkPanels=this.unlinkPanels,this.picker.arrowControl=this.arrowControl||this.timeArrowControl||!1,this.$watch("format",(function(t){e.picker.format=t}));var t=function(){var t=e.pickerOptions;if(t&&t.selectableRange){var n=t.selectableRange,i=g.datetimerange.parser,a=p.timerange;n=Array.isArray(n)?n:[n],e.picker.selectableRange=n.map((function(t){return i(t,a,e.rangeSeparator)}))}for(var r in t)t.hasOwnProperty(r)&&"selectableRange"!==r&&(e.picker[r]=t[r]);e.format&&(e.picker.format=e.format)};t(),this.unwatchPickerOptions=this.$watch("pickerOptions",(function(){return t()}),{deep:!0}),this.$el.appendChild(this.picker.$el),this.picker.resetView&&this.picker.resetView(),this.picker.$on("dodestroy",this.doDestroy),this.picker.$on("pick",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];
1e.userInput=null,e.pickerVisible=e.picker.visible=n,e.emitInput(t),e.picker.resetView&&e.picker.resetView()})),this.picker.$on("select-range",(function(t,n,i){0!==e.refInput.length&&(i&&"min"!==i?"max"===i&&(e.refInput[1].setSelectionRange(t,n),e.refInput[1].focus()):(e.refInput[0].setSelectionRange(t,n),e.refInput[0].focus()))}))},unmountPicker:function(){this.picker&&(this.picker.$destroy(),this.picker.$off(),"function"==typeof this.unwatchPickerOptions&&this.unwatchPickerOptions(),this.picker.$el.parentNode.removeChild(this.picker.$el))},emitChange:function(e){k(e,this.valueOnOpen)||(this.$emit("change",e),this.valueOnOpen=e,this.validateEvent&&this.dispatch("ElFormItem","el.form.change",e))},emitInput:function(e){var t=this.formatToValue(e);k(this.value,t)||this.$emit("input",t)},isValidValue:function(e){return this.picker||this.mountPicker(),!this.picker.isValidValue||e&&this.picker.isValidValue(e)}}},x=n(13),D=Object(x.a)(j,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.ranged?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor el-range-editor el-input__inner",class:["el-date-editor--"+e.type,e.pickerSize?"el-range-editor--"+e.pickerSize:"",e.pickerDisabled?"is-disabled":"",e.pickerVisible?"is-active":""],on:{click:e.handleRangeClick,mouseenter:e.handleMouseEnter,mouseleave:function(t){e.showClose=!1},keydown:e.handleKeydown}},[n("i",{class:["el-input__icon","el-range__icon",e.triggerClass]}),e._v(" "),n("input",e._b({staticClass:"el-range-input",attrs:{autocomplete:"off",placeholder:e.startPlaceholder,disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,name:e.name&&e.name[0]},domProps:{value:e.displayValue&&e.displayValue[0]},on:{input:e.handleStartInput,change:e.handleStartChange,focus:e.handleFocus}},"input",e.firstInputId,!1)),e._v(" "),e._t("range-separator",[n("span",{staticClass:"el-range-separator"},[e._v(e._s(e.rangeSeparator))])]),e._v(" "),n("input",e._b({staticClass:"el-range-input",attrs:{autocomplete:"off",placeholder:e.endPlaceholder,disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,name:e.name&&e.name[1]},domProps:{value:e.displayValue&&e.displayValue[1]},on:{input:e.handleEndInput,change:e.handleEndChange,focus:e.handleFocus}},"input",e.secondInputId,!1)),e._v(" "),e.haveTrigger?n("i",{staticClass:"el-input__icon el-range__close-icon",class:[e.showClose?""+e.clearIcon:""],on:{click:e.handleClickIcon}}):e._e()],2):n("el-input",e._b({directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor",class:"el-date-editor--"+e.type,attrs:{readonly:!e.editable||e.readonly,disabled:e.pickerDisabled,size:e.pickerSize,name:e.name,placeholder:e.placeholder,value:e.displayValue,validateEvent:!1},on:{focus:e.handleFocus,input:function(t){return e.userInput=t},change:e.handleChange},nativeOn:{keydown:function(t){return e.handleKeydown(t)},mouseenter:function(t){return e.handleMouseEnter(t)},mouseleave:function(t){e.showClose=!1}}},"el-input",e.firstInputId,!1),[n("i",{staticClass:"el-input__icon",class:e.triggerClass,attrs:{slot:"prefix"},on:{click:e.handleFocus},slot:"prefix"}),e._v(" "),e.haveTrigger?n("i",{staticClass:"el-input__icon",class:[e.showClose?""+e.clearIcon:""],attrs:{slot:"suffix"},on:{click:e.handleClickIcon},slot:"suffix"}):e._e()])],1)}),[],!1,null,null,null).exports,T=n(78),P=n(552),L=n(810),E=n(128),I=n(231),$={props:{defaultValue:{validator:function(e){return null===e||e instanceof Date&&Object(o.d)(e)}},date:{},value:{},year:{},minDate:{},maxDate:{},selectionMode:{default:"year"},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},computed:{startYear:function(){return 10*Math.floor(this.date.getFullYear()/10)}},methods:{disabledDate:function(e){var t=new Date;return e.getFullYear()>t.getFullYear()||e.getFullYear()<1970},getCellStyle:function(e){var t={},n=new Date;if(t.disabled="function"==typeof this.disabledDate&&function(e){var t=Object(o.b)(e),n=new Date(e,0,1
1);return Object(o.i)(t).map((function(e){return Object(o.g)(n,e)}))}(e).every(this.disabledDate),t.today=n.getFullYear()===e,t.default=this.defaultValue&&this.defaultValue.getFullYear()===e,"range"===this.selectionMode){var i=this.minDate,a=this.rangeState.endDate?this.rangeState.endDate:this.maxDate,r=[Math.min(i,a),Math.max(i,a)];i=r[0],a=r[1],t["start-date"]=e===i,t["end-date"]=i&&e===a,t["in-range"]=i&&e>=i&&e<=a}else t.current=Object(I.a)(Object(I.c)(this.value),(function(t){return t.getFullYear()===e}))>=0;return t},nextTenYear:function(){this.$emit("pick",Number(this.year)+10,!1)},prevTenYear:function(){this.$emit("pick",Number(this.year)-10,!1)},handleYearTableClick:function(e){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName&&!Object(E.c)(t,"disabled")){var n=Number(t.textContent||t.textContent);"range"===this.selectionMode?this.rangeState.selecting?(this.rangeState.selecting=!1,n>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:n}):this.$emit("pick",{minDate:n,maxDate:this.minDate})):(this.$emit("pick",{minDate:n,maxDate:null}),this.rangeState.selecting=!0,this.rangeState.endDate=null):this.$emit("pick",n)}},handleMouseMove:function(e){var t=e.target;if(this.rangeState.selecting&&("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName)){var n=t.parentNode.rowIndex,i=t.cellIndex;Object(E.c)(t.parentNode,"disabled")||n===this.lastRow&&i===this.lastColumn||this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:Number(t.textContent||t.textContent)},el:t})}}}},V=(n(1712),Object(x.a)($,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-year-table",on:{click:e.handleYearTableClick,mousemove:e.handleMouseMove}},[n("tbody",[n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+0)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear))])])]),e._v(" "),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+1)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+1))])])]),e._v(" "),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+2)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+2))])])]),e._v(" "),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+3)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+3))])])])]),e._v(" "),n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+4)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+4))])])]),e._v(" "),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+5)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+5))])])]),e._v(" "),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+6)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+6))])])]),e._v(" "),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+7)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+7))])])])]),e._v(" "),n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+8)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+8))])])]),e._v(" "),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+9)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+9))])])]),e._v(" "),n("td"),e._v(" "),n("td")])])])}),[],!1,null,"e08f44fa",null).exports),N=function(e){var t;return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?(t=new Date(e),[new Date(t),new Date(t.setFullYear(t.getFullYear()+10))]):(t=new Date,[new Date,new Date(t.setFullYear(t.getFullYear()+10))])},R={mixins:[L.a],directives:{Clickoutside:P.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting)},leftLabel:function(){var e=10*Math.floor(this.date.getFullYear()/10),t=this.t("el.datepicker.year");return e+" "+t+" - "+(e+9)+" "+t},rightLabel:function(){var e=10*Math.floor(this.rightDate.getFullYear()/10),t=this.t("el.datepicker.year");return e+" "+t+" - "+(e+9)+" "+t},leftYear:function(){return 10*Math.floor(this.date.getFullYear()/10)},rightYear:function(){return 10*Math.floor(this.rightDate.getFullYear()/10)},enableYearArrow:function(){return this.rightYear-10>this.leftYear}},data:function(){return{defaultTime:null,popperClass:"",defaultValue:null,date:N(this.defaultValue)[0],rightDate:N(this.defaultValue)[1],minDate:"",maxDate:"",rangeState:{endDate:null,selecting:!1},showTime:!1,shortcuts:"",value:"",visible:"",disabledDate:"",firstDayOfWeek:7,format:"",toolTipTop:0,toolTipLeft:0,unlinkPanels:!1,arrowControl:!1}},watch:{value:{handler:function(e){e?Array.isArray(e)&&(this.minDate=e[0]?Object(o.j)(e[0]).getFullYear():null,this.maxDate=e[1]?Object(o.j)(e[1]).getFullYear():null,this.date=new Date(this.minDate,0,1),this.rangeState.endDate=null):(this.minDate=null,this.maxDate=null)},immediate:!0},date:function(e){var t=new Date(e);(!this.unlinkPanels||t.getFullYear()+10>this.rightDate.getFullYear())&&(this.rightDate=new Date(t.setFullYear(t.getFullYear()+10)))},defaultValue:function(e){if(!Array.isArray(this.value)||!this.value.length){var t=N(e),n=Object(T.a)(t,2),i=n[0],a=n[1];this.date=i,this.unlinkPanels&&(this.rightDate=a)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.date=N(this.defaultValue)[0],this.handleConfirm(!1)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleRangePick:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.defaultTime||[],a=Object(o.f)(e.minDate,i[0]),r
1=Object(o.f)(e.maxDate,i[1]);this.maxDate===r&&this.minDate===a||(this.onPick&&this.onPick(e),this.maxDate=r,this.minDate=a,setTimeout((function(){t.maxDate=r,t.minDate=a}),10),n&&this.handleConfirm())},handleShortcutClick:function(e){e&&e.onClick&&e.onClick(this)},nextYear:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e||!this.unlinkPanels?this.date:this.rightDate;t.setFullYear(t.getFullYear()+10),this.resetDate()},prevYear:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?this.date:this.rightDate;t.setFullYear(t.getFullYear()-10),this.resetDate()},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.minDate&&this.maxDate&&this.$emit("pick",[new Date(this.minDate,0,1),new Date(this.maxDate,0,1)],e)},resetDate:function(){this.date=new Date(this.date),this.rightDate=new Date(this.rightDate)}},components:{yearTable:V}},H=Object(x.a)(R,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){return e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e._v(" "),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){return e.handleShortcutClick(t)}}},[e._v("\n          "+e._s(t&&t.text)+"\n        ")])})),0):e._e(),e._v(" "),n("div",{staticClass:"el-picker-panel__body"},[n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:function(t){return e.prevYear(!0)}}}),e._v(" "),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:function(t){return e.nextYear(!0)}}}):e._e(),e._v(" "),n("div",[e._v(e._s(e.leftLabel))])]),e._v(" "),n("year-table",{attrs:{date:e.date,"min-date":e.minDate,"max-date":e.maxDate,year:e.leftYear,"selection-mode":"range",rangeState:e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),e._v(" "),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:function(t){return e.prevYear(!1)}}}):e._e(),e._v(" "),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:function(t){return e.nextYear(!1)}}}),e._v(" "),n("div",[e._v(e._s(e.rightLabel))])]),e._v(" "),n("year-table",{attrs:{"min-date":e.minDate,"max-date":e.maxDate,date:e.rightDate,year:e.rightYear,"selection-mode":"range",rangeState:e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2)])])}),[],!1,null,null,null).exports,M={mixins:[D],name:"DatePicker",props:{type:{type:String,default:"date"},timeArrowControl:Boolean},watch:{type:function(e){this.picker?(this.unmountPicker(),this.panel=H,this.mountPicker()):this.panel=H}},created:function(){this.panel=H},install:function(e){e.component(M.name,M)}};t.a=M},1123:function(e,t,n){"use strict";n(62),n(19),n(44),n(32),n(31),n(65),n(54),n(35);var i=n(9),a=n(8),r=n(254),s=(n(42),n(20),n(69),n(55),n(63),n(783)),o=n(485),c={name:"view-search-inputassociation",props:{visible:{type:Boolean,default:!1},keyword:{default:""},type:{type:String,default:"mid"},shenceData:{type:Object,default:{}}},data:function(){return{searchHighNewWord:[],associativeWords:"",historyWordsData:[],hotWordsData:[],sugList:[],sugTotal:0,loading:!1,loadingTimer:null,loadingFail:!1,envState:{projectName:"qizhidaoPC",qzdDomain:"https://www.qizhidao.com"}}},created:function(){},mounted:function(){return Object(i.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},computed:{isGetSuglist:function(){return!this.keyword||this.keyword.length<2},hasSuglistData:function(){return this.sugList&&this.sugList.length}},watch:{keyword:function(e){e&&e.length>1?this.checkShopSearchSugWord():this.emptyKeywordInit()},visible:function(e){this.historyWordsData=[],this.hotWordsData=[],e&&this.emptyKeywordInit(e)}},methods:{checkSearchHistory:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:i=e.success,a=e.data,i&&(t.historyWordsData=a||[]);case 2:case"end":return n.stop()}}),n)})))()},checkSearchHot:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:i=e.success,a=e.data,i&&(t.hotWordsData=a||[]);case 2:case"end":return n.stop()}}),n)})))()},checkShopSearchSugWord:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a,s,o,c,l,u,d,h,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(r.e)(e.keyword));case 2:n=t.sent,i=n.success,a=n.data,s=a.records,o=void 0===s?[]:s,c=a.expansion4,l=void 0===c?[]:c,u=a.total,d=void 0===u?0:u,h=n.message,p=void 0===h?null:h,i?(e.loadingFail=!1,e.searchHighNewWord=l,e.sugList=o||[],e.sugTotal=d):/请求取消/g.test(p)||(e.loadingFail=!0);case 14:case"end":return t.stop()}}),t)})))()},emptyKeywordInit:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.keyword&&!(t.keyword.length<=1)){n.next=12;break}return e&&(t.loading=!0),t.loadingFail=!1,n.next=5,Promise.all([t.$axios(Object(r.c)()),t.$axios(Object(r.d)())]);case 5:a=n.sent,t.checkSearchHistory(a[0]),t.checkSearchHot(a[1]),(a[0].success||/请求取消/g.test(a[0].message))&&(null!==(i=a[1])&&void 0!==i&&i.success||/请求取消/g.test(a[1].message))?t.loadingFail=!1:t.loadingFail=!0,/请求取消/g.test(a[0].message)&&/请求取消/g.test(a[1].message)||setTimeout((function(){t.loading=!1}),200),n.next=13;break;case 12:t.keyword.length>1&&t.checkShopSearchSugWord();case 13:case"end":return n.stop()}}),n)})))()},toSearch:function(e,t,n){var a=this;return Object(i.a)(regeneratorRuntime.mark((function i(){var s;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,a.$axios(Object(r.j)(e));case 2:s="/shop/search/result?searchkey=".concat(encodeURIComponent(e),"&searchType=").concat(n,"&fromRoutePage=").concat(a.$route.name),"lianxiangci"===n&&a.shenceReportFn({sugList:a.sugList,index:t,keyword:e,sugTotal:a.sugTotal},n),"shop-search-result"===a.$route.name&&"qizhidaoPC"===a.envState.projectName?a.$route.query.searchkey===e?window.location.href=s:a.$router.push(s):window.location.href="".concat(a.envState.qzdDomain).concat(s);case 5:case"end":return i.stop()}}),i)})))()},shenceReportFn:function(e,t){if("lianxiangci"===t){var n=e.sugList,i=e.index,a=e.keyword,r={searchKey:this.keyword,pageOrder:i+1,list:{}};
1n.forEach((function(e,t){r.list[e.goodsName]=t+1}));var s={requirement_id:390,track_sign:"index"===this.$route.name?"aqzdsc.b3352.c3355.click.SC_EVENT_00079":"aqzdsc.b3061.c3357.d3360.click.SC_EVENT_00079",event:"SC_EVENT_00079",pageName:document.title,otherMsg:JSON.stringify(r),moduleName:"联想面板",buttonName:a,pageTitle:"index"===this.$route.name?"PC站首页":"PC商城搜索结果页"};this.shenceReport(s)}},wordFlagFn:function(e,t){return Object(s.b)(e,t)},clearHisAndView:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(r.a)());case 2:n=t.sent,n.success||e.emptyKeywordInit();case 5:case"end":return t.stop()}}),t)})))()},consultQiyv:function(){Object(o.a)({businessCode:"PY0001",typeId:2,sourceData:"PC231",cardOptions:{title:document.title,url:window.location.href}})}}},l=(n(1367),n(13)),u=Object(l.a)(c,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.visible?n("div",{class:["view-search-inputassociation","view-main-"+e.type]},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"content-box",style:{minHeight:e.loading?"108px":null}},[e.loading||!e.isGetSuglist||e.loadingFail?e.isGetSuglist||e.loadingFail?e.loadingFail?n("div",{staticClass:"loadFail"},[e._v("加载失败,请稍后重试")]):e._e():[e.hasSuglistData?n("div",{staticClass:"search-sugblk"},e._l(e.sugList,(function(t,i){return n("div",{key:t.goodsId,staticClass:"search-sugitem",on:{mousedown:function(n){return e.toSearch(t.goodsName,i,"lianxiangci")}}},[n("svg",{staticClass:"icon icon-search",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-a-pub-sousuo-changgui3x"}})]),e._v(" "),n("div",{staticClass:"content",domProps:{innerHTML:e._s(e.wordFlagFn(t.goodsName,e.searchHighNewWord))}})])})),0):e._e(),e._v(" "),e.hasSuglistData?e._e():n("div",{staticClass:"tips"},[n("div",{staticClass:"content"},[e._v("没有找到您想找的商品")]),e._v(" "),n("div",{staticClass:"button",on:{mousedown:e.consultQiyv}},[e._v("咨询客服 定制服务")])])]:[e.historyWordsData&&e.historyWordsData.length>0?n("div",{staticClass:"history-list"},[n("div",{staticClass:"title"},[e._v("\n          历史搜索\n          "),e.historyWordsData&&e.historyWordsData.length>0?n("div",{staticClass:"right-delete",on:{mousedown:e.clearHisAndView}},[n("svg",{staticClass:"icon-delete",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lishijilushanchu"}})]),e._v(" "),n("span",[e._v("清空")])]):e._e()]),e._v(" "),e.historyWordsData&&e.historyWordsData.length>0?n("div",{staticClass:"history-con"},e._l(e.historyWordsData,(function(t,i){return n("span",{key:i,on:{mousedown:function(n){return e.toSearch(t.word,i,"lishisousuo")}}},[e._v(e._s(t.word))])})),0):e._e()]):e._e(),e._v(" "),e.hotWordsData&&e.hotWordsData.length>0?n("div",{staticClass:"history-list"},[n("div",{staticClass:"title"},[e._v("热门搜索")]),e._v(" "),e.hotWordsData&&e.hotWordsData.length>0?n("div",{staticClass:"history-con"},e._l(e.hotWordsData,(function(t,i){return n("span",{key:i,on:{mousedown:function(n){return e.toSearch(t,i,"remensousuo")}}},[e._v(e._s(t))])})),0):e._e()]):e._e()]],2)]):e._e()}),[],!1,null,"393b016c",null).exports,d=n(113);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={components:{InputAssociation:u},props:{searchTxt:{type:String,default:"搜索"},placeholder:{type:String,default:"输入商品名称搜索商品"},type:{type:String,default:"mid"},width:{type:Number,default:465},searchTop:{type:Boolean,default:!1},searchKey:{type:String,default:""},viewerAdapted:{type:Boolean,default:!1}},data:function(){return{searchWord:this.searchKey,searchPlaceholder:"",searchDarkWordTimer:null,searchDarkWordIndex:null,searchDarkWordList:[],searchErrorTimer:null,visible:!1,focusScrollFinsh:!0,shenceData:null,envState:{projectName:"qizhidaoPC",qzdDomain:"https://www.qizhidao.com"}}},computed:{isLogin:function(){return Object(d.i)()}}
1,watch:{$route:function(e){"/shop/search/result"===e.path&&(this.searchWord=this.$route.query.searchkey)}},mounted:function(){var e=this;this.$bus.$on("saShopSearchReport",this.OnSaReport),this.searchPlaceholder=this.placeholder,"/shop/search/result"===this.$route.path&&(this.searchWord=this.$route.query.searchkey),this.$nextTick((function(){e.viewerAdapted&&window.addEventListener("scroll",e.handleScroll)}))},methods:{OnSaReport:function(e){this.shenceData=p(p({},{buttonName:"商城搜索框",moduleName:"商城搜索框"}),e)},checkShopSearchDarkword:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(r.b)());case 2:n=t.sent,i=n.success,a=n.data,i&&a&&a.length>0&&(s=a.map((function(e){return e.searchName})),setTimeout((function(){e.searchDarkWordList=s,e.searchPlaceholder=s[0],e.searchDarkWordIndex=0,e.changeSearchPlaceholder(s)}),3e3));case 6:case"end":return t.stop()}}),t)})))()},changeSearchPlaceholder:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;if(!this.searchDarkWordTimer){var i=n||this.searchDarkWordIndex||0;this.searchDarkWordTimer=setInterval((function(){e.searchPlaceholder=t[i],e.searchDarkWordIndex=i,i=i+1<t.length?i+1:0}),5e3)}},search:function(){this.searchFun()},searchFun:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.visible&&e.$refs.searchInput.blur(),!(!e.searchWord&&null===e.searchDarkWordIndex||e.searchWord&&/^\s*$/g.test(e.searchWord))){t.next=4;break}return e.$refs.searchInput.focus(),t.abrupt("return",!1);case 4:return n=(e.searchWord||e.searchDarkWordList[e.searchDarkWordIndex]).replace(/^\s*|\s*$/g,""),e.searchWord||(e.searchWord=n),t.next=8,e.$axios(Object(r.j)(n));case 8:i="/shop/search/result?searchkey=".concat(encodeURIComponent(n),"&searchType=shurusousuo&fromRoutePage=").concat(e.$route.name),"shop-search-result"===e.$route.name&&"qizhidaoPC"===e.envState.projectName?e.$route.query.searchkey===n?window.location.href=i:e.$router.push(i):window.location.href="".concat(e.envState.qzdDomain).concat(i);case 10:case"end":return t.stop()}}),t)})))()},searchFocus:function(){this.viewerAdapted&&this.scrollViewerAdapted(),this.searchDarkWordTimer&&(clearInterval(this.searchDarkWordTimer),this.searchDarkWordTimer=null),this.shenceData&&this.$store.commit("shence/PUSH_SA_DATA",this.shenceData),this.visible=!0,this.$emit("inputFocus")},searchBlur:function(){this.visible=!1},deletSearchKey:function(){this.searchWord=""},scrollViewerAdapted:function(){var e=this,t=this.$refs.searchInput.getBoundingClientRect(),n=t.top,i=t.bottom,a=document.documentElement.scrollTop,r=window.innerHeight,s=function(t){e.focusScrollFinsh=!1,window.scrollTo({top:t,behavior:"smooth"}),setTimeout((function(){e.focusScrollFinsh=!0}),1e3)};r>604?r-i<540&&n>=64?s(a+(n+540-r)):n<64&&s(a-(64-n)):s(a-(64-n))},handleScroll:function(){this.focusScrollFinsh&&this.$refs.searchInput.blur()}},destroyed:function(){var e;null===(e=this.$EventBus)||void 0===e||e.$off("saShopSearchReport"),this.viewerAdapted&&window.removeEventListener("scroll",this.handleScroll)}},m=(n(1368),{name:"compo-views-shop-header",components:{Search:Object(l.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["search-line","search-line-"+e.type,{"search-line-border":e.searchWord||e.visible,"search-line-shadow":e.visible}]},[n("div",{staticClass:"search-main",style:{borderBottomLeftRadius:e.visible?0:"",borderBottomRightRadius:e.visible?0:""}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.searchWord,expression:"searchWord"}],ref:"searchInput",attrs:{name:"shop-search",type:"text",maxlength:"50",placeholder:e.searchPlaceholder},domProps:{value:e.searchWord},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)},focus:e.searchFocus,blur:e.searchBlur,input:function(t){t.target.composing||(e.searchWord=t.target.value)}}}),e._v(" "),e.searchWord?n("svg",{staticClass:"icon icon-delete",attrs:{"aria-hidden":"true"},on:{click:e.deletSearchKey}},[n("use",{attrs:{"xlink:href":"#icon-sousuokuang-shanchu"}}
1)]):e._e(),e._v(" "),n("div",{staticClass:"icon-search-blk",on:{click:e.search}},[n("svg",{staticClass:"icon icon-search",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-a-pub-sousuo-changgui3x"}})])])]),e._v(" "),n("InputAssociation",{ref:"inputDropDown",staticClass:"input-dropdown-blk",attrs:{type:e.type,visible:e.visible,keyword:e.searchWord,shenceData:e.shenceData},on:{"update:visible":function(t){e.visible=t}}})],1)}),[],!1,null,"7449c76a",null).exports},props:{fixedTop:{type:Number,default:30},onScroll:{type:Boolean,default:!1}},data:function(){return{qzdDomain:"https://www.qizhidao.com",viewerAdapted:!1}},computed:{},watch:{},mounted:function(){("/product/detail"===this.$route.path||this.onScroll)&&(this.viewerAdapted=!0)},beforeDestroy:function(){},methods:{}}),v=(n(1369),Object(l.a)(m,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"compo-views-shop-header",style:{top:this.fixedTop+"px"}},[t("div",{staticClass:"qzd-header2-inner"},[t("div",{staticClass:"qzd-header2-left"},[t("a",{staticClass:"qzd-navbar-logo",attrs:{href:this.qzdDomain}},[t("img",{staticClass:"wz-lazy",attrs:{src:this.fileOssUri+"common/logo/pc_qzd_new_logo.png",alt:""}})])]),this._v(" "),t("div",{staticClass:"qzd-header2-right zz1"},[t("Search",{attrs:{viewerAdapted:this.viewerAdapted}})],1)])])}),[],!1,null,"dfdfdb18",null));t.a=v.exports},1124:function(e,t,n){"use strict";n(62),n(35);var i=n(9),a=(n(19),n(54),n(8)),r=n(52),s=function(e){return{url:"/api/qzd-bff-pcweb/qzd/v1/collect/new/isCollect",method:"post",allowRepeat:!0,headers:{"Content-Type":"application/json; charset=UTF-8"},data:JSON.stringify(e)}};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={name:"commonCollect",props:{source:{type:Object,default:function(){return{}}},type:{type:[Number,String],default:null},jumpUrl:{type:String,default:"".concat("https://www.qizhidao.com","/mine?hasRight=0&typeName=MySpace&childType=collections&tab=risk&Mainmenu=1&submenu=1")},openMode:{type:String,default:"_blank"},expandQuery:{type:Object,default:function(){return{}}},word:{type:String,default:""},id:{type:[String,Number],default:""}},data:function(){return{isCollect:0}},mounted:function(){var e;this.isCollect=(null===(e=this.source)||void 0===e?void 0:e.isCollect)||0},methods:{handleCollect:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,s,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(window.navigator.onLine){n.next=4;break}return t.$message.error("网络异常,请稍后重试"),n.abrupt("return");case 4:if(Object(r.c)("accessToken")){n.next=7;break}return t.$loginLayer({success:function(){var e=setTimeout((function(){clearTimeout(e),location.reload()}),200)}}),n.abrupt("return");case 7:return i=e.id,a=void 0===i?"":i,s=c({businessId:t.id||a,collectFlag:t.isCollect?0:1,type:Number(t.type),word:t.isCollect?"":t.word},t.expandQuery),n.next=11,t.axios((l=s,{url:"/api/qzd-bff-pcweb/qzd/v1/collect/new/collect",method:"post",headers:{"Content-Type":"application/json; charset=UTF-8"},data:JSON.stringify(l),nomsg:!0}));case 11:if(o=n.sent,o.success){n.next=16;break}return t.$message.error("收藏失败,请重试"),n.abrupt("return");case 16:t.isCollect=t.isCollect?0:1,t.isCollect?t.$message({type:"success",dangerouslyUseHTMLString:!0,message:'收藏成功,可以在“<a href="'.concat(t.jumpUrl,'" target="').concat(t.openMode,'" style="cursor: pointer; color: #3981F4; text-decoration: underline;">我的-收藏</a>”查看')}):t.$message({message:"已取消收藏"}),t.$emit("change",t.isCollect);case 19:case"end":return n.stop()}var l}),n)})))()},queryCollect:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.source.id,t.prev=1,i=c({businessId:e.id||n,type:e.type},e.expandQuery),t.next=5,e.axios(s(i));case 5:if(a=t.sent,r=a.data,a.success){t.next=10;break}return t.abrupt("return");case 10:e.isCollect=r,e.$emit("getQueryResult",e.isCollect),t.next=16;break;case 14:t.prev=14,t.t0=t.catch(1);case 16:case"end":return t.stop()}}),t,null,[[1,14]])}
1)))()},setCollectStatus:function(e){this.isCollect=e}},computed:{axios:function(){return this.$axios||window.$nuxt.$axios}},watch:{source:{handler:function(e){this.isCollect=(null==e?void 0:e.isCollect)||0},deep:!0}}},u=(n(1715),n(13)),d=Object(u.a)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"btn-box",class:{isCollect:e.isCollect},on:{click:function(t){return t.stopPropagation(),e.handleCollect(e.source)}}},[e.isCollect?n("v-icon",{staticClass:"icon-left",attrs:{id:"icon-qy-shoucang-xuanzhong"}}):n("v-icon",{staticClass:"icon-left",attrs:{id:"icon-qy-shoucang-moren"}}),e._v(" "),n("div",{staticClass:"btn-text"},[e._v(e._s(e.isCollect?"已收藏":"收藏"))])],1)}),[],!1,null,"3cec6784",null),h=d.exports;installComponents(d,{VIcon:n(143).default});var p=n(579),f={name:"Content",props:{title:{type:String,default:""}},components:{commonCollect:h},data:function(){return{visible:!1,baseParams:{},tableComponent:null,hasCollect:!0,DialogOption:p.a,detailData:null,loading:!1,initCollect:!1,closeFun:null,isError:!1}},methods:{show:function(){this.visible=!0},onClose:function(){this.closeFun&&this.closeFun(this.hasCollect),this.visible=!1},changeCollect:function(e){this.$set(this.baseParams.sourceData,"isCollect",e)},getDetailData:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a,r,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.option.api){t.next=2;break}return t.abrupt("return");case 2:return e.isError=!1,n=e.option.fetchType||"get",i={url:"/api".concat(e.option.api),method:n},"get"===n?i.params=e.baseParams.params||{}:i.data=e.baseParams.params||{},t.next=8,e.axios(i);case 8:a=t.sent,r=a.success,s=a.data,e.loading=!1,r&&s?e.detailData=s:e.isError=!0;case 13:case"end":return t.stop()}}),t)})))()},again:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.getDetailData();case 3:return t.next=5,e.$refs.myCollect.queryCollect();case 5:case"end":return t.stop()}}),t)})))()}},watch:{visible:{handler:function(e){e?(document.documentElement.style.overflow="hidden",this.show()):document.documentElement.style.overflow=""},immediate:!0}},computed:{setHeight:function(){var e;return{maxHeight:"494px",minHeight:"".concat(((null===(e=this.option)||void 0===e?void 0:e.minHeight)||550)-56,"px")}},option:function(){var e,t=Number(null===(e=this.baseParams)||void 0===e?void 0:e.activeKey)||"";return this.DialogOption[t]||{}},axios:function(){return this.$axios||window.$nuxt.$axios},expandQuery:function(){return Number(this.baseParams.isHistory)?{expandVal1:1}:{}},id:function(){var e,t;return(null===(e=this.baseParams.sourceData)||void 0===e?void 0:e.unique_id)||(null===(t=this.baseParams.params)||void 0===t?void 0:t.id)||""}},mounted:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.getDetailData();case 3:return t.next=5,e.$refs.myCollect.queryCollect();case 5:e.initCollect=!0;case 6:case"end":return t.stop()}}),t)})))()}},m=(n(1720),Object(u.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"login-fade"}},[e.visible&&e.tableComponent?n("div",{staticClass:"group-layer-wrapper",on:{click:function(t){return t.target!==t.currentTarget?null:e.onClose(t)}}},[n("div",{staticClass:"group-container"},[n("div",{staticClass:"title"},[n("div",{staticClass:"left-title"},[n("div",{staticClass:"titleText"},[e._v(e._s(e.title))]),e._v(" "),Number(e.baseParams.isHistory)?n("span",{staticClass:"tip"},[e._v("历史")]):e._e()]),e._v(" "),n("div",{staticClass:"right-model"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.hasCollect&&e.initCollect,expression:"hasCollect && initCollect"}],staticClass:"monitor"},[n("commonCollect",{ref:"myCollect",attrs:{source:e.baseParams.sourceData||{},type:e.baseParams.activeKey,expandQuery:e.expandQuery,word:e.baseParams.word,id:e.id},on:{change:e.changeCollect}})],1),e._v(" "),n("div",{staticClass:"right-close",on:{click:function(t){return t.stopPropagation(),e.onClose(t)}}},[n("v-icon",{staticClass:"icon-close",attrs:{id:"icon-pub-guanbi-type1"}})],1)])]),e._v(" "),n("div",{directives:[{name:"qiyeLoad",rawName:"v-qiyeLoad",value:e.loading,expression:"loading"}],staticClass:"mainContent",class:[{errorStatus:e.isError}],style:e.setHeight},[e.detailData?n(e.tableComponent,{tag:"component",attrs:{baseParams:e.baseParams,detailData:e.detailData}}
1):e._e(),e._v(" "),e.isError?n("div",{staticClass:"fail-status"},[n("div",{staticClass:"fail-text"},[e._v("加载失败,")]),e._v(" "),n("div",{staticClass:"again",on:{click:e.again}},[e._v("点击重试")])]):e._e()],1)])]):e._e()])}),[],!1,null,"024586aa",null));t.a=m.exports;installComponents(m,{VIcon:n(143).default})},1125:function(e,t,n){"use strict";n(62);var i={name:"BaseCard",props:{option:{type:Object,default:function(){}},sourceData:{type:Object,default:function(){}}}},a=(n(1721),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"baseCard"},[n("div",{staticClass:"tableBox"},e._l(e.option.fieldList,(function(t,i){return n("div",{key:i,class:["td",{rowTd:t.row}]},[t.labelComponent?n("div",{staticClass:"pd label"},[n(t.labelComponent,{tag:"component",attrs:{itemSource:e.sourceData,cellKey:t.key,cell:t}})],1):n("div",{staticClass:"pd label"},[e._v(e._s(t.name))]),e._v(" "),n("div",{class:["pd value",t.valueClass]},[t.valueComponent?[n(t.valueComponent,{tag:"component",attrs:{itemSource:e.sourceData,cellKey:t.key,cell:t}})]:t.key?n("div",[e._v(e._s(e.sourceData[t.key]||"--"))]):e._e()],2)])})),0)])}),[],!1,null,"1b51b5b1",null).exports,s=n(579),o={props:{baseParams:{type:Object,default:function(){return{}}},detailData:{type:Object,default:function(){return{}}}},components:{BaseCard:r},computed:{option:function(){var e,t=Number(null===(e=this.baseParams)||void 0===e?void 0:e.activeKey)||"";return s.a[t]||{}}}},c=Object(a.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("client-only",[n("div",e._l(e.option.sectionList,(function(t,i){return n("BaseCard",{key:i,attrs:{option:t,sourceData:e.detailData}})})),1)])}),[],!1,null,null,null);t.a=c.exports},1151:function(e,t,n){"use strict";n(19),n(42),n(44),n(55);var i=n(8),a=n(26),r=n(1128),s=n(1175),o=n(1109),c=n(117),l=n(426),u=n(89),d=n.n(u);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"FullCalendarx",components:{FullCalendar:r.a},props:{value:{type:Array,defaule:[]},defaultValue:{type:Array,default:function(){return[]}},allowTime:{type:Array,default:function(){return[]}},weekOnly:{type:Boolean,default:!1},editable:{type:Boolean,default:!0},selectable:{type:Boolean,default:!0},visibleRange:{type:Object,default:function(){return{}}}},computed:{options:function(e){return{editable:e.editable,selectable:e.selectable,visibleRange:e.visibleRange}}},mounted:function(){var e=this;this.message=Object(c.G)((function(t){return e.$message.warning("不能选择过往时间")}),1e3)},data:function(){return{calendarOptions:{plugins:[s.a,o.a],initialView:"timeGrid",initialEvents:[],events:[],editable:this.editable,headerToolbar:!1,selectable:this.selectable,unselectAuto:!1,height:435,selectMirror:!0,dayMaxEvents:!0,weekends:!1,slotMinTime:"8:00:00",slotMaxTime:"16:00:00",selectLongPressDelay:500,slotDuration:"01:00:00",allDaySlot:!1,expandRows:!0,eventStartEditable:!1,selectOverlap:!1,select:this.handleDateSelect,selectAllow:this.handleSelectAllow,eventOverlap:!1,eventClick:this.handleEventClick,eventResize:this.handleEventResize,eventDrop:this.handleEventResize,eventContent:function(){return null}},selected:{},offset:2}},methods:{parseWeekDay:l.f,handleSelectAllow:function(e){return!(d()(e.start).isBefore(d()())&&!this.weekOnly)||(this.message("不能选择过往时间"),!1)},handleDateSelect:function(e){e.view.calendar.unselect(),this.handleSetEvent([{id:"".concat(Date.now()+1),start:e.start.getTime(),end:e.end.getTime()}])},handleSetEvent:function(e){var t=this;e.forEach((function(e){t.selected[e.id]={start:e.start,end:e.end},t.$refs.calendar&&t.$refs.calendar.getApi().addEvent({color:"rgba(57,129,244,0.16)",title:"您已预约",id:e.id,start:new Date(e.start),end:new Date(e.end)})})),this.$refs.calendar||(this.calendarOptions.events=[].concat(Object(a.a)(this.calendarOptions.events),Object(a.a)(e))),this.handleChange()},handleEventClick:function(e){"-996"!==e.event._def.groupId&&this.editable&&(delete this.selected[e.event._def.publicId],e.event.remove(),this.handleChange())},handleEventResize:function(e){var t,n;e.event._def&&null!==(t=e.event._instance)&&void 0!==t&&t.range.start&&null!==(n=e.event._instance)&&void 0!==n&&n.range.end&&(this.selected[e.event._def.publicId]={start:e.event.start.getTime(),end:e.event.end.getTime()}),this.handleChange()},handleChange:function(){var e=Object(l.h)(this.selected);this.$emit("change",e)},handleFormatDate:function(e){return d()(e).format("MM-DD")},renderLableContent:function(e){var t=e.time.milliseconds/1e3/3600,n=t>=12?t+2:t,i=n+1;return"".concat(n,":00-").concat(i,": 00")},handleSetDisabled:function(e){var t=this,n=e.map((function(e){return{title:"不可选择",groupId:-996,className:"fullcalendar-disabled",color:"rgba(216,216,216,0.3)",editable:!1,id:e.id,start:new Date(e.start),end:new Date(e.end)}}));
1this.$refs.calendar?n.forEach((function(e){var n,i;null!==(n=t.$refs.calendar)&&void 0!==n&&n.getApi().getEventById(e.id)||(null===(i=t.$refs.calendar)||void 0===i||i.getApi().addEvent(e))})):this.calendarOptions.events=[].concat(Object(a.a)(this.calendarOptions.events),Object(a.a)(n))}},watch:{options:{handler:function(e){this.calendarOptions=p(p({},this.calendarOptions),e)},immediate:!0},allowTime:{handler:function(e){var t;if(null!==(t=this.visibleRange)&&void 0!==t&&t.start&&null!=e&&e.length){var n=Object(l.j)(Object(l.i)(e,this.visibleRange),"disable").map((function(e){return{id:e[0],start:e[0],end:e[1]}}));n.length>0&&this.handleSetDisabled(n)}},immediate:!0},defaultValue:{handler:function(e){e&&e.length>0&&this.handleSetDisabled(e)},immediate:!0},value:{handler:function(e){this.handleSetEvent(e)},immediate:!0}}},m=(n(1552),n(13)),v=Object(m.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fullcalendar-pc"},[n("full-calendar",{ref:"calendar",attrs:{options:e.calendarOptions},scopedSlots:e._u([{key:"dayHeaderContent",fn:function(t){return[n("div",{staticClass:"label"},[e.weekOnly?e._e():n("div",{staticClass:"date"},[e._v(e._s(e.handleFormatDate(t.date)))]),e._v(" "),n("div",{staticClass:"week"},[e._v(e._s(e.parseWeekDay(t.dow)))])])]}},{key:"slotLabelContent",fn:function(t){return[n("div",{staticClass:"hour"},[e._v("\n        "+e._s(e.renderLableContent(t))+"\n      ")])]}}])})],1)}),[],!1,null,"41b74b56",null);t.a=v.exports},1152:function(e,t,n){"use strict";n(36),n(53);var i=n(8),a=(n(35),n(9)),r=n(18),s=n(293),o=n(547);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={props:{},components:{shareHeader:s.a,SearchMixin:o.a},data:function(){return{searchKey:""}},created:function(){},mounted:function(){return Object(a.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},methods:l(l(l(l(l({},Object(r.mapMutations)(["SET_STEP"])),Object(r.mapMutations)("user",["SET_USERINFO"])),Object(r.mapMutations)("cart",["SET_CARTNUM"])),Object(r.mapMutations)("header",["SET_NAVIGATIONINFO"])),{},{SearchInpnt:function(e){this.searchKey=e.searchKey}}),computed:l(l({},Object(r.mapGetters)({userInfo:"user/userInfo",step:"step",num:"cart/num",navigationInfo:"header/navigationInfo",routeMeta:"routeMeta"})),{},{isResult:function(){return this.$route.path.includes("bd/result")}}),watch:{}},d=(n(1331),n(13)),h=Object(d.a)(u,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qzd-navbar-bd"},[t("div",{staticClass:"qzd-navbar-bd-inner qzd-navbar-bd-inner-one"},[t("shareHeader",{attrs:{backOff:!1,url:"/bd",logo:n(850)}}),this._v(" "),this.isResult?this._e():t("SearchMixin",{attrs:{isHeaderSearch:"",size:"small"}})],1)])}),[],!1,null,"97dc25ea",null);t.a=h.exports},1153:function(e,t,n){"use strict";var i={name:"zbcgHeader",data:function(){return{}},mounted:function(){},methods:{handleClickPart:function(){this.$bus.$emit("handleClickZbCgHeader")},handleGopage:function(){window.open("https://www.qizhidao.com","_self")},handleNojump:function(){}}},a=(n(1344),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"zbcgHeader",attrs:{id:"mutexELe"}},[i("img",{staticClass:"zbcgToppart",attrs:{src:n(1343)},on:{click:e.handleClickPart}}),e._v(" "),i("div",{staticClass:"zbcgHeader-container",on:{click:e.handleClickPart}},[i("img",{attrs:{src:e.newOssUri+"image/szonelp/logo1.png",alit:"企知道"},on:{click:function(t){return t.stopPropagation(),e.handleGopage(t)}}}),e._v(" "),i("div",{staticClass:"contactPhone",on:{click:function(t){return t.stopPropagation(),e.handleNojump(t)}}},[i("img",{attrs:{src:e.newOssUri+"image/szonelp/phone.svg",alt:"icon"}}),e._v("4008-000-159\n    ")]),e._v(" "),i("span",[e._v("商贸空间")])])])}),[],!1,null,"70549bc8",null);t.a=r.exports},1154:function(e,t,n){"use strict";var i={data:function(){return{nowYear:(new Date).getFullYear()}},mounted:function(){},methods:{goOther:function(e){var t="https://tsm.miit.gov.cn/dxxzsp";"ICP"===e&&(t="https://beian.miit.gov.cn"),window.open(t,"_blank")}}},a=(n(1345),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"zdzbcgfoooter"},[n("div",{staticClass:"qzd-footer-cont3"},[n("a",{staticClass:"qzd-beian",attrs:{href:"https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030502001035",target:"_blank",rel:"nofollow"}},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.ossUri+"index/qzd_beian_icon.png",expression:"`${ossUri}index/qzd_beian_icon.png`"}],staticClass:"wz-lazy",attrs:{alt:"icon"}}),e._v(" "),n("span",[e._v("粤公网安备44030502001035号")])]),e._v(" "),n("a",{attrs:{href:"https://szcert.ebs.org.cn/d5aea7ba-cace-4f63-bfe3-4789cfeb2bd3",target:"_blank",rel:"nofollow"}},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.ossUri+"index/footer_icon_promise.png",expression:"`${ossUri}index/footer_icon_promise.png`"}],staticClass:"wz-lazy qzd-gs-img",staticStyle:{border:"none"},attrs:{title:"深圳市市场监督管理局企业主体身份公示",width:"60",height:"24",border:"0"}})])]),e._v(" "),n("div",{staticClass:"qzd-footer-bottom"},[n("div",{staticClass:"qzd-footer-inner"},[n("div",{staticClass:"qzd-footer-bottom-left"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.ossUri+"index/pc_qzd_logo.png",expression:"`${ossUri}index/pc_qzd_logo.png`"}],staticClass:"wz-lazy",attrs:{alt:"企知道"}}),e._v(" "),n("p",[e._v("\n          © "+e._s(e.nowYear)+" 企知道科技有限公司 All Rights Reserved | "),n("span",{on:{click:e.goOther}},[e._v("粤B2-20191122")]),e._v(" |\n          "),n("span",{on:{click:function(t){return e.goOther("ICP")}}},[e._v("粤ICP备2020078552号")])])]),e._v(" "),e._m(0)])])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qzd-footer-bottom-right"},[t("p",[this._v("违法和不良信息举报电话:4008-000-159")]),this._v(" "),t("p",[this._v("举报邮箱:[email protected]")])])}],!1,null,"25d41d83",null);t.a=r.exports},1155:function(e,t,n){"use strict";n(19);var i=n(113),a=n(594),r=n(153),s={data:function(){return{firstShow:!0,showConsultPanner:!1,unreadCount:0}},computed:{qzdurl:function(){return"https://www.qizhidao.com"},loginUrl:function(){var e=this.$route.query,t=void 0===e?{}:e,n=Object(i.j)(t);return"".concat(this.qzdurl,"/login?redirect=").concat(encodeURIComponent(window.location.origin+n),"&businessSource=").concat(encodeURIComponent("PC商贸空间投流页-在线咨询"))}},methods:{handleCLoseConsult:function(){this.firstShow?this.firstShow=!1:this.showConsultPanner=!1},handleMouseEnter:function(){this.firstShow||(this.showConsultPanner=!0)},handleMouseLeave:function(){this.firstShow||(this.showConsultPanner=!1)},handleMouseEnterPhone:function(){var e={requirement_id:705,event:"SC_EVENT_00078",track_sign:"ageneral.b5864.c5867.show.SC_EVENT_00078",moduleName:"咨询模块-电话咨询浮窗",pageTitle:"PC商贸空间投流页",pageName:document.title};Object(r.a)(e)},consult:function(){var e=this.$route.query,t=void 0===e?{}:e,n={requirement_id:705,track_sign:"ageneral.b5864.c5867.click.SC_CONSULT_EVENT",event:"SC_CONSULT_EVENT",businessSource:decodeURIComponent(t.businessSource||t.otherMsgSource||"未知来源"),consultCode:"QY_".concat((new Date).getTime()).concat(Object(a.a)(4)),sourceData:" ",expertPageSourceUrl:window.location.href,expertPageSource:"PC商贸空间投流页-在线咨询",pageTitle:"PC商贸空间投流页",pageName:document.title,platform:"PC"};Object(a.b)({businessCode:"PY0002",typeId:2,sourceData:"PC339",expertPageSource:"",pageTitle:document.title,pageName:document.title,cardOptions:{title:"PC商贸空间投流页",desc:"",picture:"".concat("https://kzone.qizhidao.com","/img/qzd_qiyu_logo.png"),url:window.location.href}},n)}}},o=(n(1366),n(13)),c=Object(o.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"customer-service"},[i("div",{staticClass:"customer-service-panner"},[e.firstShow||e.showConsultPanner?i("div",{staticClass:"show-consult-panner"},[i("div",{staticClass:"shadowBox-consult"}),e._v(" "),e.firstShow?i("img",{staticClass:"icon_close",attrs:{src:n(1346),alt:""},on:{click:e.handleCLoseConsult}}
1):e._e(),e._v(" "),i("img",{staticClass:"icon_kefu",attrs:{src:n(1347),alt:""}})]):e._e(),e._v(" "),i("div",{staticClass:"consult-panner",on:{click:e.consult,mouseenter:e.handleMouseEnter,mouseleave:e.handleMouseLeave}},[i("div",{staticClass:"bghover"}),e._v(" "),i("div",{staticClass:"icon",class:{"icon-notip":0===e.unreadCount},attrs:{"data-text":e.unreadCount}}),e._v(" "),i("div",{staticClass:"text"},[e._v("在线咨询")])]),e._v(" "),i("div",{staticClass:"phone-panner",on:{mouseenter:e.handleMouseEnterPhone}},[i("div",{staticClass:"show-phone-panner"}),e._v(" "),i("div",{staticClass:"bghover"}),e._v(" "),i("div",{staticClass:"icon"}),e._v(" "),i("div",{staticClass:"text"},[e._v("电话咨询")])])])])}),[],!1,null,"6f17837c",null);t.a=c.exports},1156:function(e,t,n){"use strict";var i={name:"ToolBar",props:{isHomePageTop:{type:Boolean,default:!1},showLeftIcon:{type:Boolean,default:!0}},data:function(){return{showTool:!1}},methods:{toolBarHandler:function(){this.showTool=!this.showTool},navListGo:function(e){var t=this.showLeftIcon?"_self":"_blank";switch(e){case 1:var n="".concat("https://www.qizhidao.com","/monitor/task?mType=2");window.open(n,t);break;case 2:window.open("".concat("https://industry.qizhidao.com"),t);break;case 3:window.open("".concat("https://qiye.qizhidao.com","/report/"),t)}}},mounted:function(){var e=this;this.$nextTick((function(){document.addEventListener("click",(function(t){var n=t.target.className;"header-tool-btn"!==n&&"header-tool-btn active"!==n&&"header-tool-logo"!==n&&"header-tool-text"!==n&&(e.showTool=!1)})),document.addEventListener("scroll",(function(){e.showTool=!1}))}))}},a=(n(1376),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"header-tool__wrapper"},[i("div",{staticClass:"header-tool-btn",class:{active:e.showTool,hoverStyle:e.isHomePageTop},on:{click:e.toolBarHandler}},[e.showLeftIcon?i("img",{staticClass:"header-tool-logo",attrs:{src:n(1370)("./"+(e.showTool?"tool-blue":"tool")+".svg"),alt:""}}):e._e(),e._v(" "),i("span",{staticClass:"header-tool-text"},[e._v("情报工具")]),e._v(" "),e.showLeftIcon?e._e():i("span",{staticClass:"xiajiantou"},[i("v-icon",{staticClass:"icon",class:[e.showTool?"dropdown":""],attrs:{id:"icon-jiantou_you_shixin"}})],1)]),e._v(" "),i("transition",{attrs:{name:"el-zoom-in-top"}},[e.showTool?i("div",{staticClass:"tool-box"},[i("div",{staticClass:"item-box"},[i("div",{staticClass:"title"},[e._v("功能")]),e._v(" "),i("div",{staticClass:"card-box"},[i("div",{staticClass:"card-item",on:{click:function(t){return e.navListGo(1)}}},[i("img",{attrs:{src:n(1373),alt:""}}),e._v(" "),i("div",[e._v("情报监控")])]),e._v(" "),i("div",{staticClass:"card-item",on:{click:function(t){return e.navListGo(2)}}},[i("img",{attrs:{src:n(1374),alt:""}}),e._v(" "),i("div",[e._v("产业链")])]),e._v(" "),i("div",{staticClass:"card-item",on:{click:function(t){return e.navListGo(3)}}},[i("img",{attrs:{src:n(1375),alt:""}}),e._v(" "),i("div",[e._v("行业研报")])])])])]):e._e()])],1)}),[],!1,null,"695b7d29",null);t.a=r.exports;installComponents(r,{VIcon:n(143).default})},1157:function(e,t,n){"use strict";var i=n(8),a=n(18);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var s={name:"dialogLimit",props:{apiParams:{type:Object},title:{type:String,default:""},dialogLimitVisible:{type:Boolean,default:!1}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(a.mapGetters)({userInfo:"user/userInfo"})),methods:{handleClose:function(){this.$emit("update:dialogLimitVisible",!1),this.$emit("closeVisible",!1)},hanleButtonClick:function(){window.open("".concat(1===this.userInfo.commercialFlag?"https://szone.qizhidao.com":"https://kzone.qizhidao.com","/?goto=A1"),"_blank")}}},o=(n(1379),n(13)),c=Object(o.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.dialogLimitVisible?n("div",{staticClass:"dialog-wrap-box"}
1,[n("el-dialog",{attrs:{"append-to-body":"","modal-append-to-body":"",title:"","show-close":!1,visible:e.dialogLimitVisible,"custom-class":"prerogative-dialog-new",width:"480px","destroy-on-close":!0,"close-on-click-modal":!1,"lock-scroll":""},on:{"update:visible":function(t){e.dialogLimitVisible=t}}},[n("PrerogativeNew2",{attrs:{size:"small",haveRadius:!0,apiParams:e.apiParams,showClose:"",title:e.title},on:{handleClose:e.handleClose}})],1)],1):e._e()}),[],!1,null,"6b4892f4",null);t.a=c.exports},1158:function(e,t,n){"use strict";n(19),n(42),n(36),n(44),n(101),n(223),n(62),n(87),n(20),n(167),n(31),n(66),n(53),n(69),n(65),n(96),n(55),n(63),n(35);var i=n(9),a=n(252),r={name:"SearchK",props:{searchFrom:{type:Number,default:0}},components:{},data:function(){return{searchKey:"",hotData:[],historyData:[],popupShow:!1,searchModeMap:(new Map).set("1","历史搜索").set("2","热门搜索").set("3","输入搜索"),searchMode:"3",pageFrom:"3",searchFromMap:(new Map).set("1","商城首页").set("2","商品详情页").set("3","商城搜索结果页"),total:0}},computed:{},watch:{},created:function(){},mounted:function(){var e=this.$route.query,t=e.searchKey,n=void 0===t?"":t,i=e.searchMode,a=void 0===i?"3":i,r=e.from,s=void 0===r?"3":r;this.pageFrom=s,this.searchMode=a,this.searchKey=n,this.searchKey.length&&this.getProductSearchData(),document.getElementById("tools-popup").onmousedown=function(e){return e&&e.preventDefault?e.preventDefault():window.event.returnValue=!1,!1}},methods:{handleFocus:function(){this.pageFrom&&"3"!==this.pageFrom&&(this.pageFrom="3"),this.searchMode&&3!==this.searchMode&&(this.searchMode="3"),this.getPopularSearchListData(),this.queryHisWordsData(),this.popupShow=!0},handleBlur:function(){this.popupShow=!1},getShenceData:function(){return{event:"SC_SEARCH_REQ_EVENT",searchKey:this.searchKey,searchMode:this.searchModeMap.get(this.searchMode),resultCount:this.total,businessSource:"商城",pageTab:"商品",pageTitle:this.searchFromMap.get(this.pageFrom)}},handleSearch:function(){if(this.searchKey=this.searchKey.trim(),this.searchKey){this.$store.commit("product/SET_SEARCHVALUE",this.searchKey);var e="/shop/search?searchKey=".concat(this.searchKey,"&from=").concat(this.searchFrom);window.location.href=e,this.getProductSearchData(),this.popupShow=!1,this.$refs.searchRef.blur()}},handleHot:function(e){this.searchMode="2",this.associateSearch(e)},handleHistory:function(e){this.searchMode="1",this.associateSearch(e)},associateSearch:function(e){this.searchKey=e.searchName||e.words,this.getProductSearchData();var t="/shop/search?searchKey=".concat(this.searchKey,"&searchMode=").concat(this.searchMode,"&from=").concat(this.searchFrom);this.popupShow=!1,this.$refs.searchRef.blur(),window.location.href=t},getProductSearchData:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(a.f)({searchKey:e.searchKey}));case 2:n=t.sent,i=n.status,r=n.data,0===i&&function(){var t=JSON.parse(JSON.stringify(r)),n=new RegExp(e.searchKey,"g"),i=0;for(var a in t)e.total=e.total+t[a].total,t[a].list=t[a].list&&t[a].list.map((function(t,a){return t.sourceName=t.productName,t.productOrder=i+a+1,t.productName.includes(e.searchKey)?(t.productName=t.productName.replace(n,'<span class="search-value">'.concat(e.searchKey,"</span>")),t):t})),"1000004"===a&&t[a].total>3?i+=3:"1000004"!==a&&t[a].total>5?i+=5:i+=t[a].total;Object.keys(t).length||(e.total=0),e.$store.commit("product/SET_SEARCHDATA",t),e.shenceReport([e.getShenceData()])}();case 6:case"end":return t.stop()}}),t)})))()},getPopularSearchListData:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,r,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(a.e)({}));case 2:n=t.sent,i=n.status,r=n.data,s=void 0===r?[]:r,0===i&&(e.hotData=s.splice(0,10));case 7:case"end":return t.stop()}}),t)})))()},queryHisWordsData:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,r,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(a.j)());case 2:n=t.sent,i=n.status,r=n.data,s=void 0===r?[]:r,0===i&&(e.historyData=s.splice(0,10));case 7:case"end":return t.stop()}}),t)})))()},deleteWordsData:function(e,t){var n=this;return Object(i.a)(regeneratorRuntime.mark((function i(){var r,s;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r=[],"all"===e?n.historyData.forEach((function(e){r.push(e.words)})):r=[e.words],i.next=4,n.$axios(Object(a.b)(r));case 4:s=i.sent,0===s.status&&("all"===e?n.historyData=[]:n.historyData.splice(t,1)
1);case 7:case"end":return i.stop()}}),i)})))()}}},s=(n(1382),n(13)),o=Object(s.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search-wrapper"},[n("div",{staticClass:"search-bg"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.searchKey,expression:"searchKey"}],ref:"searchRef",staticClass:"search-input",attrs:{type:"text",placeholder:"搜索商品、服务",maxlength:"50"},domProps:{value:e.searchKey},on:{focus:e.handleFocus,blur:e.handleBlur,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSearch(t)},input:function(t){t.target.composing||(e.searchKey=t.target.value)}}}),e._v(" "),n("span",{staticClass:"search-btn",on:{click:e.handleSearch}},[n("v-icon",{staticClass:"search-icon",attrs:{id:"icon-pub-sousuo-type1"}})],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.popupShow,expression:"popupShow"}],staticClass:"tools-popup",attrs:{id:"tools-popup"}},[e.historyData&&e.historyData.length?n("section",{staticClass:"history-section"},[n("div",{staticClass:"sec-head clearfix"},[n("span",{staticClass:"sec-title left"},[e._v("搜索历史")]),e._v(" "),n("span",{staticClass:"del-btn right",on:{click:function(t){return e.deleteWordsData("all",0)}}},[n("i",{staticClass:"del-icon"}),e._v("清除历史")])]),e._v(" "),n("ul",{staticClass:"sec-content"},e._l(e.historyData,(function(t,i){return n("li",{key:i,staticClass:"tools-item",on:{click:function(n){return n.stopPropagation(),e.handleHistory(t)}}},[n("span",{staticClass:"words single-line-ellipsis"},[e._v(e._s(t.words))]),e._v(" "),n("span",{staticClass:"del-circle",on:{click:function(n){return n.stopPropagation(),e.deleteWordsData(t,i)}}})])})),0)]):e._e(),e._v(" "),e.hotData&&e.hotData.length?n("section",{staticClass:"hot-section"},[e._m(0),e._v(" "),n("ul",{staticClass:"sec-content"},e._l(e.hotData,(function(t,i){return n("li",{key:i,staticClass:"tools-item",on:{click:function(n){return n.stopPropagation(),e.handleHot(t)}}},[e._v("\n          "+e._s(t.searchName)+"\n        ")])})),0)]):e._e()])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"sec-head"},[t("span",{staticClass:"sec-title"},[this._v("热门搜索")])])}],!1,null,"2d1c1a6c",null);t.a=o.exports;installComponents(o,{VIcon:n(143).default})},1159:function(e,t,n){"use strict";n(36),n(53);var i=n(8),a=n(18),r=n(293),s=n(506),o=n(1061),c=n(229);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={props:{},components:{shareHeader:r.a,HomeSearch:s.a,resultSearch:o.a},data:function(){return{searchKey:"",showResultHeader:!1,marketLogo:n(918)}},mounted:function(){this.$route.path.includes("/market/result")&&document.addEventListener("scroll",Object(c.throttle)(500,this.handleScroll))},unmounted:function(){this.$route.path.includes("/market/result")&&document.removeEventListener("scroll",this.handleScroll)},methods:u(u(u(u(u({},Object(a.mapMutations)(["SET_STEP"])),Object(a.mapMutations)("user",["SET_USERINFO"])),Object(a.mapMutations)("cart",["SET_CARTNUM"])),Object(a.mapMutations)("header",["SET_NAVIGATIONINFO"])),{},{SearchInpnt:function(e){this.searchKey=e.searchKey},handleScroll:function(){var e=document.documentElement.scrollTop;this.showResultHeader=e>136}}),computed:u(u({},Object(a.mapGetters)({userInfo:"user/userInfo",step:"step",num:"cart/num",navigationInfo:"header/navigationInfo",routeMeta:"routeMeta",searchWord:"search/marketSearchKey"})),{},{isResult:function(){return["/market/mySubscribe","/market/subscribeTo","/market/intention","/market/viewRecords","/market/detail"].includes(this.$route.path)}}),watch:{}},h=(n(1404),n(13)),p=Object(h.a)(d,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qzd-navbar-bd"},[t("div",{staticClass:"qzd-navbar-bd-inner qzd-navbar-bd-inner-one"},[t("shareHeader",{attrs:{backOff:!1,url:"/market",logo:this.marketLogo}}),this._v(" "),this.$route.path.includes("/market/result")?t("resultSearch",{directives:[{name:"show",rawName:"v-show",value:this.showResultHeader,expression:"showResultHeader"}],staticClass:"result-header-wrap",attrs:{border:"",height:"38px",width:"488px",size:"small",isBorder:!0,isHearder:!0,isTop:!0}}):t("HomeSearch",{attrs:{height:"38px",width:"486px",size:"small",isBorder:!0,isTop:!0}})],1)])}),[],!1,null,"170cb440",null);t.a=p.exports},1160:function(e,t,n){"use strict";var i=n(8),a=n(18);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var s={name:"dialogLimit",props:{apiParams:{type:Object},title:{type:String,default:""},dialogLimitVisible:{type:Boolean,default:!1}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?r(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(a.mapGetters)({userInfo:"user/userInfo"})),methods:{handleClose:function(){this.$emit("update:dialogLimitVisible",!1),this.$emit("closeVisible",!1)},hanleButtonClick:function(){window.open("".concat(1===this.userInfo.commercialFlag?"https://szone.qizhidao.com":"https://kzone.qizhidao.com","/?goto=A1"),"_blank")}}},o=(n(1405),n(13)),c=Object(o.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.dialogLimitVisible?n("div",{staticClass:"dialog-wrap-box"},[n("el-dialog",{attrs:{"append-to-body":"","modal-append-to-body":"",title:"","show-close":!1,visible:e.dialogLimitVisible,"custom-class":"prerogative-dialog-new",width:"548px","destroy-on-close":!0,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogLimitVisible=t}}},[n("PrerogativeNew2",{attrs:{size:"large",haveRadius:!0,apiParams:e.apiParams,showClose:"",title:e.title},on:{handleClose:e.handleClose,hanleButtonClick:e.hanleButtonClick}})],1)],1):e._e()}),[],!1,null,"745256cf",null);t.a=c.exports},1161:function(e,t,n){"use strict";var i={data:function(){return{visible:!1,message:""}},methods:{show:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.message=(null==e?void 0:e.promptTipText)||"当前账号暂无权限访问该功能,请联系贵司管理员开通",this.visible=!0},close:function(){this.visible=!1}}},a=(n(1406),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{"custom-class":"limit-toast-new",visible:e.visible,"show-close":!1,"destroy-on-close":!0,"close-on-click-modal":!1,"append-to-body":"","modal-append-to-body":""},on:{"update:visible":function(t){e.visible=t}}},[n("div",{staticClass:"header"},[n("h5",{staticClass:"tip-title"},[e._v("提示")]),e._v(" "),n("span",{on:{click:function(t){e.visible=!1}}},[n("v-icon",{staticClass:"close-icon",attrs:{id:"icon-pub-guanbi-type1"}})],1)]),e._v(" "),n("div",{staticClass:"content"},[e._v(e._s(e.message))]),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{staticClass:"f-button",attrs:{type:"primary"},on:{click:function(t){e.visible=!1}}},[e._v("我知道了")])],1)])}),[],!1,null,null,null);t.a=r.exports;installComponents(r,{VIcon:n(143).default})},1162:function(e,t,n){"use strict";n(36),n(32),n(53);var i={data:function(){return{visible:!1,currentMenu:"",menuTabs:[{id:1,label:"个人信息",value:"personalInfo",show:!0},{id:2,label:"偏好设置",value:"ticketNumber",show:!0},{id:7,label:"订阅设置",value:"SubscribeTo",show:!0},{id:3,label:"账号安全",value:"security",show:!0},{id:4,label:"隐私设置",value:"privacy",show:!0},{id:5,label:"绑定&认证企业",value:"bindCompany",show:!0},{id:6,label:"企业授权",value:"EnterpriseAuthorization",show:!0}]}},watch:{visible:function(e){var t=this;e?(window.addEventListener("scroll",t.documentSroll),document.addEventListener("click",t.documentClick)):(document.removeEventListener("wheel",t.zoomIn),window.removeEventListener("scroll",t.documentSroll),document.removeEventListener("click",t.documentClick))}},mounted:function(){this.init()},methods:{init:function(){document.querySelector(".account-setting-menu-popper").addEventListener("mouseleave",this.cancelDocumentEvent),document.querySelector(".account-setting-menu-popper").addEventListener("mouseenter",this.confirmPageCannotScroll)},documentSroll:function(){this.visible=!1},documentClick:function(e){e&&"function"==typeof e.target.className.includes&&!e.target.className.includes("btn-context")&&this.visible&&(this.visible=!1)},cancelDocumentEvent:function(){document.removeEventListener("wheel",this.zoomIn)},confirmPageCannotScroll:function(){document.addEventListener("wheel",this.zoomIn,{passive:!1,useCapture:!1})},zoomIn:function(e){e.preventDefault()},changeMenu:function(e){var t=e.target.dataset.name;this.currentMenu=t,this.visible=!1;var n={tab:this.currentMenu};"EnterpriseAuthorization"===t&&(n.component="AuthorizationList"),this.$router.push({path:"/mine/accountsettings",query:n})}}},a=(n(1409),n(1410),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-popover",{attrs:{placement:"bottom",trigger:"manual","popper-class":"account-setting-menu-popper"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[n("ul",{staticClass:"menu-list",on:{click:e.changeMenu}},[e._l(e.menuTabs,(function(t){return[t.show?n("li",{key:t.id,attrs:{"data-name":""+t.value}}
1,[e._v("\n        "+e._s(t.label)+"\n      ")]):e._e()]}))],2),e._v(" "),n("span",{staticClass:"btn-context",class:{"is-show-mebu":e.visible},attrs:{slot:"reference"},on:{click:function(t){e.visible=!e.visible}},slot:"reference"},[e._v("账户设置\n    "),n("i",{staticClass:"icon"},[n("svg",{class:e.visible?"icon-dropdown-active":"icon-dropdown",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-xiala-hei1x"}})])])])])}),[],!1,null,"75c47300",null);t.a=r.exports},1163:function(e,t,n){"use strict";var i=n(8),a=(n(35),n(9)),r=n(18),s=n(293),o=n(546);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={props:{},components:{shareHeader:s.a,SearchInput:o.a},data:function(){return{searchKey:""}},created:function(){},mounted:function(){return Object(a.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},methods:l(l(l(l(l({},Object(r.mapMutations)(["SET_STEP"])),Object(r.mapMutations)("user",["SET_USERINFO"])),Object(r.mapMutations)("cart",["SET_CARTNUM"])),Object(r.mapMutations)("header",["SET_NAVIGATIONINFO"])),{},{SearchInpnt:function(e){this.searchKey=e.searchKey}}),computed:l({},Object(r.mapGetters)({userInfo:"user/userInfo",step:"step",num:"cart/num",navigationInfo:"header/navigationInfo",routeMeta:"routeMeta"})),watch:{}},d=(n(1417),n(13)),h=Object(d.a)(u,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qzd-navbar"},[t("div",{staticClass:"qzd-navbar-inner qzd-navbar-inner-one"},[t("shareHeader",{attrs:{url:"/paper",logo:n(633)}}),this._v(" "),t("SearchInput",{staticClass:"qzd-header2-search",attrs:{from:"paperHome homeHeader","show-advanced-search":!1}})],1)])}),[],!1,null,"4f1d577a",null);t.a=h.exports},1164:function(e,t,n){"use strict";var i=n(8),a=(n(35),n(9)),r=n(18);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={props:{},components:{shareHeader:n(293).a},data:function(){return{searchKey:""}},created:function(){},mounted:function(){return Object(a.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},methods:o(o(o(o(o({},Object(r.mapMutations)(["SET_STEP"])),Object(r.mapMutations)("user",["SET_USERINFO"])),Object(r.mapMutations)("cart",["SET_CARTNUM"])),Object(r.mapMutations)("header",["SET_NAVIGATIONINFO"])),{},{SearchInpnt:function(e){this.searchKey=e.searchKey}}),computed:o(o({},Object(r.mapGetters)({userInfo:"user/userInfo",step:"step",num:"cart/num",navigationInfo:"header/navigationInfo",routeMeta:"routeMeta"})),{},{otherUrl:function(){var e,t;return"homepage"===(null===(e=this.$route)||void 0===e||null===(t=e.query)||void 0===t?void 0:t.from)?"":"https://qiye.qizhidao.com"}}),watch:{}},l=(n(1423),n(13)),u=Object(l.a)(c,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"qzd-navbar"},[t("div",{staticClass:"qzd-navbar-inner qzd-navbar-inner-one qzd-navbar-qiye"},[t("shareHeader",{attrs:{otherUrl:this.otherUrl,logo:"homepage"===this.$route.query.from?"":n(1422),backOff:!1}})],1)])}),[],!1,null,"56aa4363",null);t.a=u.exports},1166:function(e,t,n){"use strict";var i=n(545).a,a=(n(1713),n(1714),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"kz_dialog_wrapper",on:{click:function(e){e.stopPropagation()}}},[n("el-dialog",{attrs:{title:"",width:"548px","show-close":!1,"custom-class":"kz_dialog_diy_lix","append-to-body":!0,top:"53px",visible:e.visible,"before-close":e.closeDialog},on:{"update:visible":function(t){e.visible=t}}},[n("PrerogativeNew2",e._g(e._b({on:{handleClose:e.handleClose}},"PrerogativeNew2",e.$props,!1),e.$listeners))],1)],1)}),[],!1,null,"1605769e",null);t.a=r.exports},1193:function(e,t,n){"use strict";n.r(t);n(144);var i={name:"clickOutside",bind:function(e,t,n){function i(n){return!e.contains(n.target)&&((!t.arg||!t.arg.classList.some((function(e){return n.target.classList.contains(e)})))&&void(t.expression&&t.value()))}e._vueClickOutside_=i,document.addEventListener("click",i)},unbind:function(e,t){document.removeEventListener("click",e._vueClickOutside_),delete e._vueClickOutside_}};t.default=i},1306:function(e,t,n){"use strict";n(842)},1307:function(e,t,n){"use strict";n(843)},1308:function(e,t,n){"use strict";n(844)},1309:function(e,t,n){"use strict";n(845)},1310:function(e,t,n){"use strict";n(846)},1311:function(e,t,n){"use strict";n(847)},1312:function(e,t,n){"use strict";n(848)},1313:function(e,t,n){"use strict";n(849)},1314:function(e,t,n){"use strict";n(851)},1315:function(e,t,n){"use strict";n(852)},1316:function(e,t,n){"use strict";n(854)},1322:function(e,t,n){"use strict";n(858)},1323:function(e,t,n){"use strict";n(859)},1324:function(e,t,n){"use strict";n(860)},1325:function(e,t,n){"use strict";n(861)},1326:function(e,t,n){"use strict";n(862)},1327:function(e,t,n){"use strict";n(863)},1328:function(e,t,n){"use strict";n(864)},1329:function(e,t,n){"use strict";n(865)},1330:function(e,t,n){"use strict";n(866)},1331:function(e,t,n){"use strict";n(867)},1332:function(e,t,n){"use strict";n(868)},1333:function(e,t,n){"use strict";n(869)},1334:function(e,t,n){"use strict";n(870)},1335:function(e,t,n){"use strict";n(871)},1336:function(e,t,n){"use strict";n(872)},1340:function(e,t,n){"use strict";n(876)},1344:function(e,t,n){"use strict";n(879)},1345:function(e,t,n){"use strict";n(880)},1366:function(e,t,n){"use strict";n(890)},1367:function(e,t,n){"use strict";n(892)},1368:function(e,t,n){"use strict";n(893)},1369:function(e,t,n){"use strict";n(894)},1376:function(e,t,n){"use strict";n(895)},1379:function(e,t,n){"use strict";n(897)},1382:function(e,t,n){"use strict";n(899)},1393:function(e,t,n){"use strict";n(908)},1394:function(e,t,n){"use strict";n(909)},1395:function(e,t,n){"use strict";n(910)},1396:function(e,t,n){"use strict";n(911)},1397:function(e,t,n){"use strict";n(912)},1399:function(e,t,n){"use strict";n(913)},1400:function(e,t,n){"use strict";n(914)},1401:function(e,t,n){"use strict";n(915)},1402:function(e,t,n){"use strict";n(916)},1403:function(e,t,n){"use strict";n(917)},1404:function(e,t,n){"use strict";n(919)},1405:function(e,t,n){"use strict";n(920)},1406:function(e,t,n){"use strict";n(921)},1409:function(e,t,n){"use strict";n(924)},1410:function(e,t,n){"use strict";n(925)},1412:function(e,t,n){"use strict";n(927)},1413:function(e,t,n){"use strict";n(928)},1414:function(e,t,n){"use strict";n(929)},1415:function(e,t,n){"use strict";n(930)},1416:function(e,t,n){"use strict";n(931)},1417:function(e,t,n){"use strict";n(932)},1423:function(e,t,n){"use strict";n(936)},1425:function(e,t,n){"use strict";n(938)},143:function(e,t,n){"use strict";n.r(t);var i={name:"VIcon",props:{id:{type:String,default:""},prefix:{type:String,default:""}}},a=n(13),r=Object(a.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("svg",this._b({staticClass:"symbol-icon",attrs:{"aria-hidden":"true"}},"svg",this.$attrs,!1),[t("use",{attrs:{"xlink:href":"#"+this.prefix+this.id}})])}),[],!1,null,"98aa906e",null);t.default=r.exports},1536:function(e,t,n){"use strict";n(987)},1537:function(e,t,n){"use strict";n(988)},1538:function(e,t,n){"use strict";n(989)},1552:function(e,t,n){"use strict";n(1006)},1556:function(e,t,n){"use strict";n(1008)},1557:function(e,t,n){"use strict";n(1009)},1558:function(e,t,n){var i={"./clickOutside/index.js":1193,"./load/index.js":1559,"./scroll/index.js":1560,"./setHeight/index.js":1561,"./wordHighLight/index.js":1562};function a(e){var t=r(e);return n(t)}function r(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=r,e.exports=a,a.id=1558},1559:function(e,t,n){"use strict";n.r(t);n(74),n(54);function i(e){var t=setTimeout((function(){if(e.style.display)clearTimeout(t);else{var n=[].filter.call(e.childNodes,(function(e){return"qiye-el-loading-spinner"===e.className}))[0];n&&(n.style.display=""),clearTimeout(t)}}),500)}function a(e,t){if(t.value&&!t.oldValue){var n=[].filter.call(e.childNodes,(function(e){return"qiye-el-loading-mask"===e.className}))[0];if(n){n.style.display="",[].filter.call(n.childNodes,(function(e){return"qiye-el-loading-spinner"===e.className}))[0].style.display="none",i(n)}else{var a=document.createElement("div");a.className="qiye-el-loading-mask";a.innerHTML='<div class="qiye-el-loading-spinner" style=\'display: none\'>\n      <svg viewBox="25 25 50 50" class="qiye-circular">\n        <circle cx="50" cy="50" r="20" fill="none" class="path"></circle>\n      </svg>\n    </div>',e.appendChild(a),i(a)}}else if(!t.value&&t.oldValue){var r=[].filter.call(e.childNodes,(function(e){return"qiye-el-loading-mask"===e.className}))[0];r&&(r.style.display="none")}}var r={name:"qiyeLoad",bind:function(e,t){a(e,t)},update:function(e,t){a(e,t)}};t.default=r},1560:function(e,t,n){"use strict";n.r(t);var i={name:"scroll",inserted:function(e,t){window.addEventListener("scroll",(function n(i){t.value(i,e)&&window.removeEventListener("scroll",n)}))}};t.default=i},1561:function(e,t,n){"use strict";n.r(t);var i={},a=function(e,t){var n=t.modifiers,i=t.value,a=window.innerHeight-e.getBoundingClientRect().top-i;n.min?e.style.minHeight="".concat(a,"px"):n.max?e.style.maxHeight="".concat(a,"px"):e.style.height="".concat(a,"px")},r={name:"setHeight",inserted:function(e,t,n){var r=n._uid;a(e,t);var s=function(){a(e,t)};i[r]=s,window.addEventListener("resize",s)},unbind:function(e,t,n){var a=n._uid;window.removeEventListener("resize",i[a])}};t.default=r},1562:function(e,t,n){"use strict";n.r(t);n(19),n(167),n(31),n(66),n(65);function i(e,t){var n,i=t.value,a=t.arg,r=e.innerHTML,s=["#E85454"][a||0];i=(n=i)?n.replace(/(^\s*)|(\s*$)/g,""):"",e.innerHTML=r.replace(new RegExp(function(e){return e?e.replace(/(\*|\.|\+|\?|\/|\\|\$|\^)/gi,(function(e){return"\\"+e})):""}(i)),'<span class="high-light-word__q" style="color:'.concat(s,';font-weight: inherit">').concat(i,"</span>"))}var a={name:"wordHighLight",bind:function(e,t){i(e,t)},update:function(e,t){i(e,t)}};t.default=a},1712:function(e,t,n){"use strict";n(1050)},1713:function(e,t,n){"use strict";n(1051)},1714:function(e,t,n){"use strict";n(1052)},1715:function(e,t,n){"use strict";n(1053)},1716:function(e,t,n){"use strict";n(1054)},1717:function(e,t,n){"use strict";n(1055)},1718:function(e,t,n){"use strict";n(1056)},1719:function(e,t,n){"use strict";n(1057)},1720:function(e,t,n){"use strict";n(1058)},1721:function(e,t,n){"use strict";n(1059)},1723:function(e,t,n){"use strict";var i=n(14),a=(n(74),n(222),n(75),{data:function(){return{msg:"",styleObject:{top:0,right:0},content:"",btnText:"",featureCode:"",forceShow:!1}},computed:{equityiDentify:function(){return window.$nuxt.$store.getters["user/equityiDentify"]},popClass:function(e){return"无权限"===e.content?" limit-w":""},transformContent:function(){var e=this,t=window.$nuxt.$store.getters["user/userIdentityType"],n=window.$nuxt.$store.getters["user/featureList"],i=["次","篇","条","家","份"],a=["次","篇","条","家","份","组",""],r=["/次","/日","","","","",""],s="",o="";if(this.featureCode){var c=n.find((function(t){return t.featureCode===e.featureCode}));if(c&&c.userIdentityList){var l=c.userIdentityList.filter((function(e){return e.userIdentityType===t})),u=c.userIdentityList.filter((function(e){return 2===e.userIdentityType}));if(l.length){var d=l[0],h=d.totalLimitQuantity,p=d.limitQuantity,f=d.quantityUnit,m=d.timesUnit,v=d.restrictionType,y=d.totalLimitUnit,b=d.totalQuantityUnit;if(1===v||3===v)s="普通用户无限制使用";else if(2===v){var g="";g=p&&"patents_pdfyuanwenzaixianchakan"!==this.featureCode?[p,i[f],r[m]].join(""):[h,a[b],r[y]].join(""),s="普通用户".concat(g)}}if(u.length){var w=u[0],_=w.totalLimitQuantity,O=w.limitQuantity,k=w.quantityUnit,S=w.timesUnit,C=w.restrictionType,j=w.totalLimitUnit,x=w.totalQuantityUnit;if(1===C||3===C)o="科创空间用户无限制使用";else if(2===C){var D="";D=O&&"patents_pdfyuanwenzaixianchakan"!==this.featureCode?[O,i[k],r[S]].join(""):[_,a[x],r[j]].join(""),o="科创空间用户".concat(D)}}}}var T="";return s&&o&&(T=[s,o].join(",")),T}},methods:{handleGoKzone:function(){window.open("https://kzone.qizhidao.com","_blank")}}}),r=(n(1556),n(1557),n(13)),s=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.msg&&e.equityiDentify||e.forceShow?n("div",{staticClass:"badge-wrap"},[e.content||e.transformContent?n("el-popover",{attrs:{placement:"top-start",width:"278",trigger:"hover","popper-class":"custome-badge-el-popover-wrapper"+e.popClass}},[n("p",{staticClass:"content"},[e._v(e._s(e.content||e.transformContent))]),e._v(" "),e.btnText?n("div",{staticClass:"popover-footer"},[n("div",{staticClass:"btn",on:{click:e.handleGoKzone}}
1,[e._v(e._s(e.btnText))])]):e._e(),e._v(" "),n("div",{class:["badge",{"badge-hover":!(!e.content&&!e.transformContent)}],style:e.styleObject,attrs:{slot:"reference"},slot:"reference"},[e._v("\n      "+e._s(e.msg)+"\n    ")])]):n("div",{staticClass:"badge",style:e.styleObject},[e._v(e._s(e.msg))])],1):e._e()}),[],!1,null,"f8ad387a",null).exports,o=i.default.extend(s);i.default.directive("badge",{inserted:function(e){e.style.position="relative"},bind:function(e,t){var n=new o({el:document.createElement("div"),data:function(){return{}}});e.instance=n,e.badge=n.$el;var i=t.value||{},a=i.msg,r=void 0===a?"":a,s=i.styleObject,c=void 0===s?{top:0,right:0}:s,l=i.content,u=void 0===l?"":l,d=i.btnText,h=void 0===d?"":d,p=i.forceShow,f=void 0!==p&&p,m=i.featureCode,v=void 0===m?"":m;Object.assign(e.instance,{msg:r,styleObject:c,content:u,btnText:h,forceShow:f,featureCode:v}),e.appendChild(e.badge)},update:function(e,t){var n=t.value||{},i=n.msg,a=void 0===i?"":i,r=n.styleObject,s=void 0===r?{top:0,right:0}:r,o=n.content,c=void 0===o?"":o,l=n.btnText,u=void 0===l?"":l,d=n.forceShow,h=void 0!==d&&d,p=n.featureCode,f=void 0===p?"":p;Object.assign(e.instance,{msg:a,styleObject:s,content:c,btnText:u,forceShow:h,featureCode:f})},unbind:function(e){e.instance&&e.instance.$destroy()}})},188:function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"f",(function(){return g})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return O}));n(19),n(74),n(42),n(36),n(50),n(75),n(44),n(151),n(32),n(31),n(53),n(77),n(55),n(26),n(35);var i=n(8),a=n(9),r=n(122),s=n(494),o=(n(169),n(986)),c=n(785),l=n(384),u=n(600);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e){return f.apply(this,arguments)}function f(){return(f=Object(a.a)(regeneratorRuntime.mark((function e(t){var n,i,a,r,o,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$axios(Object(s.a)());case 2:return n=e.sent,i=[],0===n.code&&(i=n.data||[]),Array.isArray(i)&&(a={},r={},o=[],c=[],l=[],i.forEach((function(e){e.label=e.name,e.value=e.id,e.href="",a[e.id]=e,1===e.levelType?(1===e.flag?o.unshift(e):o.push(e),r[e.shortPinyin]=e):2===e.levelType?(c.push(e),r[e.shortPinyin]=e):3===e.cityLevelType3&&(l.push(e),r[e.id]=e)})),i.forEach((function(e){if(1!==e.levelType){a[e.parentId].children=a[e.parentId].children||[];var t=a[e.parentId].children;1===e.flag?t.unshift(e):t.push(e)}})),t.$store.commit("policy/search-seo/setCityAllMapByLevelType",{1:o,2:c,3:l}),t.$store.commit("policy/search-seo/setCityAll",i),t.$store.commit("policy/search-seo/setCityAllMapTree",a),t.$store.commit("policy/search-seo/updateOptions",{key:"provinceOptions",value:o}),t.$store.commit("policy/search-seo/updateOptionsMap",{key:"cityAllMapTreeBySeoKey",value:r})),e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return v.apply(this,arguments)}function v(){return(v=Object(a.a)(regeneratorRuntime.mark((function e(t){var n,i,a,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(l.a)();case 2:return n=e.sent,Array.isArray(n)&&(i={},a={},r=[],n.forEach((function(e){e.label=e.industryName,e.value=e.industryCode,e.href="",i[e.industryId]=e,a[e.industryCode]=e,1===e.industryLevel&&(1===e.flag?r.unshift(e):r.push(e))})),n.forEach((function(e){if(1!==e.industryLevel&&i[e.industryParentId]){i[e.industryParentId].children=i[e.industryParentId].children||[];var t=i[e.industryParentId].children;1===e.flag?t.unshift(e):t.push(e)}})),t.$store.commit("policy/search-seo/setIndustryAll",n),t.$store.commit("policy/search-seo/setIndustryAllMapById",i),t.$store.commit("policy/search-seo/setIndustryAllMapByCode",a),t.$store.commit("policy/search-seo/updateOptions",{key:"industry1Options",value:r})),e.abrupt("return",n||[]);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var y={provinceCode:"shortPinyin",cityCode:"shortPinyin",countyCode:"id",industry1Code:"industryId",
1industry2Code:"industryId",projectGrade:"value",departmentChildCategory:"id",departmentId:"id",projectEightTypes:"value",hotProjectId:"seoId"};function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{keyword:"",tabType:"file"},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.keyword,a=t.tabType,r=void 0===a?"file":a;function s(e){var t={},n=function(n){var i=e[n];i&&(Array.isArray(i)?t[n]=i.map((function(e){return e[y[n]]})):t[n]=i[y[n]])};for(var i in e)n(i);return t}var o=s(e),c=o.provinceCode,l=void 0===c?"":c,u=o.cityCode,d=void 0===u?"":u,h=o.countyCode,p=void 0===h?"":h,f=o.industry1Code,m=void 0===f?"":f,v=o.industry2Code,b=void 0===v?"":v,g=o.projectGrade,w=void 0===g?"":g,_=o.departmentChildCategory,O=void 0===_?"":_,k=o.departmentId,S=void 0===k?"":k,C=o.projectEightTypes,j=void 0===C?[]:C,x=o.hotProjectId,D=void 0===x?"":x,T="";for(var P in void 0!==i&&Object.assign(n,{keyword:i}),n){var L=n[P];L&&(T+=T?"&".concat(P,"=").concat(L||""):"".concat(P,"=").concat(L||""))}var E=d||l||"all",I=p?"qa"+p:"",$=b||m?"qb".concat(b||m||"00"):"",V=w?"qc".concat(w||"00"):"",N=O?"qd".concat(O||"00"):"",R=S?"qe".concat(S||"00"):"",H=Array.isArray(j)&&j.length?j.map((function(e){return"qf"+e})).join(""):"",M=D?"qg".concat(D||"00"):"",A=[I,$,V,N,R,H,M].filter((function(e){return!!e})).join("-"),F=window.location.origin,q="".concat(F,"/").concat(r,"/").concat(E,"/").concat(A?A+"/":"").concat(T?"?"+T:"");return q}var g={all:{component:"allItem",title:"全部",api:r.j},projectinfo:{component:"policyProjectItem",title:"政策项目",api:r.l},policynotification:{component:"noticeItem",title:"申报通知",api:r.d},projectpublicity:{component:"publicityItem",title:"立项公示",api:r.m},4:{component:"confirmListItem",title:"获批名单",api:r.l},industrypolicy:{component:"policyLawItem",title:"奖励文件",api:r.i},financeandtax:{component:"policyLawItem",title:"财税法规",api:r.g},policynews:{component:"policyLawItem",title:"政策资讯",api:r.k},industryplan:{component:"policyLawItem",title:"产业规划",api:r.h},laws_regulations:{component:"policyLawItem",title:"法律法规",api:r.k},company:{component:"companyItem",title:"政策资讯",api:r.f}};function w(e,t,n,i){return _.apply(this,arguments)}function _(){return(_=Object(a.a)(regeneratorRuntime.mark((function e(t,n,i,a){var r,s,l,d,p,f,m,v,y,b,w=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=w.length>4&&void 0!==w[4]?w[4]:{},s=w.length>5?w[5]:void 0,l=a||"projectinfo",delete r.total,r.current||(r.current=1,r.pageSize=20),"laws_regulations"===l?r.dataTypeId=14:delete r.dataTypeId,e.next=8,n(g[l].api(h(h({},r),s),{nomsg:!0}));case 8:if(d=e.sent,p=d.code,f=d.data,m=void 0===f?{}:f,v=d.errorDetail,y=d.msg,"number"==typeof p){e.next=16;break}return e.abrupt("return");case 16:if("all"===l&&t.setSensitive(p),2000001!==p){e.next=20;break}return Object(c.b)(v,{functionKey:"policy_search"}),e.abrupt("return","failed");case 20:if(2001004!==p){e.next=23;break}return Object(u.a)({type:"error",message:y}),e.abrupt("return",p);case 23:if(0===p){e.next=26;break}return Object(u.a)({type:"error",message:y}),e.abrupt("return","failed");case 26:return b=(null==m?void 0:m.records.map((function(e){return{own_type:e.projectId?"PolicyProjectItem":"",dataType:"PJ",id:e.projectId||e.id,projectId:e.projectId||e.id}})))||[],"all"===l&&(t.setSensitive(p),i.commit("policy/search-seo/setListData",{key:"policyAll",value:m})),i.commit("policy/search-seo/setListData",{key:l,value:(null==m?void 0:m.records)||[],type:"data"}),i.commit("policy/search-seo/setListData",{key:l,value:{current:(null==m?void 0:m.current)||1,total:(null==m?void 0:m.total)||0,pageSize:(null==m?void 0:m.size)||20},type:"page"}),Object(o.b)(i,l,(null==m?void 0:m.expansion2)||0),i.commit("policy/search-seo/setListData",{key:l,value:"company"===l?[]:b,type:"searchResultList"}),e.abrupt("return","complete");case 33:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{keyword:""},n=t||{},i=n.keyword,a=void 0===i?"":i,r=e||{},s=r.provinceCode,o=void 0===s?{}:s,c=r.cityCode,l=void 0===c?{}:c,u=r.countyCode,d=void 0===u?{}:u,h=r.industry1Code,p=void 0===h?{}:h,f=r.industry2Code,m=void 0===f?{}
1:f,v=r.industry3Code,y=void 0===v?{}:v,b=r.industry4Code,g=void 0===b?{}:b,w=r.projectGrade,_=void 0===w?{}:w,O=r.departmentChildCategory,k=void 0===O?{}:O,S=r.departmentId,C=void 0===S?{}:S,j=r.projectEightTypes,x=void 0===j?[]:j,D=r.hotProjectId,T=void 0===D?{}:D;return{areaDTO:o.value?[{cityCode:l.value||"",cityName:l.label||"",countyCode:d.value||"",countyName:d.label||"",provinceCode:o.value||"",provinceName:o.label||""}]:[],childCategory:k.value||null,departmentId:C.value||null,industryCode1:p.value?[p.value]:[],industryCode2:m.value?[m.value]:[],industryCode3:y.value?[y.value]:[],industryCode4:g.value?[g.value]:[],keyword:a||"",projectGrade:_.value||null,hotProjectId:T.projectId||"",hotProjectName:T.projectName||"",projectTypeNew:Array.isArray(x)&&x.length?x.map((function(e){return e.value})):[]}}},227:function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return c}));var i=[{label:"出售",value:"1"},{label:"采购",value:"2"}],a=[{label:"出售",value:"1"},{label:"采购",value:"2"},{label:"招标",value:"3"}],r={1:{text:"出售"},2:{text:"采购"},3:{text:"招标"},4:{text:"其他"}},s={1:"请输入产品名称,帮您找商机",2:"请输入产品名称,帮您找商机",3:"请输入项目名称,帮您找商机"},o={1:"sale",2:"purchase",3:"tradeintention"},c={3:"招标",41:"服务",42:"找服务",43:"加盟",44:"招商",45:"其他"}},245:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return l}));n(19),n(223),n(20),n(69),n(63);var i=[{id:"all",name:"全部标讯"},{id:"notice",name:"招标公告"},{id:"portend",name:"招标预告"},{id:"result",name:"招标结果"},{id:"proposed_works",name:"拟建项目"},{id:"construction_in_progress",name:"在建项目"}],a=new Map([["all","title_subject_list"],["notice","title_subject_list"],["portend","title_subject_list"],["result","title_subject_list"],["proposed_works","title_subject_list"],["construction_in_progress","title_subject_list"]]),r=["title_subject_list","general_list"],s=["purchaserCompanyList","proxyCompanyList","winCompanyList","bidCandidateList"],o=new Map([["title_subject_list","请输入项目名称或招采内容,多个关健词以空格隔开"],["general_list","请输入项目名称或招采内容,多个关键词以空格隔开"],["purchaserCompanyList","请输入招采单位名称"],["proxyCompanyList","请输入代理单位名称"],["winCompanyList","请输入中标单位名称"],["bidCandidateList","请输入候选人单位名称"]]),c=[{fieldName:"标题与标的物(精准匹配)",valueFiled:"title_subject_list"},{fieldName:"全文(模糊匹配)",valueFiled:"general_list"}],l=new Map([["all",[].concat(c,[{fieldName:"招采单位",valueFiled:"purchaserCompanyList"},{fieldName:"代理单位",valueFiled:"proxyCompanyList"},{fieldName:"中标单位",valueFiled:"winCompanyList"},{fieldName:"候选人单位",valueFiled:"bidCandidateList"}])],["notice",[].concat(c,[{fieldName:"招采单位",valueFiled:"purchaserCompanyList"},{fieldName:"代理单位",valueFiled:"proxyCompanyList"}])],["portend",[].concat(c,[{fieldName:"招采单位",valueFiled:"purchaserCompanyList"},{fieldName:"代理单位",valueFiled:"proxyCompanyList"}])],["result",[].concat(c,[{fieldName:"招采单位",valueFiled:"purchaserCompanyList"},{fieldName:"代理单位",valueFiled:"proxyCompanyList"},{fieldName:"中标单位",valueFiled:"winCompanyList"},{fieldName:"候选人单位",valueFiled:"bidCandidateList"}])],["proposed_works",c],["construction_in_progress",c]])},258:function(e,t,n){"use strict";n.d(t,"i",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"k",(function(){return p}));n(19);var i="\n",a="text",r="separator",s="br",o=1,c=2,l=-1,u="DEL_BATCH_QUERY_COMPANY_EVENT",d="UPDATE_BATCH_QUERY_COMPANY_EVENT",h="CANCEL_IS_EDIT_EVENT",p=function(e,t){return"".concat(e,"_").concat(t)}},290:function(e,t,n){"use strict";n(36),n(59),n(32),n(62),n(53),n(54);var i=n(8),a={name:"SelectCascaderPanel",components:{},model:{prop:"value",event:"change"},filters:{nameFilter:function(e){return e.length>5?e.slice(0,5)+"...":e}},props:{value:{type:Array,default:function(){return[]}},options:{type:Array,default:function(){return[]}},confirm:{type:Function,default:function(){}},propObj:{type:Object,default:function(){return{}}},label:{type:String,default:""},height:{type:Number,default:28},origin:{type:String,default:""},className:{type:String,default:""},popperClass:{type:String,default:""},isControl:{type:Boolean,default:!1}},data:function(){return{show:!0,name:"",cascaderValue:[],cacheValue:[],iconFlag:!0,provinceLimit:[71e4,81e4,82e4,9e5]}},watch:{value:{handler:function(e){e.length&&(this.cascaderValue=e,this.cacheValue=e)},immediate:!0,deep:!0},label:{handler:function(e){this.name=e||""},immediate:!0},cascaderValue:{handler:function(e){this.$refs.selectPanel&&(this.$refs.selectPanel.dropDownVisible=!1)},deep:!0}},mounted:function(){window.addEventListener("scroll",this.scroller)},beforeDestroy:function(){window.removeEventListener("scroll",this.scroller)},methods:{scroller:function(){this.isControl&&this.$refs.selectPanel&&this.$refs.selectPanel.dropDownVisible&&(this.iconFlag=!0,this.$refs.selectPanel.dropDownVisible=!1)},handleChange:function(e){var t=this,n=e[0];if(this.provinceLimit.includes(n)&&"home"===this.origin)return this.$message.warning("当前地区暂未收录成果和专家,试试其他地区吧"),void setTimeout((function(){t.cascaderValue=t.cacheValue}),10);var a=this.$refs.selectPanel.getCheckedNodes()[0].pathLabels;a.length>1&&"全部行业"===a[a.length-1]?this.name=a[a.length-2]||"":this.name=a[a.length-1]||"";var r=this.propObj,s=r.label,o=void 0===s?"label":s,c=r.value,l=void 0===c?"value":c;if(this.$emit("change",e),this.cacheValue=e,this.confirm){var u,d=(u={},Object(i.a)(u,o,a),Object(i.a)(u,l,e),u);this.$emit("confirm",d)}},updateName:function(e){this.name=e}}},r=(n(1333),n(1334),n(13)),s=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["select-panel",e.className],style:{height:e.height+"px"}},[n("div",{class:["select-panel-main","origin"===e.origin?"home":""]},[n("span",[e._v(e._s(e._f("nameFilter")(e.name)))]),e._v(" "),n("i",{class:"el-icon-caret-"+(e.iconFlag?"bottom":"top")})]),e._v(" "),n("el-cascader",{ref:"selectPanel",attrs:{options:e.options,"show-all-levels":!1,props:e.propObj,"popper-class":e.popperClass+" select-custom-panel-popper"},on:{change:e.handleChange,"visible-change":function(t){return e.iconFlag=!t}},model:{value:e.cascaderValue,callback:function(t){e.cascaderValue=t},expression:"cascaderValue"}})],1)}),[],!1,null,"6abbd649",null);t.a=s.exports},293:function(e,t,n){"use strict";n(36),n(62),n(53);var i={name:"backoff",data:function(){return{toolTipList:[{defaultIcon:"icon-huidaoshouye",activeIcon:"icon-huidaoshouye1",text:"首页",isDefault:!0,type:"home"},{defaultIcon:"icon-fanhui",activeIcon:"icon-fanhui1",text:"返回",isDefault:!0,type:"back"}]}},methods:{handleOver:function(e,t){e.isDefault=t},handleClick:function(e){var t=e.type;"home"===(void 0===t?"":t)?window.location.href="https://www.qizhidao.com":(this.$refs.qzdGoBack.goBack(),localStorage.setItem("isback",1))}}},a=(n(1314),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"page-back-off--container"},[e._l(e.toolTipList,(function(t){return n("el-tooltip",{key:t.text,staticClass:"item",attrs:{effect:"dark",content:t.text,placement:"bottom","popper-class":"back-off-navigation-tip"}},[n("div",{staticClass:"back-icon",class:{active:!t.isDefault},on:{mouseenter:function(n){return e.handleOver(t,!1)},mouseleave:function(n){return e.handleOver(t,!0)},click:function(n){return e.handleClick(t)}}},[n("v-icon",{attrs:{id:t.isDefault?t.defaultIcon:t.activeIcon}})],1)])})),e._v(" "),n("qzd-go-back-plus",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"qzdGoBack"})],2)}),[],!1,null,null,null),s=r.exports;installComponents(r,{VIcon:n(143).default});var o={props:{backOff:{type:Boolean,default:!0},logo:{type:String},url:{type:String},otherUrl:{type:String}},components:{backOff:s},data:function(){return{backList:[],backShow:!0,navType:!1}},mounted:function(){var e=this,t=this.$route,n=t.path,i=t.query,a=i.navType;1===Number(void 0===a?"":a)&&(this.navType=!0),(this.backList.includes(n)||i.hidBack)&&(this.backShow=!1),this.$nuxt.$on("backOff",(function(){e.backShow=!1})),this.$nuxt.$on("backShow",(function(){e.backShow=!0}
1))},methods:{goFatherHome:function(){window.location.href="https://www.qizhidao.com"},goHome:function(){this.otherUrl?window.location.href=this.otherUrl:this.$router.push(this.url),this.searchShow=!1}},watch:{$route:function(e){this.backList.includes(e.path)?this.backShow=!1:this.backShow=!0}}},c=(n(1315),Object(a.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"qzd-navbar-logo-wrap"},[n("span",{staticClass:"qzd-navbar-logo"},[n("span",{staticClass:"qzd-father-logo",on:{click:e.goFatherHome}}),e._v(" "),e.logo?n("span",{staticClass:"paper-logo",on:{click:e.goHome}},[n("img",{attrs:{src:e.logo}})]):e._e(),e._v(" "),e.backOff?n("span",{staticClass:"back"},[n("backOff")],1):e._e()])])}),[],!1,null,"2c701092",null));t.a=c.exports},366:function(e,t,n){"use strict";n(19),n(74),n(36),n(50),n(75),n(44),n(101),n(32),n(53),n(35);var i=n(9),a=n(8),r=n(18),s=n(136),o=n(97),c=n(373),l=(n(42),n(55),n(26)),u=n(432);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={name:"ProjectGuide",model:{prop:"contentGuide",event:"change"},props:{contentGuide:{type:Array,default:function(){return[]}},needCal:{type:Boolean,default:!0},defaultContentGuide:{type:Array,default:function(){return[]}}},data:function(){return{selLevelArr:[]}},mounted:function(){this.queryDictionaryData(u.CONTENT_GUIDE_KEYS)},watch:{needCal:{handler:function(e){var t=this;this.selLevelArr=[],e&&(this.handleLevelSel({},!0,!0),this.$watch("dicData",(function(){t.handleLevelSel({},!0,!0)})))},immediate:!0}},computed:{dicData:function(){return this.$store.state.cxy.dicData},initGUIArr:function(){return this.dicData[u.CONTENT_GUIDE_KEYS]?Object(l.a)(this.dicData[u.CONTENT_GUIDE_KEYS]):[]},levelArr:function(){var e=Object(l.a)(this.initGUIArr);if(e||e.length){var t=[];return this.contentGuide&&this.contentGuide.length&&this.contentGuide.forEach((function(e){t.push(e.guideCode),e.secondGuide&&e.secondGuide&&e.secondGuide.forEach((function(e){t.push(e.guideCode)}))})),e.forEach((function(e){e.selected=t.includes(e.guideCode),e.secondGuide&&e.secondGuide.forEach((function(e){e.selected=t.includes(e.guideCode)}))})),e}}},methods:{queryDictionaryData:function(e){this.$store.dispatch("cxy/getDictionary",{key:e,$axios:this.$axios})},calculationSelArr:function(){var e=this;this.selLevelArr=[],this.levelArr.filter((function(e){return e.selected&&e.secondGuide})).forEach((function(t){t.secondGuide&&(e.selLevelArr=e.selLevelArr.concat(t.secondGuide))}))},handleLevelSel:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.selected=!e.selected,t&&this.calculationSelArr(),this.validSelContentGuide(n)},validSelContentGuide:function(e){var t=this,n=[];this.levelArr.forEach((function(i){e&&t.defaultContentGuide.includes(i.guideName)&&(i.selected=!0),i.selected&&n.push(h(h({},i),{},{secondGuide:i.secondGuide?i.secondGuide.filter((function(e){return e.selected})):[]}))})),e&&this.calculationSelArr(),this.$emit("change",n)}}},f=(n(1306),n(13)),m=Object(f.a)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"project-guide"},[n("div",{staticClass:"first level-line"},e._l(e.levelArr,(function(t){return n("span",{key:t.guideCode,staticClass:"item",class:{selected:t.selected},on:{click:function(n){return e.handleLevelSel(t,!0)}}},[e._v(e._s(t.guideName))])})),0),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.selLevelArr.length,expression:"selLevelArr.length"}],staticClass:"horarrow"}),e._v(" "),n("div",{staticClass:"level-line"},e._l(e.selLevelArr,(function(t){return n("span",{key:t.guideCode,staticClass:"item",class:{selected:t.selected},on:{click:function(n){return e.handleLevelSel(t,!1)}}},[e._v(e._s(t.guideName))])})),0)])}),[],!1,null,"22e2d01c",null).exports,v=(n(59),n(62),n(616),n(96),{name:"DynamicTags",model:{prop:"value",event:"change"},props:{value:{type:Array,default:function(){return[]}},max:{type:Number,default:1/0},maxLength:{type:Number,default:10},blurChange:{type:Boolean,default:!0}},watch:{value:{handler:function(e){Number.isFinite(this.max)?this.dynamicTags=e.slice(0,this.max):this.dynamicTags=e},immediate:!0}},data:function(){return{dynamicTags:[],inputVisible:!1,inputValue:""}},computed:{limited:function(){return!!Number.isFinite(this.max)&&this.max===this.dynamicTags.length}}
1,methods:{handleTagCancel:function(){this.inputVisible=!1,this.inputValue=""},handleClose:function(e){this.dynamicTags.splice(this.dynamicTags.indexOf(e),1),this.$emit("change",this.dynamicTags)},showInput:function(){var e=this;this.inputVisible=!0,this.$nextTick((function(){e.$refs.saveTagInput.$refs.input.focus()}))},handleInputConfirm:function(){this.handleBlur()},handleBlur:function(){this.blurChange?this.doChange():(this.inputVisible=!1,this.inputValue="")},doChange:function(){this.inputVisible=!1;var e=this.inputValue;e.trim()&&(this.dynamicTags.push(e),this.$emit("change",this.dynamicTags)),this.inputValue=""}}}),y=(n(1307),Object(f.a)(v,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"dy-tags"},[e._l(e.dynamicTags,(function(t,i){return n("el-tag",{key:t+i,attrs:{closable:"","disable-transitions":!1},on:{close:function(n){return e.handleClose(t)}}},[e._v(" "+e._s(t))])})),e._v(" "),e.inputVisible?n("div",{staticClass:"input-new-con"},[n("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{maxlength:e.maxLength,size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleInputConfirm(t)}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}),e._v(" "),n("el-button",{staticClass:"confirm-btn",attrs:{type:"primary",size:"small"},on:{click:e.handleInputConfirm}},[e._v("确定")]),e._v(" "),n("el-button",{staticClass:"cancel-btn",attrs:{type:"primary",plain:"",size:"small"},on:{click:e.handleTagCancel}},[e._v("取消")])],1):e._e(),e._v(" "),e.inputVisible||e.limited?e._e():n("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:e.showInput}},[e._v("+ 添加\n  ")])],2)}),[],!1,null,null,null).exports),b=n(1064),g=n(189),w=n(153),_=n(771),O=n(742),k=n(117);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j={name:"create-project",components:{PorjectGuide:m,DynamicTags:y,ImageUpload:b.a,BaseAvatar:O.a},data:function(){return{businessSource:"",showMessage:!1,dialogVisible:!1,dialogImageUrl:"",submittedSuccessfully:!1,inputStr:"",projectType:1,expertOrPatentObj:{},cpcVis:!1,defaultImgList:[],projectForm:{companyName:"",mainRequire:"",institution:"",contentGuide:[],technicalDirection:[],contentPhotos:[]},defaultContentGuideStr:"",options:[],loading:!1,defaultContentGuide:[],companyList:[],filterable:!1,diaLoading:!1,dialogTitle:"",type:"",editId:""}},props:{isShenceReport:{type:Boolean,default:!1}},computed:C(C({},Object(r.mapGetters)({companyName:"cxy/defaultCompanyName",creditNo:"cxy/defaultCreditNo"})),{},{testArrData:function(){return this.$store.state.cxy.testArrData},step1List:function(){return this.testArrData&&this.testArrData.PROJECT_COOPERATION?JSON.parse(this.testArrData.PROJECT_COOPERATION):[{name:"新技术研发"},{name:"新产品研发"},{name:"技术优化升级"},{name:"产品性能提升"},{name:"技术咨询服务"},{name:"科技成果转化"},{name:"共建研发中心"},{name:"共建产研基地"},{name:"院士工作站"},{name:"联合申报"}]}}),watch:{cpcVis:{handler:function(e){e&&this.getUserCompanyList()},immediate:!0},"projectForm.contentGuide":{handler:function(e){},immediate:!0,deep:!0}},mounted:function(){},methods:C(C({},Object(r.mapActions)("cxy",["getEnterpriseInfo"])),{},{checkChoose:function(e){return this.projectForm.contentGuide.indexOf(e.name)>-1},openImgDetail:function(e){this.dialogImageUrl=e,this.dialogVisible=!0},chooseItem:function(e){var t=this.projectForm.contentGuide.indexOf(e.name);t<0?this.projectForm.contentGuide.push(e.name):1===this.projectForm.contentGuide.length||this.projectForm.contentGuide.splice(t,1)},getUserCompanyList:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(s.n)(!0));case 2:n=t.sent,i=n.data,a=void 0===i?[]:i,e.options=e.companyList=a,a.length?e.filterable=!1:e.filterable=!0;case 7:case"end":return t.stop()}}),t)})))()},setBlur:function(){document.activeElement.blur()},queryDictionaryData:function(e){this.$store.dispatch("cxy/getTestArrData",{arr:e,$axios:this.$axios})},handleChangeCompany:function(e){this.projectForm.companyQccNo=""},handleSelect:function(e){-1!==e.id&&(this.projectForm.companyName=e.value,this.projectForm.companyQccNo=e.id)},querySearch:function(e,t){var n=this;return Object(i.a)(regeneratorRuntime.mark((function i(){var a,r;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!(e&&e.length>0)){i.next=13;break}return n.projectForm.companyName=e,i.prev=2,i.next=5,n.$axios(Object(o.a)({content:e}));case 5:a=i.sent,"0"===(r=a.data.records).length?(r.push({id:"-1",value:"无匹配结果"}),t(r)):(r=r.map((function(e){return{value:"".concat(e.companyName),id:"".concat(e.keyNo)}})),t(r)),i.next=13;break;case 10:i.prev=10,i.t0=i.catch(2);case 13:case"end":return i.stop()}}),i,null,[[2,10]])})))()},toggleEditFlag:function(){this.type="edit",this.dialogTitle="更新需求"},handleFormSubmit:function(e){var t=this;this.showMessage=!0,this.$refs[e].validate((function(e){if(e){var n=t.projectForm.contentGuide.map((function(e){return{guideCode:"",guideName:e}})),i=C(C({},t.projectForm),{},{contentGuide:n});if(1===t.projectType?i.patentNo=t.expertOrPatentObj.patentNo:2===t.projectType&&(i.expertUserId=t.expertOrPatentObj.userId),t.diaLoading=!0,"edit"!==t.type)t.$axios(Object(c.d)(i)).then((function(e){t.diaLoading=!1,0===e.code&&(t.submittedSuccessfully=!0,t.handleReport(i),t.$emit("updateMyCxyPage"))}));else if("edit"===t.type){if(t.isShenceReport){var a=t.projectForm,r=a.companyName,s=a.contentGuide,l=a.technicalDirection;t.shenceReport({event:"SC_INFO_SUBMIT_EVENT",sourceData:"PC193",pageTitle:"PC我的产学研首页",consultCode:"LZ_".concat(Date.now()).concat(Object(k.E)(4)),otherMsg:"".concat(r,"-").concat(s.join("/"),"-").concat(l.join("/")),expertPageSourceUrl:location.href,expertPageSource:"PC产学研-我的产学研首页-发布需求",pageName:document.title,requirement_id:265,track_sign:"aqzdcxy.b1910.c1911.click.SC_INFO_SUBMIT_EVENT"})}t.$axios(Object(o.h)(C(C({},i),{},{applyId:t.editId}))).then((function(e){t.diaLoading=!1,0===e.code&&(t.submittedSuccessfully=!1,t.$message.success("需求更新成功"),t.cpcVis=!1,t.handleReport(i),t.$emit("updateMyCxyPage"))}))}}}))},handleDiaClosed:function(){this.inputStr="",this.options=[],this.projectForm.contentGuide=[],this.submittedSuccessfully=!1,this.$refs.projectForm&&this.$refs.projectForm.resetFields(),this.$refs.fileUploadRef&&this.$refs.fileUploadRef.clearFiles(),this.cpcVis=!1},show:function(e,t){var n=arguments,a=this;return Object(i.a)(regeneratorRuntime.mark((function i(){var r,s;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r=n.length>2&&void 0!==n[2]?n[2]:"create",s=n.length>3&&void 0!==n[3]?n[3]:"",a.queryDictionaryData(["PROJECT_COOPERATION"]),a.businessSource=s,i.next=6,Object(g.h)({businessSource:"PC产学研-找成果页-在线问题"});case 6:a.type=r,a.dialogTitle="create"===r?"创建项目":"Tessellate"===r?"细化需求":"detail"===r?"需求详情":"更新需求",a.cpcVis=!0,a.hanldeDefaultVal(e,t);case 10:case"end":return i.stop()}}),i)})))()},hanldeDefaultVal:function(e){var t=arguments,n=this;return Object(i.a)(regeneratorRuntime.mark((function i(){var a,r,s,o,
1c,l,u,d,h,p,f,m,v,y,b,g,w;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(a=t.length>1&&void 0!==t[1]?t[1]:{},n.projectType=e,r=a.institutionModel,s=(void 0===r?{}:r).institutionName,(o=void 0===s?"":s)&&(a.institutionName=o),n.expertOrPatentObj=a,c=a.technicalDirection,l=void 0===c?[]:c,u=a.contentGuide,d=void 0===u?[]:u,n.$route.query.patentTechWord&&(n.defaultContentGuide=d,n.projectForm.technicalDirection=l),"create"!==n.type&&(n.defaultContentGuide=d.map((function(e){return e.guideName})),n.projectForm.technicalDirection=l),n.projectForm.contentGuide=d.map((function(e){return e.guideName})),h=n.userInfo||{},p=h.companyModel,m=(f=p||{}).companyName,v=void 0===m?"":m,y=f.unifiedCreditCode,b=void 0===y?"":y,g=f.hasAuthentication,w=void 0===g?"":g,v&&b&&(2===w||6===w)&&(n.projectForm.companyName=v,n.projectForm.companyQccNo=b),"create"!==n.type){i.next=18;break}return i.next=16,n.getEnterpriseInfo();case 16:n.projectForm.companyName=n.companyName,n.projectForm.companyQccNo=n.creditNo;case 18:"detail"!==n.type&&"edit"!==n.type||(n.projectForm.companyName=a.companyName,n.defaultContentGuideStr=n.defaultContentGuide.join(";"),n.projectForm.technicalDirection=a.technicalDirection||[],n.projectForm.mainRequire=a.mainRequire||"",n.projectForm.institution=a.institution||"",n.projectForm.contentPhotos=a.contentPhotos||[],n.defaultImgList=a.contentPhotos||[],n.editId=a.applyId,n.$forceUpdate()),"Tessellate"===n.type&&(n.projectForm.companyName=a.companyName,n.projectForm.contentGuide=d,n.projectForm.companyQccNo=a.unifiedCreditCode),n.showMessage=!1;case 21:case"end":return i.stop()}}),i)})))()},remoteMethodFdList:function(e){e&&(this.inputStr=e,this.options=this.companyList.filter((function(t){return t.companyName.toLowerCase().includes(e.toLowerCase())})))},remoteMethod:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=2;break}return n.abrupt("return");case 2:return t.loading=!0,t.inputStr=e,n.next=6,t.$axios(Object(c.g)({content:e,current:1,pageSize:10}));case 6:i=n.sent,a=i.data,r=void 0===a?{}:a,t.options=r.records||[],t.loading=!1;case 11:case"end":return n.stop()}}),n)})))()},handleReport:function(e){var t=e.contentGuide,n=e.companyName,i=e.mainRequire,a=e.institution,r=e.technicalDirection,s=void 0===r?[]:r;Object(w.b)({cooperationMode:t.map((function(e){return e.guideName})).join(";"),technicalDirectionName:s.join(";"),mainRequire:i,institution:a,companyName:n,event:"LBZK_EVENT_01005",businessSource:this.businessSource}),Object(_.c)({pageTitle:"PC专家详情页",sourceData:"PC075",requirement_id:116,track_sign:"ageneral.click.SC_INFO_SUBMIT_EVENT.18012",expertPageSource:this.businessSource,pageName:document.title,otherMsg:this.expertOrPatentObj.name||this.expertOrPatentObj.nickname})},hanldeAfterSubmit:function(){this.cpcVis=!1,this.showMessage=!1,this.submittedSuccessfully=!0}})},x=(n(1311),n(1312),n(1313),Object(f.a)(j,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.diaLoading,expression:"diaLoading"}],attrs:{visible:e.cpcVis,width:"800px",top:"5vh","custom-class":"detail"===e.type?"detail-create-project":e.submittedSuccessfully?"succ-create-project create-project":"create-project","close-on-click-modal":!1,"close-on-press-escape":!1},on:{"update:visible":function(t){e.cpcVis=t},close:e.handleDiaClosed}},[i("div",{staticClass:"dia-title",attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.dialogTitle))]),e._v(" "),i("div",{staticClass:"create-project-body"},[i("div",{directives:[{name:"show",rawName:"v-show",value:!e.submittedSuccessfully,expression:"!submittedSuccessfully"}]},[i("div",{staticClass:"content-header"},[1===e.projectType?i("div",{staticClass:"default type1"},[i("span",{staticClass:"tag"},[e._v(e._s(e.expertOrPatentObj.patentType))]),e._v(" "),i("div",{staticClass:"line fir"},[i("span",{staticClass:"text-overflow"},[e._v(e._s(e.expertOrPatentObj.patentName))])]),e._v(" "),i("div",{staticClass:"line sec"},[i("span",{staticClass:"label"},[e._v("行业:")]),e._v(" "),i("span",{staticClass:"text-overflow"},[e._v(e._s(e.expertOrPatentObj.industry))])]),e._v(" "),i("div",{staticClass:"line thir"},[i("span",{staticClass:"label"},[e._v("关键词:")]),e._v(" "),i("span",{staticClass:"text-overflow"}
1,[e._v(e._s(e.expertOrPatentObj.patentKeyword))])])]):e._e(),e._v(" "),2===e.projectType?i("div",{staticClass:"default type2"},[e.expertOrPatentObj.headPortrait?i("img",{staticClass:"tx",attrs:{src:e.expertOrPatentObj.headPortrait}}):i("BaseAvatar",{staticStyle:{"margin-right":"16px"},attrs:{size:72,name:e.expertOrPatentObj.name?e.expertOrPatentObj.name.slice(0,1):e.expertOrPatentObj.nickname.slice(0,1)}}),e._v(" "),i("div",{staticClass:"desc"},[i("div",{staticClass:"line fir"},[i("span",{staticClass:"name"},[e._v(e._s(e.expertOrPatentObj.name||e.expertOrPatentObj.nickname))]),i("span",{staticClass:"text-overflow"},[e._v(e._s(e.expertOrPatentObj.institutionName))])]),e._v(" "),i("div",{staticClass:"line sec"},[i("span",{staticClass:"label"},[e._v("研究方向:")]),i("span",{staticClass:"text-overflow qzd-pingfang-font"},[e._v(e._s(e.expertOrPatentObj.goodField))])]),e._v(" "),i("div",{staticClass:"line thir"},[i("span",{staticClass:"label"},[e._v("应用领域:")]),i("span",{staticClass:"text-overflow qzd-pingfang-font"},[e._v(e._s(e.expertOrPatentObj.cooperativeIndustry))])])])],1):e._e()]),e._v(" "),i("el-form",{ref:"projectForm",staticClass:"project-form",attrs:{model:e.projectForm,"label-width":"120px"}},["detail"!==e.type?i("el-form-item",{attrs:{label:"公司名称",prop:"companyName",rules:[{required:"detail"!==e.type,message:"请输入正确的公司名称",trigger:["blur"]}]}},[i("el-autocomplete",{staticStyle:{width:"100%"},attrs:{clearable:"",disabled:"edit"===e.type,"fetch-suggestions":e.querySearch,placeholder:"请输入您的企业名称","trigger-on-focus":!1},on:{clear:function(t){return e.setBlur()},change:e.handleChangeCompany,select:e.handleSelect},model:{value:e.projectForm.companyName,callback:function(t){e.$set(e.projectForm,"companyName",t)},expression:"projectForm.companyName"}})],1):e._e(),e._v(" "),"detail"===e.type?i("el-form-item",{attrs:{label:"公司名称",prop:"companyName"}},[i("span",[e._v(e._s(e.projectForm.companyName||"--"))])]):e._e(),e._v(" "),"detail"!==e.type?i("el-form-item",{staticClass:"marginBottom10",attrs:{label:"合作方式",prop:"contentGuide","show-message":e.showMessage,rules:[{required:!0,message:"请选择合作方式",trigger:"change"},{validator:function(t,n,i){if(!n.length)return i(new e.Error("请选择合作方式"));i()}}]}},[i("div",{staticClass:"step1_wrap"},e._l(e.step1List,(function(t,n){return i("div",{key:n,staticClass:"step1_item",class:e.checkChoose(t)?"active":"",on:{click:function(n){return e.chooseItem(t)}}},[i("span",[e._v(e._s(t.name))])])})),0)]):e._e(),e._v(" "),"detail"===e.type?i("el-form-item",{attrs:{label:"合作方式",prop:"contentGuide"}},[i("span",[e._v(e._s(e.defaultContentGuideStr||"--"))])]):e._e(),e._v(" "),"detail"!==e.type?i("el-form-item",{staticClass:"marginBottom20",attrs:{label:"技术/产品方向",prop:"technicalDirection",rules:[{required:!0,message:"请输入技术/产品方向",trigger:"blur"}]}},[i("DynamicTags",{on:{change:function(t){e.$refs.projectForm&&e.$refs.projectForm.validateField("technicalDirection")}},model:{value:e.projectForm.technicalDirection,callback:function(t){e.$set(e.projectForm,"technicalDirection",t)},expression:"projectForm.technicalDirection"}})],1):e._e(),e._v(" "),"detail"===e.type?i("el-form-item",{attrs:{label:"技术/产品方向",prop:"technicalDirection"}},[i("span",[e._v(e._s(e.projectForm.technicalDirection&&e.projectForm.technicalDirection.length>0&&e.projectForm.technicalDirection.join(";")||"--"))])]):e._e(),e._v(" "),"detail"!==e.type?i("el-form-item",{staticClass:"mainContentel-textarea",attrs:{label:"核心诉求",prop:"mainRequire"}},[i("el-input",{staticStyle:{"min-height":"160px"},attrs:{placeholder:"请输入您的合作诉求",autosize:{minRows:5,maxRows:8},type:"textarea",maxlength:"2000","show-word-limit":""},model:{value:e.projectForm.mainRequire,callback:function(t){e.$set(e.projectForm,"mainRequire",t)},expression:"projectForm.mainRequire"}})],1):e._e(),e._v(" "),"detail"===e.type?i("el-form-item",{attrs:{label:"核心诉求",prop:"mainRequire"}},[i("span",[e._v(e._s(e.projectForm.mainRequire||"--"))])]):e._e(
1),e._v(" "),"detail"!==e.type?i("el-form-item",{staticClass:"collegesel-textarea",attrs:{label:"关注院校",prop:"institution"}},[i("el-input",{attrs:{placeholder:"请输入您关注的或有意愿合作的院校名称",autosize:{minRows:4,maxRows:8},type:"textarea",maxlength:"100","show-word-limit":""},model:{value:e.projectForm.institution,callback:function(t){e.$set(e.projectForm,"institution",t)},expression:"projectForm.institution"}})],1):e._e(),e._v(" "),"detail"===e.type?i("el-form-item",{attrs:{label:"关注院校",prop:"institution"}},[i("span",[e._v(e._s(e.projectForm.institution||"--"))])]):e._e(),e._v(" "),"detail"!==e.type?i("el-form-item",{staticClass:"marginBottom44",attrs:{label:"图片资料",prop:"contentPhotos"}},[i("ImageUpload",{ref:"fileUploadRef",attrs:{limit:9,defaultImgList:e.defaultImgList},model:{value:e.projectForm.contentPhotos,callback:function(t){e.$set(e.projectForm,"contentPhotos",t)},expression:"projectForm.contentPhotos"}})],1):e._e(),e._v(" "),"detail"===e.type?i("el-form-item",{class:e.projectForm.contentPhotos&&e.projectForm.contentPhotos.length>0?"photoELem":"",attrs:{label:"相关图片",prop:"contentPhotos"}},[e.projectForm.contentPhotos&&e.projectForm.contentPhotos.length>0?i("div",{staticClass:"wrap"},e._l(e.projectForm.contentPhotos,(function(t,n){return i("img",{key:n,staticStyle:{width:"104px",height:"104px",border:"1px solid #dae4ec",cursor:"pointer",margin:"0 10px 10px 0"},attrs:{src:t,alt:""},on:{click:function(n){return e.openImgDetail(t)}}})})),0):i("span",[e._v("--")])]):e._e()],1)],1),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.submittedSuccessfully,expression:"submittedSuccessfully"}]},[i("div",{staticClass:"submitted-successfully"},[i("img",{staticClass:"img1",attrs:{src:n(1184)}}),e._v(" "),i("div",{staticClass:"tit"},[e._v("提交成功")]),e._v(" "),i("div",{staticClass:"desc"},[e._v("业务经理将在24H内与您联系,您可以扫码在"),i("br"),e._v("手机上了解最新进度。")]),e._v(" "),i("img",{staticClass:"img2",attrs:{src:n(1192)}})])])]),e._v(" "),e.submittedSuccessfully?i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:e.hanldeAfterSubmit}},[e._v("我知道了")])],1):i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.handleDiaClosed}},[e._v(e._s("detail"===e.type?"关 闭":"取 消"))]),e._v(" "),"detail"!==e.type?i("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleFormSubmit("projectForm")}}},[e._v(e._s("edit"===e.type?"更 新":"提 交"))]):i("el-button",{attrs:{type:"primary"},on:{click:e.toggleEditFlag}},[e._v("更新需求")])],1),e._v(" "),i("el-dialog",{attrs:{width:"500px","append-to-body":"",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[i("img",{attrs:{width:"100%",src:e.dialogImageUrl,alt:""}})])],1)}),[],!1,null,"3b6465b8",null));t.a=x.exports},368:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));n(19),n(151),n(87),n(418),n(35);var i=n(9),a=(n(22),n(8),n(422),n(333));var r=[{name:"综合排序",id:"default"},{name:"最近发布",id:"publish_time"}];var s=function(){var e=Object(i.a)(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,navigator.onLine){e.next=3;break}return e.abrupt("return",!1);case 3:return e.next=5,Object(a.useNetwork)();case 5:return t=e.sent,n=t.isOnline,e.abrupt("return",n.value);case 10:return e.prev=10,e.t0=e.catch(0),e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}()},370:function(e,t,n){"use strict";var i={data:function(){return{visible:!1,message:""}},methods:{show:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.message=(null==e?void 0:e.promptTipText)||"当前账号暂无权限访问该功能,请联系贵司管理员开通",this.visible=!0},close:function(){this.visible=!1}}},a=(n(1336),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{"custom-class":"limit-toast-new",visible:e.visible,"show-close":!1,"destroy-on-close":!0,"close-on-click-modal":!1,"append-to-body":"","modal
1-append-to-body":""},on:{"update:visible":function(t){e.visible=t}}},[n("div",{staticClass:"header"},[n("h5",{staticClass:"tip-title"},[e._v("提示")]),e._v(" "),n("span",{on:{click:function(t){e.visible=!1}}},[n("v-icon",{staticClass:"close-icon",attrs:{id:"icon-pub-guanbi-type1"}})],1)]),e._v(" "),n("div",{staticClass:"content"},[e._v(e._s(e.message))]),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{staticClass:"f-button",attrs:{type:"primary"},on:{click:function(t){e.visible=!1}}},[e._v("我知道了")])],1)])}),[],!1,null,null,null);t.a=r.exports;installComponents(r,{VIcon:n(143).default})},426:function(e,t,n){"use strict";n.d(t,"k",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return g})),n.d(t,"g",(function(){return O})),n.d(t,"c",(function(){return k})),n.d(t,"b",(function(){return S})),n.d(t,"a",(function(){return C})),n.d(t,"e",(function(){return j}));n(19),n(74),n(222),n(178),n(42),n(36),n(44),n(151),n(59),n(62),n(307),n(87),n(20),n(31),n(66),n(309),n(53),n(65),n(77),n(55);var i=n(26),a=n(8),r=n(89),s=n.n(r);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=["周日","周一","周二","周三","周四","周五","周六"];function u(e){for(var t="",n=1,i=s()(e);n<6;)[0,6].includes(i.day())||(n+=1,t||(t=i.format("YYYY-MM-DD"))),i=i.add(1,"day");return{start:t,end:i.format("YYYY-MM-DD")}}function d(e){return l[e]}function h(e,t){for(var n=[],i=e.length,a=0;a<i;a++)a%t==0&&n.push(e.slice(a,a+t));return n}function p(e,t,n,a){for(var r=a||[8,16],o=s()(e);o.isBefore(t);){var l=s()(o).set("h",r[1]),u=l.isBefore(t)?l.valueOf():t;[0,6].includes(s()(o).day())||function(){var e=s()(o).set("h",0).valueOf(),t=s()(u).diff(o,"h"),a=n.findIndex((function(t){return t.date===e}));a>-1?n[a]=c(c({},n[a]),{},{end:u,ranges:[].concat(Object(i.a)(n[a].ranges||[]),[{start:o.valueOf(),end:u,startStr:o.format("YYYY-MM-DD HH:mm:ss"),endStr:s()(u).format("YYYY-MM-DD HH:mm:ss")}]),duration:n[a].duration+t}):n.push({date:e,week:s()(e).day(),start:o.valueOf(),end:u,ranges:[{start:o.valueOf(),end:u,startStr:o.format("YYYY-MM-DD HH:mm:ss"),endStr:s()(u).format("YYYY-MM-DD HH:mm:ss")}],duration:t})}(),o=s()(o).add(1,"day").set("h",r[0])}return n}function f(e){for(var t=[],n=0;n<=e.length;)e[n]?(t=p(e[n],e[n+1],t),n+=2):n+=2;return t}function m(e){var t=[];Object.keys(e).sort((function(t,n){return e[t].start-e[n].start})).forEach((function(n){return t=[].concat(Object(i.a)(t),[e[n].start,e[n].end])}));var n=t.reduce((function(e,t){return e.length&&e[e.length-1]===t?(e.pop(),Object(i.a)(e)):[].concat(Object(i.a)(e),[t])}),[]),a=f(n);return{ranges:n,format:h(n,2).map((function(e){return function(e,t){for(var n=s()(t).diff(e,"day"),i={start:e,startTime:v(e,!0),end:t,hours:0,endTime:v(t)},a=0;a<=n;a++){var r=0===a?s()(e):s()(e).add(a,"day").hour(8),o=a===n?s()(t):s()(r).hour(16);i.hours=i.hours+o.diff(r,"hour")}return i}(e[0],e[1])})),date:a}}function v(e,t,n){if(!e)return 0;var i=s()(e).hour();return i>=12&&t||i>12?e+(n||72e5):e}function y(e,t){return e?s()(e).hour()>=14?e-(t||72e5):e:0}function b(e,t){var n=["8:00-9:00","9:00-10:00","10:00-11:00","11:00-12:00","14:00-15:00","15:00-16:00","16:00-17:00","17:00-18:00"];return[1,2,3,4,5].map((function(i){var a=e.find((function(e){return i===l.findIndex((function(t){return t===e.week}))}));if(a){var r=h(_(a.times,i,t),2),s=h(_(n.filter((function(e){return!a.times.includes(e)})),i,t),2);return{week:i,ranges:r,disable:s}}return{week:i,ranges:[],disable:[[w("8:00",i,t,!0),w("18:00",i,t,!0)]]}}))}function g(e,t){var n=t||"ranges",i=[];
1return e.forEach((function(e){e[n].forEach((function(e){i.push(e)}))})),i}function w(e,t,n,i){var a=s()(null==n?void 0:n.start).day()>t?1:0,r=Number(e.split(":")[0]);return(r>=12&&i||r>12)&&(r-=2),s()((null==n?void 0:n.start)||null).startOf("day").add(a,"week").day(t).hour(r).valueOf()}function _(e,t,n){var a=[];return e.forEach((function(e){var r=e.split("-").map((function(e,i){return w(e,t,n,i%2==0)}));a[a.length-1]===r[0]||12===a[a.length-1]&&14===r[0]?a[a.length-1]=r[1]:a=[].concat(Object(i.a)(a),Object(i.a)(r))})),a}function O(e){var t=[],n={8:"8:00-9:00",9:"9:00-10:00",10:"10:00-11:00",11:"11:00-12:00",12:"14:00-15:00",13:"15:00-16:00",14:"16:00-17:00",15:"17:00-18:00"};return null==e||e.forEach((function(e){Object.keys(n).forEach((function(i){var a=s()(e.start).hour(Number(i)).minute(1);s()(e.start).isBefore(a)&&s()(e.end).isAfter(a)&&t.push(n[i])}))})),t}function k(e){var t=e.map((function(e){return[y(e.startTime),y(e.endTime)]}));return{date:f(function(e){if("[object Array]"!==Object.prototype.toString.call(e))return!1;var t=[];return e.map((function(e){Array.isArray(e)?t.push.apply(t,Object(i.a)(e)):t.push(e)})),t}(t)),values:t.map((function(e){return{id:"".concat(e[0]),start:e[0],end:e[1]}}))}}function S(e){return"面议"===e||0===e?{type:1,text:"面议"}:"string"==typeof e&&null!=e&&e.endsWith("起")?{type:2,text:e.replace("起","")}:{type:3,text:e}}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"面议"!==e&&0!==Number(e)||t?Number(e)<1e5?Number(e).toFixed(2):Number(e)>=1e5?(Math.floor(Number(e)/100)/100).toFixed(2)+"万":e:"面议"}function j(e){return/^(0?(13[0-9]|15[012356789]|166|17[013678]|18[0-9]|14[57])[0-9]{8})|(400|800)([0-9\\-]{7,10})|(([0-9]{4}|[0-9]{3})(-| )?)?([0-9]{7,8})((-| |转)*([0-9]{1,4}))?$/.test(e)}},506:function(e,t,n){"use strict";n(19);var i=n(8),a=(n(74),n(42),n(20),n(31),n(69),n(203),n(55),n(63),n(35),n(9)),r=(n(96),n(54),n(44),n(26));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var o={name:"TextScroll",props:{carousel:{type:Boolean,default:!1},placeholder:{type:String},size:{type:String,default:""}},data:function(){return{count:0,intervalId:null,playTime:5e3,list:[{id:0,value:this.placeholder}]}},computed:{scrollItem:function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.list[this.count])}},mounted:function(){},methods:{parseData:function(e){var t,n=this,i=e.map((function(e,t){return{id:t+1,value:e.words}}));(t=this.list).push.apply(t,Object(r.a)(i)),this.intervalId=setInterval((function(){n.getText()}),this.playTime)},getText:function(){var e=this.list.length;0!==e&&(this.count===e-1?this.count=0:this.count++)},getScrollItem:function(){return this.scrollItem}},beforeDestroy:function(){clearInterval(this.intervalId)}},c=(n(1393),n(13)),l=Object(c.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"text-scroll",class:["text-"+e.size]},[e.placeholder?n("p",{staticClass:"text"},[e._v(e._s(e.placeholder))]):n("transition",{attrs:{name:"slide",mode:"out-in"}},[n("p",{key:e.scrollItem.id,staticClass:"text"}
1,[e._v(e._s(e.scrollItem.value))])])],1)}),[],!1,null,"d139ce9c",null).exports,u=n(391),d=n(18),h=n(190),p=n.n(h),f=n(580),m=n(227);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b={name:"InputBox",props:{value:{type:String,default:""},size:{type:String,default:"medium"},borderRadius:{type:String,default:"12px"},isVisible:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1},isBorder:{type:Boolean,default:!1},clear:{type:Boolean,default:!1},placeholder:{type:String,default:""},listData:{type:Array,default:function(){return[]}},hisWordsList:{type:Array,default:function(){return[]}},hisViewList:{type:Array,default:function(){return[]}},status:{type:Object,default:function(){return{default:!0,loading:!1,error:!1,netWork:!0}}},isTop:{type:Boolean,default:!1}},components:{TextScroll:l,SearchSelect:f.a},data:function(){return{inputVal:"",timmer:null,inputFlag:!1,tradeTypeOptions:m.f}},computed:y(y({},Object(d.mapState)("search",["marketSearchKey"])),{},{searchType:{get:function(){return this.$store.state.search.searchType},set:function(e){this.$store.commit("search/setSearchType",e)}},inputStule:function(){var e=this.borderRadius,t=this.size,n=this.shadow,i=this.isBorder;return{borderRadius:e,borderBottomLeftRadius:!this.status.netWork&&this.isVisible||this.showBorder?"0":e,borderBottomRightRadius:!this.status.netWork&&this.isVisible||this.showBorder&&"small"===t?"0":e,boxShadow:n?"0 3px 12px 0 rgba(34,36,77,.04)":"none",border:i?"1px solid #dbe1f1":"none",marginLeft:"0"}},showDefaultPlaceholder:function(){return this.status.netWork&&0===this.listData.length&&0===this.hisWordsList.length&&0===this.hisViewList.length&&!this.inputVal&&!this.isFocus},showBorder:function(){return this.status.netWork&&this.isVisible&&(this.listData.length&&this.inputVal.length||(this.hisWordsList.length||this.hisViewList.length)&&!this.inputVal)}}),watch:{value:function(e){this.inputVal=e||""},inputVal:function(e){this.updataValue(e)},marketSearchKey:{handler:function(e){this.getVuexKey(e)},immediate:!0}},mounted:function(){var e=this;window.$nuxt.$on("nav-search-input-change",(function(t){clearTimeout(e.timmer),e.timmer=setTimeout((function(){e.inputVal=t}),300)}))},methods:{inputStart:function(){this.inputFlag=!0},inputEnd:function(e){this.inputFlag=!1,this.inputDebounce(e.target.value)},inputEvent:function(e){window.$nuxt.$emit("nav-search-input-change",e.target.value)},onClick:function(e){this.$emit("clickInput");var t={type:this.inputVal?"input":"secret",value:""},n=this.$refs.TextScroll.getScrollItem(),i=n.id,a=n.value;t.value="click"===e?this.inputVal||0!==i&&a||"":this.inputVal,this.$emit("search",t),this.$refs.Input.blur(),this.clear&&this.updataValue("")},updataValue:function(e){Object(u.b)(Object(i.a)({},u.a,e)),this.$emit("update:value",e?e.trim():""),this.inputVal=e},updataVisible:function(e){this.$emit("update:isVisible",e)},onFocus:function(){this.updataVisible(!0),this.isFocus=!0},onBlur:function(){this.$refs.Input.blur(),this.updataVisible(!1),this.isFocus=!1},clearInput:function(){this.inputVal="",this.$emit("clear"),this.$refs.Input.focus()},inputDebounce:p()((function(e){this.updataValue(e)}),100),getVuexKey:p()((function(e){this.inputVal=e}),300)}},g=(n(1396),Object(c.a)(b,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-box",class:[{isTop:e.isTop}],style:e.inputStule,on:{click:function(t){return t.stopPropagation(),e.$emit("clickInput")}}},[n("client-only",[e.isTop?n("SearchSelect",{staticClass:"search-select__wrapper",attrs:{multiple:!1,asMultiple:!0,options:e.tradeTypeOptions},model:{value:e.searchType,callback:function(t){e.searchType=t},expression:"searchType"}}
1):e._e()],1),e._v(" "),n("TextScroll",e._b({directives:[{name:"show",rawName:"v-show",value:e.showDefaultPlaceholder||!e.isVisible&&!e.inputVal,expression:"showDefaultPlaceholder || (!isVisible && !inputVal)"}],ref:"TextScroll",staticClass:"TextScroll",attrs:{placeholder:e.placeholder}},"TextScroll",e.$attrs,!1)),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.inputVal,expression:"inputVal"}],ref:"Input",staticClass:"qzd-input",class:["input-"+e.size],attrs:{type:"text",autocomplete:"off",maxlength:"30"},domProps:{value:e.inputVal},on:{focus:e.onFocus,blur:e.onBlur,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onClick("keyup")},input:[function(t){t.target.composing||(e.inputVal=t.target.value)},e.inputEvent]}}),e._v(" "),n("div",{staticClass:"search-btn",class:["btn-"+e.size],on:{click:function(t){return t.stopPropagation(),e.onClick("click")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"delete",on:{click:function(t){return t.stopPropagation(),e.clearInput(t)}}}),e._v(" "),n("v-icon",{staticClass:"icon-search",attrs:{id:"icon-a-pub-sousuo-changgui3x"}})],1)],1)}),[],!1,null,"2f78e68a",null)),w=g.exports;installComponents(g,{VIcon:n(143).default});var _=n(287),O={name:"MarketAssociationList",props:{isVisible:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1},isBorder:{type:Boolean,default:!1},keyword:{type:String,default:""},width:{type:String,default:"calc(100% - 70px)"},listData:{type:Array,default:function(){return[]}},hisWordsList:{type:Array,default:function(){return[]}},hisViewList:{type:Array,default:function(){return[]}},matchList:{type:Array,default:function(){return[]}},status:{type:Object,default:function(){return{default:!0,loading:!1,error:!1,netWork:!0}}},placeholder:{type:Object,default:function(){return{default:"请输入项目名称、关键词,帮您找商机",emptyNetWork:"网络不畅,请稍后重试"}}}},computed:{showList:function(){return!this.status.error&&this.listData.length&&this.status.netWork},showDefaultPlaceholder:function(){return this.status.default&&this.status.netWork&&!this.listData.length&&!this.showHistoryWord&&!this.showHisViewList},showHistoryWord:function(){return this.hisWordsList.length&&!this.listData.length&&this.keyword.length<1&&this.status.netWork},showHisViewList:function(){return this.hisViewList.length&&!this.listData.length&&this.keyword.length<1&&this.status.netWork},showDefaultTxt:function(){return this.status.netWork&&this.isVisible&&(this.listData.length&&this.keyword.length||(this.hisWordsList.length||this.hisViewList.length)&&!this.keyword)},listStyle:function(){var e=this.width,t=this.shadow;return{width:e,border:!this.isBorder||!this.showDefaultTxt&&this.status.netWork?"none":"1px solid #dbe1f1",boxShadow:t?"0 10px 12px 0 rgba(0, 4, 84, 0.1)":"none"}}},methods:{clickListItem:function(e,t){this.$emit("clickListItem",e,this.keyword,this.listData)},clickHisItem:function(e){this.$emit("clickHisItem",e)},clickHisWord:function(e){this.$emit("clickHisWord",e)},clearHistory:function(){this.$emit("clearHistory",!0)},listTemplate:function(e){var t=e.tradeType,n=e.title,i=Object(_.a)(n,this.matchList),a='</span><span class="tag">'.concat(t,"</span>");return t?i+a:i}}},k=(n(1397),Object(c.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"},{name:"loading",rawName:"v-loading",value:e.status.loading,expression:"status.loading"}],staticClass:"association-list",style:e.listStyle},[n("div",{staticClass:"history-list"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showHistoryWord,expression:"showHistoryWord"}],staticClass:"history-word"},e._l(e.hisWordsList,(function(t){return n("li",{key:t,staticClass:"tag",on:{mousedown:function(n){return e.clickHisWord(t)}}},[e._v(e._s(t))])})),0),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showHisViewList,expression:"showHisViewList"}],staticClass:"history-records-list"},e._l(e.hisViewList,(function(t){return n("li",{staticClass:"records-item",on:{mousedown:function(n){return e.clickHisItem(t)}}},[n("v-icon",{staticClass:"history-icon",attrs:{id:"icon-zuijinsousuo"}}),e._v(" "),n("p",{staticClass:"text"},[e._v(e._s(t.title))])],1)})),0),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showHistoryWord||e.showHisViewList,expression:"showHistoryWord || showHisViewList"}],staticClass:"deltet-btn",on:{mousedown:e.clearHistory}},[n("v-icon",{staticClass:"delete-icon",attrs:{id:"icon-lishijilushanchu"}}),e._v(" "),n("p",[e._v("删除历史")])],1)]),e._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!e.status.netWork,expression:"!status.netWork"}],staticClass:"placeholder"},[e._v(e._s(e.placeholder.emptyNetWork))]),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showList,expression:"showList"}],class:["list",{singleLength:1===e.listData.length}]},e._l(e.listData,(function(t,i){return n("li",{key:i},[e._t("listItem",[n("div",{staticClass:"list-item",on:{mousedown:function(n){return e.clickListItem(t,"list")}}},[n("div",{staticClass:"left-part"},[n("p",{staticClass:"text",domProps:{innerHTML:e._s(e.listTemplate(t))}})])])],null,t)],2)})),0),e._v(" "),e._t("default")],2)}),[],!1,null,"0b6049e3",null)),S=k.exports;installComponents(k,{VIcon:n(143).default});var C=n(193),j=n(368),x=n(229);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?D(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P={placeholder:"输入产品或项目名称,帮您找商机",default:"输入产品或项目名称,帮您找商机",empty:"温馨提示:暂无相关数据,试试换个关键词",emptyNetWork:"温馨提示:网络不畅,请稍后重试"},L={name:"MarketInputAssociation",props:{type:{type:String,default:"market"},size:{type:String,default:"medium"},width:{type:String,default:"100%"},height:{type:String,default:"50px"},slotTemplateRender:{type:Function}},components:{InputBox:w,AssociationList:S},data:function(){return{inputValue:"",isVisible:!1,matchList:[],listData:[],hisWordsList:[],hisViewList:[],associationStatus:{default:!0,loading:!1,empty:!1,error:!1,netWork:!0},tradeInputPlaceholderMap:m.c}},computed:T(T({},Object(d.mapState)("search",["searchType"])),{},{inputPlaceholder:function(){return this.tradeInputPlaceholderMap[this.searchType||"1"]},placeholder:function(){return P},inputHeight:function(){return"small"===this.size?"38px":"50px"},listWidth:function(){return"small"===this.size?"100%":"calc(100% - 70px)"}},Object(d.mapGetters)({userInfo:"user/userInfo",searchWord:"search/marketSearchKey"})),watch:{inputValue:function(e,t){e!==t&&(this.SET_MARKETSEARCHKEY(e),this.validate(e)?this.throttleGetSearchData(e):!e&&this.isVisible&&this.queryHistory())},isVisible:function(e){e&&(this.$emit("inputFocus",e),this.inputValue||this.queryHistory(),this.inputValue.length>=2&&!this.associationStatus.loading&&this.throttleGetSearchData(this.inputValue))},searchWord:function(e,t){e!==t&&(this.inputValue=e||"")}},mounted:function(){this.throttleGetSearchData=Object(x.throttle)(500,this.getSearchData)},methods:T(T({},Object(d.mapMutations)("search",["SET_MARKETSEARCHKEY"])),{},{getListTemplate:function(e){return t=e,n=this.matchList,i=t.title,Object(_.a)(i,n);var t,n,i},validate:function(e){return!(!e||e.length<1)||(this.listData=[],this.changeStatus("default",!0),this.changeStatus("empty",!1),this.changeStatus("error",!1),!1)},changeStatus:function(e,t){this.associationStatus[e]=t,this.$set(this.associationStatus,e,t)},getSearchData:function(e){var t=this;return Object(a.a)(regeneratorRuntime.mark((function n(){var i,a,r,s,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e&&!(e.length<2)){n.next=2;break}return n.abrupt("return");case 2:return t.changeStatus("loading",!0),n.next=5,Object(j.a)();case 5:if(n.sent){n.next=12;break}return t.listData=[],t.changeStatus("netWork",!1),t.changeStatus("loading",!1),t.changeStatus("default",!1),n.abrupt("return");case 12:return t.changeStatus("netWork",!0),t.changeStatus("default",!0),n.next=16,t.$axios(Object(C.f)({prefix:e,size:10,serverName:m.b[t.searchType]||"sale"}));case 16:if(i=n.sent,a=i.data,r=void 0===a?[]:a,s=i.equity,o=void 0===s?[]:s,c=i.success,t.changeStatus("default",!1),t.changeStatus("loading",!1),c){n.next=28;break}return t.changeStatus("empty",!0),t.changeStatus("error",!0),n.abrupt("return");case 28:t.changeStatus("error",!1),t.inputValue?t.inputValue===e&&(t.listData=r||[],t.matchList=o||[],t.changeStatus("empty",0===t.listData.length)):t.validate();case 30:case"end":return n.stop()}}),n)})))()},queryHistory:function(){var e=this;return Object(a.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.changeStatus("loading",!0),t.next=3,Object(j.a)();case 3:if(t.sent){t.next=9;break}return e.listData=[],e.changeStatus("netWork",!1),e.changeStatus("loading",!1),t.abrupt("return");case 9:e.changeStatus("netWork",!0),Promise.allSettled([e.queryHisWords(),e.queryHisViewList()]).then((function(t){t.filter((function(e){return"fulfilled"===e.status})).forEach((function(t){var n=t.value,i=n.key,a=n.data;i&&(e[i]=a)}))})).finally((function(){e.changeStatus("loading",!1)}));case 11:case"end":return t.stop()}}),t)})))()},queryHisWords:function(){var e=this;return Object(a.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(C.c)(5,e.$store.state.search.searchType));case 2:return n=t.sent,i=n.success,a=n.data,i&&(e.hisWordsList=a||[]),t.abrupt("return",{key:"hisWordsList",data:e.hisWordsList});case 7:case"end":return t.stop()}}),t)})))()},queryHisViewList:function(){var e=this;return Object(a.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios(Object(C.g)({current:1,pageSize:5,tradeType:e.$store.state.search.searchType}));case 2:return n=t.sent,i=n.success,a=n.data,i&&a&&(e.hisViewList=(null==a?void 0:a.records)||[]),t.abrupt("return",{key:"hisViewList",data:e.hisViewList});case 7:case"end":return t.stop()}}),t)})))()},clickListItem:function(e,t){this.$emit("clickListItem",e,this.inputValue,this.listData)},clickHisItem:function(e){this.$emit("clickHisItem",e,this.inputValue)},clickHisWord:function(e){this.$emit("clickHisWord",e,this.inputValue)},clearHistory:function(){var e=this;this.$axios(Object(C.j)({tradeType:this.$store.state.search.searchType})).then((function(t){t.success&&(e.hisWordsList=[])})),this.$axios(Object(C.b)({ids:[],isAll:!0,tradeType:this.$store.state.search.searchType})).then((function(t){t.success&&(e.hisViewList=[])}))},onSearchBtnClick:function(e){var t=e.value,n=e.type;t.length<2?this.$message.warning("请输入2个字及以上关键词"):this.$emit("onSearchBtnClick",{value:t,type:n})},onClear:function(){this.inputValue="",this.$store.dispatch("search/setMarketSearchKey",""),this.$emit("clear")}})},E=(n(1399),Object(c.a)(L,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-association",style:{width:e.width,height:e.inputHeight}},[n("InputBox",e._b({ref:"inputBoxRef",attrs:{size:e.size,placeholder:e.inputPlaceholder,value:e.inputValue,isVisible:e.isVisible,status:e.associationStatus,listData:e.listData,hisWordsList:e.hisWordsList,hisViewList:e.hisViewList},on:{clickInput:function(t){return e.$emit("clickInput")},"update:value":function(t){e.inputValue=t},"update:isVisible":function(t){e.isVisible=t},"update:is-visible":function(t){e.isVisible=t},search:e.onSearchBtnClick,clear:e.onClear}},"InputBox",e.$attrs,!1)),e._v(" "),n("AssociationList",e._b({ref:"AssociationList",attrs:{width:e.listWidth,isVisible:e.isVisible,keyword:e.inputValue,status:e.associationStatus,placeholder:e.placeholder,listData:e.listData,hisWordsList:e.hisWordsList,hisViewList:e.hisViewList,matchList:e.matchList},on:{clickListItem:e.clickListItem,clickHisItem:e.clickHisItem,clickHisWord:e.clickHisWord,clearHistory:e.clearHistory},scopedSlots:e._u([{key:"listItem",fn:function(t){return[n("div",{staticClass:"list-item",domProps:{innerHTML:e._s(e.getListTemplate(t))},on:{mousedown:function(n){return e.clickListItem(t,"list")}}})]}}])},"AssociationList",e.$attrs,!1))],1)}
1),[],!1,null,"82fee3d4",null).exports),I=n(189),$=n(488);function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R={name:"MarketSearch",components:{InputAssociation:E},data:function(){return{source:"PC商贸空间首页",searchMode:""}},computed:N(N({},Object(d.mapState)("search",["searchType"])),Object(d.mapGetters)({userInfo:"user/userInfo"})),methods:{clickInput:function(){var e={1:{buttonName:"出售搜索框"},2:{buttonName:"求购搜索框"}};this.shenceReport({requirement_id:774,track_sign:"aqzdgxgc.b6299.c6300.click.SC_EVENT_00079",event:"SC_EVENT_00079",moduleName:"搜索框",buttonName:e[this.searchType]&&e[this.searchType].buttonName,pageTitle:"PC采销市场-首页",pageName:document.title})},onSearchBtnClick:function(e){var t=e.value,n=e.type;this.$store.dispatch("search/setMarketSearchKey",t),"input"===n?(this.searchMode="输入搜索",this.nextChange(t)):(this.searchMode="暗词搜索",this.nextChange(t))},nextChange:function(e){this.shenceReport(N(N({},$.homeSearchSend),{},{searchKey:e,searchMode:"输入搜索",resultCount:0,searchRequestId:Object(I.e)()}));var t="/market/result?keyWord=".concat(encodeURIComponent(e),"&tradeType=").concat(this.searchType);window.open(t,"_blank")},clickHisWord:function(e){var t=encodeURIComponent(e),n="/market/result?keyWord=".concat(t,"&tradeType=").concat(this.searchType);this.shenceReport(N(N({},$.homeSearchSend),{},{searchKey:e,searchMode:"历史搜索",resultCount:0,searchRequestId:Object(I.e)()})),window.open(n,"_blank")},clickHisItem:function(e){var t="/market/detail/".concat(null==e?void 0:e.intentionId,"?tradeType=").concat(e.tradeType);window.open(t,"_blank")},clickListItem:function(e,t,n){var i=e.tradeType,a=e.intentionId,r=e.title;this.shenceReport(N(N({},$.homeSearchBarClick),{},{resultType:"商贸空间-".concat(i),searchKey:t,otherMsg:JSON.stringify({message_id:a,message_name:r})}));var s=encodeURIComponent(r),o="/market/result?keyWord=".concat(s,"&tradeType=").concat(this.searchType);window.location.href=o},onClear:function(){this.$emit("clear")}}},H=Object(c.a)(R,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("InputAssociation",e._b({ref:"InputAssociation",attrs:{carousel:""},on:{clickInput:e.clickInput,onSearchBtnClick:e.onSearchBtnClick,clickHisWord:e.clickHisWord,clickHisItem:e.clickHisItem,clickListItem:e.clickListItem,clear:e.onClear}},"InputAssociation",e.$attrs,!1))}),[],!1,null,"2af6703a",null);t.a=H.exports},541:function(e,t,n){"use strict";var i={name:"dialogLimit",props:{apiParams:{type:Object},title:{type:String,default:""},dialogLimitVisible:{type:Boolean,default:!1}},methods:{handleClose:function(){this.$emit("update:dialogLimitVisible",!1),this.$emit("closeVisible",!1)}}},a=(n(1335),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.dialogLimitVisible?n("div",{staticClass:"dialog-wrap-box"},[n("el-dialog",{attrs:{"append-to-body":"","modal-append-to-body":"",title:"","show-close":!1,visible:e.dialogLimitVisible,"custom-class":"prerogative-dialog-new",width:"548px","destroy-on-close":!0,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogLimitVisible=t}}},[n("PrerogativeNew2",{attrs:{size:"large",haveRadius:!0,apiParams:e.apiParams,showClose:"",title:e.title},on:{handleClose:e.handleClose}})],1)],1):e._e()}),[],!1,null,"104f4ff5",null);t.a=r.exports},545:function(e,t,n){"use strict";(function(e){t.a={name:"kzDialog",components:{},props:{insertData:{type:Object,default:function(){return{}}},subTitle:{type:String,default:"您的使用次数已达上限,开通科创空间享有更多服务"},buttonText:{type:String,default:"了解更多"},apiParams:{type:Object,default:function(){return{featureCodes:[""],businessCode:"enterprise"}}},size:{type:String,default:"large"},scrollHeight:{type:String,default:"auto"},haveRadius:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0}},watch:{visible:function(e){document.body.style.overflow=e?"hidden":""}},beforeDestroy:function(){document.body.style.overflow=""},computed:{width:function(){return{large:"708px",middle:"708px",small:"480px"}[this.size]}},data:function(){return{visible:!1}},methods:{handleClose:function(){this.onClose(),this.$emit("handleClose")},hanleButtonClick:function(){window.open("".concat(e.env.kzDomain,"?goto=A1"),"_self"),this.$emit("hanleButtonClick")},onOpen:function(){this.visible=!0},onClose:function(){this.visible=!1},closeDialog:function(){this.$emit("closeDialog")}}}}).call(this,n(277))},546:function(e,t,n){"use strict";n(19),n(42),n(36),n(75),n(32),n(53),n(96),n(55),n(54),n(35);var i=n(9),a=n(8),r=n(552),s=n(12),o=(n(74),n(18)),c=n(586),l=n(117),u=n(333);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var h=Object(s.defineComponent)({props:{historyWrapStyle:{type:Object,default:function(){}},isShow:{type:Boolean,default:!1},searchKey:{type:String,default:""}},data:function(){return{list:[]}},watch:{isShow:function(e){e&&(this.words=Object(c.a)("JOURNALS_KEYWORDS")||[])}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(o.mapState)({historyWords:function(e){return e.paper.historyWords.filter((function(e){return""!==e}))}})),mounted:function(){this.list=Object(u.useLocalStorage)("Hello_w",[]).value;var e=Object(c.a)("JOURNALS_KEYWORDS")||[];this.$store.commit("paper/SET_HISTORYWORDS",e)},methods:{handleStop:function(e){e.preventDefault()},handleClear:function(){var e=this;this.$store.commit("paper/SET_HISTORYWORDS",[]),this.$nextTick((function(){e.updateLocalWords()}))},handleHistrorySearch:function(e){this.$emit("search",e)},updateHistory:function(){var e=this,t=Object(l.A)(this.searchKey,this.historyWords);this.$store.commit("paper/SET_HISTORYWORDS",t),this.$nextTick((function(){e.updateLocalWords()}))},updateLocalWords:function(){Object(c.b)("JOURNALS_KEYWORDS",this.historyWords)}}}),p=(n(1412),n(13)),f=Object(p.a)(h,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow&&e.historyWords&&e.historyWords.length,expression:"isShow && historyWords && historyWords.length"}],staticClass:"history-search-dropdown",style:e.historyWrapStyle,on:{mousedown:e.handleStop}},[e.historyWords&&e.historyWords.length?[n("div",{staticClass:"history-search-list"},e._l(e.historyWords,(function(t,i){return n("span",{key:i,staticClass:"history-search-item",on:{click:function(n){return e.handleHistrorySearch(t)}}},[e._v("\n        "+e._s(t))])})),0),e._v(" "),n("div",{staticClass:"history-search-dropdown-clear",on:{click:e.handleClear}},[n("i",{staticClass:"el-icon-delete"}),e._v("\n      删除历史\n    ")])]:e._e()],2)}),[],!1,null,"d782d87c",null).exports,m=n(316);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=Object(s.defineComponent)({name:"recommendSearch",props:{isShow:{type:Boolean,default:!1},searchKey:{type:String,default:""},wrapStyle:{type:Object,default:function(){}}},data:function(){return{loading:!1,time:null,listBlank:!1}},computed:y({},Object(o.mapState)("paper",["recommendList"])),watch:{isShow:{handler:function(){this.listBlank=!1,this.updateRecommentHandle()}},searchKey:{handler:function(){this.listBlank=!1,this.updateRecommentHandle()}}},methods:y(y({},Object(o.mapMutations)("paper",["updateRecommendList"])),{},{highlightFunPaper:l.w,updateRecommentHandle:function(){var e=this;""===this.searchKey.trim()&&this.updateRecommendList([]),this.isShow&&(this.time&&clearTimeout(this.time),this.loading=!0,this.time=setTimeout((function(){e.getRecommendList()}),500))},handleStop:function(e){e.preventDefault()},getRecommendList:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==e.searchKey.trim()){t.next=3;break}return e.updateRecommendList([]),t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.$axios(Object(m.i)({prefix:e.searchKey,size:5}));case 7:0===(null==(n=t.sent)?void 0:n.code)?e.updateRecommendList((null==n?void 0:n.data)||[]):e.updateRecommendList([]),e.loading=!1,t.next=16;break;case 12:t.prev=12,t.t0=t.catch(4),e.loading=!1,e.updateRecommendList([]);case 16:setTimeout((function(){e.listBlank=!e.recommendList.length}),80);case 17:case"end":return t.stop()}}),t,null,[[4,12]])})))()}})}),g=(n(1413),Object(p.a)(b,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}],class:["recommend-search-dropdown",{h54:e.listBlank}],style:e.wrapStyle,on:{mousedown:e.handleStop}},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"recommend-search-list"}
1,[e.recommendList.length?e._l(e.recommendList,(function(t,i){return n("p",{key:i,staticClass:"single-line-ellipsis",domProps:{innerHTML:e._s(e.highlightFunPaper(t,e.searchKey))},on:{click:function(n){return e.$emit("search",t)}}})})):e.listBlank&&!e.loading?n("div",{staticClass:"recommend-blank"},[e._v("\n      温馨提示:暂无结果,试试换个关键词\n    ")]):e._e()],2)])}),[],!1,null,"36e47db9",null).exports),w=(n(101),n(31),n(203),n(634)),_=n(617);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=Object(s.defineComponent)({name:"MoreSearch",props:{inputHeight:{type:String,default:"40px"},isShow:{type:Boolean,default:!1}},data:function(){return{searchData:{searchExpression:[],publication_year:{isShow:!1,value:[]},subject_name:{isShow:!1,value:[]}},defalutProps:{multiple:!0,checkStrictly:!0,value:"name",label:"name"},operationOption:_.d,filterOption:_.a}},mounted:function(){this.$store.dispatch("paper/getSubjectList",{$axios:this.$axios})},computed:k({},Object(o.mapState)({groupList:function(e){return e.paper.groupList},subjectList:function(e){return e.paper.subjectList}})),watch:{groupList:{handler:function(e){this.searchData=JSON.parse(JSON.stringify(e))},deep:!0,immediate:!0},isShow:{handler:function(e){e?this.addKeyUp():this.deleteKeyUp()}},"$route.path":{handler:function(e){"/paper"===e&&this.clear()},immediate:!0}},methods:k(k({},Object(o.mapMutations)("paper",["SET_GROUPLIST"])),{},{update:function(){this.SET_GROUPLIST(this.searchData)},disabledDate:function(e){var t=new Date;return e.getFullYear()>t.getFullYear()||e.getFullYear()<1970},addCondition:function(e){if("searchExpression"===e)this.searchData.searchExpression.push({condition:"or",fileds:"all",searchKey:""});else if("publication_year"===e){var t=new Date;this.searchData.publication_year={isShow:!0,value:[String(t.getFullYear()-4),String(t.getFullYear())]}}else"subject_name"===e&&(this.searchData.subject_name={isShow:!0,value:[]});this.update()},deleteCondition:function(e,t){if("searchExpression"===e&&t&&t>=0){if(0===t)return;this.searchData.searchExpression.splice(t,1)}else"publication_year"===e?this.searchData.publication_year={isShow:!1,value:[]}:"subject_name"===e&&(this.searchData.subject_name={isShow:!1,value:[]});this.update()},openRulesDialog:function(){window.open("https://help.qizhidao.com/kzone/home/list?articleId=842410678533980160&categoryId=1038%2C980%2C983%2C1263%2C1373")},clear:function(){this.SET_GROUPLIST(Object(w.a)()),this.searchData=Object(w.a)()},search:function(){this.update(),this.$emit("search","senior")},handleSearchKey:function(e){e.searchKey=e.searchKey.trim()},addKeyUp:function(){document.addEventListener("keydown",this.handleKeyUp)},deleteKeyUp:function(){document.removeEventListener("keydown",this.handleKeyUp)},handleKeyUp:function(e){var t=this;13===e.keyCode&&setTimeout((function(){t.search()}),50),27===e.keyCode&&this.$emit("updateMoreSearchVisible")}})}),C=(n(1414),Object(p.a)(S,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isShow?n("div",{staticClass:"moreSearch-search-dropdown",style:{to
1p:e.inputHeight}},[n("div",{staticClass:"moreSearch-search-dropdown-condition"},[e._l(e.searchData.searchExpression,(function(t,i){return n("div",{key:i,staticClass:"moreSearch-search-dropdown-condition-group"},[n("div",{staticClass:"moreSearch-search-dropdown-condition-operation"},[n("el-select",{attrs:{"popper-append-to-body":!1,placeholder:"请选择"},on:{change:e.update},model:{value:t.condition,callback:function(n){e.$set(t,"condition",n)},expression:"item.condition"}},e._l(e.operationOption,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),n("div",{staticClass:"moreSearch-search-dropdown-condition-value"},[n("el-select",{staticClass:"conditionSelect",attrs:{"popper-append-to-body":!1,placeholder:"请选择"},on:{change:e.update},model:{value:t.fileds,callback:function(n){e.$set(t,"fileds",n)},expression:"item.fileds"}},e._l(e.filterOption,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),e._v(" "),n("el-input",{staticClass:"condition-ipt",attrs:{width:"",placeholder:"请输入检索条件",maxlength:"100",clearable:""},on:{blur:function(n){return e.handleSearchKey(t)}},model:{value:t.searchKey,callback:function(n){e.$set(t,"searchKey",n)},expression:"item.searchKey"}}),e._v(" "),n("p",{staticClass:"moreSearch-search-dropdown-condition-value-delete",class:{"moreSearch-search-dropdown-condition-value-notDelete":0===i},on:{click:function(t){return e.deleteCondition("searchExpression",i)}}},[n("i",{staticClass:"el-icon-remove"})])],1)])})),e._v(" "),e.searchData.publication_year&&e.searchData.publication_year.isShow?n("div",{staticClass:"moreSearch-search-dropdown-condition-basic"},[e._m(0),e._v(" "),n("div",{staticClass:"moreSearch-search-dropdown-condition-value"},[n("date-picker",{staticClass:"year-range-picker",attrs:{type:"yearrange",disabledDate:e.disabledDate,"value-format":"yyyy","range-separator":"至","start-placeholder":"开始年份","end-placeholder":"结束年份",appendToBody:!1},on:{change:e.update},model:{value:e.searchData.publication_year.value,callback:function(t){e.$set(e.searchData.publication_year,"value",t)},expression:"searchData.publication_year.value"}}),e._v(" "),n("p",{staticClass:"moreSearch-search-dropdown-condition-value-delete",on:{click:function(t){return e.deleteCondition("publication_year")}}},[n("i",{staticClass:"el-icon-remove"})])],1)]):e._e(),e._v(" "),e.searchData.subject_name&&e.searchData.subject_name.isShow?n("div",{staticClass:"moreSearch-search-dropdown-condition-basic"},[e._m(1),e._v(" "),n("div",{staticClass:"moreSearch-search-dropdown-condition-value"},[n("el-cascader",{staticStyle:{width:"100%"},attrs:{"append-to-body":!1,"popper-append-to-body":!1,options:e.subjectList,clearable:"","collapse-tags":"",props:e.defalutProps,"show-all-levels":!1,placeholder:"所有学科"},on:{change:e.update},model:{value:e.searchData.subject_name.value,callback:function(t){e.$set(e.searchData.subject_name,"value",t)},expression:"searchData.subject_name.value"}}),e._v(" "),n("p",{staticClass:"moreSearch-search-dropdown-condition-value-delete",on:{click:function(t){return e.deleteCondition("subject_name")}}},[n("i",{staticClass:"el-icon-remove"})])],1)]):e._e()],2),e._v(" "),n("div",{staticClass:"moreSearch-search-dropdown-footer"},[n("div",{staticClass:"moreSearch-search-dropdown-footer-left"},[e.searchData.searchExpression&&e.searchData.searchExpression.length<3?n("el-button",{staticClass:"moreSearch-search-dropdown-footer-left-addBtn",attrs:{plain:""},on:{click:function(t){return e.addCondition("searchExpression")}}},[n("v-icon",{attrs:{id:"icon-cqy-tianjiaduibi"}}),e._v(" "),n("i",{staticClass:"iconfont icon-pub-tianjia"}),e._v("添加检索条件\n      ")],1):e._e(),e._v(" "),e.searchData.publication_year.isShow?e._e():n("el-button",{staticClass:"moreSearch-search-dropdown-footer-left-addBtn",attrs:{plain:""},on:{click:function(t){return e.addCondition("publication_year")}}},[n("v-icon",{attrs:{id:"icon-cqy-tianjiaduibi"}}),e._v(" "),n("i",{staticClass:"iconfont icon-pub-tianjia"}),e._v("添加年份\n      ")],1),e._v(" "),e.searchData.subject_name.isShow?e._e():n("el-button",{staticClass:"moreSearch-search-dropdown-footer-left-addBtn",attrs:{plain:""},on:{click:function(t){return e.addCondition("subject_name")}}},[n("v-icon",{attrs:{id:"icon-cqy-tianjiaduibi"}}),e._v(" "),n("i",{staticClass:"iconfont icon-pub-tianjia"}),e._v("添加学科\n      ")],1),e._v(" "),n("p",{staticClass:"moreSearch-search-dropdown-footer-left-searchRules",on:{click:e.openRulesDialog}},[n("i",{staticClass:"el-icon-question"}),e._v("搜索规则\n      ")])],1),e._v(" "),n("div",{staticClass:"moreSearch-search-dropdown-footer-right"},[n("p",{staticClass:"moreSearch-search-dropdown-footer-right-clearBtn",on:{click:e.clear}},[e._v("清空")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.search}}
1,[e._v("搜索")])],1)])]):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"moreSearch-search-dropdown-condition-operation"},[t("p",{staticClass:"moreSearch-search-dropdown-condition-operation-title"},[this._v("出版年份")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"moreSearch-search-dropdown-condition-operation"},[t("p",{staticClass:"moreSearch-search-dropdown-condition-operation-title"},[this._v("学科")])])}],!1,null,"31006e0c",null)),j=C.exports;installComponents(C,{VIcon:n(143).default});var x=n(189);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=Object(s.defineComponent)({name:"paperHomeIpt",components:{HistorySearch:f,RecommendSearch:g,MoreSearch:j},model:{prop:"searchKey",event:"update:searchKey"},directives:{Clickoutside:r.a},props:{searchKey:{type:String,default:"输入关键词搜索论文、文章"},placeholder:{type:String,default:""},showAdvancedSearch:{type:Boolean,default:!0},from:String},data:function(){return{focus:!1,moreSearchRef:null,moreVisible:!1,searchwords:"",loading:!1,readonly:!1,conditionValue:""}},computed:T(T({},Object(o.mapState)({groupList:function(e){return e.paper.groupList},permiss:function(e){return e.paper.permiss},searchStatement:function(e){return e.paper.searchStatement},stateFlag:function(e){return e.paper.stateFlag}})),{},{showRecommend:function(e){var t=e.searchwords,n=e.focus,i=e.moreVisible;return n&&!!t.trim()&&!i},noRadiousBottom:function(e){var t=e.moreVisible,n=e.showRecommend,i=e.showHistory,a=e.from;return t||(n||i)&&"paperHome homeHeader"===a},showHistory:function(e){var t=e.focus,n=e.searchwords,i=e.moreVisible;return t&&!n&&!i},historyLeft:function(e){return e.from.includes("homeHeader")?"0":"102px"}}),mounted:function(){var e=this;if(this.initEvent(),this.searchwords=this.$route.query.searchKey||"",Object(u.useEventListener)("scroll",(function(){e.moreVisible=!1,e.iptAutoBlur()})),"paperHome"!==this.from)var t=this.$watch("groupList",(function(){this.setInputState(),t()}))},watch:{"$route.query.searchKey":{handler:function(e){e&&(this.searchwords=e)}},searchwords:function(e){e!==this.searchStatement&&this.SET_STATEMENT(e)},searchStatement:function(e){e!==this.searchwords&&(this.searchwords=e,this.stateFlag&&this.handleSearch(void 0,void 0,""))}},beforeDestroy:function(){this.$nuxt.$off("updatePaperSearch",this.handleHistrorySearch)},methods:T(T({},Object(o.mapMutations)("paper",["SET_STATEMENT","SET_STATEFLAG"])),{},{recommendClick:function(e,t){this.iptAutoBlur(),this.handleHistrorySearch(e,t)},handleClose:function(){var e,t,n,i,a,r,s,o,c,l,u,d=!1;null===(e=this.groupList)||void 0===e||e.searchExpression.forEach((function(e){e.searchKey&&(d=!0)})),null!==(t=this.groupList)&&void 0!==t&&null!==(n=t.subject_name)&&void 0!==n&&n.isShow&&(null===(i=this.groupList)||void 0===i||null===(a=i.subject_name)||void 0===a||null===(r=a.value)||void 0===r?void 0:r.length)>0||null!==(s=this.groupList)&&void 0!==s&&null!==(o=s.publication_year)&&void 0!==o&&o.isShow&&(null===(c=this.groupList)||void 0===c||null===(l=c.publication_year)||void 0===l||null===(u=l.value)||void 0===u?void 0:u.length)>0||d||(this.moreVisible=!1)},getHistoryStyle:function(){var e={top:"50px",left:"102px",width:"562px"};return this.showAdvancedSearch||(e.left="0",e.width="100%"),this.from.includes("homeHeader")&&(e.width="100%",e.top="36px",e.left="0"),e},getRecommendStyle:function(){var e={top:"50px",left:"102px",width:"564px"};return this.showAdvancedSearch||(e.left="0",e.width="100%"),this.from.includes("homeHeader")&&(e.width="100%",e.top="36px",e.left="0"),e},initEvent:function(){this.$nuxt.$on("updatePaperSearch",this.handleHistrorySearch)},getIptHeight:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"paperHome homeHeader"===this.from?"moreSearch"===e?"37px":"36px":"50px"},judgeNoRights:function(){return this.userInfo?3===this.permiss&&(this.$bus.$emit("checkKcLimit"),!0):(document.querySelector(".login-container")||this.$loginLayer({businessSource:"PC查文献-首页-搜索",registerPage:document.title,success:function(){return window.location.reload()}}),!0)},handleSearch:function(e,t,n){var i,a=this;if(!this.judgeNoRights())if(t&&(this.searchwords=t),""===(null===(i=this.searchwords)||void 0===i?void 0:i.trim())&&"now"===e)this.$message.warning("请输入要搜索的内容");else{if(this.moreVisible=!1,"senior"===e&&"paperHome"!==this.from)var r=setTimeout((function(){a.setInputState(),clearTimeout(r)}),50);this.$nextTick((function(){var e;null===(e=a.$refs.historySearchRef)||void 0===e||e.updateHistory(),a.checkSearchKey()?(a.handleLink(n),a.iptAutoBlur()):a.$message.warning("搜索词和过滤项不能同时为空")}))}},toggleVisible:function(){var e=this;this.showAdvancedSearch&&this.$nextTick((function(){e.moreVisible=!e.moreVisible,e.readonly=!1,e.moreVisible||e.setInputState()}))},handleExpand:function(){this.showAdvancedSearch&&(this.moreVisible=!0,this.readonly=!1,this.$refs.homeInput.focus())},handleCloseMask:function(){this.moreVisible=!1,this.readonly=!0},checkSearchKey:function(){var e,t,n=0;""!==this.searchwords&&n++;var i=this.groupList,a=i.publication_year,r=i.subject_name,s=i.searchExpression;
1return null==s||s.forEach((function(e){null!=e&&e.searchKey&&(n+=1)})),null!=a&&a.value&&(null==a||null===(e=a.value)||void 0===e?void 0:e.length)>0&&(n+=1),null!=r&&r.value&&(null==r||null===(t=r.value)||void 0===t?void 0:t.length)>0&&(n+=1),!!n},setInputState:function(){var e,t;if(!this.showAdvancedSearch)return this.readonly=!1,void(this.conditionValue="");var n=0,i="",a=this.searchwords;this.$forceUpdate();var r=this.groupList,s=r.publication_year,o=r.subject_name,c=r.searchExpression;null==c||c.forEach((function(e){null!=e&&e.searchKey&&(a||(a=e.searchKey),n+=1)})),null!=s&&s.value&&(null==s||null===(e=s.value)||void 0===e?void 0:e.length)>0&&(a||(a=s.value.join("-")||""),n+=1),null!=o&&o.value&&(null==o||null===(t=o.value)||void 0===t?void 0:t.length)>0&&(a||(a=o.value[0]||""),n+=1),this.searchwords?i=0===n?"":"等"+(n+1)+"个条件":n>0&&(i=1===n?" 1个条件":"等"+n+"个条件"),i&&(this.readonly=!0),this.conditionValue="".concat(a||"").concat(i||"")},handleLink:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t.loading){n.next=2;break}return n.abrupt("return");case 2:if(t.loading=!0,n.prev=3,t.showAdvancedSearch){n.next=10;break}return e&&localStorage.setItem("qzdPaperShence",JSON.stringify({type:e,page:t.$route.name})),t.$nextTick((function(){t.$router.push({path:"/paper/result",query:{searchKey:t.searchwords}})})),t.loading=!1,t.SET_STATEFLAG(!1),n.abrupt("return");case 10:return i={expression:JSON.stringify(t.groupList)},t.loading=!1,n.next=14,t.$axios(Object(m.f)(i));case 14:0===(null==(a=n.sent)?void 0:a.code)?(e&&localStorage.setItem("qzdPaperShence",JSON.stringify({type:e,page:t.$route.name})),t.$nextTick((function(){t.$router.push("/paper/result?searchKey=".concat(t.searchwords,"&moreSearchId=").concat(a.data||""))}))):3100011===(null==a?void 0:a.code)?(e&&localStorage.setItem("qzdPaperShence",JSON.stringify({type:e,page:t.$route.name})),r=new Date,t.$nextTick((function(){t.$router.push("/paper/result?searchKey=".concat(t.searchwords,"&moreSearchId=").concat(r.getTime()))}))):t.$message.error(a.msg),t.loading=!1,t.SET_STATEFLAG(!1),n.next=24;break;case 20:n.prev=20,n.t0=n.catch(3),t.loading=!1,t.SET_STATEFLAG(!1);case 24:case"end":return n.stop()}}),n,null,[[3,20]])})))()},handleHistrorySearch:function(e,t){this.handleSearch(void 0,e,t)},iptAutoBlur:function(){var e;null===(e=this.$refs.homeInput)||void 0===e||e.blur()},handleFocus:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a,r,s,o,c,l,u,d,h,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(1!==e.permiss){t.next=4;break}return e.iptAutoBlur(),t.next=4,Object(x.h)({businessSource:"PC查文献-首页-搜索"},!0);case 4:p=!1,null===(n=e.groupList)||void 0===n||n.searchExpression.forEach((function(e){e.searchKey&&(p=!0)})),null!==(i=e.groupList)&&void 0!==i&&null!==(a=i.subject_name)&&void 0!==a&&a.isShow&&(null===(r=e.groupList)||void 0===r||null===(s=r.subject_name)||void 0===s||null===(o=s.value)||void 0===o?void 0:o.length)>0||null!==(c=e.groupList)&&void 0!==c&&null!==(l=c.publication_year)&&void 0!==l&&l.isShow&&(null===(u=e.groupList)||void 0===u||null===(d=u.publication_year)||void 0===d||null===(h=d.value)||void 0===h?void 0:h.length)>0||p||(e.moreVisible=!1),e.focus=!0;case 8:case"end":return t.stop()}}),t)})))()},handleBlur:function(){this.focus=!1},getIptCls:function(){return this.from||""}})}),L=(n(1415),n(1416),Object(p.a)(P,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["journals-search",e.getIptCls(),{" border-b-none":e.noRadiousBottom,"journals-search-no-advanced":!e.showAdvancedSearch}]},[i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"journals-search-input"},[i("div",{staticClass:"journals-search-input-left"},[e.showAdvancedSearch?i("div",{staticClass:"journals-search-input-moreBtn",class:{"journals-search-input-moreBtnOpen":e.moreVisible},on:{click:function(t){return t.stopPropagation(),e.toggleVisible(t)}}},[i("span",{staticClass:"text"},[e._v("高级搜索")]),e._v(" "),i("v-icon",{staticClass:"arrow",attrs:{id:"icon-xiala-hei1x"}}
1)],1):e._e(),e._v(" "),e.showAdvancedSearch&&"paperHome"!==e.from?i("div",[i("div",{directives:[{name:"show",rawName:"v-show",value:e.readonly,expression:"readonly"}],staticClass:"advanced-search-placeholder"},[e._v("\n          "+e._s(e.conditionValue)+"\n        ")])]):e._e()]),e._v(" "),i("el-input",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],ref:"homeInput",staticClass:"journals-search-input-inner",attrs:{maxlength:"100",clearable:"",placeholder:e.placeholder},on:{focus:e.handleFocus,blur:e.handleBlur},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSearch("now","","search")}},model:{value:e.searchwords,callback:function(t){e.searchwords=t},expression:"searchwords"}}),e._v(" "),e.showAdvancedSearch&&"paperHome"!==e.from?i("div",[i("el-button",{directives:[{name:"show",rawName:"v-show",value:e.readonly,expression:"readonly"}],staticClass:"journals-search-input-moreBtnOpen",attrs:{type:"primary"},on:{click:function(){return e.handleExpand()}}},[e._v("修改高级筛选")])],1):e._e(),e._v(" "),e.moreVisible||e.readonly?e._e():i("span",{staticClass:"journals-search-input-btn",on:{click:function(t){return e.handleSearch("now","","search")}}},[i("img",{staticClass:"search_icon",attrs:{src:n(775),alt:""}})]),e._v(" "),e.showAdvancedSearch?i("MoreSearch",{ref:"moreSearchRef",attrs:{inputHeight:e.getIptHeight("moreSearch"),isShow:e.moreVisible,from:e.from},on:{search:function(t){return e.handleSearch(t,"","moreSearch")},updateMoreSearchVisible:function(t){e.moreVisible=!1}},nativeOn:{click:function(e){e.stopPropagation()}}}):e._e()],1),e._v(" "),i("HistorySearch",{ref:"historySearchRef",attrs:{isShow:e.showHistory,searchKey:e.searchwords,historyWrapStyle:e.getHistoryStyle()},on:{search:function(t){return e.handleHistrorySearch(t,"historySearch")}}}),e._v(" "),i("RecommendSearch",{ref:"recommendSearchRef",attrs:{isShow:e.showRecommend,searchKey:e.searchwords,wrapStyle:e.getRecommendStyle()},on:{search:function(t){return e.recommendClick(t,"recommSearch")}}})],1)}),[],!1,null,"b6a8fe28",null));t.a=L.exports;installComponents(L,{VIcon:n(143).default})},547:function(e,t,n){"use strict";n(19),n(36),n(144),n(53),n(54),n(35);var i=n(9),a=n(8),r=n(811),s=n(813),o=n(245),c=n(224),l=n(18),u=n(746),d=n(772);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"SearchMixin",props:{size:{type:String,default:"medium"},isHeaderSearch:{type:Boolean,default:!1},isHomeSearch:{type:Boolean,default:!1}},components:{SearchInput:r.a,AssociatedEnterpriseSearch:s.a},data:function(){return{overlayTimer:null,loading:!1,searchbarTabsCacheMap:o.d,unitValueFiledMap:o.f,placeholderMap:o.a,searchInputPanelShow:!1,associatedEnterpriseSearchPanelShow:!1,isCurrentSearch:!1}},watch:{activeTab:{handler:function(e){var t=this,n=this.searchTypeList.some((function(e){return e.valueFiled===t.valueFiled}))?this.valueFiled:"general_list",i=o.b.includes(n)&&!this.searchValue||o.e.includes(n)&&!this.unitSelectValue.length,a=this.searchbarTabsCacheMap.get(e),r=o.b.includes(a)&&this.searchValue||o.e.includes(a)&&this.unitSelectValue.length;i&&r&&(n=a),this.SET_VALUEFILED(n),this.searchbarTabsCacheMap.set(e,n)},immediate:!0}},computed:p({searchTypeList:function(){return this.unitValueFiledMap.get(this.activeTab)||[]},isUnit:function(){return o.e.includes(this.valueFiled)}},Object(l.mapState)("bd/home",["activeTab","valueFiled","searchValue","unitSelectValue"])),mounted:function(){this.$bus.$on("bdSearchUnitDisplay",this.bdSearchUnitDisplay)},beforeDestroy:function(){this.$bus.$off("bdSearchUnitDisplay",this.bdSearchUnitDisplay)},methods:p(p({},Object(l.mapMutations)("bd/home",["SET_VALUEFILED","SET_SEARCHVALUE","SET_UNITSELECTVALUE"])),{},{bdSearchUnitDisplay:function(){var e=this;this.isCurrentSearch?this.isCurrentSearch=!1:this.$nextTick((function(){var t;null===(t=e.$refs)||void 0===t||t.associatedEnterpriseSearch.display()}))},selectChange:function(e){this.SET_VALUEFILED(e),this.searchbarTabsCacheMap.set(this.activeTab,e),this.searchInputPanelShow=!1,this.associatedEnterpriseSearchPanelShow=!1},onInput:function(e){this.SET_SEARCHVALUE(e)},onEnterpriseInput:function(e){this.SET_UNITSELECTVALUE(e),this.isCurrentSearch=!0,this.$bus.$emit("bdSearchUnitDisplay")},createdSearchRequestId:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r,s,o,l,d,h,p,f,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,t.overlayTimer=setTimeout((function(){if(t.loading){var e=document.createElement("div");e.classList.add("overlay"),document.body.appendChild(e)}clearTimeout(t.overlayTimer)}),500),n.next=4,t.$axios(Object(c.x)(e));case 4:if(i=n.sent,(a=document.querySelector(".overlay"))&&a.remove(),t.loading=!1,0!==i.code){n.next=17;break}o=(null==i||null===(r=i.data)||void 0===r?void 0:r.expansion2)||"",l=JSON.parse((null==i||null===(s=i.data)||void 0===s?void 0:s.expansion1)||"{}"),d=l.activeName,h=void 0===d?"all":d,p=l.queryKeyList,f=(void 0===p?[]:p).some((function(e){return"related_company"===e.queryField})),m="".concat(window.location.origin,"/bd/result?searchUniqueId=").concat(o,"&activeName=").concat(h),f&&(m="".concat(m,"&sortVal=2")),Object(u.b)(m),n.next=19;break;case 17:return t.$message.error(null==i?void 0:i.msg),n.abrupt("return",!1);case 19:case"end":return n.stop()}}),n)})))()},onClick:function(){var e={current:1,pageSize:10,activeName:this.activeTab,funcSource:2};if(this.searchValue&&o.b.includes(this.valueFiled)){var t=Object(d.f)(3,"months");e.filterParam={publishTime:t},e.queryKeyList=[{queryField:this.valueFiled,queryValue:this.searchValue,queryFlag:1,relatedCompanyParam:{scope:["all"],valueParams:[]}}]}this.createdSearchRequestId(e)}})},m=(n(1328),n(1329),n(1330),n(13)),v=Object(m.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search-mixin",class:{"search-mixin__header-search":e.isHeaderSearch,"search-mixin__home-search":e.isHomeSearch,"search-mixin--panel-sh
1ow":e.searchInputPanelShow||e.associatedEnterpriseSearchPanelShow}},[n("SearchInput",{ref:"searchInput",staticClass:"search-mixin__search-input",attrs:{activeName:e.activeTab,value:e.searchValue,panelShow:e.searchInputPanelShow,isHomeSearch:e.isHomeSearch||e.isHeaderSearch},on:{"update:panelShow":function(t){e.searchInputPanelShow=t},"update:panel-show":function(t){e.searchInputPanelShow=t},input:e.onInput,keyUpEnter:e.onClick,jump:e.onClick}}),e._v(" "),n("div",{staticClass:"search-mixin__search-btn",class:["search-mixin__search-btn--"+e.size],on:{click:function(t){return t.stopPropagation(),e.onClick(t)}}},[n("v-icon",{staticClass:"icon-search",attrs:{id:"icon-a-pub-sousuo-changgui3x"}})],1)],1)}),[],!1,null,"5d7567f2",null);t.a=v.exports;installComponents(v,{VIcon:n(143).default})},548:function(e,t,n){"use strict";n(19),n(178),n(44),n(101),n(32),n(20),n(273),n(69),n(96),n(63),n(54),n(35);var i=n(9),a=n(26),r=n(8),s=n(489),o=n(189),c=n(18);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={name:"HomeSearch",components:{},props:{value:{type:String,default:""}},data:function(){return{searchWord:"",placeholder:"",placeholderTxt:"输入关键词搜索专家、成果、设备、投资机构",isShouldShowMask:!1,showSearchMask:!1,searchHistory:[],visitHistory:[],timer:null}},computed:u(u({},Object(c.mapState)("cxy",["userVisitHistory"])),Object(c.mapGetters)({userInfo:"user/userInfo"})),watch:{value:function(e){this.searchWord=e},userVisitHistory:{handler:function(e){this.visitHistory=e},deep:!0},showSearchMask:function(e){if(e)try{var t=JSON.parse(localStorage.getItem("cxy-search-history"));Array.isArray(t)||(t=[]),this.searchHistory=Object(a.a)(new Set(t.map((function(e){return e.trim()}))))}catch(e){this.searchHistory=[]}}},mounted:function(){this.placeholder=this.placeholderTxt},methods:{handleInput:function(){var e=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout((function(){e.$store.commit("cxy/SET_HOMESEARCHWORD",e.searchWord)}),500)},searchFocus:function(){this.placeholder="",this.showSearchMask=!0,this.$emit("searchFocus")},searchBlur:function(){this.isShouldShowMask||(this.searchWord.trim()||(this.placeholder=this.placeholderTxt),this.showSearchMask=!1,this.$emit("searchBlur"))},handleSearch:function(){var e,t=this;if(this.showSearchMask=!1,this.isShouldShowMask=!1,!this.searchWord.trim())return this.$message.warning("请先输入关键词"),void(this.placeholder=this.placeholderTxt);try{e=JSON.parse(localStorage.getItem("cxy-search-history"))}catch(t){e=[]}Array.isArray(e)||(e=[]);var n=e.map((function(e){return e.trim()})),i=n.findIndex((function(e){return e===t.searchWord.trim()}));-1!==i&&n.splice(i,1),n.unshift(this.searchWord.trim()),n.length>20&&n.pop(),localStorage.setItem("cxy-search-history",JSON.stringify(n)),this.$router.push("/cxy/search?t=0&k=".concat(this.searchWord.trim(),"&anchor=1"))},scrollerEnter:function(){this.isShouldShowMask=!0},scrollerLeave:function(){this.isShouldShowMask=!1},handleClear:function(){var e;this.searchWord="",this.isShouldShowMask=!1,null===(e=this.$refs.inputRef)||void 0===e||e.focus()},visitHistoryClick:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r,s,c,l,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(o.h)({businessSource:"PC产学研-首页-访问历史"});case 2:i=e.bsnId,a=void 0===i?"":i,r=e.bsnType,s=void 0===r?"":r,c=e.name,l=void 0===c?"":c,t.shenceReport({event:"SC_EVENT_00079",moduleName:"最近查看",buttonName:"最近查看词条",pageTitle:"PC产学研首页",pageName:document.title,otherMsg:l,requirement_id:265,track_sign:"aqzdcxy.b863.c1853.click.SC_EVENT_00079"}),n.t0=s,n.next="1"===n.t0?7:"2"===n.t0?9:"3"===n.t0?11:"4"===n.t0?13:"5"===n.t0?15:"6"===n.t0?17:19;break;case 7:return u="/cxy/expert-detail/".concat(a,"?from=PC产学研首页-访问历史&registerPage=").concat(l),n.abrupt("break",20);case 9:return u="/cxy/achieve-detail/".concat(a,"?businessSource=PC产学研-äº
1§å­¦ç ”首页-访问历史&registerPage=").concat(l,"&from=PC产学研首页-访问历史"),n.abrupt("break",20);case 11:return u="/cxy/device/other-detail/".concat(a),n.abrupt("break",20);case 13:return u="/cxy/team-expert/".concat(a),n.abrupt("break",20);case 15:return window.open("".concat("https://patents.qizhidao.com","/search/detail/").concat(a),"_self"),n.abrupt("return");case 17:return u="/cxy/invest/detail/".concat(a,"?from=PC产学研首页-访问历史&registerPage=").concat(l),n.abrupt("break",20);case 19:return n.abrupt("break",20);case 20:t.$router.push(u);case 21:case"end":return n.stop()}}),n)})))()},delHistory:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.visitHistory.length){t.next=8;break}return t.next=3,e.$axios(Object(s.j)({}));case 3:n=t.sent,0===n.code&&(e.searchHistory=[],e.visitHistory=[],e.$store.commit("cxy/SET_USERVISITHISTORY",[]),localStorage.removeItem("cxy-search-history")),t.next=10;break;case 8:e.searchHistory=[],localStorage.removeItem("cxy-search-history");case 10:e.showSearchMask=!1;case 11:case"end":return t.stop()}}),t)})))()}}},h=(n(1340),n(13)),p=Object(h.a)(d,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"home-search-wrap"},[i("div",{class:["banner_right_search",e.showSearchMask?"left_bottom":""]},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.searchWord,expression:"searchWord"}],ref:"inputRef",staticClass:"search_input",attrs:{maxlength:"20",type:"text",placeholder:e.placeholder},domProps:{value:e.searchWord},on:{focus:e.searchFocus,blur:e.searchBlur,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSearch(t)},input:[function(t){t.target.composing||(e.searchWord=t.target.value)},e.handleInput]}}),e._v(" "),e.searchWord?i("svg",{staticClass:"search_delete",attrs:{"aria-hidden":"true"},on:{mouseenter:e.scrollerEnter,mouseleave:e.scrollerLeave,click:e.handleClear}},[i("use",{attrs:{"xlink:href":"#icon-sousuokuang-shanchu"}})]):e._e(),e._v(" "),i("div",{staticClass:"icon_layout",on:{click:e.handleSearch,mouseenter:e.scrollerEnter,mouseleave:e.scrollerLeave}},[i("div",{staticClass:"icon_wrap"},[i("img",{attrs:{src:n(775),alt:""}})])])]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showSearchMask,expression:"showSearchMask"}],staticClass:"banner_right_search_scroller",on:{click:function(t){return e.$refs.inputRef.focus()},mouseenter:e.scrollerEnter,mouseleave:e.scrollerLeave}},[e.searchHistory.length||e.visitHistory.length?e._e():i("span",{staticClass:"empty"},[e._v("请输入专家、成果、设备名称")]),e._v(" "),e.searchHistory.length?i("div",{staticClass:"search_history"},[i("div",{class:["search_history_wrap",e.visitHistory.length?"":"no_border"]},[i("div",{staticClass:"search_history_box"},e._l(e.searchHistory,(function(t,n){return i("span",{key:n,staticClass:"search_history_item ellipsis",on:{click:function(n){return n.stopPropagation(),e.$router.push("/cxy/search?t=0&k="+t+"&anchor=2")}}},[e._v(e._s(t))])})),0)])]):e._e(),e._v(" "),e.visitHistory.length?i("div",{staticClass:"visit_history"},e._l(e.visitHistory,(function(t,n){return i("p",{key:n,on:{click:function(n){return n.stopPropagation(),e.visitHistoryClick(t)}}},[i("svg",{staticClass:"svg-box-icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#icon-zuijinsousuo"}})]),e._v(" "),["5"].includes(t.bsnType)?i("span",{staticClass:"ellipsis",domProps:{innerHTML:e._s(t.name)}}):i("span",{staticClass:"ellipsis"},[e._v(e._s(t.name))])])})),0):e._e(),e._v(" "),e.searchHistory.length||e.visitHistory.length?i("div",{staticClass:"search_bottom"},[i("div",{staticClass:"search_bottom_icon",on:{click:e.delHistory}},[i("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#icon-lishijilushanchu"}})]),e._v(" "),i("span",[e._v("删除历史")])])]):e._e()])])}),[],!1,null,"5f4995a4",null);t.a=p.exports},579:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i={props:{itemSource:{type:Object,default:function(){}},cell:{type:Object,default:function(){}},cellKey:{type:String,default:""}}},a=(n(1716),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.cell.labelArray,(function(t,i){return n("div",{key:i,staticClass:"labelText"},[e._v(e._s(t))])})),0)}),[],!1,null,"dd481c20",null).exports,s=(n(19),{props:{cell:{type:Object,default:function(){}},itemSource:{type:Object,default:function(){}},cellKey:{type:String,default:""}},computed:{companyKey:function(){var e;return(null===(e=this.cell)||void 0===e?void 0:e.companyKey)||""}},methods:{goDetail:function(e){e&&window.open("".concat("https://qiye.qizhidao.com","/company/").concat(e,".html"),"_blank")}}}),o=(n(1717),Object(a.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"companyCell"},[n("div",{class:["companyName",{hasId:e.itemSource[e.companyKey]}],on:{click:function(t){return e.goDetail(e.itemSource[e.companyKey])}}},[e._v("\n    "+e._s(e.itemSource[e.cellKey]||"--")+"\n  ")])])}
1),[],!1,null,"2a6314fa",null).exports),c={props:{cell:{type:Object,default:function(){}},itemSource:{type:Object,default:function(){}},cellKey:{type:String,default:""}},computed:{personKey:function(){var e;return(null===(e=this.cell)||void 0===e?void 0:e.personKey)||""},companyKey:function(){var e;return(null===(e=this.cell)||void 0===e?void 0:e.companyKey)||""}},methods:{goDetail:function(){this.itemSource[this.companyKey]?window.open("".concat("https://qiye.qizhidao.com","/company/").concat(this.itemSource[this.companyKey],".html"),"_blank"):this.itemSource[this.personKey]&&window.open("".concat("https://qiye.qizhidao.com","/boss/").concat(this.itemSource[this.personKey],".html"),"_blank")}}},l=(n(1718),Object(a.a)(c,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"companyCell"},[n("div",{class:["companyName",{hasId:e.itemSource[e.companyKey]||e.itemSource[e.personKey]}],on:{click:e.goDetail}},[e._v("\n    "+e._s(e.itemSource[e.cellKey]||"--")+"\n  ")])])}),[],!1,null,"15f59c33",null).exports),u={props:{itemSource:{type:Object,default:function(){}},cellKey:{type:String,default:""},cell:{type:Object,default:function(){}}},computed:{list:function(){return this.itemSource[this.cellKey]||[]}},methods:{goDetail:function(e){e&&window.open("".concat("https://qiye.qizhidao.com","/company/").concat(e,".html"),"_blank")},handleClick:function(e){}}},d=(n(1719),{28:{name:"股权冻结",type:28,api:"/qzd-bff-enterprise/qzd/v4/es/phaseiv/pc/findJudicialassistDetail",fetchType:"get",sectionList:[{fieldList:[{key:"court",name:"执行法院"},{key:"judicial_assist_ev",name:"执行事项"},{key:"freeze_no",name:"执行裁定书文号"},{key:"notice_code",name:"执行通知书文号"},{key:"people_enforced",name:"被执行人",valueComponent:l,personKey:"",companyKey:"people_enforced_id"},{key:"eid_company_name",name:"冻结股权标的企业",valueComponent:o,companyKey:"eid_es_id"},{key:"equity_amount",name:"被执行人持有股权、其他投资权益数额"},{key:"cert_type",name:"被执行人证件种类"},{key:"cert_code",name:"被执行人证件号码"},{key:"freeze_maturity",name:"冻结期限"},{key:"start_time",name:"冻结期限自"},{key:"end_time",name:"冻结期限至"},{key:"publ_date",name:"公示日期",row:!0}]}],minHeight:448},31:{name:"失信被执行人",type:"31",api:"/qzd-bff-enterprise/qzd/v3/es/law/pc/findLawFaithexecuteeDetail",fetchType:"get",sectionList:[{fieldList:[{key:"caseNumber",name:"案号"},{key:"executeNumber",name:"执行依据文号"},{key:"peopleEnforced",name:"失信被执行人",valueComponent:o,companyKey:"esid"},{key:"cert_code",name:"证件号组织机构代码",labelComponent:r,labelArray:["证件号/","组织机构代码"]},{key:"executeTarget",name:"涉案金额"},{key:"courtName",name:"执行法院"},{key:"execute_maker",name:"作出执行依据单位"},{key:"performance",name:"被执行人履行情况"},{key:"filingTime",name:"立案日期"},{key:"infoPublDate",name:"发布日期"},{key:"behavior",name:"失信被执人行为具体情形",row:!0},{key:"obligations",name:"生效法律文书确定的义务",row:!0}]}],minHeight:468},29:{name:"立案信息",type:"29",api:"/qzd-bff-enterprise/qzd/v3/es/law/pc/findLawCaseInfoDetail",fetchType:"get",sectionList:[{fieldList:[{key:"caseNumber",name:"案号"},{key:"case_brief",name:"案由"},{key:"relatedInfos",name:"当事人",row:!0,valueComponent:Object(a.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"companyCell"},[e.list.length?e._l(e.list,(function(t,i){return n("div",{key:i,staticClass:"itmeBox"},[n("div",{staticClass:"l-1"},[e._v(e._s(t.kind)+":")]),e._v(" "),n("div",{staticClass:"r-1"},e._l(t.infos,(function(i,a){return n("div",{key:a},[n("span",{class:[{hasId:i._id}],on:{click:function(t){return e.goDetail(i._id)}}},[e._v(e._s(i.name))]),n("span",{directives:[{name:"show",rawName:"v-show",value:t.infos.length>1,expression:"item.infos.length > 1"}]},[e._v(";")])])})),0)])})):[e._v("--")]],2)}),[],!1,null,"b0d0417c",null).exports,valueClass:"noPd"},{key:"case_type",name:"案件类型"},{key:"caseStatusDesc",name:"案件状态"},{key:"courtName",name:"法院"},{key:"department",name:"承办部门"},{key:"judge",name:"承办法官"},{key:"judgeAssistant",name:"法官助理"},{key:"caseDate",name:"立案日期"},{key:"sessionDate",name:"开庭时间"},{key:"endDate",name:"结案时间",row:!0}]}],minHeight:428},30:{name:"终本案件",type:"30",api:"/qzd-bff-enterprise/qzd/v4/es/phaseiv/pc/findEndexecuteeDetail",fetchType:"get",sectionList:[{fieldList:[{key:"case_number",name:"案号"},{key:"people_enforced",name:"被执行人",valueComponent:o,companyKey:"eid"},{key:"cert_code",name:"证件号组织机构代码",labelComponent:r,labelArray:["证件号/","组织机构代码"]},{key:"implementation",name:"履行状态"},{key:"execute_target",name:"执行标的(元)"},{key:"unexecute_target",name:"未履行金额(元)"},{key:"court_name",name:"执行法院"},{key:"filing_time",name:"立案日期"},{key:"end_date",name:"终本日期",row:!0}]}],minHeight:339},32:{name:"被执行人详情",type:"32",api:"/qzd-bff-enterprise/qzd/v3/es/law/pc/findLawExecuteeDetail",fetchType:"get",sectionList:[{fieldList:[{key:"caseNumber",name:"案号"},{key:"peopleEnforced",name:"被执行人",valueComponent:o,companyKey:"esid"},{key:"certCode",name:"证件号组织机构代码",labelComponent:r,labelArray:["证件号/","组织机构代码"]},{key:"filingTime",name:"立案日期"},{key:"executeTarget",name:"执行标的(元)"},{key:"courtName",name:"执行法院"}]}],minHeight:248}})},580:function(e,t,n){"use strict";n(74),n(36),n(75),n(44),n(59),n(62),n(53);var i=n(767),a=n.n(i),r=n(190),s=n.n(r),o={name:"",components:{},props:{value:{type:[Number,String,Array],default:""},showBadge:{type:Boolean,default:!1},options:{type:Array,default:function(){return[]}},placeholder:String,multiple:{type:Boolean,default:!1},collapseTags:{type:Boolean,default:!0},asMultiple:{type:Boolean,default:!1},autoWidth:{type:Boolean,default:!1},modelName:String,searchPlaceholder:{type:String,default:""},isShowText:{type:Boolean,default:!1},isLoadMore:{type:Boolean,default:!1},isLoadMoreLoading:{type:Boolean,default:!1},isLoadMoreLoadend:{type:Boolean,default:!1}},directives:{"el-select-loadmore":{bind:function(e,t){e.querySelector(".el-select-dropdown .el-select-dropdown__wrap").addEventListener("scroll",(function(){this.scrollHeight-this.scrollTop<=this.clientHeight&&t.value()}))}}},data:function(){return{oldVal:"",searchText:""}}
1,computed:{filterOptions:function(){var e=this;return this.searchText?this.options.filter((function(t){return["不限"].includes(t.label)?t:t.label.includes(e.searchText)})):this.options},curDepart:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},showTextContent:function(){var e=this,t=[];this.filterOptions.map((function(n){Array.isArray(e.curDepart)&&e.curDepart.includes(n.value)&&t.push(n.label)}));var n=t.join(";");return n.length>8&&(n=n.slice(0,8)+"..."),n}},watch:{value:{handler:function(e){this.curDepart=this.modelName?this.modelName:e},immediate:!0},curDepart:function(e,t){this.oldVal=t}},mounted:function(){var e=this;this.hiddenSelectOptions=a()(this.hiddenSelectOptions,200),window.addEventListener("scroll",this.hiddenSelectOptions),this.addMouseEvt(),this.$watch("curDepart",s()((function(t,n){e.$emit("multipleChange",t)}),500))},beforeDestroy:function(){window.removeEventListener("scroll",this.hiddenSelectOptions),this.moveMouseEvt()},methods:{addMouseEvt:function(){var e=document.querySelector(".department-popover");e&&(e.addEventListener("mouseenter",this.handleMouseEnter),e.addEventListener("mouseleave",this.handleMouseLeave))},moveMouseEvt:function(){var e=document.querySelector(".department-popover");e&&(e.removeEventListener("mouseenter",this.handleMouseEnter),e.removeEventListener("mouseleave",this.handleMouseLeave))},handleMouseEnter:function(){},handleMouseLeave:function(){},valChange:function(e){this.curDepart=void 0===e?"":e,!e&&this.modelName&&(this.curDepart=this.modelName),this.$emit("change",e)},visibleChange:function(e){if(!e){if(this.multiple&&this.oldVal.join(",")===this.curDepart.join(","))return;return this.$emit("visibleChange",this.curDepart)}this.oldVal=this.curDepart,document.body.click()},hiddenSelectOptions:function(){var e;null===(e=this.$refs.homeCitySelect)||void 0===e||e.blur()},onSelect:function(){this.$refs.homeCitySelect.visible||(this.$refs.homeCitySelect.visible=!0)},handleLoadmore:function(){this.isLoadMoreLoading||this.isLoadMoreLoadend||this.$emit("loadMore")}}},c=(n(1394),n(1395),n(13)),l=Object(c.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"department-select-box",class:[e.isShowText?"depart-select-show__text":""]},[e.showTextContent&&e.isShowText?n("div",{staticClass:"show-select_text_content",on:{click:e.onSelect}},[e._v("\n    "+e._s(e.showTextContent)+"\n  ")]):e._e(),e._v(" "),n("el-select",{directives:[{name:"el-select-loadmore",rawName:"v-el-select-loadmore",value:function(){e.handleLoadmore()},expression:"\n      () => {\n        handleLoadmore()\n      }\n    "}],ref:"homeCitySelect",class:[e.multiple||e.asMultiple?"mutiple-select-content":"",e.autoWidth?"autoWidth":""],attrs:{placeholder:e.placeholder,"popper-class":"homeSearch_InputAssociation_SearchSelect-popover "+(e.autoWidth?"autoWidth-popover":""),multiple:e.multiple,"collapse-tags":e.collapseTags,"popper-append-to-body":!0},on:{change:e.valChange,"visible-change":e.visibleChange},model:{value:e.curDepart,callback:function(t){e.curDepart=t},expression:"curDepart"}},[e.searchPlaceholder?n("el-input",{staticClass:"_feedbackContent",attrs:{placeholder:e.searchPlaceholder,maxlength:"50",clearable:""},model:{value:e.searchText,callback:function(t){e.searchText=t},expression:"searchText"}}):e._e(),e._v(" "),e._l(e.filterOptions,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[e._v("\n      "+e._s(t.label)+"\n    ")])})),e._v(" "),n("template",{slot:"prefix"},[n("v-icon",{attrs:{id:"icon-xiala-hei1x"}})],1)],2)],1)}),[],!1,null,"de2d101a",null);t.a=l.exports;installComponents(l,{VIcon:n(143).default})},617:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"e",(function(){return o}));var i=function(e){return e&&{publication_year:"出版时间","出版时间":"publication_year",subject_name:"学科","学科":"subject_name",publication_name_ori:"发布刊物","发布刊物":"publication_name_ori","文献语言":"language_name_std",language_name_std:"文献语言","可下载原文PDF":"if_copyright",if_copyright:"可下载原文PDF","AI智能摘要":"is_ai_abstract",is_ai_abstract:"AI智能摘要",is_open_access:"Open Access","Open Access":"is_open_access",DOI:"if_has_doi",if_has_doi:"DOI","文献类型":"doc_type",doc_type:"文献类型",region_id:"期刊所属国家地区","期刊所属国家地区":"region_id",level:"来源类别","来源类别":"level"}[e]||""},a=function(){return[{isSpread:!0,label:"学科",labelKey:"subject_name",type:"checkbox",isLoading:!1,isInit:!0,data:[]},{isSpread:!1,label:"出版时间",labelKey:"publication_year",type:"checkbox",isLoading:!1,isInit:!0,data:[]},{isSpread:!1,label:"发布刊物",labelKey:"publication_name_ori",type:"checkbox",isLoading:!1,isInit:!0,data:[]},{isSpread:!1,label:"文献类型",labelKey:"doc_type",type:"checkbox",isLoading:!1,isInit:!1,data:[]},{isSpread:!1,label:"期刊所属国家地区",labelKey:"region_id",type:"checkbox",isLoading:!1,isInit:!0,data:[]},{isSpread:!1,label:"文献语言",labelKey:"language_name_std",type:"checkbox",isLoading:!1,isInit:!1,data:[]},{isSpread:!1,label:"可下载原文PDF",labelKey:"if_copyright",type:"radio",isLoading:!1,isInit:!1,data:[]},{isSpread:!1,label:"AI智能摘要",labelKey:"is_ai_abstract",type:"radio",isLoading:!1,isInit:!1,data:[]},{isSpread:!1,label:"Open Access",labelKey:"is_open_access",type:"radio",isLoading:!1,isInit:!1,data:[]},{isSpread:!1,label:"DOI",labelKey:"if_has_doi",type:"radio",isLoading:!1,isInit:!1,data:[]}]},r=[{label:"且",value:"and"},{label:"或",value:"or"},{label:"非",value:"not"}],s=[{label:"全部",value:"all"},{label:"标题",value:"doc_title"},{label:"作者",value:"author"},{label:"关键词",value:"doc_keywords"},{label:"摘要",value:"doc_abstract"},{label:"期刊名",value:"publication_name_ori"},{label:"机构",value:"institution_name"},{label:"DOI",value:"doi"}],o=function(e,t){var n={search:{searchMode:"输入搜索"},historySearch:{searchMode:"历史搜索"},recommSearch:{searchMode:"联想搜索"},moreSearch:{searchMode:"输入搜索-高级"}};return"paper"===e?{businessSource:"PC查文献首页",pageTitle:"PC查文献搜索结果页",track_sign:"akzonecwx.b5058.click.SC_SEARCH_REQ_EVENT",event:"SC_SEARCH_REQ_EVENT",requirement_id:605,searchMode:n[t].searchMode}:"paper-result"===e?{businessSource:"PC查文献搜索结果页",pageTitle:"PC查文献搜索结果页",track_sign:"akzonecwx.b5258.click.SC_SEARCH_REQ_EVENT",event:"SC_SEARCH_REQ_EVENT",requirement_id:605,searchMode:n[t].searchMode}:null}},634:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));
1var i=function(){return{searchExpression:[{condition:"or",fileds:"doc_title",searchKey:""},{condition:"or",fileds:"author",searchKey:""},{condition:"or",fileds:"publication_name_ori",searchKey:""}],publication_year:{isShow:!1,value:[]},subject_name:{isShow:!1,value:[]}}}},685:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));n(19),n(74),n(42),n(36),n(44),n(59),n(20),n(66),n(53),n(55),n(54),n(26);var i="resultPage-filterData-sessionKey",a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;try{var t=sessionStorage.getItem(e),n=JSON.parse(t);return n}catch(e){return null}},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;try{var n=t;return["object","array"].includes(a(n))&&(n=JSON.stringify(n)),sessionStorage.setItem(e,n),!0}catch(e){return!1}},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;try{return sessionStorage.removeItem(e),!0}catch(e){return!1}},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];t&&o();var a=r(i);return Array.isArray(a)&&(n=a),{initSelectedObjList:n}},l={data:function(){return{_startCollectY:!1}},mounted:function(){var e=location.pathname;this._SCROLLY_SESSION_KEY="scrollY-sessionKey__".concat(e),window.addEventListener("scroll",this._handleWindowScroll),window.scrollToCoordinate=this.scrollToCoordinate.bind(this)},destroyed:function(){window.removeEventListener("scroll",this._handleWindowScroll)},methods:{_handleWindowScroll:function(e){var t=this;this._startCollectY&&(clearTimeout(this._handleWindowScrollTimer),this._handleWindowScrollTimer=setTimeout((function(){s(t._SCROLLY_SESSION_KEY,window.scrollY)}),100))},scrollToCoordinate:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;clearTimeout(this._scrollToCoordinateTimer),this._scrollToCoordinateTimer=setTimeout((function(){var t=n>=0?n:r(e._SCROLLY_SESSION_KEY)-0;t>=0&&(window.scrollTo({top:t}),e._startCollectY=!0)}),t)}}}},687:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=[{label:"国家级",value:"1"},{label:"省级",value:"2"},{label:"市级",value:"3"},{label:"区级",value:"4"}],a=[{label:"企业研发投入补贴",value:"1"},{label:"固定资产投入补贴",value:"2"},{label:" 企业荣誉资质奖励",value:"3"},{label:"企业管理提升奖励",value:"4"},{label:"融资贷款补贴",value:"5"},{label:"人才补贴",value:"6"},{label:"税收优惠",value:"7"},{label:"其他补贴",value:"8"}]},728:function(e,t,n){"use strict";n(36),n(44),n(53);var i,a=n(14),r=n(153),s=n(190),o=n.n(s),c=(n(1710),n(481)),l=[],u=o()((function(){Object(r.a)(l,Object(c.b)()),l=[]}),500);function d(){return i||(i=new IntersectionObserver((function(e){e.map((function(e){if(e.isIntersecting){var t=e.target,n="function"==typeof t.binding_fn?t.binding_fn():t.binding_fn;n&&(a=n,l.push(a),u()),i.unobserve(t)}var a}))}),{threshold:.8}))}var h={name:"expose",inserted:function(e,t){if(t.modifiers.exist)for(var n=e.offsetParent;n;){if(n.className&&n.className.includes("exist-expose"))return;n=n.offsetParent}var i=d();e.binding_fn=t.value,i.observe(e)}},p=a.default.directive("expose",h);t.a=p},742:function(e,t,n){"use strict";n(59),n(32),n(62);var i={name:"BaseAvatar",components:{BaseImg:n(748).a},props:{src:{type:String,default:""},size:{type:Number,default:100},radius:{type:Number,default:4},name:{type:String,default:""}},data:function(){return{}},computed:{realName:function(){return this.name?/[\u4e00-\u9fa5]/.test(this.name[0])?this.name.slice(0,4):this.name[0]:""}},methods:{}},a=(n(1310),n(13)),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"base-cxy-gradient-avatar",style:{borderRadius:e.radius+"px",width:e.size+"px",height:e.size+"px"}},[e.src?n("BaseImg",{attrs:{src:e.src,size:e.size,radius:e.radius,name:e.name}}):n("div",{staticClass:"default-avatar",style:{width:e.size+"px",height:e.size+"px",padding:.14*e.size+"px",borderRadius:e.radius+"px",fontSize:e.size*(e.realName.length>1?.3:.5)+"px"}},[n("span",{staticClass:"default-avatar-text",attrs:{"data-text":"{realName}"}},[e._v(" "+e._s(e.realName)+" ")])])],1)}),[],!1,null,null,null);t.a=r.exports},748:function(e,t,n){"use strict";var i={getEvenName:function(e){return e?"click":null}},a=(n(1309),n(13)),r=Object(a.a)(i,(function(e,t){var n=t._c;return n("div",{class:["base-img-wrapper",t.props.click?"pointer":""],style:Object.assign({},{borderRadius:(t.props.radius||4)+"px",width:(t.props.size||100)+"px",height:(t.props.size||100)+"px"},t.props.styles),on:t._d({},[t.$options.getEvenName(t.props.click),t.props.click])},[t.props.src?n("img",{attrs:{src:t.props.src,alt:""}}):t._t("default")],2)}),[],!0,null,"80a19080",null);t.a=r.exports},749:function(e,t,n){"use strict";n.r(t);n(59),n(32),n(62),n(31),n(65);var i={name:"SvgText",props:{name:{type:String,default:""},fontSize:{type:Number,default:10},color:{type:String,default:""},width:{type:Number,default:32},height:{type:Number,default:32}},data:function(){return{logoNameLength:0,nameTop:"",nameBottom:""}},watch:{name:{handler:function(e){e&&this.drawText()},immediate:!0}},methods:{removeCharacter:function(e){var t="",n="";e.replace(/[\u4e00-\u9fa5A-Za-z0-9]/g,(function(e){t+=e}));return/^[a-zA-Z0-9]/.test(t)?t.replace(/^[a-zA-Z0-9]{1}/g,(function(e){n+=e})):t.replace(/^[\u4e00-\u9fa5]*/g,(function(e){n+=e})),n},drawText:function(){var e=this.removeCharacter(this.name).slice(0,4);this.logoNameLength=e.length,this.nameTop=e.slice(0,2),this.nameBottom=e.slice(2,4)}}},a=n(13),r=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"svg-logo-el",attrs:{version:"1.1",baseProfile:"full",width:e.width,height:e.height,"font-size":e.fontSize,xmlns:"http://www.w3.org/2000/svg"}},[n("rect",{attrs:{width:e.width,height:e.height,fill:e.color,rx:"4",stroke:"rgba(239, 242, 246, 1)"}}),e._v(" "),e.logoNameLength<=2?[n("text",{attrs:{x:e.width/2,y:e.height/2,fill:"white","dominant-baseline":"middle","text-anchor":"middle"}},[e._v("\n      "+e._s(e.nameTop)+"\n    ")])]:[n("text",{staticStyle:{"text-anchor":"middle"},attrs:{x:e.width/2,y:e.height/2-e.fontSize/4,fill:"white"}},[e._v("\n      "+e._s(e.nameTop)+"\n    ")]),e._v(" "),n("text",{staticStyle:{"text-anchor":"middle"},attrs:{x:e.width/2,y:e.height/2+e.fontSize,fill:"white"}},[e._v("\n      "+e._s(e.nameBottom)+"\n    ")])]],2)}
1),[],!1,null,"a1628f00",null);t.default=r.exports;installComponents(r,{Text:n(749).default})},771:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));n(19),n(74),n(222),n(36),n(44),n(32),n(53);var i=n(26),a=n(153),r=n(117);function s(e,t){return function(t,n,i){if(n.includes("其他")&&""===this.form["".concat(e,"Other")])return i(new Error("请输入其他值"));i()}.bind(t)}function o(e){var t=this,n={targetContent:[],cooperationMode:[],professionalFieldList:[],provinces:[],maturity:[]},a=function(a){"professionalFieldList"===a?n.professionalFieldList=e.professionalFieldList.map((function(n){return"其他"===n?{professionalFieldCode:"其他",professionalFieldName:e["".concat(a,"Other")]}:t.categoryList.find((function(e){return e.professionalFieldCode===n}))})):"provinces"===a?n.provinces=e.provinces.map((function(e){return{provinceCode:e.id,provinceName:e.name}})):n[a]=e[a].includes("其他")?e[a].filter((function(e){return"其他"!==e})).concat(e["".concat(a,"Other")]):Object(i.a)(e[a])};for(var r in n)a(r);return n}function c(e){var t=e.pageTitle,n=e.pageName,i=e.pageId,s=e.expertPageSource,o=e.sourceData,c=e.requirement_id,l=void 0===c?"":c,u=e.track_sign,d=void 0===u?"aqzdcxy.b292.click.SC_INFO_SUBMIT_EVENT":u,h=e.otherMsg;try{var p={event:"SC_INFO_SUBMIT_EVENT",city:$nuxt.$store.getters["header/navigationInfo"].regionVO.city,consultCode:"LZ_".concat(Date.now()).concat(Object(r.E)(4)),sourceData:o,pageTitle:t,pageName:n,pageId:i,expertPageSourceUrl:location.href,expertPageSource:s,requirement_id:l,track_sign:d,otherMsg:h};Object(a.a)(p,$nuxt.$axios)}catch(e){}}},772:function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return m}));n(19),n(151),n(87),n(20),n(418),n(35),n(9);var i=n(22),a=n(8),r=n(422),s=n.n(r);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={1:{sortMode:"",sort:""},2:{sortMode:"desc",sort:"publish_timestamp"},3:{sortMode:"asc",sort:"publish_timestamp"},4:{sortMode:"desc",sort:"bidding_num"},5:{sortMode:"asc",sort:"bidding_num"},6:{sortMode:"desc",sort:"reg_capi"},7:{sortMode:"asc",sort:"reg_capi"},8:{sortMode:"desc",sort:"start_date"},9:{sortMode:"asc",sort:"start_date"}},u=[{name:"智能排序",value:1},{name:"发布时间从近到远",value:2},{name:"发布时间从远到近",value:3}],d=[{name:"智能排序",value:1},{name:"招投标数量由多到少",value:4},{name:"招投标数量由少到多",value:5},{name:"注册资本由高到低",value:6},{name:"注册资本由低到高",value:7},{name:"成立日期由近到远",value:8},{name:"成立日期由远到近",value:9}],h=function(e,t){var n=s()(),i=n.subtract(e,t).add(1,"day").startOf("day"),a=n.endOf("day");return"".concat(i.format("YYYY-MM-DD"),":").concat(a.format("YYYY-MM-DD"))},p=function(e,t){var n=s()(),i=n.startOf("day"),a=n.add(e,t);return 1===e&&"days"===t?"".concat(i.format("YYYY-MM-DD"),":!"):"".concat(i.format("YYYY-MM-DD"),":").concat(a.format("YYYY-MM-DD"))};function f(e,t){return function e(n){return n.reduce((function(n,i){if(i.levelType&&i.levelType>t)return n;var a=c(c({},i),{},{sub:i.sub?e(i.sub):[]});return n.push(a),n}),[])}(e)}function m(e){for(var t in e){var n=e[t];if("object"===Object(i.a)(n)){if(Array.isArray(n)&&0===n.length){delete e[t];continue}m(n),(a=n)&&"object"===Object(i.a)(a)&&0===Object.keys(a).length&&delete e[t]}else""!==n&&null!=n||delete e[t]}var a}},783:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return o}
1)),n.d(t,"c",(function(){return c}));n(42),n(20),n(167),n(31),n(66),n(273),n(69),n(65),n(55),n(63);var i=n(26),a=n(22),r=n(52);function s(e,t){var n=e;e&&Object(a.a)(e)&&t&&(Array.isArray(t)?Object(i.a)(new Set(t)).forEach((function(e){n=n.replace(new RegExp(e,"g"),(function(e){return'<span class="wordflag">'.concat(e,"</span>")}))})):n=n.replace(new RegExp(t,"g"),(function(e){return'<span class="wordflag">'.concat(e,"</span>")})));return n}function o(e){return"number"!=typeof e||(e>=1e8?e=Math.floor(e/1e6)/100+"亿":e>=1e4&&(e=Math.floor(e/100)/100+"万")),e}function c(e){return!e||!!Object(r.c)("accessToken")}},785:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));n(19),n(36);var i=n(8),a=(n(35),n(9),n(136),n(812)),r=n(406);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(r.a)();var c=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.featureCode,i=void 0===n?"":n,r=e.errorCode,s=void 0===r?"":r,o=e.windowPromptText,c=void 0===o?"":o,l=e.featureName,u=e.usedNum,d=e.businessCode,h="您的今日使用数量".concat(c,"已达上限开通科创空间享有更多服务"),p="【".concat(l,"】次数/总量已达上限【").concat(u,"】");t&&Object(a.a)(2000001===s?"large":"").show({subtitle:h,promptTipText:p,featureCode:i,businessCode:d})};function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{tipShow:!0,functionKey:""},n={key:"",permission:!0,subTitle:""};try{var i=JSON.parse(e);if(!i)return n;var a=i||{},r=a.errorCode,s=void 0===r?"":r,l=a.windowPromptText,u=void 0===l?"":l;[2000001,2000002].includes(s)&&c(o(o({},i),{},{featureCode:null==t?void 0:t.functionKey}),(null==t?void 0:t.tipShow)||!0),(n=i).permission=!s,n.subTitle="您的今日使用数量".concat(u,"已达上限开通科创空间享有更多服务")}catch(e){}return n}},805:function(e,t,n){"use strict";n.d(t,"h",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"g",(function(){return d}));n(223),n(20),n(69),n(63),"".concat("https://zhengce.qizhidao.com","/file"),"".concat("https://zhengce.qizhidao.com","/policy"),"".concat("https://zhengce.qizhidao.com","/enterprise");var i=[{label:"申报通知",dataType:"policynotification",count:0},{label:"立项公示",dataType:"projectpublicity",count:0},{label:"奖励文件",dataType:"industrypolicy",count:0},{label:"财税法规",dataType:"financeandtax",count:0},{label:"政策资讯",dataType:"policynews",count:0},{label:"产业规划",dataType:"industryplan",count:0}],a=[{label:"不限",value:null},{label:"无奖补资金",value:0},{label:"0-10万元",value:1},{label:"10万元-20万元",value:2},{label:"20万元-30万元",value:3},{label:"30万元-50万元",value:4},{label:"50万元以上",value:5}],r=new Map([[0,{maxTotal:0}],[1,{minTotal:1,maxTotal:100}],[2,{minTotal:100,maxTotal:500}],[3,{minTotal:500,maxTotal:1e3}],[4,{minTotal:1e3,maxTotal:2e3}],[5,{minTotal:2e3}]]),s=[{label:"不限",value:null},{label:"资助企业未公开",value:0,min:0,max:0},{label:"1-100家",value:1,min:1,max:100},{label:"100-500家",value:2,min:100,max:500},{label:"500-1000家",value:3,min:500,max:1e3},{label:"1000-2000家",value:4,min:1e3,max:2e3},{label:"2000家以上",value:5,min:2e3,max:0}],o=new Map([[0,{maxSubsidyMoney:0}],[1,{maxSubsidyMoney:50}],[2,{minSubsidyMoney:50,maxSubsidyMoney:100}],[3,{minSubsidyMoney:100,maxSubsidyMoney:500}],[4,{minSubsidyMoney:500}]]),c=[{label:"不限",value:null},{label:"资助总额未公开",value:0,min:0,max:0},{label:"0-50万",value:1,min:0,max:50},{label:"50万-100万",value:2,min:50,max:100},{label:"100万-500万",value:3,min:100,max:500},{label:"500万以上",value:4,min:500,max:0}],l=[{label:"国家高新技术企业",value:"国家高新技术企业"},{label:"国家级专精特新小巨人企业",value:"国家级专精特新小巨人企业"},{label:"省级专精特新企业",value:"省级专精特新企业"},{label:"市级专精特新企业",value:"市级专精特新企业"},{label:"科技小巨人企业",value:"科技小巨人企业"},{label:"科技型中小企业",value:"科技型中小企业"},{label:"省级科学技术奖",value:"省级科学技术奖"},{label:"市级科学技术奖",value:"市级科学技术奖"},{label:"省级企业技术中心",value:"省级企业技术中心"},{label:"市级企业技术中心",value:"市级企业技术中心"},{label:"省级研发中心",value:"省级研发中心"},{label:"市级研发中心",value:"市级研发中心"},{label:"隐形冠军企业",value:"隐形冠军企业"},{label:"两化融合示范企业",value:"两化融合示范企业"},{label:"知识产权示范企业",value:"知识产权示范企业"},{label:"知识产权优势企业",value:"知识产权优势企业"}],u=[{label:"默认排序",value:null},{label:"匹配度",value:0},{label:"发布时间倒序",value:1}],d=[{label:"默认排序",value:null},{label:"匹配度",value:0},{label:"扶持企业数倒序",value:2}]},811:function(e,t,n){"use strict";n(36),n(96),n(54);var i=n(853),a=(n(44),n(101),n(8)),r=n(26);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var o={name:"HistoricPanel",components:{},data:function(){return{storeHistory:[]}},methods:{clickItem:function(e){this.$emit("select",e)},clearAll:function(){localStorage.searchHistory=JSON.stringify([]),this.storeHistory=[],this.$emit("clear")},delItem:function(e){var t=Object(r.a)(this.storeHistory);t.splice(e,1),localStorage.searchHistory=JSON.stringify(t),this.storeHistory=t},handleMouseEnter:function(e){var t,n=document.getElementById("his-item-link-".concat(e)).querySelector(".el-link--inner"),i=(null==n?void 0:n.scrollWidth)>(null==n||null===(t=n.parentNode)||void 0===t?void 0:t.offsetWidth);this.storeHistory[e].showTooltip=i},handleMouseLeave:function(e){this.storeHistory[e].showTooltip=!1}},mounted:function(){if(localStorage.searchHistory){var e=JSON.parse(localStorage.searchHistory);this.storeHistory=e.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({showTooltip:!1},e)}))}}},c=(n(1316),n(13)),l=Object(c.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"his-wrap",style:{display:e.storeHistory.length?"block":"none"}},[n("div",{staticClass:"his-title"},[e._v("搜索历史")]),e._v(" "),n("ul",{staticClass:"his-list"},[e.storeHistory.length?e._l(e.storeHistory,(function(t,i){return n("li",{key:i,staticClass:"his-item"},[n("el-tooltip",{attrs:{content:t.w,placement:"bottom",disabled:!t.showTooltip}},[n("el-link",{staticClass:"his-item-link",attrs:{id:"his-item-link-"+i,underline:!1},nativeOn:{mousedown:function(n){return e.clickItem(t)},mouseenter:function(t){return e.handleMouseEnter(i)},mouseleave:function(t){return e.handleMouseLeave(i)}}},[n("v-icon",{attrs:{id:"icon-zuijinsousuo"}}),n("span",[e._v("  "+e._s(t.w))])],1)],1),e._v(" "),n("i",{staticClass:"el-icon-close his-item__close",on:{mousedown:function(t){return e.delItem(i)}}})],1)})):[n("li",{staticClass:"his-item no-his"},[e._v("暂无历史记录")])]],2),e._v(" "),e.storeHistory.length?n("div",{staticClass:"his-clear his-title"},[n("el-link",{attrs:{underline:!1,icon:"el-icon-delete"},nativeOn:{mousedown:function(t){return e.clearAll(t)}}},[e._v("\n       清空搜索历史\n    ")])],1):e._e()])}),[],!1,null,"d88767ac",null),u=l.exports;installComponents(l,{VIcon:n(143).default});n(19),n(223),n(20),n(69),n(63),n(35);var d=n(9),h=n(190),p=n.n(h),f=n(224),m=n(250),v=(n(59),n(62),n(307),n(12)),y=Object(v.defineComponent)({name:"BaseImg2",props:{src:{type:String,required:!0},size:{type:Number,default:100},radius:{type:Number,default:0},styles:{type:Object,default:function(){return{}}},click:Function}}),b=(n(1322),Object(c.a)(y,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"base-img-wrapper",class:{pointer:this.click},style:Object.assign({},{borderRadius:(this.radius||0)+"px",width:(this.size||100)+"px",height:(this.size||100)+"px",backgroundColor:"#fff"},this.styles)},[t("img",{staticClass:"base-img-wrapper-img",attrs:{src:this.src,alt:""}})])}),[],!1,null,"b2c557a8",null).exports),g=Object(v.defineComponent)({name:"BaseLogo2",components:{baseImg2:b},props:{src:{type:String,default:""},size:{type:Number,default:100},radius:{type:Number,default:0},name:{type:String,default:""},isBorder:{type:Boolean,default:!0}},setup:function(){return{isChinese:function(e){if(!e)return"";return/^[\u4e00-\u9fa5]/.test(e[0])?e.slice(0,4):e[0]},countFontPosition:function(e){return 1===e.length?[{x:"50%",y:"50%",s:e}]:2===e.length?[{x:"33.33%",y:"50%",s:e[0]},{x:"66.66%",y:"50%",s:e[1]}]:3===e.length?[{x:"33.33%",y:"33.33%",s:e[0]},{x:"66.66%",y:"33.33%",s:e[1]},{x:"50%",y:"66.66%",s:e[2]}]:4===e.length?[{x:"33.33%",y:"33.33%",s:e[0]},{x:"66.66%",y:"33.33%",s:e[1]},{x:"33.33%",y:"66.66%",s:e[2]},{x:"66.66%",y:"66.66%",s:e[3]}]:[]},getFontSize:function(e,t){return(e*(t&&t.length>1?.3:.6)).toFixed(2)}}}}),w=(n(1323),Object(c.a)(g,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"base-cxy-gradient-avatar",style:{borderRadius:e.radius+"px",width:(e.isBorder,e.size+"px"),height:(e.isBorder,e.size+"px")}},[e.src?n("baseImg2",{class:e.isBorder?"base-avatar-img":"",attrs:{src:e.src,size:e.size,radius:e.radius}}):n("svg",{staticClass:"base-avatar-svg",attrs:{xmlns:"http://www.w3.org/2000/svg",width:e.size+"px",height:e.size+"px"}},[n("rect",{attrs:{rx:e.radius,ry:e.radius,fill:"#3981F4",width:"100%",height:"100%"}}),e._v(" "),n("text",{staticStyle:{"font-weight":"bolder"},attrs:{filter:"url(#shadow996)",fill:"#ffffff"}},e._l(e.countFontPosition(e.isChinese(e.name)),(function(t,i){return n("tspan",{key:i,attrs:{"dominant-baseline":"central","text-anchor":"middle","font-size":e.getFontSize(e.size,e.name)+"px",x:""+t.x,y:""+t.y}},[e._v("\n        "+e._s(t.s)+"\n      ")])})),0)])],1)}),[],!1,null,"42a0cc5a",null)),_=w.exports;function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?O(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}installComponents(w,{Text:n(749).default});var S={name:"AssociatePanel",components:{baseLogo:_},props:{activeName:{type:String,default:"all"},keyword:{type:String,default:""},showBid:{type:Boolean,default:!0},queryField:{type:String,default:"general_list"}},data:function(){return{data:{},hasRequest:!1,loading:!1}},computed:{subjectMatterList:function(){var e=this.data.subjectMatterList,t=void 0===e?[]:e;return t},bidSuggestVos:function(){var e=this.data.bidSuggestVos,t=void 0===e?[]:e;return t},enterpriseSuggestVos:function(){var e=this.data.enterpriseSuggestVos,t=void 0===e?[]:e;return t},projectCode:function(){var e=this.data.projectCode,t=void 0===e?[]:e;return t},linkman:function(){var e=this.data.linkman,t=void 0===e?[]:e;return t},subjectMatterListLen:function(){var e=this.data.subjectMatterList;return(void 0===e?[]:e).length},bidSuggestVosLen:function(){var e=this.data.bidSuggestVos;return(void 0===e?[]:e).length},enterpriseSuggestVosLen:function(){var e=this.data.enterpriseSuggestVos;return(void 0===e?[]:e).length},projectCodeLen:function(){var e=this.data.projectCode;return(void 0===e?[]:e).length},linkmanLen:function(){var e=this.data.linkman;return(void 0===e?[]:e).length},subjectHighLights:function(){var e=this.data.subjectHighLights,t=void 0===e?[]:e;return t},enterpriseHighLights:function(){var e=this.data.enterpriseHighLights,t=void 0===e?[]:e;return t},titleHighLights:function(){var e=this.data.titleHighLights,t=void 0===e?[]:e;return t},projectCodeHighLights:function(){var e=this.data.projectCodeHighLights,t=void 0===e?[]:e;return t},linkmanHighLights:function(){var e=this.data.linkmanHighLights,t=void 0===e?[]:e;return t},hasAnyContent:function(){return this.bidSuggestVosLen||this.enterpriseSuggestVosLen||this.subjectMatterListLen||this.linkmanLen||this.projectCodeLen},showPanel:function(){return!!this.loading||this.hasAnyContent}},methods:{highlightText:m.highlightText,getFirstChar:function(e){return e&&"string"==typeof e?e.charAt(0):""},fetchSearchResults:p()(function(){var e=Object(d.a)(regeneratorRuntime.mark((function e(t){var n,i,a,r,s,o,c,l,u,d,h,p,m,v,y,b,g,w,_,O;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!["original_content"].includes(this.queryField)){e.next=2;break}return e.abrupt("return");case 2:if(n=t.trim(),!("project_code"===this.queryField&&n.length<4)){e.next=7;break}return this.loading=!1,this.data={},e.abrupt("return");case 7:this.loading=!0,this.data={},a="",e.t0=this.activeName,e.next="all"===e.t0?13:"notice"===e.t0?15:"portend"===e.t0?17:"result"===e.t0?20:"build"===e.t0?22:"proposed_works"===e.t0?24:"construction_in_progress"===e.t0?26:28;break;case 13:return a="bid_all",e.abrupt("break",28);case 15:return a="tender",e.abrupt("break",28);case 17:return a="tender",r=["预告"],e.abrupt("break",28);case 20:return a="outbid",e.abrupt("break",28);case 22:return a="building_project",e.abrupt("break",28);case 24:return a="proposed_works",e.abrupt("break",28);case 26:return a="construction_in_progress",e.abrupt("break",28);case 28:return s=new Map([["title_subject_list",4],["general_list",6],["related_company",3],["subject",5],["title",2],["project_code",7],["linkman",8]]),o=s.get(this.queryField)||6,i={queryType:o,bidServerName:a,query:n},r&&(i=k(k({},i),{},{notice_type_sub:r})),e.prev=32,e.next=35,this.$axios(Object(f.e)(i));case 35:if(0===(c=e.sent).code){e.next=38;break}return e.abrupt("return");case 38:this.data=c.data,l=c.data,u=l.bidSuggestVos,d=void 0===u?[]:u,h=l.subjectMatterList,p=void 0===h?[]:h,m=l.enterpriseSuggestVos,v=void 0===m?[]:m,y=l.linkman,b=void 0===y?[]:y,g=l.projectCode,w=void 0===g?[]:g,this.data.linkman=b.map((function(e){return{query:e,showTooltip:!1}})),this.data.projectCode=w.map((function(e){return{query:e,showTooltip:!1}})),_=d||[],O=p||[],this.data.bidSuggestVos=_,this.data.subjectMatterList=O.map((function(e){return{query:e,showTooltip:!1}})),this.data.enterpriseSuggestVos=v;case 47:return e.prev=47,this.loading=!1,this.hasRequest=!0,e.finish(47);case 51:case"end":return e.stop()}}),e,this,[[32,,47,51]])})));return function(t){return e.apply(this,arguments)}}(),500,{trailing:!0}),goDetail:function(e){this.$emit("linkageClick",e),window.open("".concat(window.location.origin,"/bd/detail/").concat(e.info))},handleOnKeyword:function(e){this.$emit("updateKeyword",e)},handleMouseEnter:function(e,t){var n=document.getElementById(t),i=n.scrollWidth>n.offsetWidth;e.showTooltip=i},handleMouseLeave:function(e){e.showTooltip=!1}},watch:{keyword:{handler:function(e){var t=this;return Object(d.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e||"string"!=typeof e||""===e.trim()){n.next=3;break}return n.next=3,t.fetchSearchResults(e);case 3:case"end":return n.stop()}}),n)})))()},immediate:!0},queryField:{handler:function(e){var t=this;return Object(d.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("related_company"!==e){n.next=2;break}return n.abrupt("return");case 2:if(!t.keyword||"string"!=typeof t.keyword||""===t.keyword.trim()){n.next=5;break}return n.next=5,t.fetchSearchResults(t.keyword);case 5:case"end":return n.stop()}}),n)})))()}}}},C=(n(1324),Object(c.a)(S,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.showPanel?n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"ass-wrap",attrs:{"element-loading-spinner":"el-icon-loading"}},[e.projectCodeLen?n("section",{staticClass:"bids"},[n("ul",{staticClass:"bids-list"},e._l(e.projectCode,(function(t,i){return n("li",{key:i},[n("el-link",{staticClass:"link-text",attrs:{underline:!1,id:"bids-list-item-bottom"+i},nativeOn:{mousedown:function(n){return e.handleOnKeyword(t.query)},mouseenter:function(n){return e.handleMouseEnter(t,"bids-list-item-bottom"+i)},mouseleave:function(n){return e.handleMouseLeave(t)}}},[n("span",{domProps:{innerHTML:e._s(e.highlightText(t.query,e.projectCodeHighLights))}}
1)])],1)})),0)]):e._e(),e._v(" "),e.linkmanLen?n("section",{staticClass:"bids"},[n("ul",{staticClass:"bids-list"},e._l(e.linkman,(function(t,i){return n("li",{key:i,staticClass:"linkman-item",nativeOn:{mousedown:function(n){return e.handleOnKeyword(t.query)}}},[n("baseLogo",{attrs:{name:e.getFirstChar(t.query),size:32}}),e._v(" "),n("el-link",{staticClass:"link-text linkman-text",attrs:{underline:!1,id:"bids-list-item-bottom"+i},nativeOn:{mouseenter:function(n){return e.handleMouseEnter(t,"bids-list-item-bottom"+i)},mouseleave:function(n){return e.handleMouseLeave(t)}}},[n("span",{domProps:{innerHTML:e._s(e.highlightText(t.query,e.linkmanHighLights))}})])],1)})),0)]):e._e(),e._v(" "),e.subjectMatterListLen?n("section",{staticClass:"bids",class:{"bids-bottom":e.bidSuggestVosLen}},[n("ul",{staticClass:"bids-list"},e._l(e.subjectMatterList,(function(t,i){return n("li",{key:i},[n("el-link",{staticClass:"link-text",attrs:{underline:!1,id:"bids-list-item-bottom"+i},nativeOn:{mousedown:function(n){return e.handleOnKeyword(t.query)},mouseenter:function(n){return e.handleMouseEnter(t,"bids-list-item-bottom"+i)},mouseleave:function(n){return e.handleMouseLeave(t)}}},[n("span",{domProps:{innerHTML:e._s(e.highlightText(t.query,e.subjectHighLights))}})])],1)})),0)]):e._e(),e._v(" "),e.enterpriseSuggestVosLen?n("section",{staticClass:"bids",class:[{"bids-bottom":e.bidSuggestVosLen},{"bids--hasSubjectMatter":e.subjectMatterListLen}]},[n("ul",{staticClass:"bids-list"},e._l(e.enterpriseSuggestVos,(function(t,i){return n("li",{key:i},[n("el-link",{staticClass:"link-text__enterprise",attrs:{underline:!1,id:"bids-list-item-bottom"+i},nativeOn:{mousedown:function(n){return e.handleOnKeyword(t.query)},mouseenter:function(n){return e.handleMouseEnter(t,"bids-list-item-bottom"+i)},mouseleave:function(n){return e.handleMouseLeave(t)}}},[n("span",{domProps:{innerHTML:e._s(e.highlightText(t.query,e.enterpriseHighLights))}}),n("span",{staticClass:"bids-list-item__unit-tag"},[e._v("关联单位")])])],1)})),0)]):e._e(),e._v(" "),(e.subjectMatterListLen||e.enterpriseSuggestVosLen||e.projectCodeLen)&&e.bidSuggestVosLen&&e.showBid?n("div",{staticClass:"demarcation-line"}):e._e(),e._v(" "),e.bidSuggestVosLen&&e.showBid?n("section",{staticClass:"bids",class:{"bids-top":e.subjectMatterListLen}},[n("ul",{staticClass:"bids-list"},e._l(e.bidSuggestVos,(function(t,i){return n("li",{key:i},[n("div",{staticClass:"link-box",on:{mousedown:function(n){return e.goDetail(t)}}},[n("div",{staticClass:"link-box-content"},[n("div",{staticClass:"tag-box"},[n("el-tooltip",{attrs:{content:t.query,placement:"bottom",disabled:!t.showTooltip}},[n("span",{staticClass:"tag-link-text",attrs:{id:"bids-list-item-top"+i},domProps:{innerHTML:e._s(e.highlightText(t.query,e.titleHighLights))},on:{mouseenter:function(n){return e.handleMouseEnter(t,"bids-list-item-top"+i)},mouseleave:function(n){return e.handleMouseLeave(t)}}})]),e._v(" "),t.notice_type||t.notice_type_sub?n("span",{staticClass:"bids-list-item__bid-tag",class:{"bids-list-item__bid-tag--result":"招标结果"===t.notice_type}},[e._v("\n                "+e._s(t.notice_type||"")+"\n                "+e._s(t.notice_type&&t.notice_type_sub?"|":"")+"\n                "+e._s(t.notice_type_sub||"")+"\n              ")]):e._e()],1),e._v(" "),e.projectCodeLen?n("div",{staticClass:"project-code"},[e._v("\n              项目编号:"),n("span",{staticClass:"project-code__value",domProps:{innerHTML:e._s(e.highlightText(t.project_code,e.projectCodeHighLights))}})]):e._e()]),e._v(" "),e._m(0,!0)])])})),0)]):e._e(),e._v(" "),e.showBid?[e.loading||e.bidSuggestVosLen||e.subjectMatterListLen||e.enterpriseSuggestVosLen||e.projectCodeLen||e.linkmanLen?e._e():n("div",{staticClass:"enter-title"},[e._v("\n      温馨提示:暂无相关内容,试试换个关键词\n    ")])]:[e.loading||e.subjectMatterListLen||e.enterpriseSuggestVosLen||e.projectCodeLen||e.linkmanLen?e._e():n("div",{staticClass:"enter-title"},[e._v("\n      温馨提示:暂无相关内容,试试换个关键词\n    ")])],e._v(" "),e.loading?e._e():e._t("hotterm")],2):e._e()}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"view-box ml-2"},[t("span",[this._v("查看详情 "),t("i",{staticClass:"el-icon-arrow-right"})])])}
1],!1,null,"f9c40aa2",null).exports),j={name:"clickOutside",bind:function(e,t,n){function i(n){var i,a,r,s,o=(null==n||null===(i=n.target)||void 0===i?void 0:i.getAttribute)&&"#icon-qingkong"===(null==n||null===(a=n.target)||void 0===a?void 0:a.getAttribute("xlink:href")),c=(null==n||null===(r=n.target)||void 0===r?void 0:r.getAttribute)&&"symbol-icon clear-icon"===(null==n||null===(s=n.target)||void 0===s?void 0:s.getAttribute("class"));if(e.contains(n.target)||o||c)return!1;t.expression&&t.value()}e._vueClickOutside_=i,document.addEventListener("click",i),document.addEventListener("scroll",i)},unbind:function(e,t){document.removeEventListener("click",e._vueClickOutside_),document.removeEventListener("scroll",e._vueClickOutside_),delete e._vueClickOutside_}},x={name:"searchInput",inheritAttrs:!1,mixins:[i.a],components:{HistoricPanel:u,AssociatePanel:C},directives:{clickOutside:j},props:{value:{type:String,default:""},suffix:{type:Boolean,default:!1},placeholder:{type:String,default:"请输入项目名称或招采内容的关键词,多个关键词用空格隔开,例如:“螺纹钢 不锈钢”"},source:{type:String,default:"home"},showBid:{type:Boolean,default:!0},panelShow:{type:Boolean,default:!1},activeName:{type:String,default:"all"},isHomeSearch:{type:Boolean,default:!1},queryField:{type:String,default:"general_list"}},data:function(){return{isPanelShow:!1}},computed:{modelValue:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},isHomeSearchPanelShow:{get:function(){return this.panelShow},set:function(e){this.$emit("update:panelShow",e)}},hasInput:function(){return!!"".concat(this.modelValue).trim()},shouldShowAssociatePanel:function(){return!["original_content"].includes(this.queryField||"")}},methods:{handleClear:function(){var e=this;this.modelValue="";var t=setTimeout((function(){var n;null===(n=e.$refs.inputField)||void 0===n||n.focus(),clearTimeout(t)}),0)},getSelectionStart:function(){var e=this.$refs.inputField.$el.querySelector("input");return e?e.selectionStart:0},handleEnter:function(){""!=="".concat(this.modelValue).trim()?(this.$emit("keyUpEnter"),this.hide()):this.$message.error("请先输入关键词")},onSelect:function(e){var t=this;this.modelValue=e.w,this.hide(),this.$nextTick((function(){t.$emit("keyUpEnter")}))},handleKeyword:function(e){this.hide();var t=this.isLengthOver100(e),n=t.text;t.valid&&(this.modelValue=n,this.isHomeSearch&&this.$emit("jump"))},handleSearch:function(){var e;this.$refs.associatePanelRef&&this.hasInput&&(null===(e=this.$refs.associatePanelRef)||void 0===e||e.fetchSearchResults(this.modelValue))},handleFocusIn:function(){this.isHomeSearchPanelShow||this.isPanelShow||!this.hasInput||this.handleSearch(),this.isHomeSearchPanelShow=!0,this.isPanelShow=!0},hide:function(){this.isHomeSearchPanelShow=!1,this.isPanelShow=!1,this.$refs.inputField.blur()}}},D=(n(1325),Object(c.a)(x,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.hide,expression:"hide"}],staticClass:"search-box",class:["home"===e.source?"home-input":"result-input"]},[n("el-input",e._b({ref:"inputField",staticClass:"search-box-input",attrs:{placeholder:e.placeholder,maxlength:"300"},on:{focus:e.handleFocusIn,clear:e.handleClear},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.handleEnter(t))}},scopedSlots:e._u([{key:"append",fn:function(){return[e.modelValue?n("v-icon",{staticClass:"clear-icon",attrs:{id:"icon-qingkong"},on:{mousedown:function(e){e.preventDefault()}},nativeOn:{click:function(t){return t.preventDefault(),e.handleClear(t)}}}):e._e()]},proxy:!0}]),model:{value:e.modelValue,callback:function(t){e.modelValue=t},expression:"modelValue"}},"el-input",e.$attrs,!1),[n("template",{slot:"suffix"},[n("el-tooltip",{attrs:{effect:"dark",content:e.tooltipText,placement:"bottom"}},[e.suffix?n("i",{staticClass:"iconfont icon-pub-fankui-jinggao"}):e._e()])],1)],2),e._v(" "),e.isHomeSearchPanelShow||e.isPanelShow?n("div",{staticClass:"custom-panel"},[e.hasInput&&e.shouldShowAssociatePanel?n("div",[n("AssociatePanel",{ref:"associatePanelRef",attrs:{activeName:e.activeName,queryField:e.queryField,keyword:e.modelValue,showBid:e.showBid},on:{updateKeyword:e.handleKeyword,linkageClick:e.hide}},[n("template",{slot:"hotterm"}
1,[e._t("hotterm")],2)],2)],1):n("div",[e._t("default",[n("HistoricPanel",{on:{select:function(t){return e.onSelect(t)}}})])],2)]):e._e()],1)}),[],!1,null,"040e8a93",null));t.a=D.exports;installComponents(D,{VIcon:n(143).default})},812:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(14),a={data:()=>({keyvalue:String,visible:!1,subTitle:"",featureCode:"",businessCode:""}),components:{LimitToast:n(1065).a},methods:{show({subtitle:e,key:t="",featureCode:n="",businessCode:i=""}){this.keyvalue=t,this.visible=!0,this.subTitle=e||"",this.featureCode=n,this.businessCode=i},close(){this.visible=!1}}},r=(n(1537),n(13)),s=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{"close-on-press-escape":!1,"close-on-click-modal":!1,"show-close":!1,"append-to-body":"",visible:e.visible,"custom-class":"limit-dialog"},on:{"update:visible":function(t){e.visible=t}}},[n("LimitToast",{attrs:{keyvalue:e.keyvalue||e.featureCode,haveRadius:!0,showClose:!0,visible:!0,businessCode:e.businessCode,size:"large",subTitle:e.subTitle,scrollHeight:"314px"},on:{close:e.close}})],1)}),[],!1,null,null,null).exports,o={data:function(){return{visible:!1,message:""}},methods:{show:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.message=e.promptTipText||"【功能】次数/总量已达到上限【数量】",this.visible=!0},close:function(){this.visible=!1}}},c=(n(1538),Object(r.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{"custom-class":"limit-toast",visible:e.visible,"show-close":!1},on:{"update:visible":function(t){e.visible=t}}},[n("div",{staticClass:"header"},[e._v("提示")]),e._v(" "),n("div",{staticClass:"content"},[e._v(e._s(e.message))]),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{staticClass:"f-button",attrs:{type:"primary"},on:{click:function(t){e.visible=!1}}},[e._v("我知道了")])],1)])}),[],!1,null,null,null).exports),l=i.default.extend(s),u=i.default.extend(c),d=null,h=null,p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="large"===e?d:h;if(!t){var n=document.createElement("div");document.body.appendChild(n),"large"===e?d=new l:h=new u,(t="large"===e?d:h).$mount(n)}return t}},813:function(e,t,n){"use strict";n(178),n(44),n(32),n(96),n(54),n(35);var i=n(9),a=n(224),r=n(250),s={name:"AssociatedEnterpriseSearch",inheritAttrs:!1,props:{value:{type:Array,default:function(){return[]}},form:{type:Object,default:function(){return{}}},unitType:{type:String,default:""},panelShow:{type:Boolean,default:!1}},data:function(){return{optionsList:[],unitLoading:!1,lock:!1,queryKey:"",isSelecting:!0,selectTimer:null}},directives:{"block-enter":{inserted:function(e){var t=function(e){if(e.target.classList.contains("el-select__input")&&"Enter"===e.key)return e.preventDefault(),e.stopPropagation(),!1},n=function(){var n=e.querySelector(".enterprise-search input.el-select__input");n&&(n.addEventListener("keydown",t,!0),n.addEventListener("keypress",t,!0))};n();var i=new MutationObserver(n);i.observe(e,{childList:!0,subtree:!0}),e._handleInput=t,e._observer=i},unbind:function(e){if(e._handleInput){var t=e.querySelector(".enterprise-search input.el-select__input");t&&(t.removeEventListener("keydown",e._handleInput,!0),t.removeEventListener("keypress",e._handleInput,!0)),delete e._handleInput}e._observer&&(e._observer.disconnect(),delete e._observer)}}},watch:{value:{handler:function(e){e&&e.length&&!this.lock&&(this.optionsList=e,this.lock=!0)},deep:!0,immediate:!0}},mounted:function(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll),this.selectTimer&&clearTimeout(this.selectTimer)},computed:{selectValue:{get:function(){return this.value},set:function(e){var t=this;this.$emit("input",e),this.isSelecting=!0,this.selectTimer&&clearTimeout(this.selectTimer),this.selectTimer=setTimeout((function(){t.isSelecting=!1}),300)}},visible:{get:function(){return this.panelShow},set:function(e){this.$emit("update:panelShow",e)}}},methods:{handleEnter:function(){var e;null!==(e=this.selectValue)&&void 0!==e&&e.length?this.$emit("keyUpEnter"):this.$message.error("请先选择单位")},handleScroll:function(){var e,t;this.isSelecting||(null===(e=this.$refs)||void 0===e||null===(t=e.searchRef)||void 0===t||t.blur())},visibleChange:function(e){this.visible=e,e&&(this.isSelecting=!1)},display:function(){this.optionsList=this.value},highLight:function(e){return e?Object(r.highlightText)(e,[this.queryKey]):""},remoteMethod:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,r,s,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.lock=!0,t.unitLoading=!0,null==e||!e.trim()){n.next=10;break}return t.queryKey=e,n.next=6,t.$axios(Object(a.e)({queryType:3,query:e}));case 6:0===(i=n.sent).code&&(r=i.data||{},s=r.enterpriseSuggestVos,-1===(o=(void 0===s?[]:s).map((function(e){return{eid:e.eid,name:e.query,hasMatch:!0}}))).findIndex((function(t){return t.name===e}))&&(c={eid:"",name:e,hasMatch:!1},o.push(c)),t.optionsList=o),n.next=11;break;case 10:t.optionsList=[];case 11:t.unitLoading=!1;case 12:case"end":return n.stop()}}),n)})))()},clear:function(){this.$emit("input",[]),this.optionsList=[]}}},o=(n(1326),n(1327),n(13)),c=Object(o.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;
1return n("el-select",e._b({directives:[{name:"block-enter",rawName:"v-block-enter"}],ref:"searchRef",staticClass:"enterprise-search",attrs:{filterable:"",remote:"",multiple:"",clearable:"","reserve-keyword":"","remote-show-suffix":"","collapse-tags":"","value-key":"name",searchMaxlength:20,"collapse-tags-tooltip":"","multiple-limit":100,"remote-method":e.remoteMethod,loading:e.unitLoading},on:{"visible-change":e.visibleChange},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.handleEnter(t))}},scopedSlots:e._u([e.unitLoading?{key:"loading",fn:function(){return[n("span",{directives:[{name:"loading",rawName:"v-loading",value:e.unitLoading,expression:"unitLoading"}],staticClass:"enterprise-search--loading",attrs:{"element-loading-spinner":"el-icon-loading"}})]},proxy:!0}:null],null,!0),model:{value:e.selectValue,callback:function(t){e.selectValue=t},expression:"selectValue"}},"el-select",e.$attrs,!1),e._l(e.optionsList,(function(t){return n("el-option",{key:t.eid,attrs:{label:t.name,value:t},scopedSlots:e._u([{key:"default",fn:function(){return[n("span",{staticClass:"el-checkbox__inner"}),e._v(" "),t.hasMatch?n("span",{domProps:{innerHTML:e._s(e.highLight(t.name))}}):n("span",[e._v(e._s(t.name))])]},proxy:!0}],null,!0)})})),1)}),[],!1,null,"c284aa9a",null);t.a=c.exports},842:function(e,t,n){},843:function(e,t,n){},844:function(e,t,n){},845:function(e,t,n){},846:function(e,t,n){},847:function(e,t,n){},848:function(e,t,n){},849:function(e,t,n){},851:function(e,t,n){},852:function(e,t,n){},853:function(e,t,n){"use strict";n(19),n(74),n(178),n(101),n(62),n(1227),n(31),n(77),n(96);t.a={data:function(){return{tooltipText:"您可以在单个搜索框内输入多个关键词,用空格隔开,它们之间是并列关系,搜索结果将包含所有这些关键词中的任意一个。而  如果您想要更精准地缩小搜索范围,可以添加组合条件,每个条件之间则是交集关系,即搜索结果必须同时满足所有条件组合。"}},methods:{storeHistory:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;if(!Object.is("".concat(e).trim(),"")){localStorage.searchHistory||(localStorage.searchHistory=JSON.stringify([]));var n=JSON.parse(localStorage.searchHistory);n.sort((function(e,t){var n=Number(null==e?void 0:e.d);return Number(null==t?void 0:t.d)-n}));var i={w:e,d:Date.now()},a=n.findIndex((function(t){return(null==t?void 0:t.w)===e}));a>=0&&n.splice(a,1),n.length>=t&&n.splice(t-1,1),n.unshift(i),localStorage.searchHistory=JSON.stringify(n)}},truncateString:function(e,t){var n="".concat(e," ").concat(t);return n.length>100?(this.$message.warning("搜索内容过长,请重新输入"),{text:n,valid:!1}):{text:n,valid:!0}},isLengthOver100:function(e){return e.length>100&&this.$message.warning("搜索内容过长,请重新输入"),{text:e,valid:e.length<=100}},getLastCharacter:function(e){return e.split(" ").filter((function(e){return""!==e.trim()})).pop()}}}},854:function(e,t,n){},858:function(e,t,n){},859:function(e,t,n){},860:function(e,t,n){},861:function(e,t,n){},862:function(e,t,n){},863:function(e,t,n){},864:function(e,t,n){},865:function(e,t,n){},866:function(e,t,n){},867:function(e,t,n){},868:function(e,t,n){},869:function(e,t,n){},870:function(e,t,n){},871:function(e,t,n){},872:function(e,t,n){},876:function(e,t,n){},879:function(e,t,n){},880:function(e,t,n){},890:function(e,t,n){},892:function(e,t,n){},893:function(e,t,n){},894:function(e,t,n){},895:function(e,t,n){},897:function(e,t,n){},899:function(e,t,n){},908:function(e,t,n){},909:function(e,t,n){},910:function(e,t,n){},911:function(e,t,n){},912:function(e,t,n){},913:function(e,t,n){},914:function(e,t,n){},915:function(e,t,n){},916:function(e,t,n){},917:function(e,t,n){},919:function(e,t,n){},92:function(e,t,n){"use strict";n(54),n(35);var i=n(9),a=n(136),r=n(113),s=n(52),o={mounted:function(){var e=this;setTimeout((function(){Object(r.i)()&&"2"===localStorage.getItem("setpassword")&&(localStorage.setItem("setpassword",1),e.$store.state.user.loginStatus=!1,e.getProfile())}),2e3)},watch:{"$store.state.user.loginStatus":{handler:function(e){e&&Object(r.i)()&&(localStorage.setItem("setpassword",1),this.$store.state.user.loginStatus=!1,this.getProfile())},deep:!0,immediate:!0}},methods:{getProfile:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object(s.c)("accessToken"),t.next=3,e.$axios(Object(a.w)(n));case 3:i=t.sent,r=i.data,e.$store.state.user.loginStatus=!1,r||e.$message({type:"success",showClose:!0,duration:5e3,customClass:"el-message-show",dangerouslyUseHTMLString:!0,message:'<div style="width:514px;display:flex;"><div>
1账号登录成功,为了您的账号安全,可前往设置密码。</div><div><a href="/set-password"  class="forgetpas">去设置</a></div></div>'});case 7:case"end":return t.stop()}}),t)})))()}}},c=(n(1332),n(13)),l=Object(c.a)(o,(function(){var e=this.$createElement;return(this._self._c||e)("div")}),[],!1,null,null,null);t.a=l.exports},920:function(e,t,n){},921:function(e,t,n){},924:function(e,t,n){},925:function(e,t,n){},927:function(e,t,n){},928:function(e,t,n){},929:function(e,t,n){},930:function(e,t,n){},931:function(e,t,n){},932:function(e,t,n){},936:function(e,t,n){},938:function(e,t,n){},986:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return u}));n(222),n(44),n(59);var i=n(8),a=(n(35),n(9)),r=n(122);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(i.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(){var e=Object(a.a)(regeneratorRuntime.mark((function e(t,n,i,a){var s,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=[],e.next=3,t(Object(r.e)(a));case 3:return 0===(o=e.sent).code&&(s=(null==o?void 0:o.data)||[]),n.commit("policy/search-seo-category/SET_SEARCH_DATATYPE_COUNTLIST",s),l(n,i),d(n),e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)})));return function(t,n,i,a){return e.apply(this,arguments)}}(),l=function(e,t){e.commit("policy/search-seo-category/SET_TABS_DATA",[{label:"全部",dataType:"all"},{label:"政策项目",dataType:"projectinfo"},{label:"申报通知",dataType:"policynotification"},{label:"立项公示",dataType:"projectpublicity"},{label:"奖励文件",dataType:"industrypolicy"},{label:"财税法规",dataType:"financeandtax"},{label:"政策资讯",dataType:"policynews"},{label:"产业规划",dataType:"industryplan"},{label:"法律法规",dataType:"laws_regulations",kcTag:!0}])},u=function(e,t,n){var i=e.state.policy["search-seo-category"].tabsData;"all"!==t&&e.commit("policy/search-seo-category/SET_TABS_DATA",i)},d=function(e){var t=e.state.policy["search-seo-category"],n=t.subTabsData,i=t.searchDataTypeCountList;n=i.slice(0,5).map((function(e){var t=n.find((function(t){return t.dataType===e.dataType}))||{},i=(null==t?void 0:t.label)||"";return o(o({},e),{},{label:i})})),e.commit("policy/search-seo-category/SET_SUBTABS_DATA",n)}},987:function(e,t,n){},988:function(e,t,n){},989:function(e,t,n){}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.