((typeof self !== 'undefined' ? self : this)["webpackJsonpportal_homepage_nanhai"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpportal_homepage_nanhai"] || []).push([[18],{

/***/ 0:
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ "0358":
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__("2350")(false);
// imports


// module
exports.push([module.i, ".active[data-v-336b0e42]{font-weight:700}.active[data-v-336b0e42]:before{content:\"\";position:absolute;width:100%;height:3px;background-color:var(--portalPrimaryTextColor);bottom:-7px}", ""]);

// exports


/***/ }),

/***/ "0e55":
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__("e839");
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var add = __webpack_require__("499e").default
var update = add("49b814fb", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

/***/ "129f":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

// `SameValue` abstract operation
// https://tc39.es/ecma262/#sec-samevalue
// eslint-disable-next-line es/no-object-is -- safe
module.exports = Object.is || function is(x, y) {
  // eslint-disable-next-line no-self-compare -- NaN check
  return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
};


/***/ }),

/***/ "20df":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"628455f4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/modules/portal-homepage/components/NavigationBarProps.vue?vue&type=template&id=336b0e42&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"relative w-$portalContainerWidth mx-auto mt-20px"},[_c('div',{staticClass:"flex h-full bg-hex-$portalPrimaryColor text-hex-$portalPrimaryTextColor  font-400 text-18px w-full"},_vm._l((_vm.navList),function(item,index){return _c('div',{key:index,staticClass:"w-1/9 cursor-pointer h-full text-center leading-50px"},[_c('span',{staticClass:"relative",class:{
          active: _vm.activeName === item.activeName,
        },on:{"click":function($event){return _vm.navbarClick(item)}}},[_vm._v("\n        "+_vm._s(item.name)+"\n      ")])])}),0)])}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/portal-homepage/components/NavigationBarProps.vue?vue&type=template&id=336b0e42&scoped=true

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
var es_array_concat = __webpack_require__("99af");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
var es_array_push = __webpack_require__("14d9");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
var es_function_name = __webpack_require__("b0c0");

// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/modules/portal-homepage/components/NavigationBarProps.vue?vue&type=script&lang=js



//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/* harmony default export */ var NavigationBarPropsvue_type_script_lang_js = ({
  name: 'NavigationBarProps',
  data: function data() {
    return {
      currentNav: ''
    };
  },
  props: {
    navList: {
      type: Array,
      default: function _default() {
        return [{
          name: '工作台',
          activeName: 'workbench',
          path: '/portal/workbench'
        }, {
          name: '通讯录',
          activeName: 'addressBook',
          path: '/portal/addressBook'
        }, {
          name: '消息',
          activeName: 'message',
          path: '/portal/message'
        }];
      }
    },
    value: {
      type: String,
      default: null
    }
  },
  computed: {
    activeName: function activeName() {
      return this.value ? this.value : this.$route.name;
    },
    routerBase: function routerBase() {
      if (window.__POWERED_BY_QIANKUN__) {
        return "/".concat(_.get(Wiz, 'globalSettings.globalConfig.routerBase'));
      }
      return '';
    }
  },
  created: function created() {},
  methods: {
    navbarClick: function navbarClick(navbar) {
      if (this.value) {
        this.$emit('input', navbar.activeName);
      } else {
        this.$router.push({
          path: "".concat(this.routerBase).concat(navbar.path)
        });
      }
    }
  }
});
// CONCATENATED MODULE: ./src/modules/portal-homepage/components/NavigationBarProps.vue?vue&type=script&lang=js
 /* harmony default export */ var components_NavigationBarPropsvue_type_script_lang_js = (NavigationBarPropsvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/portal-homepage/components/NavigationBarProps.vue?vue&type=style&index=0&id=336b0e42&prod&scoped=true&lang=scss
var NavigationBarPropsvue_type_style_index_0_id_336b0e42_prod_scoped_true_lang_scss = __webpack_require__("a25d");

// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/modules/portal-homepage/components/NavigationBarProps.vue






/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_NavigationBarPropsvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "336b0e42",
  null
  
)

/* harmony default export */ var NavigationBarProps = __webpack_exports__["a"] = (component.exports);

/***/ }),

/***/ 4:
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ "841c":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var call = __webpack_require__("c65b");
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
var anObject = __webpack_require__("825a");
var isNullOrUndefined = __webpack_require__("7234");
var requireObjectCoercible = __webpack_require__("1d80");
var sameValue = __webpack_require__("129f");
var toString = __webpack_require__("577e");
var getMethod = __webpack_require__("dc4a");
var regExpExec = __webpack_require__("14c3");

// @@search logic
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
  return [
    // `String.prototype.search` method
    // https://tc39.es/ecma262/#sec-string.prototype.search
    function search(regexp) {
      var O = requireObjectCoercible(this);
      var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
      return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
    },
    // `RegExp.prototype[@@search]` method
    // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
    function (string) {
      var rx = anObject(this);
      var S = toString(string);
      var res = maybeCallNative(nativeSearch, rx, S);

      if (res.done) return res.value;

      var previousLastIndex = rx.lastIndex;
      if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
      var result = regExpExec(rx, S);
      if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
      return result === null ? -1 : result.index;
    }
  ];
});


/***/ }),

/***/ "99d6":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchPage_vue_vue_type_style_index_0_id_68b1eb9a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0e55");
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchPage_vue_vue_type_style_index_0_id_68b1eb9a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SearchPage_vue_vue_type_style_index_0_id_68b1eb9a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "a25d":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NavigationBarProps_vue_vue_type_style_index_0_id_336b0e42_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("deea");
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NavigationBarProps_vue_vue_type_style_index_0_id_336b0e42_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NavigationBarProps_vue_vue_type_style_index_0_id_336b0e42_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "b66b":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"628455f4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/modules/portal-homepage/views/SearchPage.vue?vue&type=template&id=68b1eb9a&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"relative w-$portalContainerWidth mx-auto mt-20px"},[_c('NavigationBarProps',{attrs:{"navList":_vm.titleBar},model:{value:(_vm.active),callback:function ($$v) {_vm.active=$$v},expression:"active"}}),_c('el-row',{staticClass:"h-700px mt-10px",attrs:{"gutter":10}},[_c('el-col',{attrs:{"span":24}},[_c('div',{staticClass:"h-full w-full mr-10px",attrs:{"body-style":{ height: '100%' }}},[_c('div',{staticClass:"flex justify-start items-center"},[_c('span',{staticClass:"text-hex-666"},[_vm._v("排序:")]),_c('span',{staticClass:"text-hex-c11920 cursor-pointer ml-8px"},[_vm._v("按日期 "),_c('i',{staticClass:"el-icon-sort",on:{"click":_vm.changeSort}})]),_c('span',{staticClass:"text-hex-666 ml-40px"},[_vm._v("搜索位置:")]),_c('span',{staticClass:"text-hex-c11920 cursor-pointer ml-8px"},[_c('el-select',{on:{"change":_vm.getList},model:{value:(_vm.search.position),callback:function ($$v) {_vm.$set(_vm.search, "position", $$v)},expression:"search.position"}},_vm._l((_vm.searchPostion),function(option,index){return _c('el-option',{key:index,attrs:{"label":option.displayName,"value":option.id}})}),1)],1),_c('span',{staticClass:"text-hex-666 ml-60px"},[_vm._v("时间：")]),_c('span',[_c('el-date-picker',{staticClass:"max-w-330px",attrs:{"size":"small","type":"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","align":"right"},on:{"change":_vm.getList},model:{value:(_vm.search.timeRange),callback:function ($$v) {_vm.$set(_vm.search, "timeRange", $$v)},expression:"search.timeRange"}})],1),_c('span',{staticClass:"cursor-pointer ml-20px",on:{"click":_vm.reset}},[_vm._v("重置")])]),_c('div',{staticClass:"mt-10px text-hex-999999 text-14px"},[_vm._v("相关结果: "+_vm._s(_vm.page.total)+"个")])]),_c('div',{staticClass:"h-[calc(100%-60px)] overflow-y-auto"},_vm._l((_vm.dataList),function(item,index){return _c('div',{key:item.id,class:[
            'my-10px',
            index + 1 !== _vm.dataList.length ? 'border-b' : '',
            'border-hex-e6e6e6',
            'h-60px' ]},[_c('div',{staticClass:"flex items-center cursor-pointer",on:{"click":function($event){return _vm.liClick(item)}}},[_c('div',{class:_vm.getTagBg(item.type)},[_vm._v("\n              "+_vm._s(item.columnName)+"\n            ")]),_c('div',{staticClass:"ml-10px items-center w-[calc(100%-70px)]"},[_c('div',{staticClass:"w-full pl-10px cursor-pointer",on:{"click":function($event){return _vm.liClick(_vm.it)}}},[_c('div',{staticClass:"flex items-center"},[_c('p',{staticClass:"text-14px text-hex-000 truncate w-[calc(100%-6px)] hover:text-hex-$portalPrimaryColor"},[_vm._v("\n                    "+_vm._s(item.title)+"\n                  ")]),_c('div',{staticClass:"items-center text-14px text-hex-999 text-right mr-10px"},[_vm._v("\n                    "+_vm._s(_vm.dayjs(item.creationTime).format('MM/DD'))+"\n                  ")])]),(item.summary !== null)?_c('p',{staticClass:"text-12px text-hex-999 mt-10px truncate"},[_vm._v("\n                  "+_vm._s(item.summary)+"\n                ")]):_vm._e()])])])])}),0)])],1),_c('div',{staticClass:"float-right justify-center mb-20px"},[_c('el-pagination',{attrs:{"background":"","current-page":_vm.page.pageNo,"layout":"total, sizes, prev, pager, next, jumper","page-size":_vm.page.pageSize,"total":_vm.page.total,"page-sizes":[1, 15, 30, 45, 60, 75, 90],"pager-count":5},on:{"size-change":_vm.getList,"current-change":_vm.getList,"update:currentPage":function($event){return _vm.$set(_vm.page, "pageNo", $event)},"update:current-page":function($event){return _vm.$set(_vm.page, "pageNo", $event)},"update:pageSize":function($event){return _vm.$set(_vm.page, "pageSize", $event)},"update:page-size":function($event){return _vm.$set(_vm.page, "pageSize", $event)}}})],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/portal-homepage/views/SearchPage.vue?vue&type=template&id=68b1eb9a&scoped=true

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__("c7eb");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
var slicedToArray = __webpack_require__("3835");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__("1da1");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
var es_array_concat = __webpack_require__("99af");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
var es_array_sort = __webpack_require__("4e82");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
var es_object_to_string = __webpack_require__("d3b7");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
var es_regexp_exec = __webpack_require__("ac1f");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
var es_string_search = __webpack_require__("841c");

// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
var web_dom_collections_for_each = __webpack_require__("159b");

// EXTERNAL MODULE: ./node_modules/@wiz-api/workbench/lib/workbench.umd.js
var workbench_umd = __webpack_require__("c7fe");

// EXTERNAL MODULE: ./node_modules/@wiz-api/data-category-management/lib/data-category-management.umd.js
var data_category_management_umd = __webpack_require__("2adf");

// EXTERNAL MODULE: ./src/modules/portal-homepage/components/NavigationBarProps.vue + 4 modules
var NavigationBarProps = __webpack_require__("20df");

// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/modules/portal-homepage/views/SearchPage.vue?vue&type=script&lang=js









//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//




var dataCategoryApi = new data_category_management_umd["DataCategoryApi"]();
var columnTableSearch = new workbench_umd["ColumnTableSearchApi"]();
/* harmony default export */ var SearchPagevue_type_script_lang_js = ({
  name: 'search',
  components: {
    NavigationBarProps: NavigationBarProps["a" /* default */]
  },
  data: function data() {
    return {
      page: {
        pageNo: 1,
        pageSize: 15,
        total: 0
      },
      startTimeRange: '',
      search: {
        position: '0',
        timeRange: [],
        sort: 'asc',
        startTime: '',
        endTime: '',
        type: null
      },
      selectCategory: 'ColumnCategory',
      columnCategoryList: [],
      active: 'all',
      dataList: [],
      searchPostion: [{
        id: '0',
        displayName: '全部'
      }, {
        id: '1',
        displayName: '标题'
      }, {
        id: '2',
        displayName: '正文'
      }],
      titleBar: [{
        name: '全部',
        activeName: 'all'
      }, {
        name: '栏目',
        activeName: 'column'
      }, {
        name: '新闻',
        activeName: 'news'
      }, {
        name: '视频',
        activeName: 'video'
      }, {
        name: '公告',
        activeName: 'notice'
      }, {
        name: '图片',
        activeName: 'image'
      }],
      searchText: ''
    };
  },
  created: function created() {
    var config = Wiz.globalSettings.dynamicModules.modules['portal-homepage-nanhai'].config;
    document.title = "\u641C\u7D22 - ".concat(config.title);
    this.searchText = this.$route.query.text;
    this.getDataCategory();
  },
  computed: {
    routerBase: function routerBase() {
      if (window.__POWERED_BY_QIANKUN__) {
        return "/".concat(_.get(Wiz, 'globalSettings.globalConfig.routerBase'));
      }
      return '';
    }
  },
  watch: {
    active: {
      deep: true,
      immediate: true,
      handler: function handler(val) {
        if (!_.isEmpty(val)) {
          this.getList();
        }
      }
    },
    $route: {
      deep: true,
      immediate: true,
      handler: function handler(val) {
        if (!_.isEmpty(val)) {
          this.searchText = val.query.text;
          this.getDataCategory();
        }
      }
    }
  },
  methods: {
    getTagBg: function getTagBg(type) {
      switch (type) {
        case 1:
          return 'rounded-4px bg-hex-fff0f0 text-hex-$portalPrimaryColor text-center pt-15px pb-15px text-12px overflow-hidden h-full w-60px';
        case 2:
          return 'rounded-4px bg-hex-f0f9ff text-hex-3b9bf0 text-center pt-15px pb-15px text-12px overflow-hidden h-full w-60px';
        case 3:
          return 'rounded-4px bg-hex-eaffef text-hex-25e154 text-center pt-15px pb-15px text-12px overflow-hidden h-full w-60px';
        default:
          return 'rounded-4px bg-hex-fff0f0 text-hex-$portalPrimaryColor text-center pt-15px pb-15px text-12px overflow-hidden h-full w-60px';
      }
    },
    liClick: function liClick(item) {
      window.open("".concat(window.location.origin).concat(window.location.hash ? '/#' : '').concat(this.routerBase, "/portal/ColumnDetail?id=").concat(item.id, "&type=").concat(item.type));
    },
    getDataCategory: function getDataCategory() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var _yield$dataCategoryAp, _yield$dataCategoryAp2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _this.columnCategoryList = [];
              _context.next = 3;
              return dataCategoryApi.getByCode({
                code: _this.selectCategory,
                includeDetails: true
              });
            case 3:
              _yield$dataCategoryAp = _context.sent;
              _yield$dataCategoryAp2 = Object(slicedToArray["a" /* default */])(_yield$dataCategoryAp, 2);
              err = _yield$dataCategoryAp2[0];
              res = _yield$dataCategoryAp2[1];
              if (!err) {
                _this.columnCategoryList = res.dataItems;
                _this.getList();
              }
            case 8:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))();
    },
    changeSort: function changeSort() {
      if (this.search.sort === 'asc') {
        this.search.sort = 'desc';
      } else {
        this.search.sort = 'asc';
      }
      this.getList();
    },
    getList: function getList() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var _yield$columnTableSea, _yield$columnTableSea2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _context2.t0 = _this2.active;
              _context2.next = _context2.t0 === 'column' ? 3 : _context2.t0 === 'news' ? 6 : _context2.t0 === 'video' ? 9 : _context2.t0 === 'notice' ? 12 : _context2.t0 === 'image' ? 15 : _context2.t0 === 'all' ? 18 : 21;
              break;
            case 3:
              _this2.search.type = null;
              _this2.columnCategoryList.forEach(function (element) {
                if (element.displayName === '栏目') {
                  _this2.search.category = element.id;
                }
              });
              return _context2.abrupt("break", 23);
            case 6:
              _this2.search.type = null;
              _this2.columnCategoryList.forEach(function (element) {
                if (element.displayName === '新闻') {
                  _this2.search.category = element.id;
                }
              });
              return _context2.abrupt("break", 23);
            case 9:
              _this2.search.type = 3;
              _this2.search.category = null;
              return _context2.abrupt("break", 23);
            case 12:
              _this2.search.type = null;
              _this2.columnCategoryList.forEach(function (element) {
                if (element.displayName === '公告') {
                  _this2.search.category = element.id;
                }
              });
              return _context2.abrupt("break", 23);
            case 15:
              _this2.search.type = 2;
              _this2.search.category = null;
              return _context2.abrupt("break", 23);
            case 18:
              _this2.search.type = null;
              _this2.search.category = null;
              return _context2.abrupt("break", 23);
            case 21:
              _this2.search.type = null;
              _this2.search.category = null;
            case 23:
              _context2.next = 25;
              return columnTableSearch.searchColumnTable(_this2.page.pageNo, _this2.page.pageSize, {
                type: _this2.search.type,
                category: _this2.search.category,
                keyword: _this2.search.position === '0' ? _this2.searchText : '',
                title: _this2.search.position === '1' ? _this2.searchText : '',
                summary: _this2.search.position === '2' ? _this2.searchText : '',
                startTime: _this2.search.timeRange.length > 0 ? _this2.search.timeRange[0] : '',
                endTime: _this2.search.timeRange.length > 0 ? _this2.search.timeRange[1] : '',
                sortBy: _this2.search.sort
              });
            case 25:
              _yield$columnTableSea = _context2.sent;
              _yield$columnTableSea2 = Object(slicedToArray["a" /* default */])(_yield$columnTableSea, 2);
              err = _yield$columnTableSea2[0];
              res = _yield$columnTableSea2[1];
              if (!err && res) {
                _this2.dataList = res.items;
                _this2.page.total = res.totalCount;
              }
            case 30:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    reset: function reset() {
      this.page = this.$options.data().page;
      this.search.timeRange = this.$options.data().search.timeRange;
      this.search.position = this.$options.data().search.position;
      this.search.sort = this.$options.data().search.sort;
      this.search.startTime = this.$options.data().search.startTime;
      this.search.endTime = this.$options.data().search.endTime;
      this.getList();
      // this.active = this.$options.data().active
    }
  }
});
// CONCATENATED MODULE: ./src/modules/portal-homepage/views/SearchPage.vue?vue&type=script&lang=js
 /* harmony default export */ var views_SearchPagevue_type_script_lang_js = (SearchPagevue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/portal-homepage/views/SearchPage.vue?vue&type=style&index=0&id=68b1eb9a&prod&lang=scss&scoped=true
var SearchPagevue_type_style_index_0_id_68b1eb9a_prod_lang_scss_scoped_true = __webpack_require__("99d6");

// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/modules/portal-homepage/views/SearchPage.vue






/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  views_SearchPagevue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "68b1eb9a",
  null
  
)

/* harmony default export */ var SearchPage = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ "deea":
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__("0358");
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var add = __webpack_require__("499e").default
var update = add("e6c74bb0", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

/***/ "e839":
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__("2350")(false);
// imports


// module
exports.push([module.i, ".selectBorder[data-v-68b1eb9a]  .el-input__inner{border:none}.selectBorder input[data-v-68b1eb9a]::-webkit-input-placeholder{color:red}.selectBorder input[data-v-68b1eb9a]::-moz-placeholder{color:red}.selectBorder input[data-v-68b1eb9a]:-ms-input-placeholder{color:red}.selectBorder input[data-v-68b1eb9a]::-ms-input-placeholder{color:red}.selectBorder input[data-v-68b1eb9a]::placeholder{color:red}.test[data-v-68b1eb9a]  .el-radio-button__inner{background:none;border:none;color:red}", ""]);

// exports


/***/ })

}]);
//# sourceMappingURL=portal-homepage-nanhai.umd.18.js.map