ecinc-cloud-moadesktop 9.5.231 → 9.6.232
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 +1327 -94
- package/lib/ecmoadesktop.umd.js +1327 -94
- package/lib/ecmoadesktop.umd.min.js +8 -2
- package/package.json +1 -1
package/lib/ecmoadesktop.umd.js
CHANGED
|
@@ -586,7 +586,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-17c8e24b] .van-nav-bar .van-ic
|
|
|
586
586
|
|
|
587
587
|
/***/ }),
|
|
588
588
|
|
|
589
|
-
/***/
|
|
589
|
+
/***/ 5446:
|
|
590
590
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
591
591
|
|
|
592
592
|
"use strict";
|
|
@@ -600,7 +600,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
600
600
|
|
|
601
601
|
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()));
|
|
602
602
|
// Module
|
|
603
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".work-banner[data-v-
|
|
603
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".work-banner[data-v-82ce6aa2]{height:94px;width:100%;background:#fff;position:relative}", ""]);
|
|
604
604
|
// Exports
|
|
605
605
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
606
606
|
|
|
@@ -649,7 +649,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-ef203e2e]{display:-web
|
|
|
649
649
|
|
|
650
650
|
/***/ }),
|
|
651
651
|
|
|
652
|
-
/***/
|
|
652
|
+
/***/ 4323:
|
|
653
653
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
654
654
|
|
|
655
655
|
"use strict";
|
|
@@ -668,14 +668,14 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
668
668
|
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()));
|
|
669
669
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
670
670
|
// Module
|
|
671
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
671
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-66c87546] .van-ellipsis{font-size:18px;color:#fff}[data-v-66c87546] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-66c87546] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-66c87546] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important;right:0}[data-v-66c87546] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}[data-v-66c87546] .van-dropdown-menu__item{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}[data-v-66c87546] .chat_icon .van-info{top:5px!important;right:-4px!important}.work_pageHeader[data-v-66c87546]{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-66c87546],.work_pageHeader .flex-horizon-bw[data-v-66c87546]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.work_pageHeader .flex-horizon-bw[data-v-66c87546]{-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-66c87546]{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-66c87546]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-66c87546]{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-66c87546]{-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-66c87546]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-66c87546]{-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-66c87546]{width:14px;height:14px}.check_time span[data-v-66c87546]{margin-left:5px}.check_button[data-v-66c87546]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
|
|
672
672
|
// Exports
|
|
673
673
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
674
674
|
|
|
675
675
|
|
|
676
676
|
/***/ }),
|
|
677
677
|
|
|
678
|
-
/***/
|
|
678
|
+
/***/ 7462:
|
|
679
679
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
680
680
|
|
|
681
681
|
"use strict";
|
|
@@ -694,7 +694,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
694
694
|
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()));
|
|
695
695
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
696
696
|
// Module
|
|
697
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
697
|
+
___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}", ""]);
|
|
698
698
|
// Exports
|
|
699
699
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
700
700
|
|
|
@@ -771,7 +771,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#van-no[data-v-edeb2a4a]{min-height:40
|
|
|
771
771
|
|
|
772
772
|
/***/ }),
|
|
773
773
|
|
|
774
|
-
/***/
|
|
774
|
+
/***/ 3362:
|
|
775
775
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
776
776
|
|
|
777
777
|
"use strict";
|
|
@@ -785,14 +785,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
785
785
|
|
|
786
786
|
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()));
|
|
787
787
|
// Module
|
|
788
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".hot_nav[data-v-
|
|
788
|
+
___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}", ""]);
|
|
789
789
|
// Exports
|
|
790
790
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
791
791
|
|
|
792
792
|
|
|
793
793
|
/***/ }),
|
|
794
794
|
|
|
795
|
-
/***/
|
|
795
|
+
/***/ 3439:
|
|
796
796
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
797
797
|
|
|
798
798
|
"use strict";
|
|
@@ -815,7 +815,7 @@ var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_g
|
|
|
815
815
|
var ___CSS_LOADER_URL_REPLACEMENT_1___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
|
|
816
816
|
var ___CSS_LOADER_URL_REPLACEMENT_2___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);
|
|
817
817
|
// Module
|
|
818
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-
|
|
818
|
+
___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}", ""]);
|
|
819
819
|
// Exports
|
|
820
820
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
821
821
|
|
|
@@ -22648,19 +22648,19 @@ var update = add("660757e2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22648
22648
|
|
|
22649
22649
|
/***/ }),
|
|
22650
22650
|
|
|
22651
|
-
/***/
|
|
22651
|
+
/***/ 5202:
|
|
22652
22652
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22653
22653
|
|
|
22654
22654
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22655
22655
|
|
|
22656
22656
|
// load the styles
|
|
22657
|
-
var content = __webpack_require__(
|
|
22657
|
+
var content = __webpack_require__(5446);
|
|
22658
22658
|
if(content.__esModule) content = content.default;
|
|
22659
22659
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22660
22660
|
if(content.locals) module.exports = content.locals;
|
|
22661
22661
|
// add the styles to the DOM
|
|
22662
22662
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22663
|
-
var update = add("
|
|
22663
|
+
var update = add("737eea24", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22664
22664
|
|
|
22665
22665
|
/***/ }),
|
|
22666
22666
|
|
|
@@ -22696,35 +22696,35 @@ var update = add("300ba1e0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22696
22696
|
|
|
22697
22697
|
/***/ }),
|
|
22698
22698
|
|
|
22699
|
-
/***/
|
|
22699
|
+
/***/ 5399:
|
|
22700
22700
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22701
22701
|
|
|
22702
22702
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22703
22703
|
|
|
22704
22704
|
// load the styles
|
|
22705
|
-
var content = __webpack_require__(
|
|
22705
|
+
var content = __webpack_require__(4323);
|
|
22706
22706
|
if(content.__esModule) content = content.default;
|
|
22707
22707
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22708
22708
|
if(content.locals) module.exports = content.locals;
|
|
22709
22709
|
// add the styles to the DOM
|
|
22710
22710
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22711
|
-
var update = add("
|
|
22711
|
+
var update = add("6b6aca7e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22712
22712
|
|
|
22713
22713
|
/***/ }),
|
|
22714
22714
|
|
|
22715
|
-
/***/
|
|
22715
|
+
/***/ 986:
|
|
22716
22716
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22717
22717
|
|
|
22718
22718
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22719
22719
|
|
|
22720
22720
|
// load the styles
|
|
22721
|
-
var content = __webpack_require__(
|
|
22721
|
+
var content = __webpack_require__(7462);
|
|
22722
22722
|
if(content.__esModule) content = content.default;
|
|
22723
22723
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22724
22724
|
if(content.locals) module.exports = content.locals;
|
|
22725
22725
|
// add the styles to the DOM
|
|
22726
22726
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22727
|
-
var update = add("
|
|
22727
|
+
var update = add("6aec7f9b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22728
22728
|
|
|
22729
22729
|
/***/ }),
|
|
22730
22730
|
|
|
@@ -22776,35 +22776,35 @@ var update = add("57395584", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22776
22776
|
|
|
22777
22777
|
/***/ }),
|
|
22778
22778
|
|
|
22779
|
-
/***/
|
|
22779
|
+
/***/ 366:
|
|
22780
22780
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22781
22781
|
|
|
22782
22782
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22783
22783
|
|
|
22784
22784
|
// load the styles
|
|
22785
|
-
var content = __webpack_require__(
|
|
22785
|
+
var content = __webpack_require__(3362);
|
|
22786
22786
|
if(content.__esModule) content = content.default;
|
|
22787
22787
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22788
22788
|
if(content.locals) module.exports = content.locals;
|
|
22789
22789
|
// add the styles to the DOM
|
|
22790
22790
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22791
|
-
var update = add("
|
|
22791
|
+
var update = add("16e88163", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22792
22792
|
|
|
22793
22793
|
/***/ }),
|
|
22794
22794
|
|
|
22795
|
-
/***/
|
|
22795
|
+
/***/ 2691:
|
|
22796
22796
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22797
22797
|
|
|
22798
22798
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22799
22799
|
|
|
22800
22800
|
// load the styles
|
|
22801
|
-
var content = __webpack_require__(
|
|
22801
|
+
var content = __webpack_require__(3439);
|
|
22802
22802
|
if(content.__esModule) content = content.default;
|
|
22803
22803
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22804
22804
|
if(content.locals) module.exports = content.locals;
|
|
22805
22805
|
// add the styles to the DOM
|
|
22806
22806
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22807
|
-
var update = add("
|
|
22807
|
+
var update = add("cf71d38a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22808
22808
|
|
|
22809
22809
|
/***/ }),
|
|
22810
22810
|
|
|
@@ -23211,6 +23211,18 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXAAAAB4CAMAAADc
|
|
|
23211
23211
|
/******/ };
|
|
23212
23212
|
/******/ }();
|
|
23213
23213
|
/******/
|
|
23214
|
+
/******/ /* webpack/runtime/global */
|
|
23215
|
+
/******/ !function() {
|
|
23216
|
+
/******/ __webpack_require__.g = (function() {
|
|
23217
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
23218
|
+
/******/ try {
|
|
23219
|
+
/******/ return this || new Function('return this')();
|
|
23220
|
+
/******/ } catch (e) {
|
|
23221
|
+
/******/ if (typeof window === 'object') return window;
|
|
23222
|
+
/******/ }
|
|
23223
|
+
/******/ })();
|
|
23224
|
+
/******/ }();
|
|
23225
|
+
/******/
|
|
23214
23226
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
23215
23227
|
/******/ !function() {
|
|
23216
23228
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -24041,8 +24053,8 @@ var workTodo_component = normalizeComponent(
|
|
|
24041
24053
|
)
|
|
24042
24054
|
|
|
24043
24055
|
/* harmony default export */ var workTodo = (workTodo_component.exports);
|
|
24044
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
24045
|
-
var
|
|
24056
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
24057
|
+
var workSettingvue_type_template_id_653165e4_scoped_true_render = function render() {
|
|
24046
24058
|
var _vm = this,
|
|
24047
24059
|
_c = _vm._self._c;
|
|
24048
24060
|
return _c('div', {
|
|
@@ -24106,7 +24118,7 @@ var workSettingvue_type_template_id_e000bd1a_scoped_true_render = function rende
|
|
|
24106
24118
|
}
|
|
24107
24119
|
})]), _c('span', [_vm._v(_vm._s(_vm.list[2].appName))])])])])])]);
|
|
24108
24120
|
};
|
|
24109
|
-
var
|
|
24121
|
+
var workSettingvue_type_template_id_653165e4_scoped_true_staticRenderFns = [];
|
|
24110
24122
|
|
|
24111
24123
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
24112
24124
|
/* harmony default export */ var workSettingvue_type_script_lang_js = ({
|
|
@@ -24140,9 +24152,13 @@ var workSettingvue_type_template_id_e000bd1a_scoped_true_staticRenderFns = [];
|
|
|
24140
24152
|
var h5apps = this.routes.filter(function (route) {
|
|
24141
24153
|
if (route.meta && route.meta.h5Url) return true;
|
|
24142
24154
|
});
|
|
24155
|
+
var productCode = sessionStorage.getItem('productCode');
|
|
24156
|
+
if (!productCode) {
|
|
24157
|
+
productCode = window.productCode;
|
|
24158
|
+
}
|
|
24143
24159
|
h5apps.forEach(function (route) {
|
|
24144
24160
|
var mapp = route.meta;
|
|
24145
|
-
mapp.icon = "/apigw" + '/mpp/h5app/download?id=' + mapp.id + '&dataField=APP_LOGO&nameField=FILE_NAME';
|
|
24161
|
+
mapp.icon = "/apigw" + '/mpp/h5app/download?id=' + mapp.id + '&dataField=APP_LOGO&nameField=FILE_NAME&productCode=' + productCode;
|
|
24146
24162
|
if (mapp.appType === 5) {
|
|
24147
24163
|
_this.list.push(mapp);
|
|
24148
24164
|
}
|
|
@@ -24152,9 +24168,9 @@ var workSettingvue_type_template_id_e000bd1a_scoped_true_staticRenderFns = [];
|
|
|
24152
24168
|
});
|
|
24153
24169
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=script&lang=js
|
|
24154
24170
|
/* harmony default export */ var components_workSettingvue_type_script_lang_js = (workSettingvue_type_script_lang_js);
|
|
24155
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=
|
|
24156
|
-
var
|
|
24157
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=style&index=0&id=
|
|
24171
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
|
|
24172
|
+
var workSettingvue_type_style_index_0_id_653165e4_prod_scoped_true_lang_scss = __webpack_require__(2691);
|
|
24173
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workSetting.vue?vue&type=style&index=0&id=653165e4&prod&scoped=true&lang=scss
|
|
24158
24174
|
|
|
24159
24175
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workSetting.vue
|
|
24160
24176
|
|
|
@@ -24167,18 +24183,18 @@ var workSettingvue_type_style_index_0_id_e000bd1a_prod_scoped_true_lang_scss = _
|
|
|
24167
24183
|
|
|
24168
24184
|
var workSetting_component = normalizeComponent(
|
|
24169
24185
|
components_workSettingvue_type_script_lang_js,
|
|
24170
|
-
|
|
24171
|
-
|
|
24186
|
+
workSettingvue_type_template_id_653165e4_scoped_true_render,
|
|
24187
|
+
workSettingvue_type_template_id_653165e4_scoped_true_staticRenderFns,
|
|
24172
24188
|
false,
|
|
24173
24189
|
null,
|
|
24174
|
-
"
|
|
24190
|
+
"653165e4",
|
|
24175
24191
|
null
|
|
24176
24192
|
|
|
24177
24193
|
)
|
|
24178
24194
|
|
|
24179
24195
|
/* harmony default export */ var workSetting = (workSetting_component.exports);
|
|
24180
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
24181
|
-
var
|
|
24196
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
24197
|
+
var workQuickvue_type_template_id_6d6a4547_scoped_true_render = function render() {
|
|
24182
24198
|
var _vm = this,
|
|
24183
24199
|
_c = _vm._self._c;
|
|
24184
24200
|
return _c('div', {
|
|
@@ -24191,14 +24207,14 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_render = function render(
|
|
|
24191
24207
|
}, [_c('div', {
|
|
24192
24208
|
staticClass: "hot_nav_inner",
|
|
24193
24209
|
style: {
|
|
24194
|
-
|
|
24210
|
+
width: _vm.scrollContentW + 'px'
|
|
24195
24211
|
}
|
|
24196
24212
|
}, _vm._l(_vm.quickBarData, function (app) {
|
|
24197
24213
|
return _c('div', {
|
|
24198
24214
|
key: app.id,
|
|
24199
24215
|
staticClass: "hot_item",
|
|
24200
24216
|
style: {
|
|
24201
|
-
|
|
24217
|
+
width: _vm.itemWidth + 'px'
|
|
24202
24218
|
},
|
|
24203
24219
|
on: {
|
|
24204
24220
|
"click": function click($event) {
|
|
@@ -24208,7 +24224,7 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_render = function render(
|
|
|
24208
24224
|
}, [_c('div', {
|
|
24209
24225
|
staticClass: "hot_item_box",
|
|
24210
24226
|
style: {
|
|
24211
|
-
|
|
24227
|
+
background: app.bgColor
|
|
24212
24228
|
}
|
|
24213
24229
|
}, [_c('img', {
|
|
24214
24230
|
staticStyle: {
|
|
@@ -24231,7 +24247,7 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_render = function render(
|
|
|
24231
24247
|
style: _vm.innerBarStyle
|
|
24232
24248
|
})]) : _vm._e()])]);
|
|
24233
24249
|
};
|
|
24234
|
-
var
|
|
24250
|
+
var workQuickvue_type_template_id_6d6a4547_scoped_true_staticRenderFns = [];
|
|
24235
24251
|
|
|
24236
24252
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
24237
24253
|
/* harmony default export */ var workQuickvue_type_script_lang_js = ({
|
|
@@ -24285,8 +24301,12 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_staticRenderFns = [];
|
|
|
24285
24301
|
var mapp = route.meta;
|
|
24286
24302
|
if (!productList) return;
|
|
24287
24303
|
mapp.icon = "/apigw" + '/mpp/h5app/download?id=' + mapp.id + '&dataField=APP_LOGO&nameField=FILE_NAME';
|
|
24288
|
-
|
|
24289
|
-
|
|
24304
|
+
var productCode = sessionStorage.getItem('productCode');
|
|
24305
|
+
if (!productCode) {
|
|
24306
|
+
productCode = window.productCode;
|
|
24307
|
+
}
|
|
24308
|
+
if (productCode !== '') {
|
|
24309
|
+
mapp.icon += '&productCode=' + productCode;
|
|
24290
24310
|
mapp.bgColor = 'rgba(' + mapp.appLogoBgColor + ',0.15)';
|
|
24291
24311
|
}
|
|
24292
24312
|
_this2.quickBarData.push(mapp);
|
|
@@ -24314,9 +24334,9 @@ var workQuickvue_type_template_id_5ac820ea_scoped_true_staticRenderFns = [];
|
|
|
24314
24334
|
});
|
|
24315
24335
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=script&lang=js
|
|
24316
24336
|
/* harmony default export */ var components_workQuickvue_type_script_lang_js = (workQuickvue_type_script_lang_js);
|
|
24317
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=
|
|
24318
|
-
var
|
|
24319
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=style&index=0&id=
|
|
24337
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
|
|
24338
|
+
var workQuickvue_type_style_index_0_id_6d6a4547_prod_scoped_true_lang_scss = __webpack_require__(366);
|
|
24339
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workQuick.vue?vue&type=style&index=0&id=6d6a4547&prod&scoped=true&lang=scss
|
|
24320
24340
|
|
|
24321
24341
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workQuick.vue
|
|
24322
24342
|
|
|
@@ -24329,11 +24349,11 @@ var workQuickvue_type_style_index_0_id_5ac820ea_prod_scoped_true_lang_scss = __w
|
|
|
24329
24349
|
|
|
24330
24350
|
var workQuick_component = normalizeComponent(
|
|
24331
24351
|
components_workQuickvue_type_script_lang_js,
|
|
24332
|
-
|
|
24333
|
-
|
|
24352
|
+
workQuickvue_type_template_id_6d6a4547_scoped_true_render,
|
|
24353
|
+
workQuickvue_type_template_id_6d6a4547_scoped_true_staticRenderFns,
|
|
24334
24354
|
false,
|
|
24335
24355
|
null,
|
|
24336
|
-
"
|
|
24356
|
+
"6d6a4547",
|
|
24337
24357
|
null
|
|
24338
24358
|
|
|
24339
24359
|
)
|
|
@@ -26484,8 +26504,8 @@ var workCalendar_component = normalizeComponent(
|
|
|
26484
26504
|
)
|
|
26485
26505
|
|
|
26486
26506
|
/* harmony default export */ var workCalendar = (workCalendar_component.exports);
|
|
26487
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
26488
|
-
var
|
|
26507
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
26508
|
+
var workBannervue_type_template_id_82ce6aa2_scoped_true_render = function render() {
|
|
26489
26509
|
var _vm = this,
|
|
26490
26510
|
_c = _vm._self._c;
|
|
26491
26511
|
return _c('div', {
|
|
@@ -26511,7 +26531,7 @@ var workBannervue_type_template_id_5f2bd3c6_scoped_true_render = function render
|
|
|
26511
26531
|
})]);
|
|
26512
26532
|
}), 1)], 1);
|
|
26513
26533
|
};
|
|
26514
|
-
var
|
|
26534
|
+
var workBannervue_type_template_id_82ce6aa2_scoped_true_staticRenderFns = [];
|
|
26515
26535
|
|
|
26516
26536
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
26517
26537
|
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); }
|
|
@@ -26538,7 +26558,7 @@ function workBannervue_type_script_lang_js_asyncToGenerator(n) { return function
|
|
|
26538
26558
|
getBgImg: function getBgImg() {
|
|
26539
26559
|
var _this = this;
|
|
26540
26560
|
return workBannervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workBannervue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
26541
|
-
var curTime, searchFields, orderBy, count, res;
|
|
26561
|
+
var curTime, searchFields, orderBy, count, res, productCode;
|
|
26542
26562
|
return workBannervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26543
26563
|
while (1) switch (_context.prev = _context.next) {
|
|
26544
26564
|
case 0:
|
|
@@ -26572,8 +26592,12 @@ function workBannervue_type_script_lang_js_asyncToGenerator(n) { return function
|
|
|
26572
26592
|
res = _context.sent;
|
|
26573
26593
|
if (res.code === 'success' && res.body.listdata.length > 0) {
|
|
26574
26594
|
_this.swipeImages = [];
|
|
26595
|
+
productCode = sessionStorage.getItem('productCode');
|
|
26596
|
+
if (!productCode) {
|
|
26597
|
+
productCode = window.productCode;
|
|
26598
|
+
}
|
|
26575
26599
|
res.body.listdata.forEach(function (item) {
|
|
26576
|
-
var url = "/apigw" + '/mpp/image/download?nameField=fileName&dataField=image&id=' + item.id + '&httpPort=' + location.port;
|
|
26600
|
+
var url = "/apigw" + '/mpp/image/download?nameField=fileName&dataField=image&id=' + item.id + '&httpPort=' + location.port + '&productCode=' + productCode;
|
|
26577
26601
|
_this.swipeImages.push(url);
|
|
26578
26602
|
});
|
|
26579
26603
|
}
|
|
@@ -26588,9 +26612,9 @@ function workBannervue_type_script_lang_js_asyncToGenerator(n) { return function
|
|
|
26588
26612
|
});
|
|
26589
26613
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=script&lang=js
|
|
26590
26614
|
/* harmony default export */ var components_workBannervue_type_script_lang_js = (workBannervue_type_script_lang_js);
|
|
26591
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=
|
|
26592
|
-
var
|
|
26593
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=style&index=0&id=
|
|
26615
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
|
|
26616
|
+
var workBannervue_type_style_index_0_id_82ce6aa2_prod_scoped_true_lang_scss = __webpack_require__(5202);
|
|
26617
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workBanner.vue?vue&type=style&index=0&id=82ce6aa2&prod&scoped=true&lang=scss
|
|
26594
26618
|
|
|
26595
26619
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workBanner.vue
|
|
26596
26620
|
|
|
@@ -26603,11 +26627,11 @@ var workBannervue_type_style_index_0_id_5f2bd3c6_prod_scoped_true_lang_scss = __
|
|
|
26603
26627
|
|
|
26604
26628
|
var workBanner_component = normalizeComponent(
|
|
26605
26629
|
components_workBannervue_type_script_lang_js,
|
|
26606
|
-
|
|
26607
|
-
|
|
26630
|
+
workBannervue_type_template_id_82ce6aa2_scoped_true_render,
|
|
26631
|
+
workBannervue_type_template_id_82ce6aa2_scoped_true_staticRenderFns,
|
|
26608
26632
|
false,
|
|
26609
26633
|
null,
|
|
26610
|
-
"
|
|
26634
|
+
"82ce6aa2",
|
|
26611
26635
|
null
|
|
26612
26636
|
|
|
26613
26637
|
)
|
|
@@ -27702,8 +27726,8 @@ var commonApps_component = normalizeComponent(
|
|
|
27702
27726
|
)
|
|
27703
27727
|
|
|
27704
27728
|
/* harmony default export */ var commonApps = (commonApps_component.exports);
|
|
27705
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
27706
|
-
var
|
|
27729
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=66c87546&scoped=true
|
|
27730
|
+
var workHeadvue_type_template_id_66c87546_scoped_true_render = function render() {
|
|
27707
27731
|
var _vm = this,
|
|
27708
27732
|
_c = _vm._self._c;
|
|
27709
27733
|
return _c('div', {
|
|
@@ -27751,7 +27775,40 @@ var workHeadvue_type_template_id_e21d2b0a_scoped_true_render = function render()
|
|
|
27751
27775
|
return _vm.$router.push('/fullTextSearch');
|
|
27752
27776
|
}
|
|
27753
27777
|
}
|
|
27754
|
-
}), _c('van-icon', {
|
|
27778
|
+
}), Number(_vm.unreadNum) > 0 ? [_c('van-icon', {
|
|
27779
|
+
staticClass: "chat_icon",
|
|
27780
|
+
staticStyle: {
|
|
27781
|
+
"margin-left": "20px"
|
|
27782
|
+
},
|
|
27783
|
+
attrs: {
|
|
27784
|
+
"name": "chat-o",
|
|
27785
|
+
"size": "18",
|
|
27786
|
+
"badge": Number(_vm.unreadNum) > 99 ? '99+' : _vm.unreadNum
|
|
27787
|
+
},
|
|
27788
|
+
on: {
|
|
27789
|
+
"click": function click($event) {
|
|
27790
|
+
return _vm.$router.push({
|
|
27791
|
+
path: '/chatList'
|
|
27792
|
+
});
|
|
27793
|
+
}
|
|
27794
|
+
}
|
|
27795
|
+
})] : [_c('van-icon', {
|
|
27796
|
+
staticClass: "chat_icon",
|
|
27797
|
+
staticStyle: {
|
|
27798
|
+
"margin-left": "20px"
|
|
27799
|
+
},
|
|
27800
|
+
attrs: {
|
|
27801
|
+
"name": "chat-o",
|
|
27802
|
+
"size": "18"
|
|
27803
|
+
},
|
|
27804
|
+
on: {
|
|
27805
|
+
"click": function click($event) {
|
|
27806
|
+
return _vm.$router.push({
|
|
27807
|
+
path: '/chatList'
|
|
27808
|
+
});
|
|
27809
|
+
}
|
|
27810
|
+
}
|
|
27811
|
+
})], _c('van-icon', {
|
|
27755
27812
|
staticStyle: {
|
|
27756
27813
|
"margin-left": "20px"
|
|
27757
27814
|
},
|
|
@@ -27762,7 +27819,7 @@ var workHeadvue_type_template_id_e21d2b0a_scoped_true_render = function render()
|
|
|
27762
27819
|
on: {
|
|
27763
27820
|
"click": _vm.scan
|
|
27764
27821
|
}
|
|
27765
|
-
})],
|
|
27822
|
+
})], 2)]), _c('div', {
|
|
27766
27823
|
staticClass: "flex-horizon-bw",
|
|
27767
27824
|
style: {
|
|
27768
27825
|
'margin-top': '20px'
|
|
@@ -27782,15 +27839,1181 @@ var workHeadvue_type_template_id_e21d2b0a_scoped_true_render = function render()
|
|
|
27782
27839
|
staticClass: "pageHeader_timer"
|
|
27783
27840
|
}, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
|
|
27784
27841
|
};
|
|
27785
|
-
var
|
|
27842
|
+
var workHeadvue_type_template_id_66c87546_scoped_true_staticRenderFns = [];
|
|
27843
|
+
|
|
27844
|
+
;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
|
27845
|
+
/*!
|
|
27846
|
+
* vuex v3.6.2
|
|
27847
|
+
* (c) 2021 Evan You
|
|
27848
|
+
* @license MIT
|
|
27849
|
+
*/
|
|
27850
|
+
function applyMixin (Vue) {
|
|
27851
|
+
var version = Number(Vue.version.split('.')[0]);
|
|
27852
|
+
|
|
27853
|
+
if (version >= 2) {
|
|
27854
|
+
Vue.mixin({ beforeCreate: vuexInit });
|
|
27855
|
+
} else {
|
|
27856
|
+
// override init and inject vuex init procedure
|
|
27857
|
+
// for 1.x backwards compatibility.
|
|
27858
|
+
var _init = Vue.prototype._init;
|
|
27859
|
+
Vue.prototype._init = function (options) {
|
|
27860
|
+
if ( options === void 0 ) options = {};
|
|
27861
|
+
|
|
27862
|
+
options.init = options.init
|
|
27863
|
+
? [vuexInit].concat(options.init)
|
|
27864
|
+
: vuexInit;
|
|
27865
|
+
_init.call(this, options);
|
|
27866
|
+
};
|
|
27867
|
+
}
|
|
27868
|
+
|
|
27869
|
+
/**
|
|
27870
|
+
* Vuex init hook, injected into each instances init hooks list.
|
|
27871
|
+
*/
|
|
27872
|
+
|
|
27873
|
+
function vuexInit () {
|
|
27874
|
+
var options = this.$options;
|
|
27875
|
+
// store injection
|
|
27876
|
+
if (options.store) {
|
|
27877
|
+
this.$store = typeof options.store === 'function'
|
|
27878
|
+
? options.store()
|
|
27879
|
+
: options.store;
|
|
27880
|
+
} else if (options.parent && options.parent.$store) {
|
|
27881
|
+
this.$store = options.parent.$store;
|
|
27882
|
+
}
|
|
27883
|
+
}
|
|
27884
|
+
}
|
|
27885
|
+
|
|
27886
|
+
var target = typeof window !== 'undefined'
|
|
27887
|
+
? window
|
|
27888
|
+
: typeof __webpack_require__.g !== 'undefined'
|
|
27889
|
+
? __webpack_require__.g
|
|
27890
|
+
: {};
|
|
27891
|
+
var devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
27892
|
+
|
|
27893
|
+
function devtoolPlugin (store) {
|
|
27894
|
+
if (!devtoolHook) { return }
|
|
27895
|
+
|
|
27896
|
+
store._devtoolHook = devtoolHook;
|
|
27897
|
+
|
|
27898
|
+
devtoolHook.emit('vuex:init', store);
|
|
27899
|
+
|
|
27900
|
+
devtoolHook.on('vuex:travel-to-state', function (targetState) {
|
|
27901
|
+
store.replaceState(targetState);
|
|
27902
|
+
});
|
|
27903
|
+
|
|
27904
|
+
store.subscribe(function (mutation, state) {
|
|
27905
|
+
devtoolHook.emit('vuex:mutation', mutation, state);
|
|
27906
|
+
}, { prepend: true });
|
|
27907
|
+
|
|
27908
|
+
store.subscribeAction(function (action, state) {
|
|
27909
|
+
devtoolHook.emit('vuex:action', action, state);
|
|
27910
|
+
}, { prepend: true });
|
|
27911
|
+
}
|
|
27912
|
+
|
|
27913
|
+
/**
|
|
27914
|
+
* Get the first item that pass the test
|
|
27915
|
+
* by second argument function
|
|
27916
|
+
*
|
|
27917
|
+
* @param {Array} list
|
|
27918
|
+
* @param {Function} f
|
|
27919
|
+
* @return {*}
|
|
27920
|
+
*/
|
|
27921
|
+
function find (list, f) {
|
|
27922
|
+
return list.filter(f)[0]
|
|
27923
|
+
}
|
|
27924
|
+
|
|
27925
|
+
/**
|
|
27926
|
+
* Deep copy the given object considering circular structure.
|
|
27927
|
+
* This function caches all nested objects and its copies.
|
|
27928
|
+
* If it detects circular structure, use cached copy to avoid infinite loop.
|
|
27929
|
+
*
|
|
27930
|
+
* @param {*} obj
|
|
27931
|
+
* @param {Array<Object>} cache
|
|
27932
|
+
* @return {*}
|
|
27933
|
+
*/
|
|
27934
|
+
function deepCopy (obj, cache) {
|
|
27935
|
+
if ( cache === void 0 ) cache = [];
|
|
27936
|
+
|
|
27937
|
+
// just return if obj is immutable value
|
|
27938
|
+
if (obj === null || typeof obj !== 'object') {
|
|
27939
|
+
return obj
|
|
27940
|
+
}
|
|
27941
|
+
|
|
27942
|
+
// if obj is hit, it is in circular structure
|
|
27943
|
+
var hit = find(cache, function (c) { return c.original === obj; });
|
|
27944
|
+
if (hit) {
|
|
27945
|
+
return hit.copy
|
|
27946
|
+
}
|
|
27947
|
+
|
|
27948
|
+
var copy = Array.isArray(obj) ? [] : {};
|
|
27949
|
+
// put the copy into cache at first
|
|
27950
|
+
// because we want to refer it in recursive deepCopy
|
|
27951
|
+
cache.push({
|
|
27952
|
+
original: obj,
|
|
27953
|
+
copy: copy
|
|
27954
|
+
});
|
|
27955
|
+
|
|
27956
|
+
Object.keys(obj).forEach(function (key) {
|
|
27957
|
+
copy[key] = deepCopy(obj[key], cache);
|
|
27958
|
+
});
|
|
27959
|
+
|
|
27960
|
+
return copy
|
|
27961
|
+
}
|
|
27962
|
+
|
|
27963
|
+
/**
|
|
27964
|
+
* forEach for object
|
|
27965
|
+
*/
|
|
27966
|
+
function forEachValue (obj, fn) {
|
|
27967
|
+
Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });
|
|
27968
|
+
}
|
|
27969
|
+
|
|
27970
|
+
function isObject (obj) {
|
|
27971
|
+
return obj !== null && typeof obj === 'object'
|
|
27972
|
+
}
|
|
27973
|
+
|
|
27974
|
+
function isPromise (val) {
|
|
27975
|
+
return val && typeof val.then === 'function'
|
|
27976
|
+
}
|
|
27977
|
+
|
|
27978
|
+
function assert (condition, msg) {
|
|
27979
|
+
if (!condition) { throw new Error(("[vuex] " + msg)) }
|
|
27980
|
+
}
|
|
27981
|
+
|
|
27982
|
+
function partial (fn, arg) {
|
|
27983
|
+
return function () {
|
|
27984
|
+
return fn(arg)
|
|
27985
|
+
}
|
|
27986
|
+
}
|
|
27987
|
+
|
|
27988
|
+
// Base data struct for store's module, package with some attribute and method
|
|
27989
|
+
var Module = function Module (rawModule, runtime) {
|
|
27990
|
+
this.runtime = runtime;
|
|
27991
|
+
// Store some children item
|
|
27992
|
+
this._children = Object.create(null);
|
|
27993
|
+
// Store the origin module object which passed by programmer
|
|
27994
|
+
this._rawModule = rawModule;
|
|
27995
|
+
var rawState = rawModule.state;
|
|
27996
|
+
|
|
27997
|
+
// Store the origin module's state
|
|
27998
|
+
this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};
|
|
27999
|
+
};
|
|
28000
|
+
|
|
28001
|
+
var prototypeAccessors = { namespaced: { configurable: true } };
|
|
28002
|
+
|
|
28003
|
+
prototypeAccessors.namespaced.get = function () {
|
|
28004
|
+
return !!this._rawModule.namespaced
|
|
28005
|
+
};
|
|
28006
|
+
|
|
28007
|
+
Module.prototype.addChild = function addChild (key, module) {
|
|
28008
|
+
this._children[key] = module;
|
|
28009
|
+
};
|
|
28010
|
+
|
|
28011
|
+
Module.prototype.removeChild = function removeChild (key) {
|
|
28012
|
+
delete this._children[key];
|
|
28013
|
+
};
|
|
28014
|
+
|
|
28015
|
+
Module.prototype.getChild = function getChild (key) {
|
|
28016
|
+
return this._children[key]
|
|
28017
|
+
};
|
|
28018
|
+
|
|
28019
|
+
Module.prototype.hasChild = function hasChild (key) {
|
|
28020
|
+
return key in this._children
|
|
28021
|
+
};
|
|
28022
|
+
|
|
28023
|
+
Module.prototype.update = function update (rawModule) {
|
|
28024
|
+
this._rawModule.namespaced = rawModule.namespaced;
|
|
28025
|
+
if (rawModule.actions) {
|
|
28026
|
+
this._rawModule.actions = rawModule.actions;
|
|
28027
|
+
}
|
|
28028
|
+
if (rawModule.mutations) {
|
|
28029
|
+
this._rawModule.mutations = rawModule.mutations;
|
|
28030
|
+
}
|
|
28031
|
+
if (rawModule.getters) {
|
|
28032
|
+
this._rawModule.getters = rawModule.getters;
|
|
28033
|
+
}
|
|
28034
|
+
};
|
|
28035
|
+
|
|
28036
|
+
Module.prototype.forEachChild = function forEachChild (fn) {
|
|
28037
|
+
forEachValue(this._children, fn);
|
|
28038
|
+
};
|
|
28039
|
+
|
|
28040
|
+
Module.prototype.forEachGetter = function forEachGetter (fn) {
|
|
28041
|
+
if (this._rawModule.getters) {
|
|
28042
|
+
forEachValue(this._rawModule.getters, fn);
|
|
28043
|
+
}
|
|
28044
|
+
};
|
|
28045
|
+
|
|
28046
|
+
Module.prototype.forEachAction = function forEachAction (fn) {
|
|
28047
|
+
if (this._rawModule.actions) {
|
|
28048
|
+
forEachValue(this._rawModule.actions, fn);
|
|
28049
|
+
}
|
|
28050
|
+
};
|
|
28051
|
+
|
|
28052
|
+
Module.prototype.forEachMutation = function forEachMutation (fn) {
|
|
28053
|
+
if (this._rawModule.mutations) {
|
|
28054
|
+
forEachValue(this._rawModule.mutations, fn);
|
|
28055
|
+
}
|
|
28056
|
+
};
|
|
28057
|
+
|
|
28058
|
+
Object.defineProperties( Module.prototype, prototypeAccessors );
|
|
28059
|
+
|
|
28060
|
+
var ModuleCollection = function ModuleCollection (rawRootModule) {
|
|
28061
|
+
// register root module (Vuex.Store options)
|
|
28062
|
+
this.register([], rawRootModule, false);
|
|
28063
|
+
};
|
|
28064
|
+
|
|
28065
|
+
ModuleCollection.prototype.get = function get (path) {
|
|
28066
|
+
return path.reduce(function (module, key) {
|
|
28067
|
+
return module.getChild(key)
|
|
28068
|
+
}, this.root)
|
|
28069
|
+
};
|
|
28070
|
+
|
|
28071
|
+
ModuleCollection.prototype.getNamespace = function getNamespace (path) {
|
|
28072
|
+
var module = this.root;
|
|
28073
|
+
return path.reduce(function (namespace, key) {
|
|
28074
|
+
module = module.getChild(key);
|
|
28075
|
+
return namespace + (module.namespaced ? key + '/' : '')
|
|
28076
|
+
}, '')
|
|
28077
|
+
};
|
|
28078
|
+
|
|
28079
|
+
ModuleCollection.prototype.update = function update$1 (rawRootModule) {
|
|
28080
|
+
update([], this.root, rawRootModule);
|
|
28081
|
+
};
|
|
28082
|
+
|
|
28083
|
+
ModuleCollection.prototype.register = function register (path, rawModule, runtime) {
|
|
28084
|
+
var this$1 = this;
|
|
28085
|
+
if ( runtime === void 0 ) runtime = true;
|
|
28086
|
+
|
|
28087
|
+
if ((false)) {}
|
|
28088
|
+
|
|
28089
|
+
var newModule = new Module(rawModule, runtime);
|
|
28090
|
+
if (path.length === 0) {
|
|
28091
|
+
this.root = newModule;
|
|
28092
|
+
} else {
|
|
28093
|
+
var parent = this.get(path.slice(0, -1));
|
|
28094
|
+
parent.addChild(path[path.length - 1], newModule);
|
|
28095
|
+
}
|
|
28096
|
+
|
|
28097
|
+
// register nested modules
|
|
28098
|
+
if (rawModule.modules) {
|
|
28099
|
+
forEachValue(rawModule.modules, function (rawChildModule, key) {
|
|
28100
|
+
this$1.register(path.concat(key), rawChildModule, runtime);
|
|
28101
|
+
});
|
|
28102
|
+
}
|
|
28103
|
+
};
|
|
28104
|
+
|
|
28105
|
+
ModuleCollection.prototype.unregister = function unregister (path) {
|
|
28106
|
+
var parent = this.get(path.slice(0, -1));
|
|
28107
|
+
var key = path[path.length - 1];
|
|
28108
|
+
var child = parent.getChild(key);
|
|
28109
|
+
|
|
28110
|
+
if (!child) {
|
|
28111
|
+
if ((false)) {}
|
|
28112
|
+
return
|
|
28113
|
+
}
|
|
28114
|
+
|
|
28115
|
+
if (!child.runtime) {
|
|
28116
|
+
return
|
|
28117
|
+
}
|
|
28118
|
+
|
|
28119
|
+
parent.removeChild(key);
|
|
28120
|
+
};
|
|
28121
|
+
|
|
28122
|
+
ModuleCollection.prototype.isRegistered = function isRegistered (path) {
|
|
28123
|
+
var parent = this.get(path.slice(0, -1));
|
|
28124
|
+
var key = path[path.length - 1];
|
|
28125
|
+
|
|
28126
|
+
if (parent) {
|
|
28127
|
+
return parent.hasChild(key)
|
|
28128
|
+
}
|
|
28129
|
+
|
|
28130
|
+
return false
|
|
28131
|
+
};
|
|
28132
|
+
|
|
28133
|
+
function update (path, targetModule, newModule) {
|
|
28134
|
+
if ((false)) {}
|
|
28135
|
+
|
|
28136
|
+
// update target module
|
|
28137
|
+
targetModule.update(newModule);
|
|
28138
|
+
|
|
28139
|
+
// update nested modules
|
|
28140
|
+
if (newModule.modules) {
|
|
28141
|
+
for (var key in newModule.modules) {
|
|
28142
|
+
if (!targetModule.getChild(key)) {
|
|
28143
|
+
if ((false)) {}
|
|
28144
|
+
return
|
|
28145
|
+
}
|
|
28146
|
+
update(
|
|
28147
|
+
path.concat(key),
|
|
28148
|
+
targetModule.getChild(key),
|
|
28149
|
+
newModule.modules[key]
|
|
28150
|
+
);
|
|
28151
|
+
}
|
|
28152
|
+
}
|
|
28153
|
+
}
|
|
28154
|
+
|
|
28155
|
+
var functionAssert = {
|
|
28156
|
+
assert: function (value) { return typeof value === 'function'; },
|
|
28157
|
+
expected: 'function'
|
|
28158
|
+
};
|
|
28159
|
+
|
|
28160
|
+
var objectAssert = {
|
|
28161
|
+
assert: function (value) { return typeof value === 'function' ||
|
|
28162
|
+
(typeof value === 'object' && typeof value.handler === 'function'); },
|
|
28163
|
+
expected: 'function or object with "handler" function'
|
|
28164
|
+
};
|
|
28165
|
+
|
|
28166
|
+
var assertTypes = {
|
|
28167
|
+
getters: functionAssert,
|
|
28168
|
+
mutations: functionAssert,
|
|
28169
|
+
actions: objectAssert
|
|
28170
|
+
};
|
|
28171
|
+
|
|
28172
|
+
function assertRawModule (path, rawModule) {
|
|
28173
|
+
Object.keys(assertTypes).forEach(function (key) {
|
|
28174
|
+
if (!rawModule[key]) { return }
|
|
28175
|
+
|
|
28176
|
+
var assertOptions = assertTypes[key];
|
|
28177
|
+
|
|
28178
|
+
forEachValue(rawModule[key], function (value, type) {
|
|
28179
|
+
assert(
|
|
28180
|
+
assertOptions.assert(value),
|
|
28181
|
+
makeAssertionMessage(path, key, type, value, assertOptions.expected)
|
|
28182
|
+
);
|
|
28183
|
+
});
|
|
28184
|
+
});
|
|
28185
|
+
}
|
|
28186
|
+
|
|
28187
|
+
function makeAssertionMessage (path, key, type, value, expected) {
|
|
28188
|
+
var buf = key + " should be " + expected + " but \"" + key + "." + type + "\"";
|
|
28189
|
+
if (path.length > 0) {
|
|
28190
|
+
buf += " in module \"" + (path.join('.')) + "\"";
|
|
28191
|
+
}
|
|
28192
|
+
buf += " is " + (JSON.stringify(value)) + ".";
|
|
28193
|
+
return buf
|
|
28194
|
+
}
|
|
28195
|
+
|
|
28196
|
+
var Vue; // bind on install
|
|
28197
|
+
|
|
28198
|
+
var Store = function Store (options) {
|
|
28199
|
+
var this$1 = this;
|
|
28200
|
+
if ( options === void 0 ) options = {};
|
|
28201
|
+
|
|
28202
|
+
// Auto install if it is not done yet and `window` has `Vue`.
|
|
28203
|
+
// To allow users to avoid auto-installation in some cases,
|
|
28204
|
+
// this code should be placed here. See #731
|
|
28205
|
+
if (!Vue && typeof window !== 'undefined' && window.Vue) {
|
|
28206
|
+
install(window.Vue);
|
|
28207
|
+
}
|
|
28208
|
+
|
|
28209
|
+
if ((false)) {}
|
|
28210
|
+
|
|
28211
|
+
var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];
|
|
28212
|
+
var strict = options.strict; if ( strict === void 0 ) strict = false;
|
|
28213
|
+
|
|
28214
|
+
// store internal state
|
|
28215
|
+
this._committing = false;
|
|
28216
|
+
this._actions = Object.create(null);
|
|
28217
|
+
this._actionSubscribers = [];
|
|
28218
|
+
this._mutations = Object.create(null);
|
|
28219
|
+
this._wrappedGetters = Object.create(null);
|
|
28220
|
+
this._modules = new ModuleCollection(options);
|
|
28221
|
+
this._modulesNamespaceMap = Object.create(null);
|
|
28222
|
+
this._subscribers = [];
|
|
28223
|
+
this._watcherVM = new Vue();
|
|
28224
|
+
this._makeLocalGettersCache = Object.create(null);
|
|
28225
|
+
|
|
28226
|
+
// bind commit and dispatch to self
|
|
28227
|
+
var store = this;
|
|
28228
|
+
var ref = this;
|
|
28229
|
+
var dispatch = ref.dispatch;
|
|
28230
|
+
var commit = ref.commit;
|
|
28231
|
+
this.dispatch = function boundDispatch (type, payload) {
|
|
28232
|
+
return dispatch.call(store, type, payload)
|
|
28233
|
+
};
|
|
28234
|
+
this.commit = function boundCommit (type, payload, options) {
|
|
28235
|
+
return commit.call(store, type, payload, options)
|
|
28236
|
+
};
|
|
28237
|
+
|
|
28238
|
+
// strict mode
|
|
28239
|
+
this.strict = strict;
|
|
28240
|
+
|
|
28241
|
+
var state = this._modules.root.state;
|
|
28242
|
+
|
|
28243
|
+
// init root module.
|
|
28244
|
+
// this also recursively registers all sub-modules
|
|
28245
|
+
// and collects all module getters inside this._wrappedGetters
|
|
28246
|
+
installModule(this, state, [], this._modules.root);
|
|
28247
|
+
|
|
28248
|
+
// initialize the store vm, which is responsible for the reactivity
|
|
28249
|
+
// (also registers _wrappedGetters as computed properties)
|
|
28250
|
+
resetStoreVM(this, state);
|
|
28251
|
+
|
|
28252
|
+
// apply plugins
|
|
28253
|
+
plugins.forEach(function (plugin) { return plugin(this$1); });
|
|
28254
|
+
|
|
28255
|
+
var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;
|
|
28256
|
+
if (useDevtools) {
|
|
28257
|
+
devtoolPlugin(this);
|
|
28258
|
+
}
|
|
28259
|
+
};
|
|
28260
|
+
|
|
28261
|
+
var prototypeAccessors$1 = { state: { configurable: true } };
|
|
28262
|
+
|
|
28263
|
+
prototypeAccessors$1.state.get = function () {
|
|
28264
|
+
return this._vm._data.$$state
|
|
28265
|
+
};
|
|
28266
|
+
|
|
28267
|
+
prototypeAccessors$1.state.set = function (v) {
|
|
28268
|
+
if ((false)) {}
|
|
28269
|
+
};
|
|
28270
|
+
|
|
28271
|
+
Store.prototype.commit = function commit (_type, _payload, _options) {
|
|
28272
|
+
var this$1 = this;
|
|
28273
|
+
|
|
28274
|
+
// check object-style commit
|
|
28275
|
+
var ref = unifyObjectStyle(_type, _payload, _options);
|
|
28276
|
+
var type = ref.type;
|
|
28277
|
+
var payload = ref.payload;
|
|
28278
|
+
var options = ref.options;
|
|
28279
|
+
|
|
28280
|
+
var mutation = { type: type, payload: payload };
|
|
28281
|
+
var entry = this._mutations[type];
|
|
28282
|
+
if (!entry) {
|
|
28283
|
+
if ((false)) {}
|
|
28284
|
+
return
|
|
28285
|
+
}
|
|
28286
|
+
this._withCommit(function () {
|
|
28287
|
+
entry.forEach(function commitIterator (handler) {
|
|
28288
|
+
handler(payload);
|
|
28289
|
+
});
|
|
28290
|
+
});
|
|
28291
|
+
|
|
28292
|
+
this._subscribers
|
|
28293
|
+
.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
|
|
28294
|
+
.forEach(function (sub) { return sub(mutation, this$1.state); });
|
|
28295
|
+
|
|
28296
|
+
if (
|
|
28297
|
+
false
|
|
28298
|
+
) {}
|
|
28299
|
+
};
|
|
28300
|
+
|
|
28301
|
+
Store.prototype.dispatch = function dispatch (_type, _payload) {
|
|
28302
|
+
var this$1 = this;
|
|
28303
|
+
|
|
28304
|
+
// check object-style dispatch
|
|
28305
|
+
var ref = unifyObjectStyle(_type, _payload);
|
|
28306
|
+
var type = ref.type;
|
|
28307
|
+
var payload = ref.payload;
|
|
28308
|
+
|
|
28309
|
+
var action = { type: type, payload: payload };
|
|
28310
|
+
var entry = this._actions[type];
|
|
28311
|
+
if (!entry) {
|
|
28312
|
+
if ((false)) {}
|
|
28313
|
+
return
|
|
28314
|
+
}
|
|
28315
|
+
|
|
28316
|
+
try {
|
|
28317
|
+
this._actionSubscribers
|
|
28318
|
+
.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
|
|
28319
|
+
.filter(function (sub) { return sub.before; })
|
|
28320
|
+
.forEach(function (sub) { return sub.before(action, this$1.state); });
|
|
28321
|
+
} catch (e) {
|
|
28322
|
+
if ((false)) {}
|
|
28323
|
+
}
|
|
28324
|
+
|
|
28325
|
+
var result = entry.length > 1
|
|
28326
|
+
? Promise.all(entry.map(function (handler) { return handler(payload); }))
|
|
28327
|
+
: entry[0](payload);
|
|
28328
|
+
|
|
28329
|
+
return new Promise(function (resolve, reject) {
|
|
28330
|
+
result.then(function (res) {
|
|
28331
|
+
try {
|
|
28332
|
+
this$1._actionSubscribers
|
|
28333
|
+
.filter(function (sub) { return sub.after; })
|
|
28334
|
+
.forEach(function (sub) { return sub.after(action, this$1.state); });
|
|
28335
|
+
} catch (e) {
|
|
28336
|
+
if ((false)) {}
|
|
28337
|
+
}
|
|
28338
|
+
resolve(res);
|
|
28339
|
+
}, function (error) {
|
|
28340
|
+
try {
|
|
28341
|
+
this$1._actionSubscribers
|
|
28342
|
+
.filter(function (sub) { return sub.error; })
|
|
28343
|
+
.forEach(function (sub) { return sub.error(action, this$1.state, error); });
|
|
28344
|
+
} catch (e) {
|
|
28345
|
+
if ((false)) {}
|
|
28346
|
+
}
|
|
28347
|
+
reject(error);
|
|
28348
|
+
});
|
|
28349
|
+
})
|
|
28350
|
+
};
|
|
28351
|
+
|
|
28352
|
+
Store.prototype.subscribe = function subscribe (fn, options) {
|
|
28353
|
+
return genericSubscribe(fn, this._subscribers, options)
|
|
28354
|
+
};
|
|
28355
|
+
|
|
28356
|
+
Store.prototype.subscribeAction = function subscribeAction (fn, options) {
|
|
28357
|
+
var subs = typeof fn === 'function' ? { before: fn } : fn;
|
|
28358
|
+
return genericSubscribe(subs, this._actionSubscribers, options)
|
|
28359
|
+
};
|
|
28360
|
+
|
|
28361
|
+
Store.prototype.watch = function watch (getter, cb, options) {
|
|
28362
|
+
var this$1 = this;
|
|
28363
|
+
|
|
28364
|
+
if ((false)) {}
|
|
28365
|
+
return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)
|
|
28366
|
+
};
|
|
28367
|
+
|
|
28368
|
+
Store.prototype.replaceState = function replaceState (state) {
|
|
28369
|
+
var this$1 = this;
|
|
28370
|
+
|
|
28371
|
+
this._withCommit(function () {
|
|
28372
|
+
this$1._vm._data.$$state = state;
|
|
28373
|
+
});
|
|
28374
|
+
};
|
|
28375
|
+
|
|
28376
|
+
Store.prototype.registerModule = function registerModule (path, rawModule, options) {
|
|
28377
|
+
if ( options === void 0 ) options = {};
|
|
28378
|
+
|
|
28379
|
+
if (typeof path === 'string') { path = [path]; }
|
|
28380
|
+
|
|
28381
|
+
if ((false)) {}
|
|
28382
|
+
|
|
28383
|
+
this._modules.register(path, rawModule);
|
|
28384
|
+
installModule(this, this.state, path, this._modules.get(path), options.preserveState);
|
|
28385
|
+
// reset store to update getters...
|
|
28386
|
+
resetStoreVM(this, this.state);
|
|
28387
|
+
};
|
|
28388
|
+
|
|
28389
|
+
Store.prototype.unregisterModule = function unregisterModule (path) {
|
|
28390
|
+
var this$1 = this;
|
|
28391
|
+
|
|
28392
|
+
if (typeof path === 'string') { path = [path]; }
|
|
28393
|
+
|
|
28394
|
+
if ((false)) {}
|
|
28395
|
+
|
|
28396
|
+
this._modules.unregister(path);
|
|
28397
|
+
this._withCommit(function () {
|
|
28398
|
+
var parentState = getNestedState(this$1.state, path.slice(0, -1));
|
|
28399
|
+
Vue.delete(parentState, path[path.length - 1]);
|
|
28400
|
+
});
|
|
28401
|
+
resetStore(this);
|
|
28402
|
+
};
|
|
28403
|
+
|
|
28404
|
+
Store.prototype.hasModule = function hasModule (path) {
|
|
28405
|
+
if (typeof path === 'string') { path = [path]; }
|
|
28406
|
+
|
|
28407
|
+
if ((false)) {}
|
|
28408
|
+
|
|
28409
|
+
return this._modules.isRegistered(path)
|
|
28410
|
+
};
|
|
28411
|
+
|
|
28412
|
+
Store.prototype.hotUpdate = function hotUpdate (newOptions) {
|
|
28413
|
+
this._modules.update(newOptions);
|
|
28414
|
+
resetStore(this, true);
|
|
28415
|
+
};
|
|
28416
|
+
|
|
28417
|
+
Store.prototype._withCommit = function _withCommit (fn) {
|
|
28418
|
+
var committing = this._committing;
|
|
28419
|
+
this._committing = true;
|
|
28420
|
+
fn();
|
|
28421
|
+
this._committing = committing;
|
|
28422
|
+
};
|
|
28423
|
+
|
|
28424
|
+
Object.defineProperties( Store.prototype, prototypeAccessors$1 );
|
|
28425
|
+
|
|
28426
|
+
function genericSubscribe (fn, subs, options) {
|
|
28427
|
+
if (subs.indexOf(fn) < 0) {
|
|
28428
|
+
options && options.prepend
|
|
28429
|
+
? subs.unshift(fn)
|
|
28430
|
+
: subs.push(fn);
|
|
28431
|
+
}
|
|
28432
|
+
return function () {
|
|
28433
|
+
var i = subs.indexOf(fn);
|
|
28434
|
+
if (i > -1) {
|
|
28435
|
+
subs.splice(i, 1);
|
|
28436
|
+
}
|
|
28437
|
+
}
|
|
28438
|
+
}
|
|
28439
|
+
|
|
28440
|
+
function resetStore (store, hot) {
|
|
28441
|
+
store._actions = Object.create(null);
|
|
28442
|
+
store._mutations = Object.create(null);
|
|
28443
|
+
store._wrappedGetters = Object.create(null);
|
|
28444
|
+
store._modulesNamespaceMap = Object.create(null);
|
|
28445
|
+
var state = store.state;
|
|
28446
|
+
// init all modules
|
|
28447
|
+
installModule(store, state, [], store._modules.root, true);
|
|
28448
|
+
// reset vm
|
|
28449
|
+
resetStoreVM(store, state, hot);
|
|
28450
|
+
}
|
|
28451
|
+
|
|
28452
|
+
function resetStoreVM (store, state, hot) {
|
|
28453
|
+
var oldVm = store._vm;
|
|
28454
|
+
|
|
28455
|
+
// bind store public getters
|
|
28456
|
+
store.getters = {};
|
|
28457
|
+
// reset local getters cache
|
|
28458
|
+
store._makeLocalGettersCache = Object.create(null);
|
|
28459
|
+
var wrappedGetters = store._wrappedGetters;
|
|
28460
|
+
var computed = {};
|
|
28461
|
+
forEachValue(wrappedGetters, function (fn, key) {
|
|
28462
|
+
// use computed to leverage its lazy-caching mechanism
|
|
28463
|
+
// direct inline function use will lead to closure preserving oldVm.
|
|
28464
|
+
// using partial to return function with only arguments preserved in closure environment.
|
|
28465
|
+
computed[key] = partial(fn, store);
|
|
28466
|
+
Object.defineProperty(store.getters, key, {
|
|
28467
|
+
get: function () { return store._vm[key]; },
|
|
28468
|
+
enumerable: true // for local getters
|
|
28469
|
+
});
|
|
28470
|
+
});
|
|
28471
|
+
|
|
28472
|
+
// use a Vue instance to store the state tree
|
|
28473
|
+
// suppress warnings just in case the user has added
|
|
28474
|
+
// some funky global mixins
|
|
28475
|
+
var silent = Vue.config.silent;
|
|
28476
|
+
Vue.config.silent = true;
|
|
28477
|
+
store._vm = new Vue({
|
|
28478
|
+
data: {
|
|
28479
|
+
$$state: state
|
|
28480
|
+
},
|
|
28481
|
+
computed: computed
|
|
28482
|
+
});
|
|
28483
|
+
Vue.config.silent = silent;
|
|
28484
|
+
|
|
28485
|
+
// enable strict mode for new vm
|
|
28486
|
+
if (store.strict) {
|
|
28487
|
+
enableStrictMode(store);
|
|
28488
|
+
}
|
|
28489
|
+
|
|
28490
|
+
if (oldVm) {
|
|
28491
|
+
if (hot) {
|
|
28492
|
+
// dispatch changes in all subscribed watchers
|
|
28493
|
+
// to force getter re-evaluation for hot reloading.
|
|
28494
|
+
store._withCommit(function () {
|
|
28495
|
+
oldVm._data.$$state = null;
|
|
28496
|
+
});
|
|
28497
|
+
}
|
|
28498
|
+
Vue.nextTick(function () { return oldVm.$destroy(); });
|
|
28499
|
+
}
|
|
28500
|
+
}
|
|
28501
|
+
|
|
28502
|
+
function installModule (store, rootState, path, module, hot) {
|
|
28503
|
+
var isRoot = !path.length;
|
|
28504
|
+
var namespace = store._modules.getNamespace(path);
|
|
28505
|
+
|
|
28506
|
+
// register in namespace map
|
|
28507
|
+
if (module.namespaced) {
|
|
28508
|
+
if (store._modulesNamespaceMap[namespace] && ("production" !== 'production')) {}
|
|
28509
|
+
store._modulesNamespaceMap[namespace] = module;
|
|
28510
|
+
}
|
|
28511
|
+
|
|
28512
|
+
// set state
|
|
28513
|
+
if (!isRoot && !hot) {
|
|
28514
|
+
var parentState = getNestedState(rootState, path.slice(0, -1));
|
|
28515
|
+
var moduleName = path[path.length - 1];
|
|
28516
|
+
store._withCommit(function () {
|
|
28517
|
+
if ((false)) {}
|
|
28518
|
+
Vue.set(parentState, moduleName, module.state);
|
|
28519
|
+
});
|
|
28520
|
+
}
|
|
28521
|
+
|
|
28522
|
+
var local = module.context = makeLocalContext(store, namespace, path);
|
|
28523
|
+
|
|
28524
|
+
module.forEachMutation(function (mutation, key) {
|
|
28525
|
+
var namespacedType = namespace + key;
|
|
28526
|
+
registerMutation(store, namespacedType, mutation, local);
|
|
28527
|
+
});
|
|
28528
|
+
|
|
28529
|
+
module.forEachAction(function (action, key) {
|
|
28530
|
+
var type = action.root ? key : namespace + key;
|
|
28531
|
+
var handler = action.handler || action;
|
|
28532
|
+
registerAction(store, type, handler, local);
|
|
28533
|
+
});
|
|
28534
|
+
|
|
28535
|
+
module.forEachGetter(function (getter, key) {
|
|
28536
|
+
var namespacedType = namespace + key;
|
|
28537
|
+
registerGetter(store, namespacedType, getter, local);
|
|
28538
|
+
});
|
|
28539
|
+
|
|
28540
|
+
module.forEachChild(function (child, key) {
|
|
28541
|
+
installModule(store, rootState, path.concat(key), child, hot);
|
|
28542
|
+
});
|
|
28543
|
+
}
|
|
28544
|
+
|
|
28545
|
+
/**
|
|
28546
|
+
* make localized dispatch, commit, getters and state
|
|
28547
|
+
* if there is no namespace, just use root ones
|
|
28548
|
+
*/
|
|
28549
|
+
function makeLocalContext (store, namespace, path) {
|
|
28550
|
+
var noNamespace = namespace === '';
|
|
28551
|
+
|
|
28552
|
+
var local = {
|
|
28553
|
+
dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {
|
|
28554
|
+
var args = unifyObjectStyle(_type, _payload, _options);
|
|
28555
|
+
var payload = args.payload;
|
|
28556
|
+
var options = args.options;
|
|
28557
|
+
var type = args.type;
|
|
28558
|
+
|
|
28559
|
+
if (!options || !options.root) {
|
|
28560
|
+
type = namespace + type;
|
|
28561
|
+
if (false) {}
|
|
28562
|
+
}
|
|
28563
|
+
|
|
28564
|
+
return store.dispatch(type, payload)
|
|
28565
|
+
},
|
|
28566
|
+
|
|
28567
|
+
commit: noNamespace ? store.commit : function (_type, _payload, _options) {
|
|
28568
|
+
var args = unifyObjectStyle(_type, _payload, _options);
|
|
28569
|
+
var payload = args.payload;
|
|
28570
|
+
var options = args.options;
|
|
28571
|
+
var type = args.type;
|
|
28572
|
+
|
|
28573
|
+
if (!options || !options.root) {
|
|
28574
|
+
type = namespace + type;
|
|
28575
|
+
if (false) {}
|
|
28576
|
+
}
|
|
28577
|
+
|
|
28578
|
+
store.commit(type, payload, options);
|
|
28579
|
+
}
|
|
28580
|
+
};
|
|
28581
|
+
|
|
28582
|
+
// getters and state object must be gotten lazily
|
|
28583
|
+
// because they will be changed by vm update
|
|
28584
|
+
Object.defineProperties(local, {
|
|
28585
|
+
getters: {
|
|
28586
|
+
get: noNamespace
|
|
28587
|
+
? function () { return store.getters; }
|
|
28588
|
+
: function () { return makeLocalGetters(store, namespace); }
|
|
28589
|
+
},
|
|
28590
|
+
state: {
|
|
28591
|
+
get: function () { return getNestedState(store.state, path); }
|
|
28592
|
+
}
|
|
28593
|
+
});
|
|
28594
|
+
|
|
28595
|
+
return local
|
|
28596
|
+
}
|
|
28597
|
+
|
|
28598
|
+
function makeLocalGetters (store, namespace) {
|
|
28599
|
+
if (!store._makeLocalGettersCache[namespace]) {
|
|
28600
|
+
var gettersProxy = {};
|
|
28601
|
+
var splitPos = namespace.length;
|
|
28602
|
+
Object.keys(store.getters).forEach(function (type) {
|
|
28603
|
+
// skip if the target getter is not match this namespace
|
|
28604
|
+
if (type.slice(0, splitPos) !== namespace) { return }
|
|
28605
|
+
|
|
28606
|
+
// extract local getter type
|
|
28607
|
+
var localType = type.slice(splitPos);
|
|
28608
|
+
|
|
28609
|
+
// Add a port to the getters proxy.
|
|
28610
|
+
// Define as getter property because
|
|
28611
|
+
// we do not want to evaluate the getters in this time.
|
|
28612
|
+
Object.defineProperty(gettersProxy, localType, {
|
|
28613
|
+
get: function () { return store.getters[type]; },
|
|
28614
|
+
enumerable: true
|
|
28615
|
+
});
|
|
28616
|
+
});
|
|
28617
|
+
store._makeLocalGettersCache[namespace] = gettersProxy;
|
|
28618
|
+
}
|
|
28619
|
+
|
|
28620
|
+
return store._makeLocalGettersCache[namespace]
|
|
28621
|
+
}
|
|
28622
|
+
|
|
28623
|
+
function registerMutation (store, type, handler, local) {
|
|
28624
|
+
var entry = store._mutations[type] || (store._mutations[type] = []);
|
|
28625
|
+
entry.push(function wrappedMutationHandler (payload) {
|
|
28626
|
+
handler.call(store, local.state, payload);
|
|
28627
|
+
});
|
|
28628
|
+
}
|
|
28629
|
+
|
|
28630
|
+
function registerAction (store, type, handler, local) {
|
|
28631
|
+
var entry = store._actions[type] || (store._actions[type] = []);
|
|
28632
|
+
entry.push(function wrappedActionHandler (payload) {
|
|
28633
|
+
var res = handler.call(store, {
|
|
28634
|
+
dispatch: local.dispatch,
|
|
28635
|
+
commit: local.commit,
|
|
28636
|
+
getters: local.getters,
|
|
28637
|
+
state: local.state,
|
|
28638
|
+
rootGetters: store.getters,
|
|
28639
|
+
rootState: store.state
|
|
28640
|
+
}, payload);
|
|
28641
|
+
if (!isPromise(res)) {
|
|
28642
|
+
res = Promise.resolve(res);
|
|
28643
|
+
}
|
|
28644
|
+
if (store._devtoolHook) {
|
|
28645
|
+
return res.catch(function (err) {
|
|
28646
|
+
store._devtoolHook.emit('vuex:error', err);
|
|
28647
|
+
throw err
|
|
28648
|
+
})
|
|
28649
|
+
} else {
|
|
28650
|
+
return res
|
|
28651
|
+
}
|
|
28652
|
+
});
|
|
28653
|
+
}
|
|
28654
|
+
|
|
28655
|
+
function registerGetter (store, type, rawGetter, local) {
|
|
28656
|
+
if (store._wrappedGetters[type]) {
|
|
28657
|
+
if ((false)) {}
|
|
28658
|
+
return
|
|
28659
|
+
}
|
|
28660
|
+
store._wrappedGetters[type] = function wrappedGetter (store) {
|
|
28661
|
+
return rawGetter(
|
|
28662
|
+
local.state, // local state
|
|
28663
|
+
local.getters, // local getters
|
|
28664
|
+
store.state, // root state
|
|
28665
|
+
store.getters // root getters
|
|
28666
|
+
)
|
|
28667
|
+
};
|
|
28668
|
+
}
|
|
28669
|
+
|
|
28670
|
+
function enableStrictMode (store) {
|
|
28671
|
+
store._vm.$watch(function () { return this._data.$$state }, function () {
|
|
28672
|
+
if ((false)) {}
|
|
28673
|
+
}, { deep: true, sync: true });
|
|
28674
|
+
}
|
|
28675
|
+
|
|
28676
|
+
function getNestedState (state, path) {
|
|
28677
|
+
return path.reduce(function (state, key) { return state[key]; }, state)
|
|
28678
|
+
}
|
|
28679
|
+
|
|
28680
|
+
function unifyObjectStyle (type, payload, options) {
|
|
28681
|
+
if (isObject(type) && type.type) {
|
|
28682
|
+
options = payload;
|
|
28683
|
+
payload = type;
|
|
28684
|
+
type = type.type;
|
|
28685
|
+
}
|
|
28686
|
+
|
|
28687
|
+
if ((false)) {}
|
|
28688
|
+
|
|
28689
|
+
return { type: type, payload: payload, options: options }
|
|
28690
|
+
}
|
|
28691
|
+
|
|
28692
|
+
function install (_Vue) {
|
|
28693
|
+
if (Vue && _Vue === Vue) {
|
|
28694
|
+
if ((false)) {}
|
|
28695
|
+
return
|
|
28696
|
+
}
|
|
28697
|
+
Vue = _Vue;
|
|
28698
|
+
applyMixin(Vue);
|
|
28699
|
+
}
|
|
28700
|
+
|
|
28701
|
+
/**
|
|
28702
|
+
* Reduce the code which written in Vue.js for getting the state.
|
|
28703
|
+
* @param {String} [namespace] - Module's namespace
|
|
28704
|
+
* @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.
|
|
28705
|
+
* @param {Object}
|
|
28706
|
+
*/
|
|
28707
|
+
var mapState = normalizeNamespace(function (namespace, states) {
|
|
28708
|
+
var res = {};
|
|
28709
|
+
if (false) {}
|
|
28710
|
+
normalizeMap(states).forEach(function (ref) {
|
|
28711
|
+
var key = ref.key;
|
|
28712
|
+
var val = ref.val;
|
|
28713
|
+
|
|
28714
|
+
res[key] = function mappedState () {
|
|
28715
|
+
var state = this.$store.state;
|
|
28716
|
+
var getters = this.$store.getters;
|
|
28717
|
+
if (namespace) {
|
|
28718
|
+
var module = getModuleByNamespace(this.$store, 'mapState', namespace);
|
|
28719
|
+
if (!module) {
|
|
28720
|
+
return
|
|
28721
|
+
}
|
|
28722
|
+
state = module.context.state;
|
|
28723
|
+
getters = module.context.getters;
|
|
28724
|
+
}
|
|
28725
|
+
return typeof val === 'function'
|
|
28726
|
+
? val.call(this, state, getters)
|
|
28727
|
+
: state[val]
|
|
28728
|
+
};
|
|
28729
|
+
// mark vuex getter for devtools
|
|
28730
|
+
res[key].vuex = true;
|
|
28731
|
+
});
|
|
28732
|
+
return res
|
|
28733
|
+
});
|
|
28734
|
+
|
|
28735
|
+
/**
|
|
28736
|
+
* Reduce the code which written in Vue.js for committing the mutation
|
|
28737
|
+
* @param {String} [namespace] - Module's namespace
|
|
28738
|
+
* @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.
|
|
28739
|
+
* @return {Object}
|
|
28740
|
+
*/
|
|
28741
|
+
var mapMutations = normalizeNamespace(function (namespace, mutations) {
|
|
28742
|
+
var res = {};
|
|
28743
|
+
if (false) {}
|
|
28744
|
+
normalizeMap(mutations).forEach(function (ref) {
|
|
28745
|
+
var key = ref.key;
|
|
28746
|
+
var val = ref.val;
|
|
28747
|
+
|
|
28748
|
+
res[key] = function mappedMutation () {
|
|
28749
|
+
var args = [], len = arguments.length;
|
|
28750
|
+
while ( len-- ) args[ len ] = arguments[ len ];
|
|
28751
|
+
|
|
28752
|
+
// Get the commit method from store
|
|
28753
|
+
var commit = this.$store.commit;
|
|
28754
|
+
if (namespace) {
|
|
28755
|
+
var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);
|
|
28756
|
+
if (!module) {
|
|
28757
|
+
return
|
|
28758
|
+
}
|
|
28759
|
+
commit = module.context.commit;
|
|
28760
|
+
}
|
|
28761
|
+
return typeof val === 'function'
|
|
28762
|
+
? val.apply(this, [commit].concat(args))
|
|
28763
|
+
: commit.apply(this.$store, [val].concat(args))
|
|
28764
|
+
};
|
|
28765
|
+
});
|
|
28766
|
+
return res
|
|
28767
|
+
});
|
|
28768
|
+
|
|
28769
|
+
/**
|
|
28770
|
+
* Reduce the code which written in Vue.js for getting the getters
|
|
28771
|
+
* @param {String} [namespace] - Module's namespace
|
|
28772
|
+
* @param {Object|Array} getters
|
|
28773
|
+
* @return {Object}
|
|
28774
|
+
*/
|
|
28775
|
+
var mapGetters = normalizeNamespace(function (namespace, getters) {
|
|
28776
|
+
var res = {};
|
|
28777
|
+
if (false) {}
|
|
28778
|
+
normalizeMap(getters).forEach(function (ref) {
|
|
28779
|
+
var key = ref.key;
|
|
28780
|
+
var val = ref.val;
|
|
28781
|
+
|
|
28782
|
+
// The namespace has been mutated by normalizeNamespace
|
|
28783
|
+
val = namespace + val;
|
|
28784
|
+
res[key] = function mappedGetter () {
|
|
28785
|
+
if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
|
|
28786
|
+
return
|
|
28787
|
+
}
|
|
28788
|
+
if (false) {}
|
|
28789
|
+
return this.$store.getters[val]
|
|
28790
|
+
};
|
|
28791
|
+
// mark vuex getter for devtools
|
|
28792
|
+
res[key].vuex = true;
|
|
28793
|
+
});
|
|
28794
|
+
return res
|
|
28795
|
+
});
|
|
28796
|
+
|
|
28797
|
+
/**
|
|
28798
|
+
* Reduce the code which written in Vue.js for dispatch the action
|
|
28799
|
+
* @param {String} [namespace] - Module's namespace
|
|
28800
|
+
* @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.
|
|
28801
|
+
* @return {Object}
|
|
28802
|
+
*/
|
|
28803
|
+
var mapActions = normalizeNamespace(function (namespace, actions) {
|
|
28804
|
+
var res = {};
|
|
28805
|
+
if (false) {}
|
|
28806
|
+
normalizeMap(actions).forEach(function (ref) {
|
|
28807
|
+
var key = ref.key;
|
|
28808
|
+
var val = ref.val;
|
|
28809
|
+
|
|
28810
|
+
res[key] = function mappedAction () {
|
|
28811
|
+
var args = [], len = arguments.length;
|
|
28812
|
+
while ( len-- ) args[ len ] = arguments[ len ];
|
|
28813
|
+
|
|
28814
|
+
// get dispatch function from store
|
|
28815
|
+
var dispatch = this.$store.dispatch;
|
|
28816
|
+
if (namespace) {
|
|
28817
|
+
var module = getModuleByNamespace(this.$store, 'mapActions', namespace);
|
|
28818
|
+
if (!module) {
|
|
28819
|
+
return
|
|
28820
|
+
}
|
|
28821
|
+
dispatch = module.context.dispatch;
|
|
28822
|
+
}
|
|
28823
|
+
return typeof val === 'function'
|
|
28824
|
+
? val.apply(this, [dispatch].concat(args))
|
|
28825
|
+
: dispatch.apply(this.$store, [val].concat(args))
|
|
28826
|
+
};
|
|
28827
|
+
});
|
|
28828
|
+
return res
|
|
28829
|
+
});
|
|
28830
|
+
|
|
28831
|
+
/**
|
|
28832
|
+
* Rebinding namespace param for mapXXX function in special scoped, and return them by simple object
|
|
28833
|
+
* @param {String} namespace
|
|
28834
|
+
* @return {Object}
|
|
28835
|
+
*/
|
|
28836
|
+
var createNamespacedHelpers = function (namespace) { return ({
|
|
28837
|
+
mapState: mapState.bind(null, namespace),
|
|
28838
|
+
mapGetters: mapGetters.bind(null, namespace),
|
|
28839
|
+
mapMutations: mapMutations.bind(null, namespace),
|
|
28840
|
+
mapActions: mapActions.bind(null, namespace)
|
|
28841
|
+
}); };
|
|
28842
|
+
|
|
28843
|
+
/**
|
|
28844
|
+
* Normalize the map
|
|
28845
|
+
* normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]
|
|
28846
|
+
* normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]
|
|
28847
|
+
* @param {Array|Object} map
|
|
28848
|
+
* @return {Object}
|
|
28849
|
+
*/
|
|
28850
|
+
function normalizeMap (map) {
|
|
28851
|
+
if (!isValidMap(map)) {
|
|
28852
|
+
return []
|
|
28853
|
+
}
|
|
28854
|
+
return Array.isArray(map)
|
|
28855
|
+
? map.map(function (key) { return ({ key: key, val: key }); })
|
|
28856
|
+
: Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })
|
|
28857
|
+
}
|
|
28858
|
+
|
|
28859
|
+
/**
|
|
28860
|
+
* Validate whether given map is valid or not
|
|
28861
|
+
* @param {*} map
|
|
28862
|
+
* @return {Boolean}
|
|
28863
|
+
*/
|
|
28864
|
+
function isValidMap (map) {
|
|
28865
|
+
return Array.isArray(map) || isObject(map)
|
|
28866
|
+
}
|
|
28867
|
+
|
|
28868
|
+
/**
|
|
28869
|
+
* 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.
|
|
28870
|
+
* @param {Function} fn
|
|
28871
|
+
* @return {Function}
|
|
28872
|
+
*/
|
|
28873
|
+
function normalizeNamespace (fn) {
|
|
28874
|
+
return function (namespace, map) {
|
|
28875
|
+
if (typeof namespace !== 'string') {
|
|
28876
|
+
map = namespace;
|
|
28877
|
+
namespace = '';
|
|
28878
|
+
} else if (namespace.charAt(namespace.length - 1) !== '/') {
|
|
28879
|
+
namespace += '/';
|
|
28880
|
+
}
|
|
28881
|
+
return fn(namespace, map)
|
|
28882
|
+
}
|
|
28883
|
+
}
|
|
28884
|
+
|
|
28885
|
+
/**
|
|
28886
|
+
* Search a special module from store by namespace. if module not exist, print error message.
|
|
28887
|
+
* @param {Object} store
|
|
28888
|
+
* @param {String} helper
|
|
28889
|
+
* @param {String} namespace
|
|
28890
|
+
* @return {Object}
|
|
28891
|
+
*/
|
|
28892
|
+
function getModuleByNamespace (store, helper, namespace) {
|
|
28893
|
+
var module = store._modulesNamespaceMap[namespace];
|
|
28894
|
+
if (false) {}
|
|
28895
|
+
return module
|
|
28896
|
+
}
|
|
28897
|
+
|
|
28898
|
+
// Credits: borrowed code from fcomb/redux-logger
|
|
28899
|
+
|
|
28900
|
+
function createLogger (ref) {
|
|
28901
|
+
if ( ref === void 0 ) ref = {};
|
|
28902
|
+
var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;
|
|
28903
|
+
var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };
|
|
28904
|
+
var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };
|
|
28905
|
+
var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };
|
|
28906
|
+
var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };
|
|
28907
|
+
var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };
|
|
28908
|
+
var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;
|
|
28909
|
+
var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;
|
|
28910
|
+
var logger = ref.logger; if ( logger === void 0 ) logger = console;
|
|
28911
|
+
|
|
28912
|
+
return function (store) {
|
|
28913
|
+
var prevState = deepCopy(store.state);
|
|
28914
|
+
|
|
28915
|
+
if (typeof logger === 'undefined') {
|
|
28916
|
+
return
|
|
28917
|
+
}
|
|
28918
|
+
|
|
28919
|
+
if (logMutations) {
|
|
28920
|
+
store.subscribe(function (mutation, state) {
|
|
28921
|
+
var nextState = deepCopy(state);
|
|
28922
|
+
|
|
28923
|
+
if (filter(mutation, prevState, nextState)) {
|
|
28924
|
+
var formattedTime = getFormattedTime();
|
|
28925
|
+
var formattedMutation = mutationTransformer(mutation);
|
|
28926
|
+
var message = "mutation " + (mutation.type) + formattedTime;
|
|
28927
|
+
|
|
28928
|
+
startMessage(logger, message, collapsed);
|
|
28929
|
+
logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));
|
|
28930
|
+
logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);
|
|
28931
|
+
logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));
|
|
28932
|
+
endMessage(logger);
|
|
28933
|
+
}
|
|
28934
|
+
|
|
28935
|
+
prevState = nextState;
|
|
28936
|
+
});
|
|
28937
|
+
}
|
|
28938
|
+
|
|
28939
|
+
if (logActions) {
|
|
28940
|
+
store.subscribeAction(function (action, state) {
|
|
28941
|
+
if (actionFilter(action, state)) {
|
|
28942
|
+
var formattedTime = getFormattedTime();
|
|
28943
|
+
var formattedAction = actionTransformer(action);
|
|
28944
|
+
var message = "action " + (action.type) + formattedTime;
|
|
28945
|
+
|
|
28946
|
+
startMessage(logger, message, collapsed);
|
|
28947
|
+
logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);
|
|
28948
|
+
endMessage(logger);
|
|
28949
|
+
}
|
|
28950
|
+
});
|
|
28951
|
+
}
|
|
28952
|
+
}
|
|
28953
|
+
}
|
|
28954
|
+
|
|
28955
|
+
function startMessage (logger, message, collapsed) {
|
|
28956
|
+
var startMessage = collapsed
|
|
28957
|
+
? logger.groupCollapsed
|
|
28958
|
+
: logger.group;
|
|
28959
|
+
|
|
28960
|
+
// render
|
|
28961
|
+
try {
|
|
28962
|
+
startMessage.call(logger, message);
|
|
28963
|
+
} catch (e) {
|
|
28964
|
+
logger.log(message);
|
|
28965
|
+
}
|
|
28966
|
+
}
|
|
28967
|
+
|
|
28968
|
+
function endMessage (logger) {
|
|
28969
|
+
try {
|
|
28970
|
+
logger.groupEnd();
|
|
28971
|
+
} catch (e) {
|
|
28972
|
+
logger.log('—— log end ——');
|
|
28973
|
+
}
|
|
28974
|
+
}
|
|
28975
|
+
|
|
28976
|
+
function getFormattedTime () {
|
|
28977
|
+
var time = new Date();
|
|
28978
|
+
return (" @ " + (pad(time.getHours(), 2)) + ":" + (pad(time.getMinutes(), 2)) + ":" + (pad(time.getSeconds(), 2)) + "." + (pad(time.getMilliseconds(), 3)))
|
|
28979
|
+
}
|
|
28980
|
+
|
|
28981
|
+
function repeat (str, times) {
|
|
28982
|
+
return (new Array(times + 1)).join(str)
|
|
28983
|
+
}
|
|
28984
|
+
|
|
28985
|
+
function pad (num, maxLength) {
|
|
28986
|
+
return repeat('0', maxLength - num.toString().length) + num
|
|
28987
|
+
}
|
|
28988
|
+
|
|
28989
|
+
var index = {
|
|
28990
|
+
Store: Store,
|
|
28991
|
+
install: install,
|
|
28992
|
+
version: '3.6.2',
|
|
28993
|
+
mapState: mapState,
|
|
28994
|
+
mapMutations: mapMutations,
|
|
28995
|
+
mapGetters: mapGetters,
|
|
28996
|
+
mapActions: mapActions,
|
|
28997
|
+
createNamespacedHelpers: createNamespacedHelpers,
|
|
28998
|
+
createLogger: createLogger
|
|
28999
|
+
};
|
|
29000
|
+
|
|
29001
|
+
/* harmony default export */ var vuex_esm = ((/* unused pure expression or super */ null && (index)));
|
|
29002
|
+
|
|
27786
29003
|
|
|
27787
29004
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
27788
29005
|
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); }
|
|
27789
29006
|
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; }
|
|
27790
29007
|
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); }
|
|
27791
29008
|
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); }); }; }
|
|
29009
|
+
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; }
|
|
29010
|
+
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; }
|
|
29011
|
+
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; }
|
|
29012
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == workHeadvue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
29013
|
+
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); }
|
|
27792
29014
|
|
|
27793
29015
|
var workClock = __webpack_require__(3552);
|
|
29016
|
+
|
|
27794
29017
|
/* harmony default export */ var workHeadvue_type_script_lang_js = ({
|
|
27795
29018
|
components: {},
|
|
27796
29019
|
props: {},
|
|
@@ -27809,7 +29032,9 @@ var workClock = __webpack_require__(3552);
|
|
|
27809
29032
|
timeInterval: {} // 签到校验信息
|
|
27810
29033
|
};
|
|
27811
29034
|
},
|
|
27812
|
-
computed: {},
|
|
29035
|
+
computed: _objectSpread({}, mapGetters({
|
|
29036
|
+
unreadNum: 'xmpp/getUnreadNum'
|
|
29037
|
+
})),
|
|
27813
29038
|
watch: {
|
|
27814
29039
|
orgCode: function orgCode(val) {
|
|
27815
29040
|
var _this = this;
|
|
@@ -27870,7 +29095,7 @@ var workClock = __webpack_require__(3552);
|
|
|
27870
29095
|
getBgImg: function getBgImg() {
|
|
27871
29096
|
var _this4 = this;
|
|
27872
29097
|
return workHeadvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workHeadvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
27873
|
-
var curTime, searchFields, orderBy, count, res, url;
|
|
29098
|
+
var curTime, searchFields, orderBy, count, res, productCode, url;
|
|
27874
29099
|
return workHeadvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
27875
29100
|
while (1) switch (_context.prev = _context.next) {
|
|
27876
29101
|
case 0:
|
|
@@ -27903,7 +29128,11 @@ var workClock = __webpack_require__(3552);
|
|
|
27903
29128
|
case 6:
|
|
27904
29129
|
res = _context.sent;
|
|
27905
29130
|
if (res.code === 'success' && res.body.listdata.length > 0) {
|
|
27906
|
-
|
|
29131
|
+
productCode = sessionStorage.getItem('productCode');
|
|
29132
|
+
if (!productCode) {
|
|
29133
|
+
productCode = window.productCode;
|
|
29134
|
+
}
|
|
29135
|
+
url = "/apigw" + '/mpp/image/download?nameField=fileName&dataField=image&id=' + res.body.listdata[0].id + '&httpPort=' + location.port + '&productCode=' + productCode;
|
|
27907
29136
|
document.querySelector('.work_pageHeader').style.background = "url(".concat(url, ")");
|
|
27908
29137
|
document.querySelector('.work_pageHeader').style.backgroundSize = 'cover';
|
|
27909
29138
|
document.querySelector('.work_pageHeader').style.backgroundRepeat = 'no-repeat';
|
|
@@ -28053,9 +29282,9 @@ var workClock = __webpack_require__(3552);
|
|
|
28053
29282
|
});
|
|
28054
29283
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=script&lang=js
|
|
28055
29284
|
/* harmony default export */ var components_workHeadvue_type_script_lang_js = (workHeadvue_type_script_lang_js);
|
|
28056
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=
|
|
28057
|
-
var
|
|
28058
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
29285
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=66c87546&prod&scoped=true&lang=scss
|
|
29286
|
+
var workHeadvue_type_style_index_0_id_66c87546_prod_scoped_true_lang_scss = __webpack_require__(5399);
|
|
29287
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=66c87546&prod&scoped=true&lang=scss
|
|
28059
29288
|
|
|
28060
29289
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue
|
|
28061
29290
|
|
|
@@ -28068,18 +29297,18 @@ var workHeadvue_type_style_index_0_id_e21d2b0a_prod_scoped_true_lang_scss = __we
|
|
|
28068
29297
|
|
|
28069
29298
|
var workHead_component = normalizeComponent(
|
|
28070
29299
|
components_workHeadvue_type_script_lang_js,
|
|
28071
|
-
|
|
28072
|
-
|
|
29300
|
+
workHeadvue_type_template_id_66c87546_scoped_true_render,
|
|
29301
|
+
workHeadvue_type_template_id_66c87546_scoped_true_staticRenderFns,
|
|
28073
29302
|
false,
|
|
28074
29303
|
null,
|
|
28075
|
-
"
|
|
29304
|
+
"66c87546",
|
|
28076
29305
|
null
|
|
28077
29306
|
|
|
28078
29307
|
)
|
|
28079
29308
|
|
|
28080
29309
|
/* harmony default export */ var workHead = (workHead_component.exports);
|
|
28081
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
28082
|
-
var
|
|
29310
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
29311
|
+
var workHeadEightvue_type_template_id_27f553a8_scoped_true_render = function render() {
|
|
28083
29312
|
var _vm = this,
|
|
28084
29313
|
_c = _vm._self._c;
|
|
28085
29314
|
return _c('div', {
|
|
@@ -28146,7 +29375,7 @@ var workHeadEightvue_type_template_id_2f73e6b8_scoped_true_render = function ren
|
|
|
28146
29375
|
staticClass: "pageHeader_timer"
|
|
28147
29376
|
}, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
|
|
28148
29377
|
};
|
|
28149
|
-
var
|
|
29378
|
+
var workHeadEightvue_type_template_id_27f553a8_scoped_true_staticRenderFns = [];
|
|
28150
29379
|
|
|
28151
29380
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
28152
29381
|
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); }
|
|
@@ -28214,7 +29443,7 @@ var workHeadEightvue_type_script_lang_js_workClock = __webpack_require__(3552);
|
|
|
28214
29443
|
getBgImg: function getBgImg() {
|
|
28215
29444
|
var _this3 = this;
|
|
28216
29445
|
return workHeadEightvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workHeadEightvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
28217
|
-
var curTime, searchFields, orderBy, count, res, url;
|
|
29446
|
+
var curTime, searchFields, orderBy, count, res, productCode, url;
|
|
28218
29447
|
return workHeadEightvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28219
29448
|
while (1) switch (_context.prev = _context.next) {
|
|
28220
29449
|
case 0:
|
|
@@ -28247,7 +29476,11 @@ var workHeadEightvue_type_script_lang_js_workClock = __webpack_require__(3552);
|
|
|
28247
29476
|
case 6:
|
|
28248
29477
|
res = _context.sent;
|
|
28249
29478
|
if (res.code === 'success' && res.body.listdata.length > 0) {
|
|
28250
|
-
|
|
29479
|
+
productCode = sessionStorage.getItem('productCode');
|
|
29480
|
+
if (!productCode) {
|
|
29481
|
+
productCode = window.productCode;
|
|
29482
|
+
}
|
|
29483
|
+
url = "/apigw" + '/mpp/image/download?nameField=fileName&dataField=image&id=' + res.body.listdata[0].id + '&httpPort=' + location.port + '&productCode=' + productCode;
|
|
28251
29484
|
document.querySelector('.work_pageHeader').style.background = "url(".concat(url, ")");
|
|
28252
29485
|
document.querySelector('.work_pageHeader').style.backgroundSize = 'cover';
|
|
28253
29486
|
document.querySelector('.work_pageHeader').style.backgroundRepeat = 'no-repeat';
|
|
@@ -28378,9 +29611,9 @@ var workHeadEightvue_type_script_lang_js_workClock = __webpack_require__(3552);
|
|
|
28378
29611
|
});
|
|
28379
29612
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=script&lang=js
|
|
28380
29613
|
/* harmony default export */ var components_workHeadEightvue_type_script_lang_js = (workHeadEightvue_type_script_lang_js);
|
|
28381
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=
|
|
28382
|
-
var
|
|
28383
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=style&index=0&id=
|
|
29614
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
|
|
29615
|
+
var workHeadEightvue_type_style_index_0_id_27f553a8_prod_scoped_true_lang_scss = __webpack_require__(986);
|
|
29616
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHeadEight.vue?vue&type=style&index=0&id=27f553a8&prod&scoped=true&lang=scss
|
|
28384
29617
|
|
|
28385
29618
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHeadEight.vue
|
|
28386
29619
|
|
|
@@ -28393,11 +29626,11 @@ var workHeadEightvue_type_style_index_0_id_2f73e6b8_prod_scoped_true_lang_scss =
|
|
|
28393
29626
|
|
|
28394
29627
|
var workHeadEight_component = normalizeComponent(
|
|
28395
29628
|
components_workHeadEightvue_type_script_lang_js,
|
|
28396
|
-
|
|
28397
|
-
|
|
29629
|
+
workHeadEightvue_type_template_id_27f553a8_scoped_true_render,
|
|
29630
|
+
workHeadEightvue_type_template_id_27f553a8_scoped_true_staticRenderFns,
|
|
28398
29631
|
false,
|
|
28399
29632
|
null,
|
|
28400
|
-
"
|
|
29633
|
+
"27f553a8",
|
|
28401
29634
|
null
|
|
28402
29635
|
|
|
28403
29636
|
)
|
|
@@ -28405,11 +29638,11 @@ var workHeadEight_component = normalizeComponent(
|
|
|
28405
29638
|
/* harmony default export */ var workHeadEight = (workHeadEight_component.exports);
|
|
28406
29639
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/index.js
|
|
28407
29640
|
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); }
|
|
28408
|
-
function
|
|
28409
|
-
function
|
|
28410
|
-
function
|
|
28411
|
-
function
|
|
28412
|
-
function
|
|
29641
|
+
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; }
|
|
29642
|
+
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; }
|
|
29643
|
+
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; }
|
|
29644
|
+
function desktop_toPropertyKey(t) { var i = desktop_toPrimitive(t, "string"); return "symbol" == desktop_typeof(i) ? i : i + ""; }
|
|
29645
|
+
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); }
|
|
28413
29646
|
// 导入单个组件
|
|
28414
29647
|
|
|
28415
29648
|
|
|
@@ -28448,7 +29681,7 @@ var components = {
|
|
|
28448
29681
|
MappWorkHeadEight: workHeadEight
|
|
28449
29682
|
};
|
|
28450
29683
|
// 定义 install 方法
|
|
28451
|
-
var
|
|
29684
|
+
var desktop_install = function install(Vue) {
|
|
28452
29685
|
if (install.installed) return;
|
|
28453
29686
|
install.installed = true;
|
|
28454
29687
|
// 遍历并注册全局组件
|
|
@@ -28457,12 +29690,12 @@ var install = function install(Vue) {
|
|
|
28457
29690
|
});
|
|
28458
29691
|
};
|
|
28459
29692
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
28460
|
-
|
|
29693
|
+
desktop_install(window.Vue);
|
|
28461
29694
|
}
|
|
28462
29695
|
var $messages = __webpack_require__(6213);
|
|
28463
|
-
/* harmony default export */ var desktop = (
|
|
29696
|
+
/* harmony default export */ var desktop = (desktop_objectSpread(desktop_objectSpread({
|
|
28464
29697
|
// 导出的对象必须具备一个 install 方法
|
|
28465
|
-
install:
|
|
29698
|
+
install: desktop_install
|
|
28466
29699
|
}, components), {}, {
|
|
28467
29700
|
$messages: $messages
|
|
28468
29701
|
}));
|