bi-element-ui 0.1.33 → 0.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/about.39d53d9e.css +1 -0
- package/dist/css/chunk-vendors.8140bef9.css +1 -0
- package/dist/css/index.db0a6efb.css +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/fonts/element-icons.535877f5.woff +0 -0
- package/dist/fonts/element-icons.732389de.ttf +0 -0
- package/dist/index.html +1 -0
- package/dist/js/about.6ff338e4.js +2 -0
- package/dist/js/chunk-vendors.a9a38d93.js +318 -0
- package/dist/js/index.4749e5e2.js +2 -0
- package/lib/bi-element-ui.common.js +25 -25
- package/lib/bi-element-ui.css +1 -1
- package/lib/bi-element-ui.umd.js +25 -25
- package/lib/bi-element-ui.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/bi-element-ui.umd.js
CHANGED
@@ -5985,14 +5985,10 @@ Sortable.mount(Remove, Revert);
|
|
5985
5985
|
|
5986
5986
|
/***/ }),
|
5987
5987
|
|
5988
|
-
/***/ "
|
5989
|
-
/***/ (function(module,
|
5990
|
-
|
5991
|
-
"use strict";
|
5992
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_491b003d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3af8");
|
5993
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_491b003d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_491b003d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
5994
|
-
/* unused harmony reexport * */
|
5988
|
+
/***/ "26b4":
|
5989
|
+
/***/ (function(module, exports, __webpack_require__) {
|
5995
5990
|
|
5991
|
+
// extracted by mini-css-extract-plugin
|
5996
5992
|
|
5997
5993
|
/***/ }),
|
5998
5994
|
|
@@ -9390,13 +9386,6 @@ if (typeof window !== "undefined" && "Vue" in window) {
|
|
9390
9386
|
})));
|
9391
9387
|
|
9392
9388
|
|
9393
|
-
/***/ }),
|
9394
|
-
|
9395
|
-
/***/ "3af8":
|
9396
|
-
/***/ (function(module, exports, __webpack_require__) {
|
9397
|
-
|
9398
|
-
// extracted by mini-css-extract-plugin
|
9399
|
-
|
9400
9389
|
/***/ }),
|
9401
9390
|
|
9402
9391
|
/***/ "3f33":
|
@@ -16526,6 +16515,17 @@ module.exports = "data:image/png;base64,UklGRugpAABXRUJQVlA4WAoAAAAQAAAA6wUAMQIA
|
|
16526
16515
|
})));
|
16527
16516
|
|
16528
16517
|
|
16518
|
+
/***/ }),
|
16519
|
+
|
16520
|
+
/***/ "a585":
|
16521
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16522
|
+
|
16523
|
+
"use strict";
|
16524
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_60179b0d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("26b4");
|
16525
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_60179b0d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_8_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_60179b0d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
16526
|
+
/* unused harmony reexport * */
|
16527
|
+
|
16528
|
+
|
16529
16529
|
/***/ }),
|
16530
16530
|
|
16531
16531
|
/***/ "a656":
|
@@ -29972,12 +29972,12 @@ TooltipIcon_src.install = function (Vue) {
|
|
29972
29972
|
};
|
29973
29973
|
|
29974
29974
|
/* harmony default export */ var TooltipIcon = (TooltipIcon_src);
|
29975
|
-
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"97d143a2-vue-loader-template"}!./node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.8@vue-loader/lib??vue-loader-options!./packages/NoticeCenter/src/index.vue?vue&type=template&id=
|
29976
|
-
var
|
29977
|
-
var
|
29975
|
+
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"97d143a2-vue-loader-template"}!./node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.8@vue-loader/lib??vue-loader-options!./packages/NoticeCenter/src/index.vue?vue&type=template&id=60179b0d&scoped=true&
|
29976
|
+
var srcvue_type_template_id_60179b0d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bi-notice"},[_c('el-popover',{attrs:{"placement":"top-end","trigger":"hover","popper-class":"notice-popper","popper-options":{padding:'0px'}},on:{"show":_vm.handleShow,"hide":_vm.handleHide}},[_c('div',{staticClass:"bi-notice-box"},[_c('el-card',{staticClass:"box-card",attrs:{"shadow":"never","body-style":_vm.bodyStyle}},[_c('div',{staticClass:"notice-header",attrs:{"slot":"header"},slot:"header"},[_c('span',[_vm._v("系统通知")]),_c('el-button',{staticStyle:{"float":"right","padding":"3px 0"},attrs:{"type":"text"},on:{"click":_vm.noticeAllRead}},[_vm._v("全部标为已读")])],1),_c('ul',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.load),expression:"load"}],staticClass:"notice-list",staticStyle:{"overflow":"auto"},attrs:{"infinite-scroll-immediate":false,"infinite-scroll-disabled":_vm.noticeListDisabled,"infinite-scroll-delay":300}},[_vm._l((_vm.noticeList),function(item){return _c('li',{key:item.id,staticClass:"notice-item",class:{unread:item.is_read===0},on:{"click":function($event){return _vm.detail(item)}}},[_c('div',{staticClass:"header"},[_c('p',{staticClass:"title"},[_vm._v(_vm._s(item.title))]),_c('p',{staticClass:"time"},[_vm._v(_vm._s(item.send_time))])]),_c('div',{staticClass:"content"},[_vm._v(_vm._s(item.describe))])])}),(_vm.noticeListLoading)?_c('p',{staticStyle:{"font-size":"14px","color":"#5e6d82","text-align":"center"}},[_vm._v("加载中...")]):_vm._e(),(_vm.noMore)?_c('p',{staticStyle:{"font-size":"14px","color":"#5e6d82","text-align":"center"}},[_vm._v("没有更多了")]):_vm._e()],2)])],1),_c('el-badge',{staticClass:"notice-badge",attrs:{"slot":"reference","value":_vm.badgeNum,"hidden":_vm.badgeNum===0},slot:"reference"},[_c('el-button',{staticClass:"notice-button",attrs:{"type":"text"}},[_c('img',{attrs:{"src":_vm.iconImg}})])],1)],1),_c('el-dialog',{attrs:{"title":"提示","visible":_vm.dialogVisible,"width":"758px","top":"3vh","before-close":_vm.handleClose,"append-to-body":"","show-close":false,"custom-class":"notice-open-dialog"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('div',{staticClass:"notice-open-container"},[_c('div',{staticClass:"notice-bg"},[_c('img',{attrs:{"src":_vm.dialogImg}})]),_c('div',{staticClass:"notice-open-box"},[_c('el-scrollbar',[_c('div',{staticClass:"notice-open-box-scrollbar"},[_c('p',{staticClass:"notice-open-tile"},[_vm._v(_vm._s(_vm.openNotice.title))]),_c('div',{staticClass:"notice-open-content",domProps:{"innerHTML":_vm._s(_vm.openNotice.content)}})])]),_c('div',{staticClass:"notice-open-button"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":function($event){_vm.dialogVisible = false}}},[_vm._v("我知道了")])],1)],1)])]),_c('el-drawer',{style:({'--headHegiht':_vm.headerHeight}),attrs:{"custom-class":"bi-notice-drawer","title":"消息详情","visible":_vm.detailVisible,"direction":"rtl","size":"538px","destroy-on-close":"","append-to-body":"","modal":true},on:{"update:visible":function($event){_vm.detailVisible=$event},"open":_vm.handleDetailOpen,"close":_vm.handleDetailClose}},[_c('el-scrollbar',[_c('div',{staticClass:"notice-detail-box"},[_c('div',{staticClass:"notice-detail"},[_c('div',{staticClass:"detail-header"},[_c('p',{staticClass:"detail-title"},[_vm._v(_vm._s(_vm.detailData.title))]),_c('p',{staticClass:"detail-time"},[_vm._v(_vm._s(_vm.detailData.send_time))])]),_c('div',{staticClass:"detail-content",domProps:{"innerHTML":_vm._s(_vm.detailData.content)}})])])])],1)],1)}
|
29977
|
+
var srcvue_type_template_id_60179b0d_scoped_true_staticRenderFns = []
|
29978
29978
|
|
29979
29979
|
|
29980
|
-
// CONCATENATED MODULE: ./packages/NoticeCenter/src/index.vue?vue&type=template&id=
|
29980
|
+
// CONCATENATED MODULE: ./packages/NoticeCenter/src/index.vue?vue&type=template&id=60179b0d&scoped=true&
|
29981
29981
|
|
29982
29982
|
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.8@vue-loader/lib??vue-loader-options!./packages/NoticeCenter/src/index.vue?vue&type=script&lang=js&
|
29983
29983
|
//
|
@@ -30149,7 +30149,7 @@ var srcvue_type_template_id_491b003d_scoped_true_staticRenderFns = []
|
|
30149
30149
|
page: 1,
|
30150
30150
|
dialogVisible: false,
|
30151
30151
|
noticeTimer: null,
|
30152
|
-
badgeNum:
|
30152
|
+
badgeNum: 0,
|
30153
30153
|
is_open_page: 1,
|
30154
30154
|
bodyStyle: {
|
30155
30155
|
padding: '0'
|
@@ -30191,7 +30191,7 @@ var srcvue_type_template_id_491b003d_scoped_true_staticRenderFns = []
|
|
30191
30191
|
}
|
30192
30192
|
|
30193
30193
|
this.hasNotice();
|
30194
|
-
this.noticeTimer = setInterval(this.hasNotice,
|
30194
|
+
this.noticeTimer = setInterval(this.hasNotice, 60000);
|
30195
30195
|
},
|
30196
30196
|
|
30197
30197
|
async hasNotice() {
|
@@ -30302,8 +30302,8 @@ var srcvue_type_template_id_491b003d_scoped_true_staticRenderFns = []
|
|
30302
30302
|
});
|
30303
30303
|
// CONCATENATED MODULE: ./packages/NoticeCenter/src/index.vue?vue&type=script&lang=js&
|
30304
30304
|
/* harmony default export */ var packages_NoticeCenter_srcvue_type_script_lang_js_ = (NoticeCenter_srcvue_type_script_lang_js_);
|
30305
|
-
// EXTERNAL MODULE: ./packages/NoticeCenter/src/index.vue?vue&type=style&index=0&id=
|
30306
|
-
var
|
30305
|
+
// EXTERNAL MODULE: ./packages/NoticeCenter/src/index.vue?vue&type=style&index=0&id=60179b0d&lang=scss&scoped=true&
|
30306
|
+
var srcvue_type_style_index_0_id_60179b0d_lang_scss_scoped_true_ = __webpack_require__("a585");
|
30307
30307
|
|
30308
30308
|
// EXTERNAL MODULE: ./packages/NoticeCenter/src/index.vue?vue&type=style&index=1&lang=scss&
|
30309
30309
|
var NoticeCenter_srcvue_type_style_index_1_lang_scss_ = __webpack_require__("ab48");
|
@@ -30320,11 +30320,11 @@ var NoticeCenter_srcvue_type_style_index_1_lang_scss_ = __webpack_require__("ab4
|
|
30320
30320
|
|
30321
30321
|
var NoticeCenter_src_component = normalizeComponent(
|
30322
30322
|
packages_NoticeCenter_srcvue_type_script_lang_js_,
|
30323
|
-
|
30324
|
-
|
30323
|
+
srcvue_type_template_id_60179b0d_scoped_true_render,
|
30324
|
+
srcvue_type_template_id_60179b0d_scoped_true_staticRenderFns,
|
30325
30325
|
false,
|
30326
30326
|
null,
|
30327
|
-
"
|
30327
|
+
"60179b0d",
|
30328
30328
|
null
|
30329
30329
|
|
30330
30330
|
)
|
@@ -45,7 +45,7 @@ var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän"
|
|
45
45
|
//! moment.js locale configuration
|
46
46
|
var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],a=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return a}))},"26ae":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
47
47
|
//! moment.js locale configuration
|
48
|
-
var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"
|
48
|
+
var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"26b4":function(e,t,n){},"2b9c":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
49
49
|
//! moment.js locale configuration
|
50
50
|
var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t}))},"2e9a":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
51
51
|
//! moment.js locale configuration
|
@@ -63,7 +63,7 @@ var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0
|
|
63
63
|
//! moment.js locale configuration
|
64
64
|
function t(e,t,n,a){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},"35be":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
65
65
|
//! moment.js locale configuration
|
66
|
-
var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"
|
66
|
+
var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"3f33":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
67
67
|
//! moment.js locale configuration
|
68
68
|
function t(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var n=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"===typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var a=this._calendarEl[e],r=n&&n.hours();return t(a)&&(a=a.apply(n)),a.replace("{}",r%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n}))},"3fbf":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
69
69
|
//! moment.js locale configuration
|
@@ -187,7 +187,7 @@ var t=e.defineLocale("bg",{months:"януари_февруари_март_апр
|
|
187
187
|
//! moment.js locale configuration
|
188
188
|
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function a(e,t,n,a){var r="";if(t)switch(n){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे";break}else switch(n){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां";break}return r.replace(/%d/i,e)}var r=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return r}))},a3f6:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
189
189
|
//! moment.js locale configuration
|
190
|
-
var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},a=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return a}))},a656:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
190
|
+
var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},a=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return a}))},a585:function(e,t,n){"use strict";n("26b4")},a656:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
191
191
|
//! moment.js locale configuration
|
192
192
|
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,s=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return s}))},a782:function(e,t,n){"use strict";n("4bd4")},a859:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
193
193
|
//! moment.js locale configuration
|
@@ -276,7 +276,7 @@ var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n=
|
|
276
276
|
//! moment.js locale configuration
|
277
277
|
var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},f2d9:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
278
278
|
//! moment.js locale configuration
|
279
|
-
var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},f4a0:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var a=window.document.currentScript,r=n("79e4");a=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var s=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(n.p=s[1])}var i,o,d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bi-table"},[n("div",{staticClass:"bi-table-wrapper"},[n("el-table",e._g(e._b({directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"elTable",attrs:{data:e.data,"max-height":e.maxHeight}},"el-table",e.$attrs,!1),e.$listeners),[e._l(e.tbColumns,(function(t){return[t.slotScope?n("el-table-column",e._g(e._b({key:t.prop+t.label,scopedSlots:e._u([{key:"default",fn:function(n){return[e._t(t.prop,null,null,n)]}}],null,!0)},"el-table-column",t,!1),e.$listeners)):n("bi-column",e._b({key:t.prop+t.label+"1",attrs:{column:t}},"bi-column",e.$attrs,!1))]}))],2)],1),e.pagination?[e.data.length>0?n("pagination",e._g(e._b({attrs:{disabled:e.loading}},"pagination",e.$attrs,!1),e.$listeners)):e._e()]:e._e()],2)},l=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-table-column",e._g(e._b({scopedSlots:e._u([{key:"header",fn:function(t){return[e.column.renderHeader?n("bi-render",{attrs:{scope:t,render:e.column.renderHeader}}):n("span",[e._v(e._s(t.column.label))])]}},{key:"default",fn:function(t){return[e.column.component?n(e.column.component,e._g(e._b({tag:"component"},"component",e.getCptBind(t,e.column),!1),e.column.listeners)):e.column.children?e._l(e.column.children,(function(e){return n("free-column",{key:e.prop,attrs:{column:e}})})):n("bi-render",{attrs:{scope:t,render:e.column.render}})]}}])},"el-table-column",e.column,!1),e.$listeners))},c=[],m={name:"BiRender",functional:!0,props:{scope:{type:Object,default:()=>({})},render:{type:Function,default:()=>()=>{}}},render:(e,t)=>t.props.render?t.props.render(e,t.props.scope):""},_=m;function h(e,t,n,a,r,s,i,o){var d,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),a&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),i?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=d):r&&(d=o?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(l.functional){l._injectStyles=d;var u=l.render;l.render=function(e,t){return d.call(t),u(e,t)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,d):[d]}return{exports:e,options:l}}var f=h(_,i,o,!1,null,null,null),p=f.exports,M={selection:{renderHeader:function(e,{store:t}){return e("el-checkbox",{attrs:{disabled:t.states.data&&0===t.states.data.length,indeterminate:t.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},nativeOn:{click:this.toggleAllSelection}})},renderCell:function(e,{row:t,column:n,store:a,$index:r}){return e("el-checkbox",{nativeOn:{click:e=>e.stopPropagation()},attrs:{value:a.isSelected(t),disabled:!!n.selectable&&!n.selectable.call(null,t,r)},on:{input:()=>{a.commit("rowSelectedChanged",t)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(e,{column:t}){return t.label||"#"},renderCell:function(e,{$index:t,column:n}){let a=t+1;const r=n.index;return"number"===typeof r?a=t+r:"function"===typeof r&&(a=r(t)),e("div",[a])},sortable:!1},expand:{renderHeader:function(e,{column:t}){return t.label||""},renderCell:function(e,{row:t,store:n}){const a=["el-table__expand-icon"];n.states.expandRows.indexOf(t)>-1&&a.push("el-table__expand-icon--expanded");const r=function(e){e.stopPropagation(),n.toggleRowExpansion(t)};return e("div",{class:a,on:{click:r}},[e("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}},y={name:"BiColumn",components:{BiRender:p},props:{column:{type:Object,default:()=>{}}},watch:{column:{handler:"renderColumn",immediate:!0}},methods:{renderColumn(){this.$createElement;const{column:e}=this;return e.type&&(e.renderHeader=M[e.type].renderHeader,e.render=e.render||M[e.type].renderCell),e.formatter&&(e.render=(e,t)=>e("span",[t.column.formatter(t.row,t.column,t.row[t.column.property],t.$index)])),e.render||(e.render=(e,t)=>e("span",[t.row[t.column.property]])),e},getColBind(e){const t=Object.assign({},this.$attrs,e);return delete t.component,delete t.listeners,delete t.propsHandler,t},getCptBind({row:e,column:t},n){const a={row:e,col:n,column:t},r=n.propsHandler;return r&&r(a)||a}}},L=y,Y=h(L,u,c,!1,null,null,null),g=Y.exports,v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},D=[];Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var b=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function k(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function w(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function T(e,t,n){const a=w(),r=e-a,s=20;let i=0;t="undefined"===typeof t?500:t;var o=function(){i+=s;var e=Math.easeInOutQuad(i,a,r,t);k(e),i<t?b(o):n&&"function"===typeof n&&n()};o()}var S={name:"BiPagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get(){return this.page},set(e){this.$emit("update:page",e)}},pageSize:{get(){return this.limit},set(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&T(0,800)},handleCurrentChange(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&T(0,800)}}},x=S,H=(n("f621"),h(x,v,D,!1,null,"c276c1ba",null)),j=H.exports,A={name:"BiTable",components:{Pagination:j,BiColumn:g},props:{data:{type:Array,default:()=>[]},column:{type:Array,default:()=>[]},columnsProps:{type:Object,default:()=>({})},loading:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},fixed:{type:String,default:""},fixedOffset:{type:String,default:""}},data(){return{maxHeight:null,headerStatus:!1,footerStatus:!1}},computed:{tbColumns(){const{column:e,columnsProps:t}=this;return console.log(e.map(e=>{const n=this.formatColumn(e),a=Object.assign({},t,n);return a})),e.map(e=>{const n=this.formatColumn(e),a=Object.assign({},t,n);return a})},fixedHeader(){return this.fixed}},mounted(){"sticky"===this.fixedHeader?(window.addEventListener("scroll",this.handleStickyHeader,!0),Object.prototype.hasOwnProperty.call(this.$attrs,"show-summary")&&window.addEventListener("scroll",this.handleStickyFooter,!0)):"fullscreen"===this.fixedHeader&&window.addEventListener("scroll",this.handleFixedHeader,!0)},destroyed(){"sticky"===this.fixedHeader?(window.removeEventListener("scroll",this.handleStickyHeader,!0),Object.prototype.hasOwnProperty.call(this.$attrs,"show-summary")&&window.removeEventListener("scroll",this.handleStickyFooter,!0)):"fullscreen"===this.fixedHeader&&window.removeEventListener("scroll",this.handleFixedHeader,!0)},methods:{handleStickyHeader(){const e=document.documentElement.scrollTop,t=this.getElementTop(this.$el);if(e>t){this.headerStatus||(this.headerStatus=!0,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="absolute",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.zIndex="2");const n=e-(t+1)+Number(this.fixedOffset);this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform=`translate(0px, ${n}px)`,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",this.$el.querySelector(".el-table__fixed")&&(this.$el.querySelector(".el-table__fixed").style.zIndex="3"),this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.transform=`translate(0px, ${n}px)`,this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right")&&(this.$el.querySelector(".el-table__fixed-right").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.transform=`translate(0px, ${n}px)`,this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.zIndex="4")}else this.headerStatus=!1,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.zIndex="5",this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.zIndex="5",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0"},handleStickyFooter(){const e=document.documentElement.clientHeight,t=this.$el.querySelector(".bi-table-wrapper").clientHeight,n=this.$el.getBoundingClientRect().top,a=e-n-t;Math.abs(n)+e<t?(this.footerStatus||(this.footerStatus=!0,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="absolute",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="2"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform=`translate(0px, ${a}px)`,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.querySelector(".el-table__fixed")&&(this.$el.querySelector(".el-table__fixed").style.zIndex="3"),this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform=`translate(0px, ${a}px)`,this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right")&&(this.$el.querySelector(".el-table__fixed-right").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform=`translate(0px, ${a}px)`,this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4")):(this.footerStatus=!1,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0")},handleFixedHeader(){const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-Number(this.fixedOffset)-(this.pagination?72:0);Math.abs(t-this.maxHeight)>3&&(this.maxHeight=t),e<=Number(this.fixedOffset)+20&&e>=0?this.$el.querySelector(".bi-table-wrapper>.el-table>.el-table__body-wrapper").style.overflowY="auto":this.$el.querySelector(".bi-table-wrapper>.el-table>.el-table__body-wrapper").style.overflowY="hidden"},getElementTop(e){if(!e)return 0;let t=e.offsetTop,n=e.offsetParent;while(null!==n)t+=n.offsetTop,n=n.offsetParent;return t},formatColumn(e){const t=Object.assign({},e);return"function"===typeof t.width&&(t.width=t.width()),"function"===typeof t.minWidth&&(t.minWidth=t.minWidth()),t}}},O=A,E=(n("debf"),h(O,d,l,!1,null,null,null)),P=E.exports;P.install=function(e){e.component(P.name,P)};var C=P,W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-button",{attrs:{type:e.type},on:{click:function(t){e.visible=!0}}},[e._v(" 自定义列 "),n("el-dialog",{attrs:{"custom-class":"bi-column-dialog",title:"自定义列",visible:e.visible,width:"800px",top:"8vh","append-to-body":""},on:{"update:visible":function(t){e.visible=t},open:e.handleOpen,close:e.close}},[n("div",{staticClass:"dialog-body",staticStyle:{"min-height":"160px"}},[n("div",{staticClass:"bi-column-container"},[n("div",{staticClass:"checkbox-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("可操作性的列")])]),e._l(e.colList,(function(t,a){return n("div",{key:a,staticClass:"checkbox-group"},[n("p",{staticClass:"checkbox-title"},[n("el-checkbox",{on:{change:function(n){return e.handleCheckGroupAllChange(n,t)}},model:{value:t.status,callback:function(n){e.$set(t,"status",n)},expression:"item.status"}},[e._v(e._s(t.content))])],1),n("p",[n("el-checkbox-group",{attrs:{"true-label":1,"false-label":0},on:{change:function(n){return e.handleCheckGroupAll(t)}},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(t.children,(function(t,a){return n("el-checkbox",{key:a,staticStyle:{width:"120px",margin:"0 15px 15px 0"},attrs:{label:t.name}},[e._v(" "+e._s(t.content)+" ")])})),1)],1)])}))],2)],1),n("div",{staticClass:"column-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"column-title",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("已选"+e._s(e.columnLength)+"列")]),n("el-button",{attrs:{type:"text"},on:{click:e.clearAll}},[e._v("清空全部")])],1),n("p",{staticClass:"column-group-title"},[e._v("左侧固定列")]),n("div",{staticClass:"column-configurable"},[n("draggable",{attrs:{group:"column"},model:{value:e.leftColumnList,callback:function(t){e.leftColumnList=t},expression:"leftColumnList"}},e._l(e.leftColumnList,(function(t){return n("div",{key:t.prop,staticClass:"selected-column-item"},[n("i",{staticClass:"el-icon-menu"}),n("div",{staticClass:"column-name"},[e._v(e._s(t.content||t.label))]),n("i",{staticClass:"el-icon-close column-close",on:{click:function(n){return e.closeColumn(t.prop)}}})])})),0)],1),n("p",{staticClass:"column-group-title"},[e._v("中间不固定列")]),n("div",{staticClass:"column-configurable"},[n("draggable",{attrs:{group:"column"},model:{value:e.columnList,callback:function(t){e.columnList=t},expression:"columnList"}},e._l(e.columnList,(function(t){return n("div",{key:t.prop,staticClass:"selected-column-item"},[n("i",{staticClass:"el-icon-menu"}),n("div",{staticClass:"column-name"},[e._v(e._s(t.content||t.label))]),n("i",{staticClass:"el-icon-close column-close",on:{click:function(n){return e.closeColumn(t.prop)}}})])})),0)],1),n("p",{staticClass:"column-group-title"},[e._v("右侧固定列")]),n("div",{staticClass:"column-configurable"},[n("draggable",{attrs:{group:"column"},model:{value:e.rightColumnList,callback:function(t){e.rightColumnList=t},expression:"rightColumnList"}},e._l(e.rightColumnList,(function(t){return n("div",{key:t.prop,staticClass:"selected-column-item"},[n("i",{staticClass:"el-icon-menu"}),n("div",{staticClass:"column-name"},[e._v(e._s(t.content||t.label))]),n("i",{staticClass:"el-icon-close column-close",on:{click:function(n){return e.closeColumn(t.prop)}}})])})),0)],1)])],1)])]),n("span",{staticClass:"dialog-footer",staticStyle:{display:"flex","justify-content":"space-between"},attrs:{slot:"footer"},slot:"footer"},[n("span",{staticStyle:{display:"inline-block","line-height":"32px"}},[n("el-checkbox",{attrs:{label:"全选"},on:{change:e.checkAll},model:{value:e.checkAllData,callback:function(t){e.checkAllData=t},expression:"checkAllData"}},[e._v(" 全选 ")])],1),n("div",[n("el-button",{on:{click:e.close}},[e._v("关闭")]),n("el-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v("生效")])],1)])])],1)},F=[],N=n("3335"),I=n.n(N),z={name:"BiCustomColumn",components:{draggable:I.a},props:{columnName:{type:String,require:!0,default:""},type:{type:String,default:""},listType:{type:String,require:!0,default:""},checkData:{type:Array,require:!0,default:()=>[]},tableColumn:{type:Array,default:()=>[]},defaultList:{type:Array,default:()=>[]},defaultColumn:{type:Object,default:()=>({left:[],center:[],right:[]})}},data(){return{tableColumnList:this.tableColumn,visible:!1,colList:[],checkList:[],checkAllData:!1,draggableList:[],leftColumnList:[],columnList:[],rightColumnList:[]}},computed:{columnLength(){return this.leftColumnList.length+this.columnList.length+this.rightColumnList.length}},watch:{colList:{handler(e){let t=!0;e.forEach(e=>{e.status=Boolean(e.status),e.status?this.checkAllData=e.status:t=!1,this.checkAllData=t})},deep:!0}},mounted(){const e={type:this.listType};this.defaultColumnInit(),this.getList(e),this.returnColumn()},beforeDestroy(){this.visible=!1},methods:{defaultColumnInit(){const e=this.getLocalStorage(),{left:t,center:n,right:a}=e||this.defaultColumn;t.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.leftColumnList.push(t)}),n.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.columnList.push(t)}),a.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.rightColumnList.push(t)}),this.saveLocalStorage()},async getList(e){this.colList=this.defaultList,this.defaultCheck()},checkAll(e){this.colList.forEach(t=>{this.handleCheckGroupAllChange(e,t),t.status=e}),e||(this.checkList=[])},defaultCheck(){this.colList.forEach(e=>{this.handleCheckGroupAll(e)})},deleteArrayItemForIndex(e,t){if(-1!==t)return e.splice(t,1)},handleCheckGroupAllChange(e,t){e?t.children.map(e=>{-1===this.checkList.indexOf(e.name)&&(this.checkList.push(e.name),this.insertColumn(e.name))}):t.children.map(e=>{this.deleteArrayItemForIndex(this.checkList,this.checkList.indexOf(e.name)),this.removeColumn(e.name)})},handleCheckGroupAll(e){let t=1;e.children.map(e=>{-1===this.checkList.indexOf(e.name)?(this.removeColumn(e.name),t=0):this.insertColumn(e.name)}),e.status=t},async setTheadList(){const e=JSON.parse(JSON.stringify(this.colList));var t=[];e.forEach(e=>{e.status=e.status?1:0,t.push(...e.children)})},clearAll(){this.checkList=[],this.checkAll(!1)},closeColumn(e){this.deleteArrayItemForIndex(this.checkList,this.checkList.indexOf(e)),this.removeColumn(e),this.defaultCheck()},insertColumn(e){const t=this.tableColumnList.find(t=>t.prop===e);this.leftColumnList.find(t=>t.prop===e)||this.rightColumnList.find(t=>t.prop===e)||this.columnList.find(t=>t.prop===e)||this.columnList.push(t)},removeColumn(e){if(this.leftColumnList.length&&this.leftColumnList.find(t=>t.prop===e)){const t=this.leftColumnList.findIndex(t=>t.prop===e);t>-1&&this.leftColumnList.splice(t,1)}if(this.columnList.length&&this.columnList.find(t=>t.prop===e)){const t=this.columnList.findIndex(t=>t.prop===e);t>-1&&this.columnList.splice(t,1)}if(this.rightColumnList.length&&this.rightColumnList.find(t=>t.prop===e)){const t=this.rightColumnList.findIndex(t=>t.prop===e);t>-1&&this.rightColumnList.splice(t,1)}},returnColumn(){this.leftColumnList.map(e=>{e.fixed=!0}),this.columnList.map(e=>{e.fixed=!1}),this.rightColumnList.map(e=>{e.fixed="right"}),this.$emit("handleTableColumn",[...this.leftColumnList,...this.columnList,...this.rightColumnList])},ok(){this.returnColumn(),this.saveLocalStorage(),this.visible=!1},saveLocalStorage(){const e={left:[],center:[],right:[]};this.leftColumnList.map(({prop:t})=>{t&&e.left.push(t)}),this.columnList.map(({prop:t})=>{t&&e.center.push(t)}),this.rightColumnList.map(({prop:t})=>{t&&e.right.push(t)}),localStorage.setItem(this.columnName,JSON.stringify(e))},getLocalStorage(){const e=localStorage.getItem(this.columnName);return e?JSON.parse(e):void 0},handleOpen(){this.checkList=[],this.rightColumnList=[],this.leftColumnList=[],this.columnList=[];const e=this.getLocalStorage();e&&this.defaultColumnInit()},close(){this.checkList=[],this.rightColumnList=[],this.leftColumnList=[],this.columnList=[],this.visible=!1,this.$emit("closeDialog",{visible:!1})}}},R=z,J=(n("4974"),n("0c8e"),h(R,W,F,!1,null,"325310fc",null)),V=J.exports;V.install=function(e){e.component(V.name,V)};var B=V,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-date-picker",e._g(e._b({attrs:{"picker-options":e.componentPickerOptions,format:e.format,"value-format":e.valueFormat},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}},"el-date-picker",e.$attrs,!1),e.$listeners))},q=[],Q=n("caaf"),X=n.n(Q);const U={daterange:{shortcuts:[{text:"今天",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"昨天",onClick(e){const t=X()().subtract(1,"days").format("YYYY-MM-DD 23:59:59"),n=X()().subtract(1,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"近一周",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().subtract(7,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"近一月",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().subtract(30,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"上个月",onClick(e){const t=X()().startOf("month").subtract(1,"month").format("YYYY-MM-DD 00:00:00"),n=X()().endOf("month").subtract(1,"month").format("YYYY-MM-DD 23:59:59");e.$emit("pick",[t,n])}},{text:"本月",onClick(e){const t=X()().startOf("month").format("YYYY-MM-DD 00:00:00"),n=X()().endOf("month").format("YYYY-MM-DD 23:59:59");e.$emit("pick",[t,n])}}]},monthrange:{shortcuts:[{text:"本月",onClick(e){const t=X()().startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}},{text:"最近三个月",onClick(e){const t=X()().subtract(2,"month").startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}},{text:"最近六个月",onClick(e){const t=X()().subtract(5,"month").startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}},{text:"最近一年",onClick(e){const t=X()().subtract(11,"month").startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}},{text:"今年",onClick(e){const t=X()().startOf("year").startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}}]},datetimerange:{shortcuts:[{text:"今天",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"昨天",onClick(e){const t=X()().subtract(1,"days").format("YYYY-MM-DD 23:59:59"),n=X()().subtract(1,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"近一周",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().subtract(7,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"近一月",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().subtract(30,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"上个月",onClick(e){if(null!==e.value){const t=X()(e.value[1]).subtract(1,"months").endOf("month").format("YYYY-MM-DD 23:59:59"),n=X()(e.value[0]).subtract(1,"months").startOf("month").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}else{const t=X()().subtract(1,"months").endOf("month").format("YYYY-MM-DD 23:59:59"),n=X()().subtract(1,"months").startOf("month").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}}},{text:"本月",onClick(e){const t=X()().endOf("month").format("YYYY-MM-DD 23:59:59"),n=X()().startOf("month").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}}]}};var Z=U,K={name:"BiDatePicker",props:{pickerOption:{type:Object,default:()=>({})},format:{type:String,default:"yyyy-MM-dd"},valueFormat:{type:String,default:"yyyy-MM-dd"},value:{type:[String,Array],default:""}},computed:{date:{get(){return this.value},set(e){this.$emit("input",e)}},componentPickerOptions(){const e=this.$attrs.type,t=Object.assign({},Z[e]);return"daterange"===e||"monthrange"===e||"datetimerange"===e?Object.assign(t,this.pickerOption):this.pickerOption}},methods:{}},$=K,ee=(n("9895"),h($,G,q,!1,null,null,null)),te=ee.exports;te.install=function(e){e.component(te.name,te)};var ne=te,ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bi-download-center"},[n("el-badge",{staticClass:"download-center-badge",attrs:{slot:"reference","is-dot":e.badgeDot},slot:"reference"},[n("el-button",{staticClass:"download-center-button",attrs:{type:"text"},on:{click:function(t){e.drawerVisible=!0}}},[n("img",{attrs:{src:e.downloadImg,alt:"下载导出中心",title:"下载导出"}})])],1),n("el-drawer",{style:{"--headHegiht":e.headerHeight},attrs:{"custom-class":"bi-download-center-drawer",title:"下载导出",visible:e.drawerVisible,direction:"rtl",size:"959px","destroy-on-close":"","append-to-body":""},on:{"update:visible":function(t){e.drawerVisible=t},open:e.handleDrawerOpen,close:e.handleDrawerClose}},[n("Box",{attrs:{"header-height":e.headerHeight,"handle-table-list":e.getExportList},on:{setRead:e.handleSetRead}})],1)],1)},re=[],se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",[n("div",{staticClass:"download-center"},[n("div",{staticClass:"content-box"},[n("el-form",{attrs:{model:e.form,inline:"","label-width":"80px"}},[n("el-form-item",{attrs:{label:"任务ID"}},[n("el-input",{attrs:{size:"small",clearable:""},model:{value:e.form.task_code,callback:function(t){e.$set(e.form,"task_code",t)},expression:"form.task_code"}})],1),n("el-form-item",{attrs:{label:"任务时间"}},[n("BiDatePicker",{attrs:{size:"small",type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.time,callback:function(t){e.$set(e.form,"time",t)},expression:"form.time"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleCurrentChange(1)}}},[e._v("搜索")]),n("el-button",{attrs:{size:"small"},on:{click:e.reset}},[e._v("重置")])],1)],1)],1),n("div",{staticClass:"content-box"},[n("BiTable",{attrs:{loading:e.tableLoading,data:e.tableData,size:"medium",column:e.tableColums,fixed:"fullscreen","max-height":"200px","fixed-offset":e.headerHeight,pagination:"",layout:"total, prev, pager, next","auto-scroll":!1,total:e.page_info.total,page:e.page_info.page,limit:e.page_info.page_size},on:{"update:page":function(t){return e.$set(e.page_info,"page",t)},"update:limit":function(t){return e.$set(e.page_info,"page_size",t)},pagination:e.handlePageChange}})],1)])])},ie=[],oe={name:"BiDownloadCenter",props:{headerHeight:{type:String,default:"50px"},handleTableList:{type:Function,default:()=>new Promise(e=>{e()})},handleStatusList:{type:Function,default:()=>new Promise(e=>{e()})},handleTypeList:{type:Function,default:()=>new Promise(e=>{e()})}},data(){this.$createElement;return{tableLoading:!1,tableData:[],tableColums:[{prop:"task_code",label:"任务ID",width:180},{prop:"status_text",label:"任务状态",minWidth:90,render:(e,{row:t})=>21===t.status?e("el-tag",{attrs:{type:"success",size:"mini"}},[t.status_text]):0===t.status?e("el-tag",{attrs:{type:"info",size:"mini"}},["未开始"]):11===t.status?e("el-tag",{attrs:{type:"warning",size:"mini"}},["执行中"]):31===t.status?e("el-tooltip",{class:"item",attrs:{effect:"dark",placement:"right"}},[e("div",{slot:"content"},[t.message]),e("el-tag",{attrs:{type:"danger",size:"mini"}},["导出失败"])]):void 0},{prop:"task_name",label:"任务类型",minWidth:160},{prop:"query_string",label:"导出条件",minWidth:300,render:(e,{row:t})=>t.query_translation?e("el-tooltip",{class:"item",attrs:{effect:"dark",placement:"right"}},[e("div",{slot:"content",domProps:{innerHTML:t.query_translation}}),e("span",{class:"query-translation",domProps:{innerHTML:t.query_translation}})]):e("span",{class:"query-translation"},["————"])},{prop:"create_time",label:"创建时间",minWidth:160},{prop:"complete_time",label:"完成时间",minWidth:160},{label:"操作",width:60,fixed:"right",render:(e,{row:t})=>21===t.status?e("a",{class:"link el-button el-button--text",attrs:{href:t.path,target:"_blank"}},["下载"]):e("span")}],optionsList:{type:[],status:[]},form:{task_code:"",task_name:null,status:null,time:null},options:{taskTypes:[],taskStatus:[]},page_info:{page:1,page_size:20,total:0}}},computed:{searchParams(){const{origin_system:e,task_name:t,task_code:n,status:a,time:r}=Object.assign({},this.form),{page:s,page_size:i}=Object.assign({},this.page_info),[o,d]=r||[];return{origin_system:e,page:s,page_size:i,task_name:t,task_code:n,status:a,start_time:o,end_time:d}}},mounted(){this.getOptions(),this.handleCurrentChange(1),console.log("获取导出列表")},methods:{handlePageChange({page:e}){this.handleCurrentChange(e)},handleCurrentChange(e){this.form.page=e,this.getList()},getOptions(){},reset(){this.form={task_code:"",task_name:null,status:null,time:[]},this.page_info={page:1,page_size:20,total:0}},async getList(e){this.tableLoading=!0;const t=await this.handleTableList(this.searchParams);this.tableLoading=!1,1===t.status_code&&(this.tableData=t.data.data,this.page_info=t.data.page_info,this.tableData[0]&&(console.log("this.tableData[0]",this.tableData[0]),this.$emit("setRead",this.tableData[0].id)))},search(){const e=this.formatData();this.getList(e)}}},de=oe,le=(n("5816"),h(de,se,ie,!1,null,"0b5b19b4",null)),ue=le.exports,ce={name:"BiDownloadCenter",components:{Box:ue},props:{headerHeight:{type:String,default:"50"},request:{type:Function,default:()=>()=>{}}},data(){return{downloadImg:n("bf91"),drawerVisible:!1,badgeDot:!1,readSignTimer:null}},mounted(){this.readSignTask()},methods:{getExportList(e){return this.request({url:"/export/index",method:"get",params:e})},readSignTask(){this.readSignTimer&&clearInterval(this.readSignTimer),this.getReadSign(),this.readSignTimer=setInterval(this.getReadSign,1e4)},async getReadSign(){const e=await this.request({url:"/export/getReadSign",method:"get"});1===e.status_code&&(this.badgeDot=e.data.read)},async handleSetRead(e){await this.request({url:"/export/setRead",method:"get",params:{task_id:e}})},handleDrawerClose(){console.log("handleDrawerClose"),this.readSignTask()},handleDrawerOpen(){console.log("handleDrawerOpen"),this.badgeDot=!1,this.readSignTimer&&clearInterval(this.readSignTimer)}}},me=ce,_e=(n("8f80"),n("e170"),h(me,ae,re,!1,null,"c43f6f8a",null)),he=_e.exports;he.install=function(e){e.component(he.name,he)};var fe,pe,Me=he,ye=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click",size:"medium"}},[n("span",{staticClass:"el-button el-button--text el-button--medium"},[e._v(" "+e._s(e.buttonText)),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.button,(function(t,a){return[t.render?[n("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.permission,expression:"item.permission"}],key:a},[n("Item",{attrs:{scope:e.row,render:t.render}})],1)]:[n("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.permission,expression:"item.permission"}],key:a,nativeOn:{click:function(n){return function(){t.handler&&t.handler({row:e.row,button:t})}.apply(null,arguments)}}},[e._v(e._s(t.name))])]]}))],2)],1)},Le=[],Ye={name:"BiRender",functional:!0,props:{scope:{type:Object,default:()=>({})},render:{type:Function,default:()=>()=>{}}},render:(e,t)=>t.props.render?t.props.render(e,t.props.scope):""},ge=Ye,ve=h(ge,fe,pe,!1,null,null,null),De=ve.exports,be={name:"BiMoreButton",components:{Item:De},props:{button:{type:Array,default:()=>[]},buttonText:{type:String,default:"更多操作"},row:{type:Object,default:()=>({})}},mounted(){this.$nextTick(()=>{0===this.$el.querySelectorAll(".el-dropdown-menu li").length&&(this.$el.style.display="none")})},methods:{handleOK(){console.log("handleOK")}}},ke=be,we=h(ke,ye,Le,!1,null,null,null),Te=we.exports;Te.install=function(e){e.component(Te.name,Te)};var Se=Te,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._t("tip-label",(function(){return[n("span",[e._v(e._s(e.label))])]})),n("el-tooltip",e._b({staticClass:"tooltip-icon",attrs:{effect:e.effect,placement:e.placement}},"el-tooltip",e.$attrs,!1),[n("template",{slot:"content"},[e._t("tip-content",(function(){return[n("div",{domProps:{innerHTML:e._s(e.content)}})]}))],2),e._t("tip-icon",(function(){return[n("span",{staticStyle:{"margin-left":"5px"}},[n("i",{class:e.icon})])]}))],2)],2)},He=[],je={name:"BiTooltipIcon",props:{label:{type:String,default:"头部标题"},icon:{type:String,default:"el-icon-warning-outline"},content:{type:String,default:"提示内容"},placement:{type:String,default:"bottom"},effect:{type:String,default:"dark"}},data(){return{}}},Ae=je,Oe=h(Ae,xe,He,!1,null,null,null),Ee=Oe.exports;Ee.install=function(e){e.component(Ee.name,Ee)};var Pe=Ee,Ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bi-notice"},[n("el-popover",{attrs:{placement:"top-end",trigger:"hover","popper-class":"notice-popper","popper-options":{padding:"0px"}},on:{show:e.handleShow,hide:e.handleHide}},[n("div",{staticClass:"bi-notice-box"},[n("el-card",{staticClass:"box-card",attrs:{shadow:"never","body-style":e.bodyStyle}},[n("div",{staticClass:"notice-header",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("系统通知")]),n("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text"},on:{click:e.noticeAllRead}},[e._v("全部标为已读")])],1),n("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.load,expression:"load"}],staticClass:"notice-list",staticStyle:{overflow:"auto"},attrs:{"infinite-scroll-immediate":!1,"infinite-scroll-disabled":e.noticeListDisabled,"infinite-scroll-delay":300}},[e._l(e.noticeList,(function(t){return n("li",{key:t.id,staticClass:"notice-item",class:{unread:0===t.is_read},on:{click:function(n){return e.detail(t)}}},[n("div",{staticClass:"header"},[n("p",{staticClass:"title"},[e._v(e._s(t.title))]),n("p",{staticClass:"time"},[e._v(e._s(t.send_time))])]),n("div",{staticClass:"content"},[e._v(e._s(t.describe))])])})),e.noticeListLoading?n("p",{staticStyle:{"font-size":"14px",color:"#5e6d82","text-align":"center"}},[e._v("加载中...")]):e._e(),e.noMore?n("p",{staticStyle:{"font-size":"14px",color:"#5e6d82","text-align":"center"}},[e._v("没有更多了")]):e._e()],2)])],1),n("el-badge",{staticClass:"notice-badge",attrs:{slot:"reference",value:e.badgeNum,hidden:0===e.badgeNum},slot:"reference"},[n("el-button",{staticClass:"notice-button",attrs:{type:"text"}},[n("img",{attrs:{src:e.iconImg}})])],1)],1),n("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,width:"758px",top:"3vh","before-close":e.handleClose,"append-to-body":"","show-close":!1,"custom-class":"notice-open-dialog"},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"notice-open-container"},[n("div",{staticClass:"notice-bg"},[n("img",{attrs:{src:e.dialogImg}})]),n("div",{staticClass:"notice-open-box"},[n("el-scrollbar",[n("div",{staticClass:"notice-open-box-scrollbar"},[n("p",{staticClass:"notice-open-tile"},[e._v(e._s(e.openNotice.title))]),n("div",{staticClass:"notice-open-content",domProps:{innerHTML:e._s(e.openNotice.content)}})])]),n("div",{staticClass:"notice-open-button"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("我知道了")])],1)],1)])]),n("el-drawer",{style:{"--headHegiht":e.headerHeight},attrs:{"custom-class":"bi-notice-drawer",title:"消息详情",visible:e.detailVisible,direction:"rtl",size:"538px","destroy-on-close":"","append-to-body":"",modal:!0},on:{"update:visible":function(t){e.detailVisible=t},open:e.handleDetailOpen,close:e.handleDetailClose}},[n("el-scrollbar",[n("div",{staticClass:"notice-detail-box"},[n("div",{staticClass:"notice-detail"},[n("div",{staticClass:"detail-header"},[n("p",{staticClass:"detail-title"},[e._v(e._s(e.detailData.title))]),n("p",{staticClass:"detail-time"},[e._v(e._s(e.detailData.send_time))])]),n("div",{staticClass:"detail-content",domProps:{innerHTML:e._s(e.detailData.content)}})])])])],1)],1)},We=[],Fe={name:"BiNoticeCenter",props:{headerHeight:{type:String,default:"50"},request:{type:Function,default:()=>()=>{}}},data(){return{iconImg:n("5c06"),dialogImg:n("7ad2"),openNotice:{id:"",title:"",content:""},page:1,dialogVisible:!1,noticeTimer:null,badgeNum:12,is_open_page:1,bodyStyle:{padding:"0"},detailVisible:!1,noticeListDisabled:!1,noticeListLoading:!1,noMore:!1,detailData:{},noticeList:[]}},mounted(){this.noticeTask(),this.getNoticeList()},methods:{handleClose(){},async handleShow(){this.noticeTimer&&clearInterval(this.noticeTimer),this.noticeList=[],this.getNoticeList()},handleHide(){this.noticeTask(),this.noticeListDisabled=!1},noticeTask(){this.noticeTimer&&clearInterval(this.noticeTimer),this.hasNotice(),this.noticeTimer=setInterval(this.hasNotice,1e4)},async hasNotice(){const e=await this.request({url:"/sys_common/hasNotice",method:"post",data:{is_open_page:this.is_open_page}});1===e.status_code&&(this.badgeNum=e.data.unread_num,this.is_open_page=0,e.data.pop_notice&&!Array.isArray(e.data.pop_notice)&&(this.openNotice.title=e.data.pop_notice.title,this.openNotice.id=e.data.pop_notice.id,this.openNotice.content=e.data.pop_notice.content,this.dialogVisible=!0,this.noticePoped(this.openNotice.id)))},async noticePoped(e){await this.request({url:"/sys_common/noticePoped",method:"post",data:{id:e}}),this.hasNotice()},detail(e){this.$set(this,"detailData",e),e.is_read=1,this.detailVisible=!0,this.handleNoticeRead(e.id)},async getNoticeList(e=1){this.noticeListLoading=!0;const t=await this.request({url:"/sys_common/noticeList",method:"post",data:{page:e}});if(1===t.status_code)if(t.data.data.length){const e=[...this.noticeList,...t.data.data],n=new Map;for(const t of e)n.set(t.id,t);this.noticeList=[...n.values()],this.noMore=!1,this.noticeListDisabled=!1}else this.noMore=!0,this.noticeListDisabled=!0;this.noticeListLoading=!1},async handleNoticeRead(e){await this.request({url:"/sys_common/noticeRead",method:"post",data:{id:e}}),this.hasNotice()},load(){this.page++,this.getNoticeList(this.page),console.log("load")},async noticeAllRead(){await this.request({url:"/sys_common/allRead",method:"post"}),this.hasNotice(),this.noticeList.map(e=>{e.is_read=1})},handleDetailOpen(){},handleDetailClose(){}}},Ne=Fe,Ie=(n("2a6d"),n("ab48"),h(Ne,Ce,We,!1,null,"491b003d",null)),ze=Ie.exports;ze.install=function(e){e.component(ze.name,ze)},console.log("component.name:",ze.name);var Re=ze,Je=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bi-system-link"},[n("el-popover",{attrs:{placement:"top",trigger:"hover","popper-class":"system-link-popper","popper-options":{padding:"0px"}}},[n("div",{staticClass:"system-list"},e._l(e.systemList,(function(t){return n("div",{key:t.id,staticClass:"system-item",on:{click:function(n){return e.goSystem(t)}}},[n("div",{staticClass:"system-logo"},[n("img",{attrs:{src:t.logo_path}})]),n("p",{staticClass:"system-name"},[e._v(e._s(t.short_name))])])})),0),n("el-button",{staticClass:"system-link-button",attrs:{slot:"reference",type:"text"},slot:"reference"},[n("img",{attrs:{src:e.iconImg}})])],1)],1)},Ve=[],Be={name:"BiSystemLink",props:{request:{type:Function,default:()=>()=>{}}},data(){return{iconImg:n("6ef6"),systemList:[],zqToken:""}},mounted(){this.getZqToken(),this.getSystemList()},methods:{async getSystemList(){const e=await this.request({url:"/sys_common/system",method:"post"});1===e.status_code&&(this.systemList=e.data)},async getZqToken(){const e=await this.request({url:"/sys_common/getZqToken",method:"post"});1===e.status_code&&(this.zqToken=e.data)},goSystem({link:e}){const t=document.createElement("a");t.target="_blank",t.href=e+"?authorization="+this.zqToken,t.click(),console.log(t)}}},Ge=Be,qe=(n("a782"),n("85f2"),h(Ge,Je,Ve,!1,null,"9510f904",null)),Qe=qe.exports;Qe.install=function(e){e.component(Qe.name,Qe)};var Xe=Qe,Ue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80"}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("a",{attrs:{href:"https://www.aliwork.com/APP_RI8GCJKZCZSY0BGIRGNU/workbench/FORM-T2B66FA1DID2770UCBC6P42I5LTE2EA2JI16L6?ddtab=true",target:"_blank"}},[n("el-dropdown-item",[n("span",{staticStyle:{display:"block"}},[e._v("需求反馈")])])],1),n("el-dropdown-item",{nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[n("span",{staticStyle:{display:"block"}},[e._v("返回认证中心")])])],1)],1)},Ze=[],Ke={name:"BiAvatar",props:{avatar:{type:String,default:""}},methods:{logout(){this.$emit("logout")}}},$e=Ke,et=(n("ef8b"),h($e,Ue,Ze,!1,null,"9cf46e8e",null)),tt=et.exports;tt.install=function(e){e.component(tt.name,tt)};var nt=tt;const at=[C,B,ne,Me,Se,Pe,Xe,Re,nt],rt=function(e){rt.installed||at.map(t=>e.component(t.name,t))};"undefined"!==typeof window&&window.Vue&&rt(window.Vue);var st={install:rt,BiTable:C,BiCustomColumn:B,BiDatePicker:ne,BiDownloadCenter:Me,BiMoreButton:Se,BiSystemLink:Xe,BiNoticeCenter:Re,BiAvatar:nt};t["default"]=st},f621:function(e,t,n){"use strict";n("047b")},f9bb:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
279
|
+
var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},f4a0:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var a=window.document.currentScript,r=n("79e4");a=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var s=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(n.p=s[1])}var i,o,d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bi-table"},[n("div",{staticClass:"bi-table-wrapper"},[n("el-table",e._g(e._b({directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"elTable",attrs:{data:e.data,"max-height":e.maxHeight}},"el-table",e.$attrs,!1),e.$listeners),[e._l(e.tbColumns,(function(t){return[t.slotScope?n("el-table-column",e._g(e._b({key:t.prop+t.label,scopedSlots:e._u([{key:"default",fn:function(n){return[e._t(t.prop,null,null,n)]}}],null,!0)},"el-table-column",t,!1),e.$listeners)):n("bi-column",e._b({key:t.prop+t.label+"1",attrs:{column:t}},"bi-column",e.$attrs,!1))]}))],2)],1),e.pagination?[e.data.length>0?n("pagination",e._g(e._b({attrs:{disabled:e.loading}},"pagination",e.$attrs,!1),e.$listeners)):e._e()]:e._e()],2)},l=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-table-column",e._g(e._b({scopedSlots:e._u([{key:"header",fn:function(t){return[e.column.renderHeader?n("bi-render",{attrs:{scope:t,render:e.column.renderHeader}}):n("span",[e._v(e._s(t.column.label))])]}},{key:"default",fn:function(t){return[e.column.component?n(e.column.component,e._g(e._b({tag:"component"},"component",e.getCptBind(t,e.column),!1),e.column.listeners)):e.column.children?e._l(e.column.children,(function(e){return n("free-column",{key:e.prop,attrs:{column:e}})})):n("bi-render",{attrs:{scope:t,render:e.column.render}})]}}])},"el-table-column",e.column,!1),e.$listeners))},c=[],m={name:"BiRender",functional:!0,props:{scope:{type:Object,default:()=>({})},render:{type:Function,default:()=>()=>{}}},render:(e,t)=>t.props.render?t.props.render(e,t.props.scope):""},_=m;function h(e,t,n,a,r,s,i,o){var d,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),a&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),i?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=d):r&&(d=o?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(l.functional){l._injectStyles=d;var u=l.render;l.render=function(e,t){return d.call(t),u(e,t)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,d):[d]}return{exports:e,options:l}}var f=h(_,i,o,!1,null,null,null),p=f.exports,M={selection:{renderHeader:function(e,{store:t}){return e("el-checkbox",{attrs:{disabled:t.states.data&&0===t.states.data.length,indeterminate:t.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},nativeOn:{click:this.toggleAllSelection}})},renderCell:function(e,{row:t,column:n,store:a,$index:r}){return e("el-checkbox",{nativeOn:{click:e=>e.stopPropagation()},attrs:{value:a.isSelected(t),disabled:!!n.selectable&&!n.selectable.call(null,t,r)},on:{input:()=>{a.commit("rowSelectedChanged",t)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(e,{column:t}){return t.label||"#"},renderCell:function(e,{$index:t,column:n}){let a=t+1;const r=n.index;return"number"===typeof r?a=t+r:"function"===typeof r&&(a=r(t)),e("div",[a])},sortable:!1},expand:{renderHeader:function(e,{column:t}){return t.label||""},renderCell:function(e,{row:t,store:n}){const a=["el-table__expand-icon"];n.states.expandRows.indexOf(t)>-1&&a.push("el-table__expand-icon--expanded");const r=function(e){e.stopPropagation(),n.toggleRowExpansion(t)};return e("div",{class:a,on:{click:r}},[e("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}},y={name:"BiColumn",components:{BiRender:p},props:{column:{type:Object,default:()=>{}}},watch:{column:{handler:"renderColumn",immediate:!0}},methods:{renderColumn(){this.$createElement;const{column:e}=this;return e.type&&(e.renderHeader=M[e.type].renderHeader,e.render=e.render||M[e.type].renderCell),e.formatter&&(e.render=(e,t)=>e("span",[t.column.formatter(t.row,t.column,t.row[t.column.property],t.$index)])),e.render||(e.render=(e,t)=>e("span",[t.row[t.column.property]])),e},getColBind(e){const t=Object.assign({},this.$attrs,e);return delete t.component,delete t.listeners,delete t.propsHandler,t},getCptBind({row:e,column:t},n){const a={row:e,col:n,column:t},r=n.propsHandler;return r&&r(a)||a}}},L=y,Y=h(L,u,c,!1,null,null,null),g=Y.exports,v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},D=[];Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var b=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function k(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function w(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function T(e,t,n){const a=w(),r=e-a,s=20;let i=0;t="undefined"===typeof t?500:t;var o=function(){i+=s;var e=Math.easeInOutQuad(i,a,r,t);k(e),i<t?b(o):n&&"function"===typeof n&&n()};o()}var S={name:"BiPagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get(){return this.page},set(e){this.$emit("update:page",e)}},pageSize:{get(){return this.limit},set(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&T(0,800)},handleCurrentChange(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&T(0,800)}}},x=S,H=(n("f621"),h(x,v,D,!1,null,"c276c1ba",null)),j=H.exports,A={name:"BiTable",components:{Pagination:j,BiColumn:g},props:{data:{type:Array,default:()=>[]},column:{type:Array,default:()=>[]},columnsProps:{type:Object,default:()=>({})},loading:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},fixed:{type:String,default:""},fixedOffset:{type:String,default:""}},data(){return{maxHeight:null,headerStatus:!1,footerStatus:!1}},computed:{tbColumns(){const{column:e,columnsProps:t}=this;return console.log(e.map(e=>{const n=this.formatColumn(e),a=Object.assign({},t,n);return a})),e.map(e=>{const n=this.formatColumn(e),a=Object.assign({},t,n);return a})},fixedHeader(){return this.fixed}},mounted(){"sticky"===this.fixedHeader?(window.addEventListener("scroll",this.handleStickyHeader,!0),Object.prototype.hasOwnProperty.call(this.$attrs,"show-summary")&&window.addEventListener("scroll",this.handleStickyFooter,!0)):"fullscreen"===this.fixedHeader&&window.addEventListener("scroll",this.handleFixedHeader,!0)},destroyed(){"sticky"===this.fixedHeader?(window.removeEventListener("scroll",this.handleStickyHeader,!0),Object.prototype.hasOwnProperty.call(this.$attrs,"show-summary")&&window.removeEventListener("scroll",this.handleStickyFooter,!0)):"fullscreen"===this.fixedHeader&&window.removeEventListener("scroll",this.handleFixedHeader,!0)},methods:{handleStickyHeader(){const e=document.documentElement.scrollTop,t=this.getElementTop(this.$el);if(e>t){this.headerStatus||(this.headerStatus=!0,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="absolute",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.zIndex="2");const n=e-(t+1)+Number(this.fixedOffset);this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform=`translate(0px, ${n}px)`,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",this.$el.querySelector(".el-table__fixed")&&(this.$el.querySelector(".el-table__fixed").style.zIndex="3"),this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.transform=`translate(0px, ${n}px)`,this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right")&&(this.$el.querySelector(".el-table__fixed-right").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.transform=`translate(0px, ${n}px)`,this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.zIndex="4")}else this.headerStatus=!1,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.zIndex="5",this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.zIndex="5",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0"},handleStickyFooter(){const e=document.documentElement.clientHeight,t=this.$el.querySelector(".bi-table-wrapper").clientHeight,n=this.$el.getBoundingClientRect().top,a=e-n-t;Math.abs(n)+e<t?(this.footerStatus||(this.footerStatus=!0,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="absolute",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="2"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform=`translate(0px, ${a}px)`,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.querySelector(".el-table__fixed")&&(this.$el.querySelector(".el-table__fixed").style.zIndex="3"),this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform=`translate(0px, ${a}px)`,this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right")&&(this.$el.querySelector(".el-table__fixed-right").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform=`translate(0px, ${a}px)`,this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4")):(this.footerStatus=!1,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0")},handleFixedHeader(){const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-Number(this.fixedOffset)-(this.pagination?72:0);Math.abs(t-this.maxHeight)>3&&(this.maxHeight=t),e<=Number(this.fixedOffset)+20&&e>=0?this.$el.querySelector(".bi-table-wrapper>.el-table>.el-table__body-wrapper").style.overflowY="auto":this.$el.querySelector(".bi-table-wrapper>.el-table>.el-table__body-wrapper").style.overflowY="hidden"},getElementTop(e){if(!e)return 0;let t=e.offsetTop,n=e.offsetParent;while(null!==n)t+=n.offsetTop,n=n.offsetParent;return t},formatColumn(e){const t=Object.assign({},e);return"function"===typeof t.width&&(t.width=t.width()),"function"===typeof t.minWidth&&(t.minWidth=t.minWidth()),t}}},O=A,E=(n("debf"),h(O,d,l,!1,null,null,null)),P=E.exports;P.install=function(e){e.component(P.name,P)};var C=P,W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-button",{attrs:{type:e.type},on:{click:function(t){e.visible=!0}}},[e._v(" 自定义列 "),n("el-dialog",{attrs:{"custom-class":"bi-column-dialog",title:"自定义列",visible:e.visible,width:"800px",top:"8vh","append-to-body":""},on:{"update:visible":function(t){e.visible=t},open:e.handleOpen,close:e.close}},[n("div",{staticClass:"dialog-body",staticStyle:{"min-height":"160px"}},[n("div",{staticClass:"bi-column-container"},[n("div",{staticClass:"checkbox-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("可操作性的列")])]),e._l(e.colList,(function(t,a){return n("div",{key:a,staticClass:"checkbox-group"},[n("p",{staticClass:"checkbox-title"},[n("el-checkbox",{on:{change:function(n){return e.handleCheckGroupAllChange(n,t)}},model:{value:t.status,callback:function(n){e.$set(t,"status",n)},expression:"item.status"}},[e._v(e._s(t.content))])],1),n("p",[n("el-checkbox-group",{attrs:{"true-label":1,"false-label":0},on:{change:function(n){return e.handleCheckGroupAll(t)}},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(t.children,(function(t,a){return n("el-checkbox",{key:a,staticStyle:{width:"120px",margin:"0 15px 15px 0"},attrs:{label:t.name}},[e._v(" "+e._s(t.content)+" ")])})),1)],1)])}))],2)],1),n("div",{staticClass:"column-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"column-title",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("已选"+e._s(e.columnLength)+"列")]),n("el-button",{attrs:{type:"text"},on:{click:e.clearAll}},[e._v("清空全部")])],1),n("p",{staticClass:"column-group-title"},[e._v("左侧固定列")]),n("div",{staticClass:"column-configurable"},[n("draggable",{attrs:{group:"column"},model:{value:e.leftColumnList,callback:function(t){e.leftColumnList=t},expression:"leftColumnList"}},e._l(e.leftColumnList,(function(t){return n("div",{key:t.prop,staticClass:"selected-column-item"},[n("i",{staticClass:"el-icon-menu"}),n("div",{staticClass:"column-name"},[e._v(e._s(t.content||t.label))]),n("i",{staticClass:"el-icon-close column-close",on:{click:function(n){return e.closeColumn(t.prop)}}})])})),0)],1),n("p",{staticClass:"column-group-title"},[e._v("中间不固定列")]),n("div",{staticClass:"column-configurable"},[n("draggable",{attrs:{group:"column"},model:{value:e.columnList,callback:function(t){e.columnList=t},expression:"columnList"}},e._l(e.columnList,(function(t){return n("div",{key:t.prop,staticClass:"selected-column-item"},[n("i",{staticClass:"el-icon-menu"}),n("div",{staticClass:"column-name"},[e._v(e._s(t.content||t.label))]),n("i",{staticClass:"el-icon-close column-close",on:{click:function(n){return e.closeColumn(t.prop)}}})])})),0)],1),n("p",{staticClass:"column-group-title"},[e._v("右侧固定列")]),n("div",{staticClass:"column-configurable"},[n("draggable",{attrs:{group:"column"},model:{value:e.rightColumnList,callback:function(t){e.rightColumnList=t},expression:"rightColumnList"}},e._l(e.rightColumnList,(function(t){return n("div",{key:t.prop,staticClass:"selected-column-item"},[n("i",{staticClass:"el-icon-menu"}),n("div",{staticClass:"column-name"},[e._v(e._s(t.content||t.label))]),n("i",{staticClass:"el-icon-close column-close",on:{click:function(n){return e.closeColumn(t.prop)}}})])})),0)],1)])],1)])]),n("span",{staticClass:"dialog-footer",staticStyle:{display:"flex","justify-content":"space-between"},attrs:{slot:"footer"},slot:"footer"},[n("span",{staticStyle:{display:"inline-block","line-height":"32px"}},[n("el-checkbox",{attrs:{label:"全选"},on:{change:e.checkAll},model:{value:e.checkAllData,callback:function(t){e.checkAllData=t},expression:"checkAllData"}},[e._v(" 全选 ")])],1),n("div",[n("el-button",{on:{click:e.close}},[e._v("关闭")]),n("el-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v("生效")])],1)])])],1)},F=[],N=n("3335"),I=n.n(N),z={name:"BiCustomColumn",components:{draggable:I.a},props:{columnName:{type:String,require:!0,default:""},type:{type:String,default:""},listType:{type:String,require:!0,default:""},checkData:{type:Array,require:!0,default:()=>[]},tableColumn:{type:Array,default:()=>[]},defaultList:{type:Array,default:()=>[]},defaultColumn:{type:Object,default:()=>({left:[],center:[],right:[]})}},data(){return{tableColumnList:this.tableColumn,visible:!1,colList:[],checkList:[],checkAllData:!1,draggableList:[],leftColumnList:[],columnList:[],rightColumnList:[]}},computed:{columnLength(){return this.leftColumnList.length+this.columnList.length+this.rightColumnList.length}},watch:{colList:{handler(e){let t=!0;e.forEach(e=>{e.status=Boolean(e.status),e.status?this.checkAllData=e.status:t=!1,this.checkAllData=t})},deep:!0}},mounted(){const e={type:this.listType};this.defaultColumnInit(),this.getList(e),this.returnColumn()},beforeDestroy(){this.visible=!1},methods:{defaultColumnInit(){const e=this.getLocalStorage(),{left:t,center:n,right:a}=e||this.defaultColumn;t.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.leftColumnList.push(t)}),n.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.columnList.push(t)}),a.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.rightColumnList.push(t)}),this.saveLocalStorage()},async getList(e){this.colList=this.defaultList,this.defaultCheck()},checkAll(e){this.colList.forEach(t=>{this.handleCheckGroupAllChange(e,t),t.status=e}),e||(this.checkList=[])},defaultCheck(){this.colList.forEach(e=>{this.handleCheckGroupAll(e)})},deleteArrayItemForIndex(e,t){if(-1!==t)return e.splice(t,1)},handleCheckGroupAllChange(e,t){e?t.children.map(e=>{-1===this.checkList.indexOf(e.name)&&(this.checkList.push(e.name),this.insertColumn(e.name))}):t.children.map(e=>{this.deleteArrayItemForIndex(this.checkList,this.checkList.indexOf(e.name)),this.removeColumn(e.name)})},handleCheckGroupAll(e){let t=1;e.children.map(e=>{-1===this.checkList.indexOf(e.name)?(this.removeColumn(e.name),t=0):this.insertColumn(e.name)}),e.status=t},async setTheadList(){const e=JSON.parse(JSON.stringify(this.colList));var t=[];e.forEach(e=>{e.status=e.status?1:0,t.push(...e.children)})},clearAll(){this.checkList=[],this.checkAll(!1)},closeColumn(e){this.deleteArrayItemForIndex(this.checkList,this.checkList.indexOf(e)),this.removeColumn(e),this.defaultCheck()},insertColumn(e){const t=this.tableColumnList.find(t=>t.prop===e);this.leftColumnList.find(t=>t.prop===e)||this.rightColumnList.find(t=>t.prop===e)||this.columnList.find(t=>t.prop===e)||this.columnList.push(t)},removeColumn(e){if(this.leftColumnList.length&&this.leftColumnList.find(t=>t.prop===e)){const t=this.leftColumnList.findIndex(t=>t.prop===e);t>-1&&this.leftColumnList.splice(t,1)}if(this.columnList.length&&this.columnList.find(t=>t.prop===e)){const t=this.columnList.findIndex(t=>t.prop===e);t>-1&&this.columnList.splice(t,1)}if(this.rightColumnList.length&&this.rightColumnList.find(t=>t.prop===e)){const t=this.rightColumnList.findIndex(t=>t.prop===e);t>-1&&this.rightColumnList.splice(t,1)}},returnColumn(){this.leftColumnList.map(e=>{e.fixed=!0}),this.columnList.map(e=>{e.fixed=!1}),this.rightColumnList.map(e=>{e.fixed="right"}),this.$emit("handleTableColumn",[...this.leftColumnList,...this.columnList,...this.rightColumnList])},ok(){this.returnColumn(),this.saveLocalStorage(),this.visible=!1},saveLocalStorage(){const e={left:[],center:[],right:[]};this.leftColumnList.map(({prop:t})=>{t&&e.left.push(t)}),this.columnList.map(({prop:t})=>{t&&e.center.push(t)}),this.rightColumnList.map(({prop:t})=>{t&&e.right.push(t)}),localStorage.setItem(this.columnName,JSON.stringify(e))},getLocalStorage(){const e=localStorage.getItem(this.columnName);return e?JSON.parse(e):void 0},handleOpen(){this.checkList=[],this.rightColumnList=[],this.leftColumnList=[],this.columnList=[];const e=this.getLocalStorage();e&&this.defaultColumnInit()},close(){this.checkList=[],this.rightColumnList=[],this.leftColumnList=[],this.columnList=[],this.visible=!1,this.$emit("closeDialog",{visible:!1})}}},R=z,J=(n("4974"),n("0c8e"),h(R,W,F,!1,null,"325310fc",null)),V=J.exports;V.install=function(e){e.component(V.name,V)};var B=V,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-date-picker",e._g(e._b({attrs:{"picker-options":e.componentPickerOptions,format:e.format,"value-format":e.valueFormat},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}},"el-date-picker",e.$attrs,!1),e.$listeners))},q=[],Q=n("caaf"),X=n.n(Q);const U={daterange:{shortcuts:[{text:"今天",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"昨天",onClick(e){const t=X()().subtract(1,"days").format("YYYY-MM-DD 23:59:59"),n=X()().subtract(1,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"近一周",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().subtract(7,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"近一月",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().subtract(30,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"上个月",onClick(e){const t=X()().startOf("month").subtract(1,"month").format("YYYY-MM-DD 00:00:00"),n=X()().endOf("month").subtract(1,"month").format("YYYY-MM-DD 23:59:59");e.$emit("pick",[t,n])}},{text:"本月",onClick(e){const t=X()().startOf("month").format("YYYY-MM-DD 00:00:00"),n=X()().endOf("month").format("YYYY-MM-DD 23:59:59");e.$emit("pick",[t,n])}}]},monthrange:{shortcuts:[{text:"本月",onClick(e){const t=X()().startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}},{text:"最近三个月",onClick(e){const t=X()().subtract(2,"month").startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}},{text:"最近六个月",onClick(e){const t=X()().subtract(5,"month").startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}},{text:"最近一年",onClick(e){const t=X()().subtract(11,"month").startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}},{text:"今年",onClick(e){const t=X()().startOf("year").startOf("month").format("YYYY-MM-DD"),n=X()().endOf("month").format("YYYY-MM-DD");e.$emit("pick",[t,n])}}]},datetimerange:{shortcuts:[{text:"今天",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"昨天",onClick(e){const t=X()().subtract(1,"days").format("YYYY-MM-DD 23:59:59"),n=X()().subtract(1,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"近一周",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().subtract(7,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"近一月",onClick(e){const t=X()().format("YYYY-MM-DD 23:59:59"),n=X()().subtract(30,"days").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}},{text:"上个月",onClick(e){if(null!==e.value){const t=X()(e.value[1]).subtract(1,"months").endOf("month").format("YYYY-MM-DD 23:59:59"),n=X()(e.value[0]).subtract(1,"months").startOf("month").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}else{const t=X()().subtract(1,"months").endOf("month").format("YYYY-MM-DD 23:59:59"),n=X()().subtract(1,"months").startOf("month").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}}},{text:"本月",onClick(e){const t=X()().endOf("month").format("YYYY-MM-DD 23:59:59"),n=X()().startOf("month").format("YYYY-MM-DD 00:00:00");e.$emit("pick",[n,t])}}]}};var Z=U,K={name:"BiDatePicker",props:{pickerOption:{type:Object,default:()=>({})},format:{type:String,default:"yyyy-MM-dd"},valueFormat:{type:String,default:"yyyy-MM-dd"},value:{type:[String,Array],default:""}},computed:{date:{get(){return this.value},set(e){this.$emit("input",e)}},componentPickerOptions(){const e=this.$attrs.type,t=Object.assign({},Z[e]);return"daterange"===e||"monthrange"===e||"datetimerange"===e?Object.assign(t,this.pickerOption):this.pickerOption}},methods:{}},$=K,ee=(n("9895"),h($,G,q,!1,null,null,null)),te=ee.exports;te.install=function(e){e.component(te.name,te)};var ne=te,ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bi-download-center"},[n("el-badge",{staticClass:"download-center-badge",attrs:{slot:"reference","is-dot":e.badgeDot},slot:"reference"},[n("el-button",{staticClass:"download-center-button",attrs:{type:"text"},on:{click:function(t){e.drawerVisible=!0}}},[n("img",{attrs:{src:e.downloadImg,alt:"下载导出中心",title:"下载导出"}})])],1),n("el-drawer",{style:{"--headHegiht":e.headerHeight},attrs:{"custom-class":"bi-download-center-drawer",title:"下载导出",visible:e.drawerVisible,direction:"rtl",size:"959px","destroy-on-close":"","append-to-body":""},on:{"update:visible":function(t){e.drawerVisible=t},open:e.handleDrawerOpen,close:e.handleDrawerClose}},[n("Box",{attrs:{"header-height":e.headerHeight,"handle-table-list":e.getExportList},on:{setRead:e.handleSetRead}})],1)],1)},re=[],se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",[n("div",{staticClass:"download-center"},[n("div",{staticClass:"content-box"},[n("el-form",{attrs:{model:e.form,inline:"","label-width":"80px"}},[n("el-form-item",{attrs:{label:"任务ID"}},[n("el-input",{attrs:{size:"small",clearable:""},model:{value:e.form.task_code,callback:function(t){e.$set(e.form,"task_code",t)},expression:"form.task_code"}})],1),n("el-form-item",{attrs:{label:"任务时间"}},[n("BiDatePicker",{attrs:{size:"small",type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.time,callback:function(t){e.$set(e.form,"time",t)},expression:"form.time"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleCurrentChange(1)}}},[e._v("搜索")]),n("el-button",{attrs:{size:"small"},on:{click:e.reset}},[e._v("重置")])],1)],1)],1),n("div",{staticClass:"content-box"},[n("BiTable",{attrs:{loading:e.tableLoading,data:e.tableData,size:"medium",column:e.tableColums,fixed:"fullscreen","max-height":"200px","fixed-offset":e.headerHeight,pagination:"",layout:"total, prev, pager, next","auto-scroll":!1,total:e.page_info.total,page:e.page_info.page,limit:e.page_info.page_size},on:{"update:page":function(t){return e.$set(e.page_info,"page",t)},"update:limit":function(t){return e.$set(e.page_info,"page_size",t)},pagination:e.handlePageChange}})],1)])])},ie=[],oe={name:"BiDownloadCenter",props:{headerHeight:{type:String,default:"50px"},handleTableList:{type:Function,default:()=>new Promise(e=>{e()})},handleStatusList:{type:Function,default:()=>new Promise(e=>{e()})},handleTypeList:{type:Function,default:()=>new Promise(e=>{e()})}},data(){this.$createElement;return{tableLoading:!1,tableData:[],tableColums:[{prop:"task_code",label:"任务ID",width:180},{prop:"status_text",label:"任务状态",minWidth:90,render:(e,{row:t})=>21===t.status?e("el-tag",{attrs:{type:"success",size:"mini"}},[t.status_text]):0===t.status?e("el-tag",{attrs:{type:"info",size:"mini"}},["未开始"]):11===t.status?e("el-tag",{attrs:{type:"warning",size:"mini"}},["执行中"]):31===t.status?e("el-tooltip",{class:"item",attrs:{effect:"dark",placement:"right"}},[e("div",{slot:"content"},[t.message]),e("el-tag",{attrs:{type:"danger",size:"mini"}},["导出失败"])]):void 0},{prop:"task_name",label:"任务类型",minWidth:160},{prop:"query_string",label:"导出条件",minWidth:300,render:(e,{row:t})=>t.query_translation?e("el-tooltip",{class:"item",attrs:{effect:"dark",placement:"right"}},[e("div",{slot:"content",domProps:{innerHTML:t.query_translation}}),e("span",{class:"query-translation",domProps:{innerHTML:t.query_translation}})]):e("span",{class:"query-translation"},["————"])},{prop:"create_time",label:"创建时间",minWidth:160},{prop:"complete_time",label:"完成时间",minWidth:160},{label:"操作",width:60,fixed:"right",render:(e,{row:t})=>21===t.status?e("a",{class:"link el-button el-button--text",attrs:{href:t.path,target:"_blank"}},["下载"]):e("span")}],optionsList:{type:[],status:[]},form:{task_code:"",task_name:null,status:null,time:null},options:{taskTypes:[],taskStatus:[]},page_info:{page:1,page_size:20,total:0}}},computed:{searchParams(){const{origin_system:e,task_name:t,task_code:n,status:a,time:r}=Object.assign({},this.form),{page:s,page_size:i}=Object.assign({},this.page_info),[o,d]=r||[];return{origin_system:e,page:s,page_size:i,task_name:t,task_code:n,status:a,start_time:o,end_time:d}}},mounted(){this.getOptions(),this.handleCurrentChange(1),console.log("获取导出列表")},methods:{handlePageChange({page:e}){this.handleCurrentChange(e)},handleCurrentChange(e){this.form.page=e,this.getList()},getOptions(){},reset(){this.form={task_code:"",task_name:null,status:null,time:[]},this.page_info={page:1,page_size:20,total:0}},async getList(e){this.tableLoading=!0;const t=await this.handleTableList(this.searchParams);this.tableLoading=!1,1===t.status_code&&(this.tableData=t.data.data,this.page_info=t.data.page_info,this.tableData[0]&&(console.log("this.tableData[0]",this.tableData[0]),this.$emit("setRead",this.tableData[0].id)))},search(){const e=this.formatData();this.getList(e)}}},de=oe,le=(n("5816"),h(de,se,ie,!1,null,"0b5b19b4",null)),ue=le.exports,ce={name:"BiDownloadCenter",components:{Box:ue},props:{headerHeight:{type:String,default:"50"},request:{type:Function,default:()=>()=>{}}},data(){return{downloadImg:n("bf91"),drawerVisible:!1,badgeDot:!1,readSignTimer:null}},mounted(){this.readSignTask()},methods:{getExportList(e){return this.request({url:"/export/index",method:"get",params:e})},readSignTask(){this.readSignTimer&&clearInterval(this.readSignTimer),this.getReadSign(),this.readSignTimer=setInterval(this.getReadSign,1e4)},async getReadSign(){const e=await this.request({url:"/export/getReadSign",method:"get"});1===e.status_code&&(this.badgeDot=e.data.read)},async handleSetRead(e){await this.request({url:"/export/setRead",method:"get",params:{task_id:e}})},handleDrawerClose(){console.log("handleDrawerClose"),this.readSignTask()},handleDrawerOpen(){console.log("handleDrawerOpen"),this.badgeDot=!1,this.readSignTimer&&clearInterval(this.readSignTimer)}}},me=ce,_e=(n("8f80"),n("e170"),h(me,ae,re,!1,null,"c43f6f8a",null)),he=_e.exports;he.install=function(e){e.component(he.name,he)};var fe,pe,Me=he,ye=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click",size:"medium"}},[n("span",{staticClass:"el-button el-button--text el-button--medium"},[e._v(" "+e._s(e.buttonText)),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.button,(function(t,a){return[t.render?[n("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.permission,expression:"item.permission"}],key:a},[n("Item",{attrs:{scope:e.row,render:t.render}})],1)]:[n("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:t.permission,expression:"item.permission"}],key:a,nativeOn:{click:function(n){return function(){t.handler&&t.handler({row:e.row,button:t})}.apply(null,arguments)}}},[e._v(e._s(t.name))])]]}))],2)],1)},Le=[],Ye={name:"BiRender",functional:!0,props:{scope:{type:Object,default:()=>({})},render:{type:Function,default:()=>()=>{}}},render:(e,t)=>t.props.render?t.props.render(e,t.props.scope):""},ge=Ye,ve=h(ge,fe,pe,!1,null,null,null),De=ve.exports,be={name:"BiMoreButton",components:{Item:De},props:{button:{type:Array,default:()=>[]},buttonText:{type:String,default:"更多操作"},row:{type:Object,default:()=>({})}},mounted(){this.$nextTick(()=>{0===this.$el.querySelectorAll(".el-dropdown-menu li").length&&(this.$el.style.display="none")})},methods:{handleOK(){console.log("handleOK")}}},ke=be,we=h(ke,ye,Le,!1,null,null,null),Te=we.exports;Te.install=function(e){e.component(Te.name,Te)};var Se=Te,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._t("tip-label",(function(){return[n("span",[e._v(e._s(e.label))])]})),n("el-tooltip",e._b({staticClass:"tooltip-icon",attrs:{effect:e.effect,placement:e.placement}},"el-tooltip",e.$attrs,!1),[n("template",{slot:"content"},[e._t("tip-content",(function(){return[n("div",{domProps:{innerHTML:e._s(e.content)}})]}))],2),e._t("tip-icon",(function(){return[n("span",{staticStyle:{"margin-left":"5px"}},[n("i",{class:e.icon})])]}))],2)],2)},He=[],je={name:"BiTooltipIcon",props:{label:{type:String,default:"头部标题"},icon:{type:String,default:"el-icon-warning-outline"},content:{type:String,default:"提示内容"},placement:{type:String,default:"bottom"},effect:{type:String,default:"dark"}},data(){return{}}},Ae=je,Oe=h(Ae,xe,He,!1,null,null,null),Ee=Oe.exports;Ee.install=function(e){e.component(Ee.name,Ee)};var Pe=Ee,Ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bi-notice"},[n("el-popover",{attrs:{placement:"top-end",trigger:"hover","popper-class":"notice-popper","popper-options":{padding:"0px"}},on:{show:e.handleShow,hide:e.handleHide}},[n("div",{staticClass:"bi-notice-box"},[n("el-card",{staticClass:"box-card",attrs:{shadow:"never","body-style":e.bodyStyle}},[n("div",{staticClass:"notice-header",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("系统通知")]),n("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text"},on:{click:e.noticeAllRead}},[e._v("全部标为已读")])],1),n("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.load,expression:"load"}],staticClass:"notice-list",staticStyle:{overflow:"auto"},attrs:{"infinite-scroll-immediate":!1,"infinite-scroll-disabled":e.noticeListDisabled,"infinite-scroll-delay":300}},[e._l(e.noticeList,(function(t){return n("li",{key:t.id,staticClass:"notice-item",class:{unread:0===t.is_read},on:{click:function(n){return e.detail(t)}}},[n("div",{staticClass:"header"},[n("p",{staticClass:"title"},[e._v(e._s(t.title))]),n("p",{staticClass:"time"},[e._v(e._s(t.send_time))])]),n("div",{staticClass:"content"},[e._v(e._s(t.describe))])])})),e.noticeListLoading?n("p",{staticStyle:{"font-size":"14px",color:"#5e6d82","text-align":"center"}},[e._v("加载中...")]):e._e(),e.noMore?n("p",{staticStyle:{"font-size":"14px",color:"#5e6d82","text-align":"center"}},[e._v("没有更多了")]):e._e()],2)])],1),n("el-badge",{staticClass:"notice-badge",attrs:{slot:"reference",value:e.badgeNum,hidden:0===e.badgeNum},slot:"reference"},[n("el-button",{staticClass:"notice-button",attrs:{type:"text"}},[n("img",{attrs:{src:e.iconImg}})])],1)],1),n("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,width:"758px",top:"3vh","before-close":e.handleClose,"append-to-body":"","show-close":!1,"custom-class":"notice-open-dialog"},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"notice-open-container"},[n("div",{staticClass:"notice-bg"},[n("img",{attrs:{src:e.dialogImg}})]),n("div",{staticClass:"notice-open-box"},[n("el-scrollbar",[n("div",{staticClass:"notice-open-box-scrollbar"},[n("p",{staticClass:"notice-open-tile"},[e._v(e._s(e.openNotice.title))]),n("div",{staticClass:"notice-open-content",domProps:{innerHTML:e._s(e.openNotice.content)}})])]),n("div",{staticClass:"notice-open-button"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("我知道了")])],1)],1)])]),n("el-drawer",{style:{"--headHegiht":e.headerHeight},attrs:{"custom-class":"bi-notice-drawer",title:"消息详情",visible:e.detailVisible,direction:"rtl",size:"538px","destroy-on-close":"","append-to-body":"",modal:!0},on:{"update:visible":function(t){e.detailVisible=t},open:e.handleDetailOpen,close:e.handleDetailClose}},[n("el-scrollbar",[n("div",{staticClass:"notice-detail-box"},[n("div",{staticClass:"notice-detail"},[n("div",{staticClass:"detail-header"},[n("p",{staticClass:"detail-title"},[e._v(e._s(e.detailData.title))]),n("p",{staticClass:"detail-time"},[e._v(e._s(e.detailData.send_time))])]),n("div",{staticClass:"detail-content",domProps:{innerHTML:e._s(e.detailData.content)}})])])])],1)],1)},We=[],Fe={name:"BiNoticeCenter",props:{headerHeight:{type:String,default:"50"},request:{type:Function,default:()=>()=>{}}},data(){return{iconImg:n("5c06"),dialogImg:n("7ad2"),openNotice:{id:"",title:"",content:""},page:1,dialogVisible:!1,noticeTimer:null,badgeNum:0,is_open_page:1,bodyStyle:{padding:"0"},detailVisible:!1,noticeListDisabled:!1,noticeListLoading:!1,noMore:!1,detailData:{},noticeList:[]}},mounted(){this.noticeTask(),this.getNoticeList()},methods:{handleClose(){},async handleShow(){this.noticeTimer&&clearInterval(this.noticeTimer),this.noticeList=[],this.getNoticeList()},handleHide(){this.noticeTask(),this.noticeListDisabled=!1},noticeTask(){this.noticeTimer&&clearInterval(this.noticeTimer),this.hasNotice(),this.noticeTimer=setInterval(this.hasNotice,6e4)},async hasNotice(){const e=await this.request({url:"/sys_common/hasNotice",method:"post",data:{is_open_page:this.is_open_page}});1===e.status_code&&(this.badgeNum=e.data.unread_num,this.is_open_page=0,e.data.pop_notice&&!Array.isArray(e.data.pop_notice)&&(this.openNotice.title=e.data.pop_notice.title,this.openNotice.id=e.data.pop_notice.id,this.openNotice.content=e.data.pop_notice.content,this.dialogVisible=!0,this.noticePoped(this.openNotice.id)))},async noticePoped(e){await this.request({url:"/sys_common/noticePoped",method:"post",data:{id:e}}),this.hasNotice()},detail(e){this.$set(this,"detailData",e),e.is_read=1,this.detailVisible=!0,this.handleNoticeRead(e.id)},async getNoticeList(e=1){this.noticeListLoading=!0;const t=await this.request({url:"/sys_common/noticeList",method:"post",data:{page:e}});if(1===t.status_code)if(t.data.data.length){const e=[...this.noticeList,...t.data.data],n=new Map;for(const t of e)n.set(t.id,t);this.noticeList=[...n.values()],this.noMore=!1,this.noticeListDisabled=!1}else this.noMore=!0,this.noticeListDisabled=!0;this.noticeListLoading=!1},async handleNoticeRead(e){await this.request({url:"/sys_common/noticeRead",method:"post",data:{id:e}}),this.hasNotice()},load(){this.page++,this.getNoticeList(this.page),console.log("load")},async noticeAllRead(){await this.request({url:"/sys_common/allRead",method:"post"}),this.hasNotice(),this.noticeList.map(e=>{e.is_read=1})},handleDetailOpen(){},handleDetailClose(){}}},Ne=Fe,Ie=(n("a585"),n("ab48"),h(Ne,Ce,We,!1,null,"60179b0d",null)),ze=Ie.exports;ze.install=function(e){e.component(ze.name,ze)},console.log("component.name:",ze.name);var Re=ze,Je=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bi-system-link"},[n("el-popover",{attrs:{placement:"top",trigger:"hover","popper-class":"system-link-popper","popper-options":{padding:"0px"}}},[n("div",{staticClass:"system-list"},e._l(e.systemList,(function(t){return n("div",{key:t.id,staticClass:"system-item",on:{click:function(n){return e.goSystem(t)}}},[n("div",{staticClass:"system-logo"},[n("img",{attrs:{src:t.logo_path}})]),n("p",{staticClass:"system-name"},[e._v(e._s(t.short_name))])])})),0),n("el-button",{staticClass:"system-link-button",attrs:{slot:"reference",type:"text"},slot:"reference"},[n("img",{attrs:{src:e.iconImg}})])],1)],1)},Ve=[],Be={name:"BiSystemLink",props:{request:{type:Function,default:()=>()=>{}}},data(){return{iconImg:n("6ef6"),systemList:[],zqToken:""}},mounted(){this.getZqToken(),this.getSystemList()},methods:{async getSystemList(){const e=await this.request({url:"/sys_common/system",method:"post"});1===e.status_code&&(this.systemList=e.data)},async getZqToken(){const e=await this.request({url:"/sys_common/getZqToken",method:"post"});1===e.status_code&&(this.zqToken=e.data)},goSystem({link:e}){const t=document.createElement("a");t.target="_blank",t.href=e+"?authorization="+this.zqToken,t.click(),console.log(t)}}},Ge=Be,qe=(n("a782"),n("85f2"),h(Ge,Je,Ve,!1,null,"9510f904",null)),Qe=qe.exports;Qe.install=function(e){e.component(Qe.name,Qe)};var Xe=Qe,Ue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80"}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("a",{attrs:{href:"https://www.aliwork.com/APP_RI8GCJKZCZSY0BGIRGNU/workbench/FORM-T2B66FA1DID2770UCBC6P42I5LTE2EA2JI16L6?ddtab=true",target:"_blank"}},[n("el-dropdown-item",[n("span",{staticStyle:{display:"block"}},[e._v("需求反馈")])])],1),n("el-dropdown-item",{nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[n("span",{staticStyle:{display:"block"}},[e._v("返回认证中心")])])],1)],1)},Ze=[],Ke={name:"BiAvatar",props:{avatar:{type:String,default:""}},methods:{logout(){this.$emit("logout")}}},$e=Ke,et=(n("ef8b"),h($e,Ue,Ze,!1,null,"9cf46e8e",null)),tt=et.exports;tt.install=function(e){e.component(tt.name,tt)};var nt=tt;const at=[C,B,ne,Me,Se,Pe,Xe,Re,nt],rt=function(e){rt.installed||at.map(t=>e.component(t.name,t))};"undefined"!==typeof window&&window.Vue&&rt(window.Vue);var st={install:rt,BiTable:C,BiCustomColumn:B,BiDatePicker:ne,BiDownloadCenter:Me,BiMoreButton:Se,BiSystemLink:Xe,BiNoticeCenter:Re,BiAvatar:nt};t["default"]=st},f621:function(e,t,n){"use strict";n("047b")},f9bb:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
280
280
|
//! moment.js locale configuration
|
281
281
|
var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],a=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],r=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],s=["Do","Lu","Má","Cé","Dé","A","Sa"],i=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:a,weekdaysShort:r,weekdaysMin:s,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return i}))},fa2c:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
282
282
|
//! moment.js locale configuration
|