ecinc-cloud-moadesktop 9.5.232 → 9.6.233
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/lib/ecmoadesktop.common.js +1360 -102
- package/lib/ecmoadesktop.umd.js +1360 -102
- package/lib/ecmoadesktop.umd.min.js +10 -4
- package/package.json +1 -1
|
@@ -576,7 +576,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-17c8e24b] .van-nav-bar .van-ic
|
|
|
576
576
|
|
|
577
577
|
/***/ }),
|
|
578
578
|
|
|
579
|
-
/***/
|
|
579
|
+
/***/ 7798:
|
|
580
580
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
581
581
|
|
|
582
582
|
"use strict";
|
|
@@ -590,7 +590,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
590
590
|
|
|
591
591
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
592
592
|
// Module
|
|
593
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".work-banner[data-v-
|
|
593
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".work-banner[data-v-82ce6aa2]{height:94px;width:100%;background:#fff;position:relative}", ""]);
|
|
594
594
|
// Exports
|
|
595
595
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
596
596
|
|
|
@@ -639,7 +639,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-ef203e2e]{display:-web
|
|
|
639
639
|
|
|
640
640
|
/***/ }),
|
|
641
641
|
|
|
642
|
-
/***/
|
|
642
|
+
/***/ 5145:
|
|
643
643
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
644
644
|
|
|
645
645
|
"use strict";
|
|
@@ -658,14 +658,14 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
658
658
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
659
659
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
660
660
|
// Module
|
|
661
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
661
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-cbb03fa0] .van-ellipsis{font-size:18px;color:#fff}[data-v-cbb03fa0] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-cbb03fa0] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-cbb03fa0] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important;right:0}[data-v-cbb03fa0] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}[data-v-cbb03fa0] .van-dropdown-menu__item{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}[data-v-cbb03fa0] .chat_icon .van-info{top:5px!important;right:-4px!important}.work_pageHeader[data-v-cbb03fa0]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");padding:0 16px;height:123px;font-size:16px;color:#fff;background-repeat:no-repeat;background-size:cover;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .3s;transition:height .3s}.work_pageHeader[data-v-cbb03fa0],.work_pageHeader .flex-horizon-bw[data-v-cbb03fa0]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.work_pageHeader .flex-horizon-bw[data-v-cbb03fa0]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageHeader .pageHeader_compony[data-v-cbb03fa0]{font-size:18px;font-weight:500;color:#fff;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:10px;height:48px;line-height:48px}.work_pageHeader .pageHeader_name[data-v-cbb03fa0]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-cbb03fa0]{width:122px;border-radius:15px;background:hsla(0,0%,100%,.8);padding:7px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;font-size:12px}.work_pageHeader .pageHeader_timer[data-v-cbb03fa0]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;color:#fff;font-size:14px;line-height:30px;margin-right:16px}.work_pageHeader .more_compony[data-v-cbb03fa0]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-cbb03fa0]{-webkit-box-flex:1;-ms-flex:1;flex:1;border-right:1px solid #999;text-align:left;font-size:13px;color:#333;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.check_time img[data-v-cbb03fa0]{width:14px;height:14px}.check_time span[data-v-cbb03fa0]{margin-left:5px}.check_button[data-v-cbb03fa0]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
|
|
662
662
|
// Exports
|
|
663
663
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
664
664
|
|
|
665
665
|
|
|
666
666
|
/***/ }),
|
|
667
667
|
|
|
668
|
-
/***/
|
|
668
|
+
/***/ 2742:
|
|
669
669
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
670
670
|
|
|
671
671
|
"use strict";
|
|
@@ -684,7 +684,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
684
684
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
685
685
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
686
686
|
// Module
|
|
687
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
687
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-27f553a8] .van-ellipsis{font-size:18px;color:#fff}[data-v-27f553a8] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-27f553a8] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-27f553a8] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important}[data-v-27f553a8] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}.work_pageHeader[data-v-27f553a8]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");padding:0 16px;height:123px;font-size:16px;color:#fff;background-repeat:no-repeat;background-size:cover;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.work_pageHeader[data-v-27f553a8],.work_pageHeader .flex-horizon-bw[data-v-27f553a8]{display:-webkit-box;display:-ms-flexbox;display:flex}.work_pageHeader .flex-horizon-bw[data-v-27f553a8]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageHeader .pageHeader_compony[data-v-27f553a8]{font-size:18px;font-weight:500;color:#fff}.work_pageHeader .pageHeader_name[data-v-27f553a8]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-27f553a8]{width:122px;border-radius:15px;background:hsla(0,0%,100%,.8);padding:7px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;font-size:12px}.work_pageHeader .pageHeader_timer[data-v-27f553a8]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;color:#fff;font-size:14px;line-height:30px;margin-right:16px}.work_pageHeader .more_compony[data-v-27f553a8]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-27f553a8]{-webkit-box-flex:1;-ms-flex:1;flex:1;border-right:1px solid #999;text-align:left;font-size:13px;color:#333;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.check_time img[data-v-27f553a8]{width:14px;height:14px}.check_time span[data-v-27f553a8]{margin-left:5px}.check_button[data-v-27f553a8]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
|
|
688
688
|
// Exports
|
|
689
689
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
690
690
|
|
|
@@ -761,7 +761,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#van-no[data-v-edeb2a4a]{min-height:40
|
|
|
761
761
|
|
|
762
762
|
/***/ }),
|
|
763
763
|
|
|
764
|
-
/***/
|
|
764
|
+
/***/ 1746:
|
|
765
765
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
766
766
|
|
|
767
767
|
"use strict";
|
|
@@ -775,14 +775,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
775
775
|
|
|
776
776
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
777
777
|
// Module
|
|
778
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".hot_nav[data-v-
|
|
778
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".hot_nav[data-v-6d6a4547]{height:110px;background:#fff;position:relative;-webkit-box-shadow:0 0 4px 0 rgba(0,0,0,.06);box-shadow:0 0 4px 0 rgba(0,0,0,.06);border-radius:6px;width:100%;margin-top:5px}.hot_nav .hot_nav_con[data-v-6d6a4547]{width:100%;height:90%;overflow-x:scroll;overflow-y:hidden}.hot_nav_con[data-v-6d6a4547]::-webkit-scrollbar{display:none}.hot_item[data-v-6d6a4547]{width:90px;height:90px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hot_item[data-v-6d6a4547],.hot_item .hot_item_box[data-v-6d6a4547]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.hot_item .hot_item_box[data-v-6d6a4547]{width:42px;border-radius:50%;height:42px}.hot_nav_inner[data-v-6d6a4547]{display:-webkit-box;display:-ms-flexbox;height:100%;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hot_nav_bottom[data-v-6d6a4547]{width:30px;height:2px;background:#d8d8d8;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:10px}.hot_nav_bottom_inner[data-v-6d6a4547]{position:absolute;left:0;height:100%;background:#53a8ff;width:0}", ""]);
|
|
779
779
|
// Exports
|
|
780
780
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
781
781
|
|
|
782
782
|
|
|
783
783
|
/***/ }),
|
|
784
784
|
|
|
785
|
-
/***/
|
|
785
|
+
/***/ 9215:
|
|
786
786
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
787
787
|
|
|
788
788
|
"use strict";
|
|
@@ -805,7 +805,7 @@ var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_g
|
|
|
805
805
|
var ___CSS_LOADER_URL_REPLACEMENT_1___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
|
|
806
806
|
var ___CSS_LOADER_URL_REPLACEMENT_2___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);
|
|
807
807
|
// Module
|
|
808
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-
|
|
808
|
+
___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-653165e4]{position:relative;width:100%;height:200px;background:#fff;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06);border-radius:6px}#work-setting .work-setting-title[data-v-653165e4]{height:44px;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebedf0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 14px}#work-setting .work-setting-title span[data-v-653165e4]{font-size:14px;font-family:PingFangSC-Semibold,PingFang SC}#work-setting .work-setting-content[data-v-653165e4]{height:calc(100% - 44px);overflow:hidden}#work-setting .work-setting-content .setting-item[data-v-653165e4]{padding:14px;display:-webkit-box;display:-ms-flexbox;height:100%;width:100%;font-family:PingFangSC-Semibold,PingFang SC;color:#333;display:flex;position:relative;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box}#work-setting .work-setting-content .setting-item[data-v-653165e4]:last-child{border-bottom:none}#work-setting .work-setting-content .setting-item .left[data-v-653165e4]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:42vw;height:130px;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat;background-size:100% 100%}#work-setting .work-setting-content .setting-item .left[data-v-653165e4],#work-setting .work-setting-content .setting-item .left div[data-v-653165e4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#work-setting .work-setting-content .setting-item .left div[data-v-653165e4]{width:36px;height:36px;background:#fff;border-radius:50%}#work-setting .work-setting-content .setting-item .left div img[data-v-653165e4]{width:18px;height:18px}#work-setting .work-setting-content .setting-item .left span[data-v-653165e4]{color:#333;font-size:14px;margin-top:10px}#work-setting .work-setting-content .setting-item .right[data-v-653165e4]{margin-left:10px}#work-setting .work-setting-content .setting-item .right .right-top[data-v-653165e4]{width:49vw;height:60px;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat;background-size:100% 100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:15px}#work-setting .work-setting-content .setting-item .right .right-top div[data-v-653165e4]{width:36px;height:36px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%}#work-setting .work-setting-content .setting-item .right .right-top div img[data-v-653165e4]{width:18px;height:18px}#work-setting .work-setting-content .setting-item .right .right-top span[data-v-653165e4]{color:#333;font-size:14px;margin-left:10px}#work-setting .work-setting-content .setting-item .right .right-bottom[data-v-653165e4]{width:49vw;height:60px;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") no-repeat;background-size:100% 100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;padding-left:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#work-setting .work-setting-content .setting-item .right .right-bottom div[data-v-653165e4]{width:36px;height:36px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%}#work-setting .work-setting-content .setting-item .right .right-bottom div img[data-v-653165e4]{width:18px;height:18px}#work-setting .work-setting-content .setting-item .right .right-bottom span[data-v-653165e4]{color:#333;font-size:14px;margin-left:10px}", ""]);
|
|
809
809
|
// Exports
|
|
810
810
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
811
811
|
|
|
@@ -22638,19 +22638,19 @@ var update = add("5e22993c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22638
22638
|
|
|
22639
22639
|
/***/ }),
|
|
22640
22640
|
|
|
22641
|
-
/***/
|
|
22641
|
+
/***/ 5416:
|
|
22642
22642
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22643
22643
|
|
|
22644
22644
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22645
22645
|
|
|
22646
22646
|
// load the styles
|
|
22647
|
-
var content = __webpack_require__(
|
|
22647
|
+
var content = __webpack_require__(7798);
|
|
22648
22648
|
if(content.__esModule) content = content.default;
|
|
22649
22649
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22650
22650
|
if(content.locals) module.exports = content.locals;
|
|
22651
22651
|
// add the styles to the DOM
|
|
22652
22652
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22653
|
-
var update = add("
|
|
22653
|
+
var update = add("433374b8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22654
22654
|
|
|
22655
22655
|
/***/ }),
|
|
22656
22656
|
|
|
@@ -22686,35 +22686,35 @@ var update = add("b0496ae0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22686
22686
|
|
|
22687
22687
|
/***/ }),
|
|
22688
22688
|
|
|
22689
|
-
/***/
|
|
22689
|
+
/***/ 5839:
|
|
22690
22690
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22691
22691
|
|
|
22692
22692
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22693
22693
|
|
|
22694
22694
|
// load the styles
|
|
22695
|
-
var content = __webpack_require__(
|
|
22695
|
+
var content = __webpack_require__(5145);
|
|
22696
22696
|
if(content.__esModule) content = content.default;
|
|
22697
22697
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22698
22698
|
if(content.locals) module.exports = content.locals;
|
|
22699
22699
|
// add the styles to the DOM
|
|
22700
22700
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22701
|
-
var update = add("
|
|
22701
|
+
var update = add("7f4f7edb", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22702
22702
|
|
|
22703
22703
|
/***/ }),
|
|
22704
22704
|
|
|
22705
|
-
/***/
|
|
22705
|
+
/***/ 8568:
|
|
22706
22706
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22707
22707
|
|
|
22708
22708
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22709
22709
|
|
|
22710
22710
|
// load the styles
|
|
22711
|
-
var content = __webpack_require__(
|
|
22711
|
+
var content = __webpack_require__(2742);
|
|
22712
22712
|
if(content.__esModule) content = content.default;
|
|
22713
22713
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22714
22714
|
if(content.locals) module.exports = content.locals;
|
|
22715
22715
|
// add the styles to the DOM
|
|
22716
22716
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22717
|
-
var update = add("
|
|
22717
|
+
var update = add("16c13b1b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22718
22718
|
|
|
22719
22719
|
/***/ }),
|
|
22720
22720
|
|
|
@@ -22766,35 +22766,35 @@ var update = add("7bbe9df8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22766
22766
|
|
|
22767
22767
|
/***/ }),
|
|
22768
22768
|
|
|
22769
|
-
/***/
|
|
22769
|
+
/***/ 2732:
|
|
22770
22770
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22771
22771
|
|
|
22772
22772
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22773
22773
|
|
|
22774
22774
|
// load the styles
|
|
22775
|
-
var content = __webpack_require__(
|
|
22775
|
+
var content = __webpack_require__(1746);
|
|
22776
22776
|
if(content.__esModule) content = content.default;
|
|
22777
22777
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22778
22778
|
if(content.locals) module.exports = content.locals;
|
|
22779
22779
|
// add the styles to the DOM
|
|
22780
22780
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22781
|
-
var update = add("
|
|
22781
|
+
var update = add("62f0bce3", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22782
22782
|
|
|
22783
22783
|
/***/ }),
|
|
22784
22784
|
|
|
22785
|
-
/***/
|
|
22785
|
+
/***/ 1493:
|
|
22786
22786
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22787
22787
|
|
|
22788
22788
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22789
22789
|
|
|
22790
22790
|
// load the styles
|
|
22791
|
-
var content = __webpack_require__(
|
|
22791
|
+
var content = __webpack_require__(9215);
|
|
22792
22792
|
if(content.__esModule) content = content.default;
|
|
22793
22793
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22794
22794
|
if(content.locals) module.exports = content.locals;
|
|
22795
22795
|
// add the styles to the DOM
|
|
22796
22796
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22797
|
-
var update = add("
|
|
22797
|
+
var update = add("3274dc8a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22798
22798
|
|
|
22799
22799
|
/***/ }),
|
|
22800
22800
|
|
|
@@ -23201,6 +23201,18 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXAAAAB4CAMAAADc
|
|
|
23201
23201
|
/******/ };
|
|
23202
23202
|
/******/ }();
|
|
23203
23203
|
/******/
|
|
23204
|
+
/******/ /* webpack/runtime/global */
|
|
23205
|
+
/******/ !function() {
|
|
23206
|
+
/******/ __webpack_require__.g = (function() {
|
|
23207
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
23208
|
+
/******/ try {
|
|
23209
|
+
/******/ return this || new Function('return this')();
|
|
23210
|
+
/******/ } catch (e) {
|
|
23211
|
+
/******/ if (typeof window === 'object') return window;
|
|
23212
|
+
/******/ }
|
|
23213
|
+
/******/ })();
|
|
23214
|
+
/******/ }();
|
|
23215
|
+
/******/
|
|
23204
23216
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
23205
23217
|
/******/ !function() {
|
|
23206
23218
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -24031,8 +24043,8 @@ var workTodo_component = normalizeComponent(
|
|
|
24031
24043
|
)
|
|
24032
24044
|
|
|
24033
24045
|
/* harmony default export */ var workTodo = (workTodo_component.exports);
|
|
24034
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=template&id=
|
|
24035
|
-
var
|
|
24046
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=template&id=653165e4&scoped=true
|
|
24047
|
+
var workSettingvue_type_template_id_653165e4_scoped_true_render = function render() {
|
|
24036
24048
|
var _vm = this,
|
|
24037
24049
|
_c = _vm._self._c;
|
|
24038
24050
|
return _c('div', {
|
|
@@ -24096,7 +24108,7 @@ var workSettingvue_type_template_id_e000bd1a_scoped_true_render = function rende
|
|
|
24096
24108
|
}
|
|
24097
24109
|
})]), _c('span', [_vm._v(_vm._s(_vm.list[2].appName))])])])])])]);
|
|
24098
24110
|
};
|
|
24099
|
-
var
|
|
24111
|
+
var workSettingvue_type_template_id_653165e4_scoped_true_staticRenderFns = [];
|
|
24100
24112
|
|
|
24101
24113
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=script&lang=js
|
|
24102
24114
|
/* harmony default export */ var workSettingvue_type_script_lang_js = ({
|
|
@@ -24130,9 +24142,13 @@ var workSettingvue_type_template_id_e000bd1a_scoped_true_staticRenderFns = [];
|
|
|
24130
24142
|
var h5apps = this.routes.filter(function (route) {
|
|
24131
24143
|
if (route.meta && route.meta.h5Url) return true;
|
|
24132
24144
|
});
|
|
24145
|
+
var productCode = sessionStorage.getItem('productCode');
|
|
24146
|
+
if (!productCode) {
|
|
24147
|
+
productCode = window.productCode;
|
|
24148
|
+
}
|
|
24133
24149
|
h5apps.forEach(function (route) {
|
|
24134
24150
|
var mapp = route.meta;
|
|
24135
|
-
mapp.icon = "/apigw" + '/mpp/h5app/download?id=' + mapp.id + '&dataField=APP_LOGO&nameField=FILE_NAME';
|
|
24151
|
+
mapp.icon = "/apigw" + '/mpp/h5app/download?id=' + mapp.id + '&dataField=APP_LOGO&nameField=FILE_NAME&productCode=' + productCode;
|
|
24136
24152
|
if (mapp.appType === 5) {
|
|
24137
24153
|
_this.list.push(mapp);
|
|
24138
24154
|
}
|
|
@@ -24142,9 +24158,9 @@ var workSettingvue_type_template_id_e000bd1a_scoped_true_staticRenderFns = [];
|
|
|
24142
24158
|
});
|
|
24143
24159
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=script&lang=js
|
|
24144
24160
|
/* harmony default export */ var components_workSettingvue_type_script_lang_js = (workSettingvue_type_script_lang_js);
|
|
24145
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=style&index=0&id=
|
|
24146
|
-
var
|
|
24147
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=style&index=0&id=
|
|
24161
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=style&index=0&id=653165e4&prod&scoped=true&lang=scss
|
|
24162
|
+
var workSettingvue_type_style_index_0_id_653165e4_prod_scoped_true_lang_scss = __webpack_require__(1493);
|
|
24163
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=style&index=0&id=653165e4&prod&scoped=true&lang=scss
|
|
24148
24164
|
|
|
24149
24165
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workSetting.vue
|
|
24150
24166
|
|
|
@@ -24157,18 +24173,18 @@ var workSettingvue_type_style_index_0_id_e000bd1a_prod_scoped_true_lang_scss = _
|
|
|
24157
24173
|
|
|
24158
24174
|
var workSetting_component = normalizeComponent(
|
|
24159
24175
|
components_workSettingvue_type_script_lang_js,
|
|
24160
|
-
|
|
24161
|
-
|
|
24176
|
+
workSettingvue_type_template_id_653165e4_scoped_true_render,
|
|
24177
|
+
workSettingvue_type_template_id_653165e4_scoped_true_staticRenderFns,
|
|
24162
24178
|
false,
|
|
24163
24179
|
null,
|
|
24164
|
-
"
|
|
24180
|
+
"653165e4",
|
|
24165
24181
|
null
|
|
24166
24182
|
|
|
24167
24183
|
)
|
|
24168
24184
|
|
|
24169
24185
|
/* harmony default export */ var workSetting = (workSetting_component.exports);
|
|
24170
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=template&id=
|
|
24171
|
-
var
|
|
24186
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=template&id=6d6a4547&scoped=true
|
|
24187
|
+
var workQuickvue_type_template_id_6d6a4547_scoped_true_render = function render() {
|
|
24172
24188
|
var _vm = this,
|
|
24173
24189
|
_c = _vm._self._c;
|
|
24174
24190
|
return _c('div', {
|
|
@@ -24181,14 +24197,14 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_render = function render(
|
|
|
24181
24197
|
}, [_c('div', {
|
|
24182
24198
|
staticClass: "hot_nav_inner",
|
|
24183
24199
|
style: {
|
|
24184
|
-
|
|
24200
|
+
width: _vm.scrollContentW + 'px'
|
|
24185
24201
|
}
|
|
24186
24202
|
}, _vm._l(_vm.quickBarData, function (app) {
|
|
24187
24203
|
return _c('div', {
|
|
24188
24204
|
key: app.id,
|
|
24189
24205
|
staticClass: "hot_item",
|
|
24190
24206
|
style: {
|
|
24191
|
-
|
|
24207
|
+
width: _vm.itemWidth + 'px'
|
|
24192
24208
|
},
|
|
24193
24209
|
on: {
|
|
24194
24210
|
"click": function click($event) {
|
|
@@ -24198,7 +24214,7 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_render = function render(
|
|
|
24198
24214
|
}, [_c('div', {
|
|
24199
24215
|
staticClass: "hot_item_box",
|
|
24200
24216
|
style: {
|
|
24201
|
-
|
|
24217
|
+
background: app.bgColor
|
|
24202
24218
|
}
|
|
24203
24219
|
}, [_c('img', {
|
|
24204
24220
|
staticStyle: {
|
|
@@ -24221,7 +24237,7 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_render = function render(
|
|
|
24221
24237
|
style: _vm.innerBarStyle
|
|
24222
24238
|
})]) : _vm._e()])]);
|
|
24223
24239
|
};
|
|
24224
|
-
var
|
|
24240
|
+
var workQuickvue_type_template_id_6d6a4547_scoped_true_staticRenderFns = [];
|
|
24225
24241
|
|
|
24226
24242
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=script&lang=js
|
|
24227
24243
|
/* harmony default export */ var workQuickvue_type_script_lang_js = ({
|
|
@@ -24275,8 +24291,12 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_staticRenderFns = [];
|
|
|
24275
24291
|
var mapp = route.meta;
|
|
24276
24292
|
if (!productList) return;
|
|
24277
24293
|
mapp.icon = "/apigw" + '/mpp/h5app/download?id=' + mapp.id + '&dataField=APP_LOGO&nameField=FILE_NAME';
|
|
24278
|
-
|
|
24279
|
-
|
|
24294
|
+
var productCode = sessionStorage.getItem('productCode');
|
|
24295
|
+
if (!productCode) {
|
|
24296
|
+
productCode = window.productCode;
|
|
24297
|
+
}
|
|
24298
|
+
if (productCode !== '') {
|
|
24299
|
+
mapp.icon += '&productCode=' + productCode;
|
|
24280
24300
|
mapp.bgColor = 'rgba(' + mapp.appLogoBgColor + ',0.15)';
|
|
24281
24301
|
}
|
|
24282
24302
|
_this2.quickBarData.push(mapp);
|
|
@@ -24304,9 +24324,9 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_staticRenderFns = [];
|
|
|
24304
24324
|
});
|
|
24305
24325
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=script&lang=js
|
|
24306
24326
|
/* harmony default export */ var components_workQuickvue_type_script_lang_js = (workQuickvue_type_script_lang_js);
|
|
24307
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=style&index=0&id=
|
|
24308
|
-
var
|
|
24309
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=style&index=0&id=
|
|
24327
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=style&index=0&id=6d6a4547&prod&scoped=true&lang=scss
|
|
24328
|
+
var workQuickvue_type_style_index_0_id_6d6a4547_prod_scoped_true_lang_scss = __webpack_require__(2732);
|
|
24329
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=style&index=0&id=6d6a4547&prod&scoped=true&lang=scss
|
|
24310
24330
|
|
|
24311
24331
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workQuick.vue
|
|
24312
24332
|
|
|
@@ -24319,11 +24339,11 @@ var workQuickvue_type_style_index_0_id_5ac820ea_prod_scoped_true_lang_scss = __w
|
|
|
24319
24339
|
|
|
24320
24340
|
var workQuick_component = normalizeComponent(
|
|
24321
24341
|
components_workQuickvue_type_script_lang_js,
|
|
24322
|
-
|
|
24323
|
-
|
|
24342
|
+
workQuickvue_type_template_id_6d6a4547_scoped_true_render,
|
|
24343
|
+
workQuickvue_type_template_id_6d6a4547_scoped_true_staticRenderFns,
|
|
24324
24344
|
false,
|
|
24325
24345
|
null,
|
|
24326
|
-
"
|
|
24346
|
+
"6d6a4547",
|
|
24327
24347
|
null
|
|
24328
24348
|
|
|
24329
24349
|
)
|
|
@@ -26474,8 +26494,8 @@ var workCalendar_component = normalizeComponent(
|
|
|
26474
26494
|
)
|
|
26475
26495
|
|
|
26476
26496
|
/* harmony default export */ var workCalendar = (workCalendar_component.exports);
|
|
26477
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=template&id=
|
|
26478
|
-
var
|
|
26497
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=template&id=82ce6aa2&scoped=true
|
|
26498
|
+
var workBannervue_type_template_id_82ce6aa2_scoped_true_render = function render() {
|
|
26479
26499
|
var _vm = this,
|
|
26480
26500
|
_c = _vm._self._c;
|
|
26481
26501
|
return _c('div', {
|
|
@@ -26501,7 +26521,7 @@ var workBannervue_type_template_id_5f2bd3c6_scoped_true_render = function render
|
|
|
26501
26521
|
})]);
|
|
26502
26522
|
}), 1)], 1);
|
|
26503
26523
|
};
|
|
26504
|
-
var
|
|
26524
|
+
var workBannervue_type_template_id_82ce6aa2_scoped_true_staticRenderFns = [];
|
|
26505
26525
|
|
|
26506
26526
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=script&lang=js
|
|
26507
26527
|
function workBannervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return workBannervue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, workBannervue_type_script_lang_js_typeof(o); }
|
|
@@ -26528,7 +26548,7 @@ function workBannervue_type_script_lang_js_asyncToGenerator(n) { return function
|
|
|
26528
26548
|
getBgImg: function getBgImg() {
|
|
26529
26549
|
var _this = this;
|
|
26530
26550
|
return workBannervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workBannervue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
26531
|
-
var curTime, searchFields, orderBy, count, res;
|
|
26551
|
+
var curTime, searchFields, orderBy, count, res, productCode;
|
|
26532
26552
|
return workBannervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26533
26553
|
while (1) switch (_context.prev = _context.next) {
|
|
26534
26554
|
case 0:
|
|
@@ -26562,8 +26582,12 @@ function workBannervue_type_script_lang_js_asyncToGenerator(n) { return function
|
|
|
26562
26582
|
res = _context.sent;
|
|
26563
26583
|
if (res.code === 'success' && res.body.listdata.length > 0) {
|
|
26564
26584
|
_this.swipeImages = [];
|
|
26585
|
+
productCode = sessionStorage.getItem('productCode');
|
|
26586
|
+
if (!productCode) {
|
|
26587
|
+
productCode = window.productCode;
|
|
26588
|
+
}
|
|
26565
26589
|
res.body.listdata.forEach(function (item) {
|
|
26566
|
-
var url = "/apigw" + '/mpp/image/download?nameField=fileName&dataField=image&id=' + item.id + '&httpPort=' + location.port;
|
|
26590
|
+
var url = "/apigw" + '/mpp/image/download?nameField=fileName&dataField=image&id=' + item.id + '&httpPort=' + location.port + '&productCode=' + productCode;
|
|
26567
26591
|
_this.swipeImages.push(url);
|
|
26568
26592
|
});
|
|
26569
26593
|
}
|
|
@@ -26578,9 +26602,9 @@ function workBannervue_type_script_lang_js_asyncToGenerator(n) { return function
|
|
|
26578
26602
|
});
|
|
26579
26603
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=script&lang=js
|
|
26580
26604
|
/* harmony default export */ var components_workBannervue_type_script_lang_js = (workBannervue_type_script_lang_js);
|
|
26581
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=style&index=0&id=
|
|
26582
|
-
var
|
|
26583
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=style&index=0&id=
|
|
26605
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=style&index=0&id=82ce6aa2&prod&scoped=true&lang=scss
|
|
26606
|
+
var workBannervue_type_style_index_0_id_82ce6aa2_prod_scoped_true_lang_scss = __webpack_require__(5416);
|
|
26607
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=style&index=0&id=82ce6aa2&prod&scoped=true&lang=scss
|
|
26584
26608
|
|
|
26585
26609
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workBanner.vue
|
|
26586
26610
|
|
|
@@ -26593,11 +26617,11 @@ var workBannervue_type_style_index_0_id_5f2bd3c6_prod_scoped_true_lang_scss = __
|
|
|
26593
26617
|
|
|
26594
26618
|
var workBanner_component = normalizeComponent(
|
|
26595
26619
|
components_workBannervue_type_script_lang_js,
|
|
26596
|
-
|
|
26597
|
-
|
|
26620
|
+
workBannervue_type_template_id_82ce6aa2_scoped_true_render,
|
|
26621
|
+
workBannervue_type_template_id_82ce6aa2_scoped_true_staticRenderFns,
|
|
26598
26622
|
false,
|
|
26599
26623
|
null,
|
|
26600
|
-
"
|
|
26624
|
+
"82ce6aa2",
|
|
26601
26625
|
null
|
|
26602
26626
|
|
|
26603
26627
|
)
|
|
@@ -27692,8 +27716,8 @@ var commonApps_component = normalizeComponent(
|
|
|
27692
27716
|
)
|
|
27693
27717
|
|
|
27694
27718
|
/* harmony default export */ var commonApps = (commonApps_component.exports);
|
|
27695
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=template&id=
|
|
27696
|
-
var
|
|
27719
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=template&id=cbb03fa0&scoped=true
|
|
27720
|
+
var workHeadvue_type_template_id_cbb03fa0_scoped_true_render = function render() {
|
|
27697
27721
|
var _vm = this,
|
|
27698
27722
|
_c = _vm._self._c;
|
|
27699
27723
|
return _c('div', {
|
|
@@ -27741,7 +27765,40 @@ var workHeadvue_type_template_id_255c26ce_scoped_true_render = function render()
|
|
|
27741
27765
|
return _vm.$router.push('/fullTextSearch');
|
|
27742
27766
|
}
|
|
27743
27767
|
}
|
|
27744
|
-
}), _c('van-icon', {
|
|
27768
|
+
}), Number(_vm.unreadNum) > 0 ? [_c('van-icon', {
|
|
27769
|
+
staticClass: "chat_icon",
|
|
27770
|
+
staticStyle: {
|
|
27771
|
+
"margin-left": "20px"
|
|
27772
|
+
},
|
|
27773
|
+
attrs: {
|
|
27774
|
+
"name": "chat-o",
|
|
27775
|
+
"size": "18",
|
|
27776
|
+
"badge": Number(_vm.unreadNum) > 99 ? '99+' : _vm.unreadNum
|
|
27777
|
+
},
|
|
27778
|
+
on: {
|
|
27779
|
+
"click": function click($event) {
|
|
27780
|
+
return _vm.$router.push({
|
|
27781
|
+
path: '/chatList'
|
|
27782
|
+
});
|
|
27783
|
+
}
|
|
27784
|
+
}
|
|
27785
|
+
})] : [_c('van-icon', {
|
|
27786
|
+
staticClass: "chat_icon",
|
|
27787
|
+
staticStyle: {
|
|
27788
|
+
"margin-left": "20px"
|
|
27789
|
+
},
|
|
27790
|
+
attrs: {
|
|
27791
|
+
"name": "chat-o",
|
|
27792
|
+
"size": "18"
|
|
27793
|
+
},
|
|
27794
|
+
on: {
|
|
27795
|
+
"click": function click($event) {
|
|
27796
|
+
return _vm.$router.push({
|
|
27797
|
+
path: '/chatList'
|
|
27798
|
+
});
|
|
27799
|
+
}
|
|
27800
|
+
}
|
|
27801
|
+
})], _c('van-icon', {
|
|
27745
27802
|
staticStyle: {
|
|
27746
27803
|
"margin-left": "20px"
|
|
27747
27804
|
},
|
|
@@ -27752,7 +27809,7 @@ var workHeadvue_type_template_id_255c26ce_scoped_true_render = function render()
|
|
|
27752
27809
|
on: {
|
|
27753
27810
|
"click": _vm.scan
|
|
27754
27811
|
}
|
|
27755
|
-
})],
|
|
27812
|
+
})], 2)]), _c('div', {
|
|
27756
27813
|
staticClass: "flex-horizon-bw",
|
|
27757
27814
|
style: {
|
|
27758
27815
|
'margin-top': '20px'
|
|
@@ -27768,19 +27825,1201 @@ var workHeadvue_type_template_id_255c26ce_scoped_true_render = function render()
|
|
|
27768
27825
|
attrs: {
|
|
27769
27826
|
"name": _vm.loginUser.personName
|
|
27770
27827
|
}
|
|
27771
|
-
}, [_vm._v("您好," + _vm._s(_vm.loginUser.personName) + "!")]),
|
|
27828
|
+
}, [_vm._v("您好," + _vm._s(_vm.loginUser.personName) + "!")]), _vm.canClockIn ? _c('div', {
|
|
27829
|
+
staticClass: "pageHeader_check_work"
|
|
27830
|
+
}, [_c('div', {
|
|
27831
|
+
staticClass: "check_time",
|
|
27832
|
+
on: {
|
|
27833
|
+
"click": _vm.toClockPage
|
|
27834
|
+
}
|
|
27835
|
+
}, [_c('img', {
|
|
27836
|
+
attrs: {
|
|
27837
|
+
"src": './images/m-imgs/kqgl/' + (_vm.timeInterval.showStatus === undefined || _vm.timeInterval.showStatus === 3 || _vm.timeInterval.showStatus === 0 ? 'weidaka.png' : 'success.png')
|
|
27838
|
+
}
|
|
27839
|
+
}), _c('span', [_vm._v(_vm._s(_vm.nTimeH) + ":" + _vm._s(_vm.nTimeM))])]), _c('div', {
|
|
27840
|
+
staticClass: "check_button",
|
|
27841
|
+
on: {
|
|
27842
|
+
"click": _vm.checkWork
|
|
27843
|
+
}
|
|
27844
|
+
}, [_vm._v(_vm._s(_vm.dakaType))])]) : _c('div', {
|
|
27772
27845
|
staticClass: "pageHeader_timer"
|
|
27773
27846
|
}, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
|
|
27774
27847
|
};
|
|
27775
|
-
var
|
|
27848
|
+
var workHeadvue_type_template_id_cbb03fa0_scoped_true_staticRenderFns = [];
|
|
27849
|
+
|
|
27850
|
+
;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
|
27851
|
+
/*!
|
|
27852
|
+
* vuex v3.6.2
|
|
27853
|
+
* (c) 2021 Evan You
|
|
27854
|
+
* @license MIT
|
|
27855
|
+
*/
|
|
27856
|
+
function applyMixin (Vue) {
|
|
27857
|
+
var version = Number(Vue.version.split('.')[0]);
|
|
27858
|
+
|
|
27859
|
+
if (version >= 2) {
|
|
27860
|
+
Vue.mixin({ beforeCreate: vuexInit });
|
|
27861
|
+
} else {
|
|
27862
|
+
// override init and inject vuex init procedure
|
|
27863
|
+
// for 1.x backwards compatibility.
|
|
27864
|
+
var _init = Vue.prototype._init;
|
|
27865
|
+
Vue.prototype._init = function (options) {
|
|
27866
|
+
if ( options === void 0 ) options = {};
|
|
27867
|
+
|
|
27868
|
+
options.init = options.init
|
|
27869
|
+
? [vuexInit].concat(options.init)
|
|
27870
|
+
: vuexInit;
|
|
27871
|
+
_init.call(this, options);
|
|
27872
|
+
};
|
|
27873
|
+
}
|
|
27874
|
+
|
|
27875
|
+
/**
|
|
27876
|
+
* Vuex init hook, injected into each instances init hooks list.
|
|
27877
|
+
*/
|
|
27878
|
+
|
|
27879
|
+
function vuexInit () {
|
|
27880
|
+
var options = this.$options;
|
|
27881
|
+
// store injection
|
|
27882
|
+
if (options.store) {
|
|
27883
|
+
this.$store = typeof options.store === 'function'
|
|
27884
|
+
? options.store()
|
|
27885
|
+
: options.store;
|
|
27886
|
+
} else if (options.parent && options.parent.$store) {
|
|
27887
|
+
this.$store = options.parent.$store;
|
|
27888
|
+
}
|
|
27889
|
+
}
|
|
27890
|
+
}
|
|
27891
|
+
|
|
27892
|
+
var target = typeof window !== 'undefined'
|
|
27893
|
+
? window
|
|
27894
|
+
: typeof __webpack_require__.g !== 'undefined'
|
|
27895
|
+
? __webpack_require__.g
|
|
27896
|
+
: {};
|
|
27897
|
+
var devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
27898
|
+
|
|
27899
|
+
function devtoolPlugin (store) {
|
|
27900
|
+
if (!devtoolHook) { return }
|
|
27901
|
+
|
|
27902
|
+
store._devtoolHook = devtoolHook;
|
|
27903
|
+
|
|
27904
|
+
devtoolHook.emit('vuex:init', store);
|
|
27905
|
+
|
|
27906
|
+
devtoolHook.on('vuex:travel-to-state', function (targetState) {
|
|
27907
|
+
store.replaceState(targetState);
|
|
27908
|
+
});
|
|
27909
|
+
|
|
27910
|
+
store.subscribe(function (mutation, state) {
|
|
27911
|
+
devtoolHook.emit('vuex:mutation', mutation, state);
|
|
27912
|
+
}, { prepend: true });
|
|
27913
|
+
|
|
27914
|
+
store.subscribeAction(function (action, state) {
|
|
27915
|
+
devtoolHook.emit('vuex:action', action, state);
|
|
27916
|
+
}, { prepend: true });
|
|
27917
|
+
}
|
|
27918
|
+
|
|
27919
|
+
/**
|
|
27920
|
+
* Get the first item that pass the test
|
|
27921
|
+
* by second argument function
|
|
27922
|
+
*
|
|
27923
|
+
* @param {Array} list
|
|
27924
|
+
* @param {Function} f
|
|
27925
|
+
* @return {*}
|
|
27926
|
+
*/
|
|
27927
|
+
function find (list, f) {
|
|
27928
|
+
return list.filter(f)[0]
|
|
27929
|
+
}
|
|
27930
|
+
|
|
27931
|
+
/**
|
|
27932
|
+
* Deep copy the given object considering circular structure.
|
|
27933
|
+
* This function caches all nested objects and its copies.
|
|
27934
|
+
* If it detects circular structure, use cached copy to avoid infinite loop.
|
|
27935
|
+
*
|
|
27936
|
+
* @param {*} obj
|
|
27937
|
+
* @param {Array<Object>} cache
|
|
27938
|
+
* @return {*}
|
|
27939
|
+
*/
|
|
27940
|
+
function deepCopy (obj, cache) {
|
|
27941
|
+
if ( cache === void 0 ) cache = [];
|
|
27942
|
+
|
|
27943
|
+
// just return if obj is immutable value
|
|
27944
|
+
if (obj === null || typeof obj !== 'object') {
|
|
27945
|
+
return obj
|
|
27946
|
+
}
|
|
27947
|
+
|
|
27948
|
+
// if obj is hit, it is in circular structure
|
|
27949
|
+
var hit = find(cache, function (c) { return c.original === obj; });
|
|
27950
|
+
if (hit) {
|
|
27951
|
+
return hit.copy
|
|
27952
|
+
}
|
|
27953
|
+
|
|
27954
|
+
var copy = Array.isArray(obj) ? [] : {};
|
|
27955
|
+
// put the copy into cache at first
|
|
27956
|
+
// because we want to refer it in recursive deepCopy
|
|
27957
|
+
cache.push({
|
|
27958
|
+
original: obj,
|
|
27959
|
+
copy: copy
|
|
27960
|
+
});
|
|
27961
|
+
|
|
27962
|
+
Object.keys(obj).forEach(function (key) {
|
|
27963
|
+
copy[key] = deepCopy(obj[key], cache);
|
|
27964
|
+
});
|
|
27965
|
+
|
|
27966
|
+
return copy
|
|
27967
|
+
}
|
|
27968
|
+
|
|
27969
|
+
/**
|
|
27970
|
+
* forEach for object
|
|
27971
|
+
*/
|
|
27972
|
+
function forEachValue (obj, fn) {
|
|
27973
|
+
Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });
|
|
27974
|
+
}
|
|
27975
|
+
|
|
27976
|
+
function isObject (obj) {
|
|
27977
|
+
return obj !== null && typeof obj === 'object'
|
|
27978
|
+
}
|
|
27979
|
+
|
|
27980
|
+
function isPromise (val) {
|
|
27981
|
+
return val && typeof val.then === 'function'
|
|
27982
|
+
}
|
|
27983
|
+
|
|
27984
|
+
function assert (condition, msg) {
|
|
27985
|
+
if (!condition) { throw new Error(("[vuex] " + msg)) }
|
|
27986
|
+
}
|
|
27987
|
+
|
|
27988
|
+
function partial (fn, arg) {
|
|
27989
|
+
return function () {
|
|
27990
|
+
return fn(arg)
|
|
27991
|
+
}
|
|
27992
|
+
}
|
|
27993
|
+
|
|
27994
|
+
// Base data struct for store's module, package with some attribute and method
|
|
27995
|
+
var Module = function Module (rawModule, runtime) {
|
|
27996
|
+
this.runtime = runtime;
|
|
27997
|
+
// Store some children item
|
|
27998
|
+
this._children = Object.create(null);
|
|
27999
|
+
// Store the origin module object which passed by programmer
|
|
28000
|
+
this._rawModule = rawModule;
|
|
28001
|
+
var rawState = rawModule.state;
|
|
28002
|
+
|
|
28003
|
+
// Store the origin module's state
|
|
28004
|
+
this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};
|
|
28005
|
+
};
|
|
28006
|
+
|
|
28007
|
+
var prototypeAccessors = { namespaced: { configurable: true } };
|
|
28008
|
+
|
|
28009
|
+
prototypeAccessors.namespaced.get = function () {
|
|
28010
|
+
return !!this._rawModule.namespaced
|
|
28011
|
+
};
|
|
28012
|
+
|
|
28013
|
+
Module.prototype.addChild = function addChild (key, module) {
|
|
28014
|
+
this._children[key] = module;
|
|
28015
|
+
};
|
|
28016
|
+
|
|
28017
|
+
Module.prototype.removeChild = function removeChild (key) {
|
|
28018
|
+
delete this._children[key];
|
|
28019
|
+
};
|
|
28020
|
+
|
|
28021
|
+
Module.prototype.getChild = function getChild (key) {
|
|
28022
|
+
return this._children[key]
|
|
28023
|
+
};
|
|
28024
|
+
|
|
28025
|
+
Module.prototype.hasChild = function hasChild (key) {
|
|
28026
|
+
return key in this._children
|
|
28027
|
+
};
|
|
28028
|
+
|
|
28029
|
+
Module.prototype.update = function update (rawModule) {
|
|
28030
|
+
this._rawModule.namespaced = rawModule.namespaced;
|
|
28031
|
+
if (rawModule.actions) {
|
|
28032
|
+
this._rawModule.actions = rawModule.actions;
|
|
28033
|
+
}
|
|
28034
|
+
if (rawModule.mutations) {
|
|
28035
|
+
this._rawModule.mutations = rawModule.mutations;
|
|
28036
|
+
}
|
|
28037
|
+
if (rawModule.getters) {
|
|
28038
|
+
this._rawModule.getters = rawModule.getters;
|
|
28039
|
+
}
|
|
28040
|
+
};
|
|
28041
|
+
|
|
28042
|
+
Module.prototype.forEachChild = function forEachChild (fn) {
|
|
28043
|
+
forEachValue(this._children, fn);
|
|
28044
|
+
};
|
|
28045
|
+
|
|
28046
|
+
Module.prototype.forEachGetter = function forEachGetter (fn) {
|
|
28047
|
+
if (this._rawModule.getters) {
|
|
28048
|
+
forEachValue(this._rawModule.getters, fn);
|
|
28049
|
+
}
|
|
28050
|
+
};
|
|
28051
|
+
|
|
28052
|
+
Module.prototype.forEachAction = function forEachAction (fn) {
|
|
28053
|
+
if (this._rawModule.actions) {
|
|
28054
|
+
forEachValue(this._rawModule.actions, fn);
|
|
28055
|
+
}
|
|
28056
|
+
};
|
|
28057
|
+
|
|
28058
|
+
Module.prototype.forEachMutation = function forEachMutation (fn) {
|
|
28059
|
+
if (this._rawModule.mutations) {
|
|
28060
|
+
forEachValue(this._rawModule.mutations, fn);
|
|
28061
|
+
}
|
|
28062
|
+
};
|
|
28063
|
+
|
|
28064
|
+
Object.defineProperties( Module.prototype, prototypeAccessors );
|
|
28065
|
+
|
|
28066
|
+
var ModuleCollection = function ModuleCollection (rawRootModule) {
|
|
28067
|
+
// register root module (Vuex.Store options)
|
|
28068
|
+
this.register([], rawRootModule, false);
|
|
28069
|
+
};
|
|
28070
|
+
|
|
28071
|
+
ModuleCollection.prototype.get = function get (path) {
|
|
28072
|
+
return path.reduce(function (module, key) {
|
|
28073
|
+
return module.getChild(key)
|
|
28074
|
+
}, this.root)
|
|
28075
|
+
};
|
|
28076
|
+
|
|
28077
|
+
ModuleCollection.prototype.getNamespace = function getNamespace (path) {
|
|
28078
|
+
var module = this.root;
|
|
28079
|
+
return path.reduce(function (namespace, key) {
|
|
28080
|
+
module = module.getChild(key);
|
|
28081
|
+
return namespace + (module.namespaced ? key + '/' : '')
|
|
28082
|
+
}, '')
|
|
28083
|
+
};
|
|
28084
|
+
|
|
28085
|
+
ModuleCollection.prototype.update = function update$1 (rawRootModule) {
|
|
28086
|
+
update([], this.root, rawRootModule);
|
|
28087
|
+
};
|
|
28088
|
+
|
|
28089
|
+
ModuleCollection.prototype.register = function register (path, rawModule, runtime) {
|
|
28090
|
+
var this$1 = this;
|
|
28091
|
+
if ( runtime === void 0 ) runtime = true;
|
|
28092
|
+
|
|
28093
|
+
if ((false)) {}
|
|
28094
|
+
|
|
28095
|
+
var newModule = new Module(rawModule, runtime);
|
|
28096
|
+
if (path.length === 0) {
|
|
28097
|
+
this.root = newModule;
|
|
28098
|
+
} else {
|
|
28099
|
+
var parent = this.get(path.slice(0, -1));
|
|
28100
|
+
parent.addChild(path[path.length - 1], newModule);
|
|
28101
|
+
}
|
|
28102
|
+
|
|
28103
|
+
// register nested modules
|
|
28104
|
+
if (rawModule.modules) {
|
|
28105
|
+
forEachValue(rawModule.modules, function (rawChildModule, key) {
|
|
28106
|
+
this$1.register(path.concat(key), rawChildModule, runtime);
|
|
28107
|
+
});
|
|
28108
|
+
}
|
|
28109
|
+
};
|
|
28110
|
+
|
|
28111
|
+
ModuleCollection.prototype.unregister = function unregister (path) {
|
|
28112
|
+
var parent = this.get(path.slice(0, -1));
|
|
28113
|
+
var key = path[path.length - 1];
|
|
28114
|
+
var child = parent.getChild(key);
|
|
28115
|
+
|
|
28116
|
+
if (!child) {
|
|
28117
|
+
if ((false)) {}
|
|
28118
|
+
return
|
|
28119
|
+
}
|
|
28120
|
+
|
|
28121
|
+
if (!child.runtime) {
|
|
28122
|
+
return
|
|
28123
|
+
}
|
|
28124
|
+
|
|
28125
|
+
parent.removeChild(key);
|
|
28126
|
+
};
|
|
28127
|
+
|
|
28128
|
+
ModuleCollection.prototype.isRegistered = function isRegistered (path) {
|
|
28129
|
+
var parent = this.get(path.slice(0, -1));
|
|
28130
|
+
var key = path[path.length - 1];
|
|
28131
|
+
|
|
28132
|
+
if (parent) {
|
|
28133
|
+
return parent.hasChild(key)
|
|
28134
|
+
}
|
|
28135
|
+
|
|
28136
|
+
return false
|
|
28137
|
+
};
|
|
28138
|
+
|
|
28139
|
+
function update (path, targetModule, newModule) {
|
|
28140
|
+
if ((false)) {}
|
|
28141
|
+
|
|
28142
|
+
// update target module
|
|
28143
|
+
targetModule.update(newModule);
|
|
28144
|
+
|
|
28145
|
+
// update nested modules
|
|
28146
|
+
if (newModule.modules) {
|
|
28147
|
+
for (var key in newModule.modules) {
|
|
28148
|
+
if (!targetModule.getChild(key)) {
|
|
28149
|
+
if ((false)) {}
|
|
28150
|
+
return
|
|
28151
|
+
}
|
|
28152
|
+
update(
|
|
28153
|
+
path.concat(key),
|
|
28154
|
+
targetModule.getChild(key),
|
|
28155
|
+
newModule.modules[key]
|
|
28156
|
+
);
|
|
28157
|
+
}
|
|
28158
|
+
}
|
|
28159
|
+
}
|
|
28160
|
+
|
|
28161
|
+
var functionAssert = {
|
|
28162
|
+
assert: function (value) { return typeof value === 'function'; },
|
|
28163
|
+
expected: 'function'
|
|
28164
|
+
};
|
|
28165
|
+
|
|
28166
|
+
var objectAssert = {
|
|
28167
|
+
assert: function (value) { return typeof value === 'function' ||
|
|
28168
|
+
(typeof value === 'object' && typeof value.handler === 'function'); },
|
|
28169
|
+
expected: 'function or object with "handler" function'
|
|
28170
|
+
};
|
|
28171
|
+
|
|
28172
|
+
var assertTypes = {
|
|
28173
|
+
getters: functionAssert,
|
|
28174
|
+
mutations: functionAssert,
|
|
28175
|
+
actions: objectAssert
|
|
28176
|
+
};
|
|
28177
|
+
|
|
28178
|
+
function assertRawModule (path, rawModule) {
|
|
28179
|
+
Object.keys(assertTypes).forEach(function (key) {
|
|
28180
|
+
if (!rawModule[key]) { return }
|
|
28181
|
+
|
|
28182
|
+
var assertOptions = assertTypes[key];
|
|
28183
|
+
|
|
28184
|
+
forEachValue(rawModule[key], function (value, type) {
|
|
28185
|
+
assert(
|
|
28186
|
+
assertOptions.assert(value),
|
|
28187
|
+
makeAssertionMessage(path, key, type, value, assertOptions.expected)
|
|
28188
|
+
);
|
|
28189
|
+
});
|
|
28190
|
+
});
|
|
28191
|
+
}
|
|
28192
|
+
|
|
28193
|
+
function makeAssertionMessage (path, key, type, value, expected) {
|
|
28194
|
+
var buf = key + " should be " + expected + " but \"" + key + "." + type + "\"";
|
|
28195
|
+
if (path.length > 0) {
|
|
28196
|
+
buf += " in module \"" + (path.join('.')) + "\"";
|
|
28197
|
+
}
|
|
28198
|
+
buf += " is " + (JSON.stringify(value)) + ".";
|
|
28199
|
+
return buf
|
|
28200
|
+
}
|
|
28201
|
+
|
|
28202
|
+
var Vue; // bind on install
|
|
28203
|
+
|
|
28204
|
+
var Store = function Store (options) {
|
|
28205
|
+
var this$1 = this;
|
|
28206
|
+
if ( options === void 0 ) options = {};
|
|
28207
|
+
|
|
28208
|
+
// Auto install if it is not done yet and `window` has `Vue`.
|
|
28209
|
+
// To allow users to avoid auto-installation in some cases,
|
|
28210
|
+
// this code should be placed here. See #731
|
|
28211
|
+
if (!Vue && typeof window !== 'undefined' && window.Vue) {
|
|
28212
|
+
install(window.Vue);
|
|
28213
|
+
}
|
|
28214
|
+
|
|
28215
|
+
if ((false)) {}
|
|
28216
|
+
|
|
28217
|
+
var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];
|
|
28218
|
+
var strict = options.strict; if ( strict === void 0 ) strict = false;
|
|
28219
|
+
|
|
28220
|
+
// store internal state
|
|
28221
|
+
this._committing = false;
|
|
28222
|
+
this._actions = Object.create(null);
|
|
28223
|
+
this._actionSubscribers = [];
|
|
28224
|
+
this._mutations = Object.create(null);
|
|
28225
|
+
this._wrappedGetters = Object.create(null);
|
|
28226
|
+
this._modules = new ModuleCollection(options);
|
|
28227
|
+
this._modulesNamespaceMap = Object.create(null);
|
|
28228
|
+
this._subscribers = [];
|
|
28229
|
+
this._watcherVM = new Vue();
|
|
28230
|
+
this._makeLocalGettersCache = Object.create(null);
|
|
28231
|
+
|
|
28232
|
+
// bind commit and dispatch to self
|
|
28233
|
+
var store = this;
|
|
28234
|
+
var ref = this;
|
|
28235
|
+
var dispatch = ref.dispatch;
|
|
28236
|
+
var commit = ref.commit;
|
|
28237
|
+
this.dispatch = function boundDispatch (type, payload) {
|
|
28238
|
+
return dispatch.call(store, type, payload)
|
|
28239
|
+
};
|
|
28240
|
+
this.commit = function boundCommit (type, payload, options) {
|
|
28241
|
+
return commit.call(store, type, payload, options)
|
|
28242
|
+
};
|
|
28243
|
+
|
|
28244
|
+
// strict mode
|
|
28245
|
+
this.strict = strict;
|
|
28246
|
+
|
|
28247
|
+
var state = this._modules.root.state;
|
|
28248
|
+
|
|
28249
|
+
// init root module.
|
|
28250
|
+
// this also recursively registers all sub-modules
|
|
28251
|
+
// and collects all module getters inside this._wrappedGetters
|
|
28252
|
+
installModule(this, state, [], this._modules.root);
|
|
28253
|
+
|
|
28254
|
+
// initialize the store vm, which is responsible for the reactivity
|
|
28255
|
+
// (also registers _wrappedGetters as computed properties)
|
|
28256
|
+
resetStoreVM(this, state);
|
|
28257
|
+
|
|
28258
|
+
// apply plugins
|
|
28259
|
+
plugins.forEach(function (plugin) { return plugin(this$1); });
|
|
28260
|
+
|
|
28261
|
+
var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;
|
|
28262
|
+
if (useDevtools) {
|
|
28263
|
+
devtoolPlugin(this);
|
|
28264
|
+
}
|
|
28265
|
+
};
|
|
28266
|
+
|
|
28267
|
+
var prototypeAccessors$1 = { state: { configurable: true } };
|
|
28268
|
+
|
|
28269
|
+
prototypeAccessors$1.state.get = function () {
|
|
28270
|
+
return this._vm._data.$$state
|
|
28271
|
+
};
|
|
28272
|
+
|
|
28273
|
+
prototypeAccessors$1.state.set = function (v) {
|
|
28274
|
+
if ((false)) {}
|
|
28275
|
+
};
|
|
28276
|
+
|
|
28277
|
+
Store.prototype.commit = function commit (_type, _payload, _options) {
|
|
28278
|
+
var this$1 = this;
|
|
28279
|
+
|
|
28280
|
+
// check object-style commit
|
|
28281
|
+
var ref = unifyObjectStyle(_type, _payload, _options);
|
|
28282
|
+
var type = ref.type;
|
|
28283
|
+
var payload = ref.payload;
|
|
28284
|
+
var options = ref.options;
|
|
28285
|
+
|
|
28286
|
+
var mutation = { type: type, payload: payload };
|
|
28287
|
+
var entry = this._mutations[type];
|
|
28288
|
+
if (!entry) {
|
|
28289
|
+
if ((false)) {}
|
|
28290
|
+
return
|
|
28291
|
+
}
|
|
28292
|
+
this._withCommit(function () {
|
|
28293
|
+
entry.forEach(function commitIterator (handler) {
|
|
28294
|
+
handler(payload);
|
|
28295
|
+
});
|
|
28296
|
+
});
|
|
28297
|
+
|
|
28298
|
+
this._subscribers
|
|
28299
|
+
.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
|
|
28300
|
+
.forEach(function (sub) { return sub(mutation, this$1.state); });
|
|
28301
|
+
|
|
28302
|
+
if (
|
|
28303
|
+
false
|
|
28304
|
+
) {}
|
|
28305
|
+
};
|
|
28306
|
+
|
|
28307
|
+
Store.prototype.dispatch = function dispatch (_type, _payload) {
|
|
28308
|
+
var this$1 = this;
|
|
28309
|
+
|
|
28310
|
+
// check object-style dispatch
|
|
28311
|
+
var ref = unifyObjectStyle(_type, _payload);
|
|
28312
|
+
var type = ref.type;
|
|
28313
|
+
var payload = ref.payload;
|
|
28314
|
+
|
|
28315
|
+
var action = { type: type, payload: payload };
|
|
28316
|
+
var entry = this._actions[type];
|
|
28317
|
+
if (!entry) {
|
|
28318
|
+
if ((false)) {}
|
|
28319
|
+
return
|
|
28320
|
+
}
|
|
28321
|
+
|
|
28322
|
+
try {
|
|
28323
|
+
this._actionSubscribers
|
|
28324
|
+
.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
|
|
28325
|
+
.filter(function (sub) { return sub.before; })
|
|
28326
|
+
.forEach(function (sub) { return sub.before(action, this$1.state); });
|
|
28327
|
+
} catch (e) {
|
|
28328
|
+
if ((false)) {}
|
|
28329
|
+
}
|
|
28330
|
+
|
|
28331
|
+
var result = entry.length > 1
|
|
28332
|
+
? Promise.all(entry.map(function (handler) { return handler(payload); }))
|
|
28333
|
+
: entry[0](payload);
|
|
28334
|
+
|
|
28335
|
+
return new Promise(function (resolve, reject) {
|
|
28336
|
+
result.then(function (res) {
|
|
28337
|
+
try {
|
|
28338
|
+
this$1._actionSubscribers
|
|
28339
|
+
.filter(function (sub) { return sub.after; })
|
|
28340
|
+
.forEach(function (sub) { return sub.after(action, this$1.state); });
|
|
28341
|
+
} catch (e) {
|
|
28342
|
+
if ((false)) {}
|
|
28343
|
+
}
|
|
28344
|
+
resolve(res);
|
|
28345
|
+
}, function (error) {
|
|
28346
|
+
try {
|
|
28347
|
+
this$1._actionSubscribers
|
|
28348
|
+
.filter(function (sub) { return sub.error; })
|
|
28349
|
+
.forEach(function (sub) { return sub.error(action, this$1.state, error); });
|
|
28350
|
+
} catch (e) {
|
|
28351
|
+
if ((false)) {}
|
|
28352
|
+
}
|
|
28353
|
+
reject(error);
|
|
28354
|
+
});
|
|
28355
|
+
})
|
|
28356
|
+
};
|
|
28357
|
+
|
|
28358
|
+
Store.prototype.subscribe = function subscribe (fn, options) {
|
|
28359
|
+
return genericSubscribe(fn, this._subscribers, options)
|
|
28360
|
+
};
|
|
28361
|
+
|
|
28362
|
+
Store.prototype.subscribeAction = function subscribeAction (fn, options) {
|
|
28363
|
+
var subs = typeof fn === 'function' ? { before: fn } : fn;
|
|
28364
|
+
return genericSubscribe(subs, this._actionSubscribers, options)
|
|
28365
|
+
};
|
|
28366
|
+
|
|
28367
|
+
Store.prototype.watch = function watch (getter, cb, options) {
|
|
28368
|
+
var this$1 = this;
|
|
28369
|
+
|
|
28370
|
+
if ((false)) {}
|
|
28371
|
+
return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)
|
|
28372
|
+
};
|
|
28373
|
+
|
|
28374
|
+
Store.prototype.replaceState = function replaceState (state) {
|
|
28375
|
+
var this$1 = this;
|
|
28376
|
+
|
|
28377
|
+
this._withCommit(function () {
|
|
28378
|
+
this$1._vm._data.$$state = state;
|
|
28379
|
+
});
|
|
28380
|
+
};
|
|
28381
|
+
|
|
28382
|
+
Store.prototype.registerModule = function registerModule (path, rawModule, options) {
|
|
28383
|
+
if ( options === void 0 ) options = {};
|
|
28384
|
+
|
|
28385
|
+
if (typeof path === 'string') { path = [path]; }
|
|
28386
|
+
|
|
28387
|
+
if ((false)) {}
|
|
28388
|
+
|
|
28389
|
+
this._modules.register(path, rawModule);
|
|
28390
|
+
installModule(this, this.state, path, this._modules.get(path), options.preserveState);
|
|
28391
|
+
// reset store to update getters...
|
|
28392
|
+
resetStoreVM(this, this.state);
|
|
28393
|
+
};
|
|
28394
|
+
|
|
28395
|
+
Store.prototype.unregisterModule = function unregisterModule (path) {
|
|
28396
|
+
var this$1 = this;
|
|
28397
|
+
|
|
28398
|
+
if (typeof path === 'string') { path = [path]; }
|
|
28399
|
+
|
|
28400
|
+
if ((false)) {}
|
|
28401
|
+
|
|
28402
|
+
this._modules.unregister(path);
|
|
28403
|
+
this._withCommit(function () {
|
|
28404
|
+
var parentState = getNestedState(this$1.state, path.slice(0, -1));
|
|
28405
|
+
Vue.delete(parentState, path[path.length - 1]);
|
|
28406
|
+
});
|
|
28407
|
+
resetStore(this);
|
|
28408
|
+
};
|
|
28409
|
+
|
|
28410
|
+
Store.prototype.hasModule = function hasModule (path) {
|
|
28411
|
+
if (typeof path === 'string') { path = [path]; }
|
|
28412
|
+
|
|
28413
|
+
if ((false)) {}
|
|
28414
|
+
|
|
28415
|
+
return this._modules.isRegistered(path)
|
|
28416
|
+
};
|
|
28417
|
+
|
|
28418
|
+
Store.prototype.hotUpdate = function hotUpdate (newOptions) {
|
|
28419
|
+
this._modules.update(newOptions);
|
|
28420
|
+
resetStore(this, true);
|
|
28421
|
+
};
|
|
28422
|
+
|
|
28423
|
+
Store.prototype._withCommit = function _withCommit (fn) {
|
|
28424
|
+
var committing = this._committing;
|
|
28425
|
+
this._committing = true;
|
|
28426
|
+
fn();
|
|
28427
|
+
this._committing = committing;
|
|
28428
|
+
};
|
|
28429
|
+
|
|
28430
|
+
Object.defineProperties( Store.prototype, prototypeAccessors$1 );
|
|
28431
|
+
|
|
28432
|
+
function genericSubscribe (fn, subs, options) {
|
|
28433
|
+
if (subs.indexOf(fn) < 0) {
|
|
28434
|
+
options && options.prepend
|
|
28435
|
+
? subs.unshift(fn)
|
|
28436
|
+
: subs.push(fn);
|
|
28437
|
+
}
|
|
28438
|
+
return function () {
|
|
28439
|
+
var i = subs.indexOf(fn);
|
|
28440
|
+
if (i > -1) {
|
|
28441
|
+
subs.splice(i, 1);
|
|
28442
|
+
}
|
|
28443
|
+
}
|
|
28444
|
+
}
|
|
28445
|
+
|
|
28446
|
+
function resetStore (store, hot) {
|
|
28447
|
+
store._actions = Object.create(null);
|
|
28448
|
+
store._mutations = Object.create(null);
|
|
28449
|
+
store._wrappedGetters = Object.create(null);
|
|
28450
|
+
store._modulesNamespaceMap = Object.create(null);
|
|
28451
|
+
var state = store.state;
|
|
28452
|
+
// init all modules
|
|
28453
|
+
installModule(store, state, [], store._modules.root, true);
|
|
28454
|
+
// reset vm
|
|
28455
|
+
resetStoreVM(store, state, hot);
|
|
28456
|
+
}
|
|
28457
|
+
|
|
28458
|
+
function resetStoreVM (store, state, hot) {
|
|
28459
|
+
var oldVm = store._vm;
|
|
28460
|
+
|
|
28461
|
+
// bind store public getters
|
|
28462
|
+
store.getters = {};
|
|
28463
|
+
// reset local getters cache
|
|
28464
|
+
store._makeLocalGettersCache = Object.create(null);
|
|
28465
|
+
var wrappedGetters = store._wrappedGetters;
|
|
28466
|
+
var computed = {};
|
|
28467
|
+
forEachValue(wrappedGetters, function (fn, key) {
|
|
28468
|
+
// use computed to leverage its lazy-caching mechanism
|
|
28469
|
+
// direct inline function use will lead to closure preserving oldVm.
|
|
28470
|
+
// using partial to return function with only arguments preserved in closure environment.
|
|
28471
|
+
computed[key] = partial(fn, store);
|
|
28472
|
+
Object.defineProperty(store.getters, key, {
|
|
28473
|
+
get: function () { return store._vm[key]; },
|
|
28474
|
+
enumerable: true // for local getters
|
|
28475
|
+
});
|
|
28476
|
+
});
|
|
28477
|
+
|
|
28478
|
+
// use a Vue instance to store the state tree
|
|
28479
|
+
// suppress warnings just in case the user has added
|
|
28480
|
+
// some funky global mixins
|
|
28481
|
+
var silent = Vue.config.silent;
|
|
28482
|
+
Vue.config.silent = true;
|
|
28483
|
+
store._vm = new Vue({
|
|
28484
|
+
data: {
|
|
28485
|
+
$$state: state
|
|
28486
|
+
},
|
|
28487
|
+
computed: computed
|
|
28488
|
+
});
|
|
28489
|
+
Vue.config.silent = silent;
|
|
28490
|
+
|
|
28491
|
+
// enable strict mode for new vm
|
|
28492
|
+
if (store.strict) {
|
|
28493
|
+
enableStrictMode(store);
|
|
28494
|
+
}
|
|
28495
|
+
|
|
28496
|
+
if (oldVm) {
|
|
28497
|
+
if (hot) {
|
|
28498
|
+
// dispatch changes in all subscribed watchers
|
|
28499
|
+
// to force getter re-evaluation for hot reloading.
|
|
28500
|
+
store._withCommit(function () {
|
|
28501
|
+
oldVm._data.$$state = null;
|
|
28502
|
+
});
|
|
28503
|
+
}
|
|
28504
|
+
Vue.nextTick(function () { return oldVm.$destroy(); });
|
|
28505
|
+
}
|
|
28506
|
+
}
|
|
28507
|
+
|
|
28508
|
+
function installModule (store, rootState, path, module, hot) {
|
|
28509
|
+
var isRoot = !path.length;
|
|
28510
|
+
var namespace = store._modules.getNamespace(path);
|
|
28511
|
+
|
|
28512
|
+
// register in namespace map
|
|
28513
|
+
if (module.namespaced) {
|
|
28514
|
+
if (store._modulesNamespaceMap[namespace] && ("production" !== 'production')) {}
|
|
28515
|
+
store._modulesNamespaceMap[namespace] = module;
|
|
28516
|
+
}
|
|
28517
|
+
|
|
28518
|
+
// set state
|
|
28519
|
+
if (!isRoot && !hot) {
|
|
28520
|
+
var parentState = getNestedState(rootState, path.slice(0, -1));
|
|
28521
|
+
var moduleName = path[path.length - 1];
|
|
28522
|
+
store._withCommit(function () {
|
|
28523
|
+
if ((false)) {}
|
|
28524
|
+
Vue.set(parentState, moduleName, module.state);
|
|
28525
|
+
});
|
|
28526
|
+
}
|
|
28527
|
+
|
|
28528
|
+
var local = module.context = makeLocalContext(store, namespace, path);
|
|
28529
|
+
|
|
28530
|
+
module.forEachMutation(function (mutation, key) {
|
|
28531
|
+
var namespacedType = namespace + key;
|
|
28532
|
+
registerMutation(store, namespacedType, mutation, local);
|
|
28533
|
+
});
|
|
28534
|
+
|
|
28535
|
+
module.forEachAction(function (action, key) {
|
|
28536
|
+
var type = action.root ? key : namespace + key;
|
|
28537
|
+
var handler = action.handler || action;
|
|
28538
|
+
registerAction(store, type, handler, local);
|
|
28539
|
+
});
|
|
28540
|
+
|
|
28541
|
+
module.forEachGetter(function (getter, key) {
|
|
28542
|
+
var namespacedType = namespace + key;
|
|
28543
|
+
registerGetter(store, namespacedType, getter, local);
|
|
28544
|
+
});
|
|
28545
|
+
|
|
28546
|
+
module.forEachChild(function (child, key) {
|
|
28547
|
+
installModule(store, rootState, path.concat(key), child, hot);
|
|
28548
|
+
});
|
|
28549
|
+
}
|
|
28550
|
+
|
|
28551
|
+
/**
|
|
28552
|
+
* make localized dispatch, commit, getters and state
|
|
28553
|
+
* if there is no namespace, just use root ones
|
|
28554
|
+
*/
|
|
28555
|
+
function makeLocalContext (store, namespace, path) {
|
|
28556
|
+
var noNamespace = namespace === '';
|
|
28557
|
+
|
|
28558
|
+
var local = {
|
|
28559
|
+
dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {
|
|
28560
|
+
var args = unifyObjectStyle(_type, _payload, _options);
|
|
28561
|
+
var payload = args.payload;
|
|
28562
|
+
var options = args.options;
|
|
28563
|
+
var type = args.type;
|
|
28564
|
+
|
|
28565
|
+
if (!options || !options.root) {
|
|
28566
|
+
type = namespace + type;
|
|
28567
|
+
if (false) {}
|
|
28568
|
+
}
|
|
28569
|
+
|
|
28570
|
+
return store.dispatch(type, payload)
|
|
28571
|
+
},
|
|
28572
|
+
|
|
28573
|
+
commit: noNamespace ? store.commit : function (_type, _payload, _options) {
|
|
28574
|
+
var args = unifyObjectStyle(_type, _payload, _options);
|
|
28575
|
+
var payload = args.payload;
|
|
28576
|
+
var options = args.options;
|
|
28577
|
+
var type = args.type;
|
|
28578
|
+
|
|
28579
|
+
if (!options || !options.root) {
|
|
28580
|
+
type = namespace + type;
|
|
28581
|
+
if (false) {}
|
|
28582
|
+
}
|
|
28583
|
+
|
|
28584
|
+
store.commit(type, payload, options);
|
|
28585
|
+
}
|
|
28586
|
+
};
|
|
28587
|
+
|
|
28588
|
+
// getters and state object must be gotten lazily
|
|
28589
|
+
// because they will be changed by vm update
|
|
28590
|
+
Object.defineProperties(local, {
|
|
28591
|
+
getters: {
|
|
28592
|
+
get: noNamespace
|
|
28593
|
+
? function () { return store.getters; }
|
|
28594
|
+
: function () { return makeLocalGetters(store, namespace); }
|
|
28595
|
+
},
|
|
28596
|
+
state: {
|
|
28597
|
+
get: function () { return getNestedState(store.state, path); }
|
|
28598
|
+
}
|
|
28599
|
+
});
|
|
28600
|
+
|
|
28601
|
+
return local
|
|
28602
|
+
}
|
|
28603
|
+
|
|
28604
|
+
function makeLocalGetters (store, namespace) {
|
|
28605
|
+
if (!store._makeLocalGettersCache[namespace]) {
|
|
28606
|
+
var gettersProxy = {};
|
|
28607
|
+
var splitPos = namespace.length;
|
|
28608
|
+
Object.keys(store.getters).forEach(function (type) {
|
|
28609
|
+
// skip if the target getter is not match this namespace
|
|
28610
|
+
if (type.slice(0, splitPos) !== namespace) { return }
|
|
28611
|
+
|
|
28612
|
+
// extract local getter type
|
|
28613
|
+
var localType = type.slice(splitPos);
|
|
28614
|
+
|
|
28615
|
+
// Add a port to the getters proxy.
|
|
28616
|
+
// Define as getter property because
|
|
28617
|
+
// we do not want to evaluate the getters in this time.
|
|
28618
|
+
Object.defineProperty(gettersProxy, localType, {
|
|
28619
|
+
get: function () { return store.getters[type]; },
|
|
28620
|
+
enumerable: true
|
|
28621
|
+
});
|
|
28622
|
+
});
|
|
28623
|
+
store._makeLocalGettersCache[namespace] = gettersProxy;
|
|
28624
|
+
}
|
|
28625
|
+
|
|
28626
|
+
return store._makeLocalGettersCache[namespace]
|
|
28627
|
+
}
|
|
28628
|
+
|
|
28629
|
+
function registerMutation (store, type, handler, local) {
|
|
28630
|
+
var entry = store._mutations[type] || (store._mutations[type] = []);
|
|
28631
|
+
entry.push(function wrappedMutationHandler (payload) {
|
|
28632
|
+
handler.call(store, local.state, payload);
|
|
28633
|
+
});
|
|
28634
|
+
}
|
|
28635
|
+
|
|
28636
|
+
function registerAction (store, type, handler, local) {
|
|
28637
|
+
var entry = store._actions[type] || (store._actions[type] = []);
|
|
28638
|
+
entry.push(function wrappedActionHandler (payload) {
|
|
28639
|
+
var res = handler.call(store, {
|
|
28640
|
+
dispatch: local.dispatch,
|
|
28641
|
+
commit: local.commit,
|
|
28642
|
+
getters: local.getters,
|
|
28643
|
+
state: local.state,
|
|
28644
|
+
rootGetters: store.getters,
|
|
28645
|
+
rootState: store.state
|
|
28646
|
+
}, payload);
|
|
28647
|
+
if (!isPromise(res)) {
|
|
28648
|
+
res = Promise.resolve(res);
|
|
28649
|
+
}
|
|
28650
|
+
if (store._devtoolHook) {
|
|
28651
|
+
return res.catch(function (err) {
|
|
28652
|
+
store._devtoolHook.emit('vuex:error', err);
|
|
28653
|
+
throw err
|
|
28654
|
+
})
|
|
28655
|
+
} else {
|
|
28656
|
+
return res
|
|
28657
|
+
}
|
|
28658
|
+
});
|
|
28659
|
+
}
|
|
28660
|
+
|
|
28661
|
+
function registerGetter (store, type, rawGetter, local) {
|
|
28662
|
+
if (store._wrappedGetters[type]) {
|
|
28663
|
+
if ((false)) {}
|
|
28664
|
+
return
|
|
28665
|
+
}
|
|
28666
|
+
store._wrappedGetters[type] = function wrappedGetter (store) {
|
|
28667
|
+
return rawGetter(
|
|
28668
|
+
local.state, // local state
|
|
28669
|
+
local.getters, // local getters
|
|
28670
|
+
store.state, // root state
|
|
28671
|
+
store.getters // root getters
|
|
28672
|
+
)
|
|
28673
|
+
};
|
|
28674
|
+
}
|
|
28675
|
+
|
|
28676
|
+
function enableStrictMode (store) {
|
|
28677
|
+
store._vm.$watch(function () { return this._data.$$state }, function () {
|
|
28678
|
+
if ((false)) {}
|
|
28679
|
+
}, { deep: true, sync: true });
|
|
28680
|
+
}
|
|
28681
|
+
|
|
28682
|
+
function getNestedState (state, path) {
|
|
28683
|
+
return path.reduce(function (state, key) { return state[key]; }, state)
|
|
28684
|
+
}
|
|
28685
|
+
|
|
28686
|
+
function unifyObjectStyle (type, payload, options) {
|
|
28687
|
+
if (isObject(type) && type.type) {
|
|
28688
|
+
options = payload;
|
|
28689
|
+
payload = type;
|
|
28690
|
+
type = type.type;
|
|
28691
|
+
}
|
|
28692
|
+
|
|
28693
|
+
if ((false)) {}
|
|
28694
|
+
|
|
28695
|
+
return { type: type, payload: payload, options: options }
|
|
28696
|
+
}
|
|
28697
|
+
|
|
28698
|
+
function install (_Vue) {
|
|
28699
|
+
if (Vue && _Vue === Vue) {
|
|
28700
|
+
if ((false)) {}
|
|
28701
|
+
return
|
|
28702
|
+
}
|
|
28703
|
+
Vue = _Vue;
|
|
28704
|
+
applyMixin(Vue);
|
|
28705
|
+
}
|
|
28706
|
+
|
|
28707
|
+
/**
|
|
28708
|
+
* Reduce the code which written in Vue.js for getting the state.
|
|
28709
|
+
* @param {String} [namespace] - Module's namespace
|
|
28710
|
+
* @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.
|
|
28711
|
+
* @param {Object}
|
|
28712
|
+
*/
|
|
28713
|
+
var mapState = normalizeNamespace(function (namespace, states) {
|
|
28714
|
+
var res = {};
|
|
28715
|
+
if (false) {}
|
|
28716
|
+
normalizeMap(states).forEach(function (ref) {
|
|
28717
|
+
var key = ref.key;
|
|
28718
|
+
var val = ref.val;
|
|
28719
|
+
|
|
28720
|
+
res[key] = function mappedState () {
|
|
28721
|
+
var state = this.$store.state;
|
|
28722
|
+
var getters = this.$store.getters;
|
|
28723
|
+
if (namespace) {
|
|
28724
|
+
var module = getModuleByNamespace(this.$store, 'mapState', namespace);
|
|
28725
|
+
if (!module) {
|
|
28726
|
+
return
|
|
28727
|
+
}
|
|
28728
|
+
state = module.context.state;
|
|
28729
|
+
getters = module.context.getters;
|
|
28730
|
+
}
|
|
28731
|
+
return typeof val === 'function'
|
|
28732
|
+
? val.call(this, state, getters)
|
|
28733
|
+
: state[val]
|
|
28734
|
+
};
|
|
28735
|
+
// mark vuex getter for devtools
|
|
28736
|
+
res[key].vuex = true;
|
|
28737
|
+
});
|
|
28738
|
+
return res
|
|
28739
|
+
});
|
|
28740
|
+
|
|
28741
|
+
/**
|
|
28742
|
+
* Reduce the code which written in Vue.js for committing the mutation
|
|
28743
|
+
* @param {String} [namespace] - Module's namespace
|
|
28744
|
+
* @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.
|
|
28745
|
+
* @return {Object}
|
|
28746
|
+
*/
|
|
28747
|
+
var mapMutations = normalizeNamespace(function (namespace, mutations) {
|
|
28748
|
+
var res = {};
|
|
28749
|
+
if (false) {}
|
|
28750
|
+
normalizeMap(mutations).forEach(function (ref) {
|
|
28751
|
+
var key = ref.key;
|
|
28752
|
+
var val = ref.val;
|
|
28753
|
+
|
|
28754
|
+
res[key] = function mappedMutation () {
|
|
28755
|
+
var args = [], len = arguments.length;
|
|
28756
|
+
while ( len-- ) args[ len ] = arguments[ len ];
|
|
28757
|
+
|
|
28758
|
+
// Get the commit method from store
|
|
28759
|
+
var commit = this.$store.commit;
|
|
28760
|
+
if (namespace) {
|
|
28761
|
+
var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);
|
|
28762
|
+
if (!module) {
|
|
28763
|
+
return
|
|
28764
|
+
}
|
|
28765
|
+
commit = module.context.commit;
|
|
28766
|
+
}
|
|
28767
|
+
return typeof val === 'function'
|
|
28768
|
+
? val.apply(this, [commit].concat(args))
|
|
28769
|
+
: commit.apply(this.$store, [val].concat(args))
|
|
28770
|
+
};
|
|
28771
|
+
});
|
|
28772
|
+
return res
|
|
28773
|
+
});
|
|
28774
|
+
|
|
28775
|
+
/**
|
|
28776
|
+
* Reduce the code which written in Vue.js for getting the getters
|
|
28777
|
+
* @param {String} [namespace] - Module's namespace
|
|
28778
|
+
* @param {Object|Array} getters
|
|
28779
|
+
* @return {Object}
|
|
28780
|
+
*/
|
|
28781
|
+
var mapGetters = normalizeNamespace(function (namespace, getters) {
|
|
28782
|
+
var res = {};
|
|
28783
|
+
if (false) {}
|
|
28784
|
+
normalizeMap(getters).forEach(function (ref) {
|
|
28785
|
+
var key = ref.key;
|
|
28786
|
+
var val = ref.val;
|
|
28787
|
+
|
|
28788
|
+
// The namespace has been mutated by normalizeNamespace
|
|
28789
|
+
val = namespace + val;
|
|
28790
|
+
res[key] = function mappedGetter () {
|
|
28791
|
+
if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
|
|
28792
|
+
return
|
|
28793
|
+
}
|
|
28794
|
+
if (false) {}
|
|
28795
|
+
return this.$store.getters[val]
|
|
28796
|
+
};
|
|
28797
|
+
// mark vuex getter for devtools
|
|
28798
|
+
res[key].vuex = true;
|
|
28799
|
+
});
|
|
28800
|
+
return res
|
|
28801
|
+
});
|
|
28802
|
+
|
|
28803
|
+
/**
|
|
28804
|
+
* Reduce the code which written in Vue.js for dispatch the action
|
|
28805
|
+
* @param {String} [namespace] - Module's namespace
|
|
28806
|
+
* @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.
|
|
28807
|
+
* @return {Object}
|
|
28808
|
+
*/
|
|
28809
|
+
var mapActions = normalizeNamespace(function (namespace, actions) {
|
|
28810
|
+
var res = {};
|
|
28811
|
+
if (false) {}
|
|
28812
|
+
normalizeMap(actions).forEach(function (ref) {
|
|
28813
|
+
var key = ref.key;
|
|
28814
|
+
var val = ref.val;
|
|
28815
|
+
|
|
28816
|
+
res[key] = function mappedAction () {
|
|
28817
|
+
var args = [], len = arguments.length;
|
|
28818
|
+
while ( len-- ) args[ len ] = arguments[ len ];
|
|
28819
|
+
|
|
28820
|
+
// get dispatch function from store
|
|
28821
|
+
var dispatch = this.$store.dispatch;
|
|
28822
|
+
if (namespace) {
|
|
28823
|
+
var module = getModuleByNamespace(this.$store, 'mapActions', namespace);
|
|
28824
|
+
if (!module) {
|
|
28825
|
+
return
|
|
28826
|
+
}
|
|
28827
|
+
dispatch = module.context.dispatch;
|
|
28828
|
+
}
|
|
28829
|
+
return typeof val === 'function'
|
|
28830
|
+
? val.apply(this, [dispatch].concat(args))
|
|
28831
|
+
: dispatch.apply(this.$store, [val].concat(args))
|
|
28832
|
+
};
|
|
28833
|
+
});
|
|
28834
|
+
return res
|
|
28835
|
+
});
|
|
28836
|
+
|
|
28837
|
+
/**
|
|
28838
|
+
* Rebinding namespace param for mapXXX function in special scoped, and return them by simple object
|
|
28839
|
+
* @param {String} namespace
|
|
28840
|
+
* @return {Object}
|
|
28841
|
+
*/
|
|
28842
|
+
var createNamespacedHelpers = function (namespace) { return ({
|
|
28843
|
+
mapState: mapState.bind(null, namespace),
|
|
28844
|
+
mapGetters: mapGetters.bind(null, namespace),
|
|
28845
|
+
mapMutations: mapMutations.bind(null, namespace),
|
|
28846
|
+
mapActions: mapActions.bind(null, namespace)
|
|
28847
|
+
}); };
|
|
28848
|
+
|
|
28849
|
+
/**
|
|
28850
|
+
* Normalize the map
|
|
28851
|
+
* normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]
|
|
28852
|
+
* normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]
|
|
28853
|
+
* @param {Array|Object} map
|
|
28854
|
+
* @return {Object}
|
|
28855
|
+
*/
|
|
28856
|
+
function normalizeMap (map) {
|
|
28857
|
+
if (!isValidMap(map)) {
|
|
28858
|
+
return []
|
|
28859
|
+
}
|
|
28860
|
+
return Array.isArray(map)
|
|
28861
|
+
? map.map(function (key) { return ({ key: key, val: key }); })
|
|
28862
|
+
: Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })
|
|
28863
|
+
}
|
|
28864
|
+
|
|
28865
|
+
/**
|
|
28866
|
+
* Validate whether given map is valid or not
|
|
28867
|
+
* @param {*} map
|
|
28868
|
+
* @return {Boolean}
|
|
28869
|
+
*/
|
|
28870
|
+
function isValidMap (map) {
|
|
28871
|
+
return Array.isArray(map) || isObject(map)
|
|
28872
|
+
}
|
|
28873
|
+
|
|
28874
|
+
/**
|
|
28875
|
+
* Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.
|
|
28876
|
+
* @param {Function} fn
|
|
28877
|
+
* @return {Function}
|
|
28878
|
+
*/
|
|
28879
|
+
function normalizeNamespace (fn) {
|
|
28880
|
+
return function (namespace, map) {
|
|
28881
|
+
if (typeof namespace !== 'string') {
|
|
28882
|
+
map = namespace;
|
|
28883
|
+
namespace = '';
|
|
28884
|
+
} else if (namespace.charAt(namespace.length - 1) !== '/') {
|
|
28885
|
+
namespace += '/';
|
|
28886
|
+
}
|
|
28887
|
+
return fn(namespace, map)
|
|
28888
|
+
}
|
|
28889
|
+
}
|
|
28890
|
+
|
|
28891
|
+
/**
|
|
28892
|
+
* Search a special module from store by namespace. if module not exist, print error message.
|
|
28893
|
+
* @param {Object} store
|
|
28894
|
+
* @param {String} helper
|
|
28895
|
+
* @param {String} namespace
|
|
28896
|
+
* @return {Object}
|
|
28897
|
+
*/
|
|
28898
|
+
function getModuleByNamespace (store, helper, namespace) {
|
|
28899
|
+
var module = store._modulesNamespaceMap[namespace];
|
|
28900
|
+
if (false) {}
|
|
28901
|
+
return module
|
|
28902
|
+
}
|
|
28903
|
+
|
|
28904
|
+
// Credits: borrowed code from fcomb/redux-logger
|
|
28905
|
+
|
|
28906
|
+
function createLogger (ref) {
|
|
28907
|
+
if ( ref === void 0 ) ref = {};
|
|
28908
|
+
var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;
|
|
28909
|
+
var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };
|
|
28910
|
+
var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };
|
|
28911
|
+
var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };
|
|
28912
|
+
var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };
|
|
28913
|
+
var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };
|
|
28914
|
+
var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;
|
|
28915
|
+
var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;
|
|
28916
|
+
var logger = ref.logger; if ( logger === void 0 ) logger = console;
|
|
28917
|
+
|
|
28918
|
+
return function (store) {
|
|
28919
|
+
var prevState = deepCopy(store.state);
|
|
28920
|
+
|
|
28921
|
+
if (typeof logger === 'undefined') {
|
|
28922
|
+
return
|
|
28923
|
+
}
|
|
28924
|
+
|
|
28925
|
+
if (logMutations) {
|
|
28926
|
+
store.subscribe(function (mutation, state) {
|
|
28927
|
+
var nextState = deepCopy(state);
|
|
28928
|
+
|
|
28929
|
+
if (filter(mutation, prevState, nextState)) {
|
|
28930
|
+
var formattedTime = getFormattedTime();
|
|
28931
|
+
var formattedMutation = mutationTransformer(mutation);
|
|
28932
|
+
var message = "mutation " + (mutation.type) + formattedTime;
|
|
28933
|
+
|
|
28934
|
+
startMessage(logger, message, collapsed);
|
|
28935
|
+
logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));
|
|
28936
|
+
logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);
|
|
28937
|
+
logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));
|
|
28938
|
+
endMessage(logger);
|
|
28939
|
+
}
|
|
28940
|
+
|
|
28941
|
+
prevState = nextState;
|
|
28942
|
+
});
|
|
28943
|
+
}
|
|
28944
|
+
|
|
28945
|
+
if (logActions) {
|
|
28946
|
+
store.subscribeAction(function (action, state) {
|
|
28947
|
+
if (actionFilter(action, state)) {
|
|
28948
|
+
var formattedTime = getFormattedTime();
|
|
28949
|
+
var formattedAction = actionTransformer(action);
|
|
28950
|
+
var message = "action " + (action.type) + formattedTime;
|
|
28951
|
+
|
|
28952
|
+
startMessage(logger, message, collapsed);
|
|
28953
|
+
logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);
|
|
28954
|
+
endMessage(logger);
|
|
28955
|
+
}
|
|
28956
|
+
});
|
|
28957
|
+
}
|
|
28958
|
+
}
|
|
28959
|
+
}
|
|
28960
|
+
|
|
28961
|
+
function startMessage (logger, message, collapsed) {
|
|
28962
|
+
var startMessage = collapsed
|
|
28963
|
+
? logger.groupCollapsed
|
|
28964
|
+
: logger.group;
|
|
28965
|
+
|
|
28966
|
+
// render
|
|
28967
|
+
try {
|
|
28968
|
+
startMessage.call(logger, message);
|
|
28969
|
+
} catch (e) {
|
|
28970
|
+
logger.log(message);
|
|
28971
|
+
}
|
|
28972
|
+
}
|
|
28973
|
+
|
|
28974
|
+
function endMessage (logger) {
|
|
28975
|
+
try {
|
|
28976
|
+
logger.groupEnd();
|
|
28977
|
+
} catch (e) {
|
|
28978
|
+
logger.log('—— log end ——');
|
|
28979
|
+
}
|
|
28980
|
+
}
|
|
28981
|
+
|
|
28982
|
+
function getFormattedTime () {
|
|
28983
|
+
var time = new Date();
|
|
28984
|
+
return (" @ " + (pad(time.getHours(), 2)) + ":" + (pad(time.getMinutes(), 2)) + ":" + (pad(time.getSeconds(), 2)) + "." + (pad(time.getMilliseconds(), 3)))
|
|
28985
|
+
}
|
|
28986
|
+
|
|
28987
|
+
function repeat (str, times) {
|
|
28988
|
+
return (new Array(times + 1)).join(str)
|
|
28989
|
+
}
|
|
28990
|
+
|
|
28991
|
+
function pad (num, maxLength) {
|
|
28992
|
+
return repeat('0', maxLength - num.toString().length) + num
|
|
28993
|
+
}
|
|
28994
|
+
|
|
28995
|
+
var index = {
|
|
28996
|
+
Store: Store,
|
|
28997
|
+
install: install,
|
|
28998
|
+
version: '3.6.2',
|
|
28999
|
+
mapState: mapState,
|
|
29000
|
+
mapMutations: mapMutations,
|
|
29001
|
+
mapGetters: mapGetters,
|
|
29002
|
+
mapActions: mapActions,
|
|
29003
|
+
createNamespacedHelpers: createNamespacedHelpers,
|
|
29004
|
+
createLogger: createLogger
|
|
29005
|
+
};
|
|
29006
|
+
|
|
29007
|
+
/* harmony default export */ var vuex_esm = ((/* unused pure expression or super */ null && (index)));
|
|
29008
|
+
|
|
27776
29009
|
|
|
27777
29010
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=script&lang=js
|
|
27778
29011
|
function workHeadvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return workHeadvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, workHeadvue_type_script_lang_js_typeof(o); }
|
|
27779
29012
|
function workHeadvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ workHeadvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == workHeadvue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(workHeadvue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
27780
29013
|
function workHeadvue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
27781
29014
|
function workHeadvue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { workHeadvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { workHeadvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
29015
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
29016
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29017
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
29018
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == workHeadvue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
29019
|
+
function _toPrimitive(t, r) { if ("object" != workHeadvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != workHeadvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
27782
29020
|
|
|
27783
29021
|
var workClock = __webpack_require__(9118);
|
|
29022
|
+
|
|
27784
29023
|
/* harmony default export */ var workHeadvue_type_script_lang_js = ({
|
|
27785
29024
|
components: {},
|
|
27786
29025
|
props: {},
|
|
@@ -27799,7 +29038,9 @@ var workClock = __webpack_require__(9118);
|
|
|
27799
29038
|
timeInterval: {} // 签到校验信息
|
|
27800
29039
|
};
|
|
27801
29040
|
},
|
|
27802
|
-
computed: {},
|
|
29041
|
+
computed: _objectSpread({}, mapGetters({
|
|
29042
|
+
unreadNum: 'xmpp/getUnreadNum'
|
|
29043
|
+
})),
|
|
27803
29044
|
watch: {
|
|
27804
29045
|
orgCode: function orgCode(val) {
|
|
27805
29046
|
var _this = this;
|
|
@@ -27860,7 +29101,7 @@ var workClock = __webpack_require__(9118);
|
|
|
27860
29101
|
getBgImg: function getBgImg() {
|
|
27861
29102
|
var _this4 = this;
|
|
27862
29103
|
return workHeadvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workHeadvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
27863
|
-
var curTime, searchFields, orderBy, count, res, url;
|
|
29104
|
+
var curTime, searchFields, orderBy, count, res, productCode, url;
|
|
27864
29105
|
return workHeadvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
27865
29106
|
while (1) switch (_context.prev = _context.next) {
|
|
27866
29107
|
case 0:
|
|
@@ -27893,7 +29134,11 @@ var workClock = __webpack_require__(9118);
|
|
|
27893
29134
|
case 6:
|
|
27894
29135
|
res = _context.sent;
|
|
27895
29136
|
if (res.code === 'success' && res.body.listdata.length > 0) {
|
|
27896
|
-
|
|
29137
|
+
productCode = sessionStorage.getItem('productCode');
|
|
29138
|
+
if (!productCode) {
|
|
29139
|
+
productCode = window.productCode;
|
|
29140
|
+
}
|
|
29141
|
+
url = "/apigw" + '/mpp/image/download?nameField=fileName&dataField=image&id=' + res.body.listdata[0].id + '&httpPort=' + location.port + '&productCode=' + productCode;
|
|
27897
29142
|
document.querySelector('.work_pageHeader').style.background = "url(".concat(url, ")");
|
|
27898
29143
|
document.querySelector('.work_pageHeader').style.backgroundSize = 'cover';
|
|
27899
29144
|
document.querySelector('.work_pageHeader').style.backgroundRepeat = 'no-repeat';
|
|
@@ -27963,13 +29208,22 @@ var workClock = __webpack_require__(9118);
|
|
|
27963
29208
|
if (!productList) return;
|
|
27964
29209
|
for (var key in productList) {
|
|
27965
29210
|
if (key === mapp.sysCode && productList[key] === 'ecykq') {
|
|
27966
|
-
|
|
27967
|
-
|
|
27968
|
-
|
|
27969
|
-
|
|
27970
|
-
|
|
27971
|
-
|
|
27972
|
-
|
|
29211
|
+
window.$user.findUserRolePermissions().then(function (res) {
|
|
29212
|
+
if (res.code === 'success') {
|
|
29213
|
+
var openModules = res.body['EXT_MODULE_CODE_LIST']; //EXT_MODULE_CODE_LIST 有则是开启的模块
|
|
29214
|
+
|
|
29215
|
+
_this5.openSignIn = openModules.includes('kqdk');
|
|
29216
|
+
if (_this5.openSignIn) {
|
|
29217
|
+
_this5.ecykqPath = mapp.routeTo;
|
|
29218
|
+
_this5.canClockIn = true;
|
|
29219
|
+
if (workClock.freshData) {
|
|
29220
|
+
workClock.freshData(_this5);
|
|
29221
|
+
} else if (workClock.default) {
|
|
29222
|
+
workClock.default.freshData(_this5);
|
|
29223
|
+
}
|
|
29224
|
+
}
|
|
29225
|
+
}
|
|
29226
|
+
});
|
|
27973
29227
|
}
|
|
27974
29228
|
}
|
|
27975
29229
|
});
|
|
@@ -28043,9 +29297,9 @@ var workClock = __webpack_require__(9118);
|
|
|
28043
29297
|
});
|
|
28044
29298
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=script&lang=js
|
|
28045
29299
|
/* harmony default export */ var components_workHeadvue_type_script_lang_js = (workHeadvue_type_script_lang_js);
|
|
28046
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
28047
|
-
var
|
|
28048
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
29300
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=cbb03fa0&prod&scoped=true&lang=scss
|
|
29301
|
+
var workHeadvue_type_style_index_0_id_cbb03fa0_prod_scoped_true_lang_scss = __webpack_require__(5839);
|
|
29302
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=cbb03fa0&prod&scoped=true&lang=scss
|
|
28049
29303
|
|
|
28050
29304
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue
|
|
28051
29305
|
|
|
@@ -28058,18 +29312,18 @@ var workHeadvue_type_style_index_0_id_255c26ce_prod_scoped_true_lang_scss = __we
|
|
|
28058
29312
|
|
|
28059
29313
|
var workHead_component = normalizeComponent(
|
|
28060
29314
|
components_workHeadvue_type_script_lang_js,
|
|
28061
|
-
|
|
28062
|
-
|
|
29315
|
+
workHeadvue_type_template_id_cbb03fa0_scoped_true_render,
|
|
29316
|
+
workHeadvue_type_template_id_cbb03fa0_scoped_true_staticRenderFns,
|
|
28063
29317
|
false,
|
|
28064
29318
|
null,
|
|
28065
|
-
"
|
|
29319
|
+
"cbb03fa0",
|
|
28066
29320
|
null
|
|
28067
29321
|
|
|
28068
29322
|
)
|
|
28069
29323
|
|
|
28070
29324
|
/* harmony default export */ var workHead = (workHead_component.exports);
|
|
28071
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=template&id=
|
|
28072
|
-
var
|
|
29325
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=template&id=27f553a8&scoped=true
|
|
29326
|
+
var workHeadEightvue_type_template_id_27f553a8_scoped_true_render = function render() {
|
|
28073
29327
|
var _vm = this,
|
|
28074
29328
|
_c = _vm._self._c;
|
|
28075
29329
|
return _c('div', {
|
|
@@ -28136,7 +29390,7 @@ var workHeadEightvue_type_template_id_6757323a_scoped_true_render = function ren
|
|
|
28136
29390
|
staticClass: "pageHeader_timer"
|
|
28137
29391
|
}, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
|
|
28138
29392
|
};
|
|
28139
|
-
var
|
|
29393
|
+
var workHeadEightvue_type_template_id_27f553a8_scoped_true_staticRenderFns = [];
|
|
28140
29394
|
|
|
28141
29395
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=script&lang=js
|
|
28142
29396
|
function workHeadEightvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return workHeadEightvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, workHeadEightvue_type_script_lang_js_typeof(o); }
|
|
@@ -28204,7 +29458,7 @@ var workHeadEightvue_type_script_lang_js_workClock = __webpack_require__(9118);
|
|
|
28204
29458
|
getBgImg: function getBgImg() {
|
|
28205
29459
|
var _this3 = this;
|
|
28206
29460
|
return workHeadEightvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workHeadEightvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
28207
|
-
var curTime, searchFields, orderBy, count, res, url;
|
|
29461
|
+
var curTime, searchFields, orderBy, count, res, productCode, url;
|
|
28208
29462
|
return workHeadEightvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28209
29463
|
while (1) switch (_context.prev = _context.next) {
|
|
28210
29464
|
case 0:
|
|
@@ -28237,7 +29491,11 @@ var workHeadEightvue_type_script_lang_js_workClock = __webpack_require__(9118);
|
|
|
28237
29491
|
case 6:
|
|
28238
29492
|
res = _context.sent;
|
|
28239
29493
|
if (res.code === 'success' && res.body.listdata.length > 0) {
|
|
28240
|
-
|
|
29494
|
+
productCode = sessionStorage.getItem('productCode');
|
|
29495
|
+
if (!productCode) {
|
|
29496
|
+
productCode = window.productCode;
|
|
29497
|
+
}
|
|
29498
|
+
url = "/apigw" + '/mpp/image/download?nameField=fileName&dataField=image&id=' + res.body.listdata[0].id + '&httpPort=' + location.port + '&productCode=' + productCode;
|
|
28241
29499
|
document.querySelector('.work_pageHeader').style.background = "url(".concat(url, ")");
|
|
28242
29500
|
document.querySelector('.work_pageHeader').style.backgroundSize = 'cover';
|
|
28243
29501
|
document.querySelector('.work_pageHeader').style.backgroundRepeat = 'no-repeat';
|
|
@@ -28368,9 +29626,9 @@ var workHeadEightvue_type_script_lang_js_workClock = __webpack_require__(9118);
|
|
|
28368
29626
|
});
|
|
28369
29627
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=script&lang=js
|
|
28370
29628
|
/* harmony default export */ var components_workHeadEightvue_type_script_lang_js = (workHeadEightvue_type_script_lang_js);
|
|
28371
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=style&index=0&id=
|
|
28372
|
-
var
|
|
28373
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=style&index=0&id=
|
|
29629
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=style&index=0&id=27f553a8&prod&scoped=true&lang=scss
|
|
29630
|
+
var workHeadEightvue_type_style_index_0_id_27f553a8_prod_scoped_true_lang_scss = __webpack_require__(8568);
|
|
29631
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=style&index=0&id=27f553a8&prod&scoped=true&lang=scss
|
|
28374
29632
|
|
|
28375
29633
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHeadEight.vue
|
|
28376
29634
|
|
|
@@ -28383,11 +29641,11 @@ var workHeadEightvue_type_style_index_0_id_6757323a_prod_scoped_true_lang_scss =
|
|
|
28383
29641
|
|
|
28384
29642
|
var workHeadEight_component = normalizeComponent(
|
|
28385
29643
|
components_workHeadEightvue_type_script_lang_js,
|
|
28386
|
-
|
|
28387
|
-
|
|
29644
|
+
workHeadEightvue_type_template_id_27f553a8_scoped_true_render,
|
|
29645
|
+
workHeadEightvue_type_template_id_27f553a8_scoped_true_staticRenderFns,
|
|
28388
29646
|
false,
|
|
28389
29647
|
null,
|
|
28390
|
-
"
|
|
29648
|
+
"27f553a8",
|
|
28391
29649
|
null
|
|
28392
29650
|
|
|
28393
29651
|
)
|
|
@@ -28395,11 +29653,11 @@ var workHeadEight_component = normalizeComponent(
|
|
|
28395
29653
|
/* harmony default export */ var workHeadEight = (workHeadEight_component.exports);
|
|
28396
29654
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/index.js
|
|
28397
29655
|
function desktop_typeof(o) { "@babel/helpers - typeof"; return desktop_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, desktop_typeof(o); }
|
|
28398
|
-
function
|
|
28399
|
-
function
|
|
28400
|
-
function
|
|
28401
|
-
function
|
|
28402
|
-
function
|
|
29656
|
+
function desktop_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
29657
|
+
function desktop_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? desktop_ownKeys(Object(t), !0).forEach(function (r) { desktop_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : desktop_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29658
|
+
function desktop_defineProperty(e, r, t) { return (r = desktop_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
29659
|
+
function desktop_toPropertyKey(t) { var i = desktop_toPrimitive(t, "string"); return "symbol" == desktop_typeof(i) ? i : i + ""; }
|
|
29660
|
+
function desktop_toPrimitive(t, r) { if ("object" != desktop_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != desktop_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
28403
29661
|
// 导入单个组件
|
|
28404
29662
|
|
|
28405
29663
|
|
|
@@ -28438,7 +29696,7 @@ var components = {
|
|
|
28438
29696
|
MappWorkHeadEight: workHeadEight
|
|
28439
29697
|
};
|
|
28440
29698
|
// 定义 install 方法
|
|
28441
|
-
var
|
|
29699
|
+
var desktop_install = function install(Vue) {
|
|
28442
29700
|
if (install.installed) return;
|
|
28443
29701
|
install.installed = true;
|
|
28444
29702
|
// 遍历并注册全局组件
|
|
@@ -28447,12 +29705,12 @@ var install = function install(Vue) {
|
|
|
28447
29705
|
});
|
|
28448
29706
|
};
|
|
28449
29707
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
28450
|
-
|
|
29708
|
+
desktop_install(window.Vue);
|
|
28451
29709
|
}
|
|
28452
29710
|
var $messages = __webpack_require__(4175);
|
|
28453
|
-
/* harmony default export */ var desktop = (
|
|
29711
|
+
/* harmony default export */ var desktop = (desktop_objectSpread(desktop_objectSpread({
|
|
28454
29712
|
// 导出的对象必须具备一个 install 方法
|
|
28455
|
-
install:
|
|
29713
|
+
install: desktop_install
|
|
28456
29714
|
}, components), {}, {
|
|
28457
29715
|
$messages: $messages
|
|
28458
29716
|
}));
|