ecinc-cloud-moadesktop 9.6.276 → 9.6.278

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.
@@ -854,7 +854,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-653165e4]{positio
854
854
 
855
855
  /***/ }),
856
856
 
857
- /***/ 2060:
857
+ /***/ 2924:
858
858
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
859
859
 
860
860
  "use strict";
@@ -868,7 +868,7 @@ __webpack_require__.r(__webpack_exports__);
868
868
 
869
869
  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()));
870
870
  // Module
871
- ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-c82498b6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%;margin-top:100px}.no-data span[data-v-c82498b6]{color:#999;font-size:13px}.work_pageContent[data-v-c82498b6]{min-height:360px;overflow:hidden;position:relative;border-radius:6px;background:#fff}.work_pageContent .tab-block[data-v-c82498b6]{height:44px}.work_pageContent .tab-type[data-v-c82498b6]{display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border-bottom:1px solid #ebedf0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative;z-index:9;padding:0 12px}.work_pageContent .tab-type .tab-item[data-v-c82498b6]{cursor:pointer;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;color:#999}.work_pageContent .tab-type .tab-active[data-v-c82498b6]{color:#333;font-weight:700}.work_pageContent .table-box[data-v-c82498b6]:after{content:\"\";position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:calc(100% - 28px);background:#ebedf0;height:1px}.work_pageContent .table-box[data-v-c82498b6]{height:68px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 14px;font-family:PingFangSC-Regular,PingFang SC}.work_pageContent .table-box[data-v-c82498b6]:last-child{border-bottom:none}.work_pageContent .table-box .top[data-v-c82498b6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageContent .table-box .top .top-left[data-v-c82498b6]{font-size:14px;color:#333;font-weight:700;width:calc(100% - 100px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.work_pageContent .table-box .top .readed[data-v-c82498b6]{color:#777}.work_pageContent .table-box .top .top-right[data-v-c82498b6]{width:auto;padding:0 5px;height:20px;background:#e8f4ff;border-radius:2px;text-align:center;line-height:20px;font-size:12px;color:#409eff;max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.work_pageContent .table-box .bottom[data-v-c82498b6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:12px;color:#999}", ""]);
871
+ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-3792288a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%;margin-top:100px}.no-data span[data-v-3792288a]{color:#999;font-size:13px}.work_pageContent[data-v-3792288a]{min-height:360px;overflow:hidden;position:relative;border-radius:6px;background:#fff}.work_pageContent .tab-block[data-v-3792288a]{height:44px}.work_pageContent .tab-type[data-v-3792288a]{display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border-bottom:1px solid #ebedf0;position:relative;z-index:9;padding:0 12px;gap:10px}.work_pageContent .tab-type .tab-item[data-v-3792288a]{cursor:pointer;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;color:#999}.work_pageContent .tab-type .tab-active[data-v-3792288a]{color:#333;font-weight:700}.work_pageContent .table-box[data-v-3792288a]:after{content:\"\";position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:calc(100% - 28px);background:#ebedf0;height:1px}.work_pageContent .table-box[data-v-3792288a]{height:68px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 14px;font-family:PingFangSC-Regular,PingFang SC}.work_pageContent .table-box[data-v-3792288a]:last-child{border-bottom:none}.work_pageContent .table-box .top[data-v-3792288a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageContent .table-box .top .top-left[data-v-3792288a]{font-size:14px;color:#333;font-weight:700;width:calc(100% - 100px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.work_pageContent .table-box .top .readed[data-v-3792288a]{color:#777}.work_pageContent .table-box .top .top-right[data-v-3792288a]{width:auto;padding:0 5px;height:20px;background:#e8f4ff;border-radius:2px;text-align:center;line-height:20px;font-size:12px;color:#409eff;max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.work_pageContent .table-box .bottom[data-v-3792288a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:12px;color:#999}", ""]);
872
872
  // Exports
873
873
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
874
874
 
@@ -894,6 +894,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-59abe380]{display:-web
894
894
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
895
895
 
896
896
 
897
+ /***/ }),
898
+
899
+ /***/ 6162:
900
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
901
+
902
+ "use strict";
903
+ __webpack_require__.r(__webpack_exports__);
904
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
905
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
906
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
907
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
908
+ // Imports
909
+
910
+
911
+ 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()));
912
+ // Module
913
+ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-754e4459]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%}.no-data span[data-v-754e4459]{color:#999;font-size:13px}#work-news[data-v-754e4459]{position:relative;width:100%;max-height:337px;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-news .work-news-title[data-v-754e4459]{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-news .work-news-title span[data-v-754e4459]{font-size:14px;font-family:PingFangSC-Semibold,PingFang SC}#work-news .work-news-content[data-v-754e4459]{height:calc(100% - 44px);overflow:hidden}#work-news .work-news-content .news-item[data-v-754e4459]{display:-webkit-box;display:-ms-flexbox;height:64px;width:calc(100% - 28px);margin:0 auto;font-family:PingFangSC-Semibold,PingFang SC;border-bottom:1px solid #ebedf0;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-news .work-news-content .news-item[data-v-754e4459]:last-child{border-bottom:none}#work-news .work-news-content .news-item .left[data-v-754e4459]{display:-webkit-box;display:-ms-flexbox;display:flex}#work-news .work-news-content .news-item .left img[data-v-754e4459]{width:117px;height:66px;border-radius:4px}#work-news .work-news-content .news-item .right[data-v-754e4459]{width:calc(100% - 16px);line-height:22px;font-size:12px;color:#999}#work-news .work-news-content .news-item .right .overTitle[data-v-754e4459]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#work-news .work-news-content .news-item .right .typeStatus[data-v-754e4459]{display:inline-block;width:60px;height:20px;background:#f8ece0;border-radius:2px;line-height:20px;text-align:center;color:#ec8423;margin-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}", ""]);
914
+ // Exports
915
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
916
+
917
+
897
918
  /***/ }),
898
919
 
899
920
  /***/ 6314:
@@ -22840,19 +22861,19 @@ var update = add("cf71d38a", content, true, {"sourceMap":false,"shadowMode":fals
22840
22861
 
22841
22862
  /***/ }),
22842
22863
 
22843
- /***/ 7520:
22864
+ /***/ 4216:
22844
22865
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22845
22866
 
22846
22867
  // style-loader: Adds some css to the DOM by adding a <style> tag
22847
22868
 
22848
22869
  // load the styles
22849
- var content = __webpack_require__(2060);
22870
+ var content = __webpack_require__(2924);
22850
22871
  if(content.__esModule) content = content.default;
22851
22872
  if(typeof content === 'string') content = [[module.id, content, '']];
22852
22873
  if(content.locals) module.exports = content.locals;
22853
22874
  // add the styles to the DOM
22854
22875
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
22855
- var update = add("88daeb54", content, true, {"sourceMap":false,"shadowMode":false});
22876
+ var update = add("c9112bd0", content, true, {"sourceMap":false,"shadowMode":false});
22856
22877
 
22857
22878
  /***/ }),
22858
22879
 
@@ -22872,6 +22893,22 @@ var update = add("259a9452", content, true, {"sourceMap":false,"shadowMode":fals
22872
22893
 
22873
22894
  /***/ }),
22874
22895
 
22896
+ /***/ 2062:
22897
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22898
+
22899
+ // style-loader: Adds some css to the DOM by adding a <style> tag
22900
+
22901
+ // load the styles
22902
+ var content = __webpack_require__(6162);
22903
+ if(content.__esModule) content = content.default;
22904
+ if(typeof content === 'string') content = [[module.id, content, '']];
22905
+ if(content.locals) module.exports = content.locals;
22906
+ // add the styles to the DOM
22907
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
22908
+ var update = add("09df58bf", content, true, {"sourceMap":false,"shadowMode":false});
22909
+
22910
+ /***/ }),
22911
+
22875
22912
  /***/ 9548:
22876
22913
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22877
22914
 
@@ -23652,17 +23689,17 @@ var component = normalizeComponent(
23652
23689
  )
23653
23690
 
23654
23691
  /* harmony default export */ var workTzgg = (component.exports);
23655
- ;// 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/workTodo.vue?vue&type=template&id=c82498b6&scoped=true
23656
- var workTodovue_type_template_id_c82498b6_scoped_true_render = function render() {
23692
+ ;// 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/workTodo.vue?vue&type=template&id=3792288a&scoped=true
23693
+ var workTodovue_type_template_id_3792288a_scoped_true_render = function render() {
23657
23694
  var _vm = this,
23658
23695
  _c = _vm._self._c;
23659
23696
  return _c('div', {
23660
23697
  staticClass: "work_pageContent"
23661
23698
  }, [_c('div', {
23662
23699
  staticClass: "tab-block"
23663
- }, [_vm.haveGwgl && _vm.showNum ? _c('div', {
23700
+ }, [_vm.showTabList.length > 0 ? _c('div', {
23664
23701
  staticClass: "tab-type"
23665
- }, _vm._l(_vm.formTypeTabs, function (tab) {
23702
+ }, _vm._l(_vm.showTabList, function (tab) {
23666
23703
  return _c('div', {
23667
23704
  key: tab.value,
23668
23705
  staticClass: "tab-item",
@@ -23680,28 +23717,7 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
23680
23717
  style: {
23681
23718
  color: _vm.formType === tab.value ? 'red' : ''
23682
23719
  }
23683
- }, [_vm._v(_vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))]) : _vm._e()]);
23684
- }), 0) : _vm._e(), !_vm.haveGwgl && _vm.showNum ? _c('div', {
23685
- staticClass: "tab-type"
23686
- }, _vm._l(_vm.todoFormTypeTabs, function (tab) {
23687
- return _c('div', {
23688
- key: tab.value,
23689
- staticClass: "tab-item",
23690
- class: _vm.formType === tab.value ? 'tab-active' : '',
23691
- on: {
23692
- "click": function click($event) {
23693
- $event.stopPropagation();
23694
- return _vm.handleTypeChangeOne(tab.value);
23695
- }
23696
- }
23697
- }, [_c('span', [_vm._v(_vm._s(tab.title))]), _c('span', {
23698
- staticStyle: {
23699
- "margin-left": "2px"
23700
- },
23701
- style: {
23702
- color: _vm.formType === tab.value ? 'red' : ''
23703
- }
23704
- }, [_vm._v(_vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))])]);
23720
+ }, [_vm._v(" " + _vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))]) : _vm._e()]);
23705
23721
  }), 0) : _vm._e()]), _vm.list.length > 0 ? [_vm._l(_vm.list, function (item) {
23706
23722
  return _c('div', {
23707
23723
  key: item.id,
@@ -23764,7 +23780,7 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
23764
23780
  "text-align": "center",
23765
23781
  "background": "white"
23766
23782
  }
23767
- }, [_vm._v("暂无更多")])] : _vm._e(), _vm.list.length === 0 ? _c('div', {
23783
+ }, [_vm._v(" 暂无更多")])] : _vm._e(), _vm.list.length === 0 ? _c('div', {
23768
23784
  staticClass: "no-data"
23769
23785
  }, [_c('img', {
23770
23786
  staticStyle: {
@@ -23783,12 +23799,22 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
23783
23799
  }]
23784
23800
  }, [_vm._v("暂无数据~")])]) : _vm._e()], 2);
23785
23801
  };
23786
- var workTodovue_type_template_id_c82498b6_scoped_true_staticRenderFns = [];
23802
+ var workTodovue_type_template_id_3792288a_scoped_true_staticRenderFns = [];
23787
23803
 
23788
23804
  // EXTERNAL MODULE: ./node_modules/moment/moment.js
23789
23805
  var moment = __webpack_require__(5093);
23790
23806
  var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
23791
23807
  ;// 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/workTodo.vue?vue&type=script&lang=js
23808
+ function workTodovue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return workTodovue_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; }, workTodovue_type_script_lang_js_typeof(o); }
23809
+ function workTodovue_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 */ workTodovue_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" == workTodovue_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(workTodovue_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; }
23810
+ function workTodovue_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); }
23811
+ function workTodovue_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) { workTodovue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { workTodovue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
23812
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
23813
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
23814
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
23815
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
23816
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
23817
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
23792
23818
  var form_enum = {
23793
23819
  0: {
23794
23820
  listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
@@ -23873,10 +23899,21 @@ var todo_form_enum = {
23873
23899
  }],
23874
23900
  list: [],
23875
23901
  total: 0,
23876
- endRow: 0
23902
+ endRow: 0,
23903
+ tabList: []
23877
23904
  };
23878
23905
  },
23879
- computed: {},
23906
+ computed: {
23907
+ showTabList: function showTabList() {
23908
+ if (this.haveGwgl && this.showNum) {
23909
+ return [].concat(_toConsumableArray(this.formTypeTabs), _toConsumableArray(this.tabList));
23910
+ }
23911
+ if (!this.haveGwgl && this.showNum) {
23912
+ return [].concat(_toConsumableArray(this.todoFormTypeTabs), _toConsumableArray(this.tabList));
23913
+ }
23914
+ return [];
23915
+ }
23916
+ },
23880
23917
  watch: {},
23881
23918
  created: function created() {
23882
23919
  this.loadH5apps();
@@ -23986,6 +24023,7 @@ var todo_form_enum = {
23986
24023
  _this.showNum = true;
23987
24024
  });
23988
24025
  }
24026
+ this.getUnreadEmail(true);
23989
24027
  },
23990
24028
  // 列表tab切换
23991
24029
  handleTypeChangeOne: function handleTypeChangeOne(name) {
@@ -24023,6 +24061,7 @@ var todo_form_enum = {
24023
24061
  }
24024
24062
  }
24025
24063
  });
24064
+ this.getUnreadEmail(true);
24026
24065
  },
24027
24066
  formatCount: function formatCount(num) {
24028
24067
  if (!num) return '0';
@@ -24041,36 +24080,159 @@ var todo_form_enum = {
24041
24080
  } else {
24042
24081
  this.url = todo_form_enum;
24043
24082
  }
24083
+ if (this.appletData.appRoute) {
24084
+ var appRoute = JSON.parse(this.appletData.appRoute.replace(/\n/g, ''));
24085
+ if (Array.isArray(appRoute) && appRoute.length > 0) {
24086
+ if (appRoute[0].tabList && Array.isArray(appRoute[0].tabList) && appRoute[0].tabList.length > 0) {
24087
+ this.tabList = appRoute[0].tabList;
24088
+ }
24089
+ }
24090
+ }
24044
24091
  this.getData(this.formType);
24045
24092
  this.getListCount();
24046
24093
  },
24047
24094
  getData: function getData(type) {
24048
24095
  var _this3 = this;
24049
- this.$app.listdata(this.url[type].listDataUrl, {
24050
- pageNum: this.pageNum,
24051
- pageSize: 4
24052
- }).then(function (res) {
24053
- if (res.code === 'success') {
24054
- if (res.body.pageInfo.list.length > 0) {
24055
- _this3.total = res.body.pageInfo.total;
24056
- _this3.endRow = res.body.pageInfo.endRow;
24057
- res.body.pageInfo.list.forEach(function (item) {
24058
- item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
24059
- _this3.list.push(item);
24060
- });
24096
+ return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
24097
+ return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
24098
+ while (1) switch (_context.prev = _context.next) {
24099
+ case 0:
24100
+ if (type == 'email') {
24101
+ _this3.getUnreadEmail(false);
24102
+ } else {
24103
+ _this3.$app.listdata(_this3.url[type].listDataUrl, {
24104
+ pageNum: _this3.pageNum,
24105
+ pageSize: 4
24106
+ }).then(function (res) {
24107
+ if (res.code === 'success') {
24108
+ if (res.body.pageInfo.list.length > 0) {
24109
+ _this3.total = res.body.pageInfo.total;
24110
+ _this3.endRow = res.body.pageInfo.endRow;
24111
+ res.body.pageInfo.list.forEach(function (item) {
24112
+ item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
24113
+ _this3.list.push(item);
24114
+ });
24115
+ }
24116
+ } else {
24117
+ _this3.list = [];
24118
+ }
24119
+ });
24120
+ }
24121
+ case 1:
24122
+ case "end":
24123
+ return _context.stop();
24061
24124
  }
24062
- } else {
24063
- _this3.list = [];
24064
- }
24065
- });
24125
+ }, _callee);
24126
+ }))();
24127
+ },
24128
+ getMyMail: function getMyMail() {
24129
+ var _this4 = this;
24130
+ return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
24131
+ var currentMail, response, accountList;
24132
+ return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
24133
+ while (1) switch (_context2.prev = _context2.next) {
24134
+ case 0:
24135
+ currentMail = localStorage.getItem('currentMail');
24136
+ if (currentMail) {
24137
+ _context2.next = 8;
24138
+ break;
24139
+ }
24140
+ _context2.next = 4;
24141
+ return _this4.$http({
24142
+ method: 'GET',
24143
+ contentType: 'application/json',
24144
+ url: 'mail/userSetup/queryMyMailSetup'
24145
+ });
24146
+ case 4:
24147
+ response = _context2.sent;
24148
+ if (response.code === 'success') {
24149
+ accountList = [];
24150
+ response.body.listdata.forEach(function (item) {
24151
+ if (item.status === 1) {
24152
+ // 邮箱为可用状态(非禁用或删除等)
24153
+ accountList.push(item);
24154
+ }
24155
+ });
24156
+ if (accountList && accountList.length > 0) {
24157
+ // 第一个邮箱设置为默认邮箱
24158
+ localStorage.setItem('currentMail', JSON.stringify(accountList[0]));
24159
+ currentMail = accountList[0];
24160
+ }
24161
+ } else {
24162
+ console.error(response.message);
24163
+ }
24164
+ _context2.next = 9;
24165
+ break;
24166
+ case 8:
24167
+ currentMail = JSON.parse(currentMail);
24168
+ case 9:
24169
+ return _context2.abrupt("return", currentMail);
24170
+ case 10:
24171
+ case "end":
24172
+ return _context2.stop();
24173
+ }
24174
+ }, _callee2);
24175
+ }))();
24176
+ },
24177
+ getUnreadEmail: function getUnreadEmail() {
24178
+ var _arguments = arguments,
24179
+ _this5 = this;
24180
+ return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
24181
+ var isGetNumber, find, Mail;
24182
+ return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
24183
+ while (1) switch (_context3.prev = _context3.next) {
24184
+ case 0:
24185
+ isGetNumber = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : false;
24186
+ find = _this5.tabList.find(function (item) {
24187
+ return item.code == 'email';
24188
+ });
24189
+ if (find) {
24190
+ _context3.next = 4;
24191
+ break;
24192
+ }
24193
+ return _context3.abrupt("return");
24194
+ case 4:
24195
+ _context3.next = 6;
24196
+ return _this5.getMyMail();
24197
+ case 6:
24198
+ Mail = _context3.sent;
24199
+ _this5.$http({
24200
+ url: "mail/message/listdata?pageNum=".concat(_this5.pageNum, "&pageSize=4&mailBoxType=INBOX&usersetId=").concat(Mail.id, "&accountType=1&filter=noread"),
24201
+ method: 'post'
24202
+ }).then(function (res) {
24203
+ if (!isGetNumber) {
24204
+ res.body.pageInfo.list.forEach(function (item) {
24205
+ item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
24206
+ item.itemUrl = "/emailDetail?mailBoxId=".concat(item.mailBoxId, "&mailMessageId=").concat(item.mailMessageId);
24207
+ item.title = item.subject;
24208
+ item.wfName = item.sendPeople;
24209
+ item.senderName = item.ownerName;
24210
+ _this5.list.push(item);
24211
+ });
24212
+ _this5.endRow = res.body.pageInfo.endRow;
24213
+ _this5.total = res.body.pageInfo.total;
24214
+ }
24215
+ var find = _this5.tabList.find(function (item) {
24216
+ return item.code == 'email';
24217
+ });
24218
+ if (find) {
24219
+ _this5.$set(find, 'count', res.body.pageInfo.total);
24220
+ }
24221
+ });
24222
+ case 8:
24223
+ case "end":
24224
+ return _context3.stop();
24225
+ }
24226
+ }, _callee3);
24227
+ }))();
24066
24228
  }
24067
24229
  }
24068
24230
  });
24069
24231
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=script&lang=js
24070
24232
  /* harmony default export */ var components_workTodovue_type_script_lang_js = (workTodovue_type_script_lang_js);
24071
- // 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/workTodo.vue?vue&type=style&index=0&id=c82498b6&prod&scoped=true&lang=scss
24072
- var workTodovue_type_style_index_0_id_c82498b6_prod_scoped_true_lang_scss = __webpack_require__(7520);
24073
- ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=c82498b6&prod&scoped=true&lang=scss
24233
+ // 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/workTodo.vue?vue&type=style&index=0&id=3792288a&prod&scoped=true&lang=scss
24234
+ var workTodovue_type_style_index_0_id_3792288a_prod_scoped_true_lang_scss = __webpack_require__(4216);
24235
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=3792288a&prod&scoped=true&lang=scss
24074
24236
 
24075
24237
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue
24076
24238
 
@@ -24083,11 +24245,11 @@ var workTodovue_type_style_index_0_id_c82498b6_prod_scoped_true_lang_scss = __we
24083
24245
 
24084
24246
  var workTodo_component = normalizeComponent(
24085
24247
  components_workTodovue_type_script_lang_js,
24086
- workTodovue_type_template_id_c82498b6_scoped_true_render,
24087
- workTodovue_type_template_id_c82498b6_scoped_true_staticRenderFns,
24248
+ workTodovue_type_template_id_3792288a_scoped_true_render,
24249
+ workTodovue_type_template_id_3792288a_scoped_true_staticRenderFns,
24088
24250
  false,
24089
24251
  null,
24090
- "c82498b6",
24252
+ "3792288a",
24091
24253
  null
24092
24254
 
24093
24255
  )
@@ -26125,12 +26287,12 @@ var calendar = {
26125
26287
  }
26126
26288
  };
26127
26289
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/calendarUtil/utli.js
26128
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
26129
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
26130
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
26131
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
26132
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
26133
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
26290
+ function utli_toConsumableArray(r) { return utli_arrayWithoutHoles(r) || utli_iterableToArray(r) || utli_unsupportedIterableToArray(r) || utli_nonIterableSpread(); }
26291
+ function utli_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
26292
+ function utli_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return utli_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? utli_arrayLikeToArray(r, a) : void 0; } }
26293
+ function utli_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
26294
+ function utli_arrayWithoutHoles(r) { if (Array.isArray(r)) return utli_arrayLikeToArray(r); }
26295
+ function utli_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
26134
26296
 
26135
26297
  /* harmony default export */ var utli = ({
26136
26298
  weekDataOne: ['日', '一', '二', '三', '四', '五', '六'],
@@ -26250,7 +26412,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
26250
26412
  data: year + '-' + month + '-' + (i < 10 ? '0' + i : i)
26251
26413
  });
26252
26414
  }
26253
- var NowMonthDate = [].concat(_toConsumableArray(lastData), nowData, _toConsumableArray(nextData));
26415
+ var NowMonthDate = [].concat(utli_toConsumableArray(lastData), nowData, utli_toConsumableArray(nextData));
26254
26416
  return NowMonthDate; // 结果类似=>[28,29,30,31,1,2,3........28,29,30,1,2,3,4,5,6]
26255
26417
  },
26256
26418
  getLastWeekDay: function getLastWeekDay(val) {
@@ -29757,6 +29919,239 @@ var workHeadEight_component = normalizeComponent(
29757
29919
  )
29758
29920
 
29759
29921
  /* harmony default export */ var workHeadEight = (workHeadEight_component.exports);
29922
+ ;// 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/workWdzx.vue?vue&type=template&id=754e4459&scoped=true
29923
+ var workWdzxvue_type_template_id_754e4459_scoped_true_render = function render() {
29924
+ var _vm = this,
29925
+ _c = _vm._self._c;
29926
+ return _c('div', {
29927
+ style: {
29928
+ height: _vm.list.length === 0 ? '180px' : ''
29929
+ },
29930
+ attrs: {
29931
+ "id": "work-news"
29932
+ }
29933
+ }, [_c('div', {
29934
+ staticClass: "work-news-title"
29935
+ }, [_c('span', {
29936
+ directives: [{
29937
+ name: "text-lbl",
29938
+ rawName: "v-text-lbl",
29939
+ value: 'desktop.components.newsCenter',
29940
+ expression: "'desktop.components.newsCenter'"
29941
+ }],
29942
+ staticStyle: {
29943
+ "font-weight": "600",
29944
+ "color": "#333333"
29945
+ }
29946
+ }, [_vm._v("文档中心")]), _vm.appletData.showMore === 1 ? _c('span', {
29947
+ staticStyle: {
29948
+ "color": "#666666",
29949
+ "font-size": "12px"
29950
+ },
29951
+ on: {
29952
+ "click": _vm.moreClick
29953
+ }
29954
+ }, [_c('span', {
29955
+ directives: [{
29956
+ name: "text-lbl",
29957
+ rawName: "v-text-lbl",
29958
+ value: 'pageBtns.more',
29959
+ expression: "'pageBtns.more'"
29960
+ }]
29961
+ }, [_vm._v("更多")]), _c('van-icon', {
29962
+ staticStyle: {
29963
+ "margin-left": "2px"
29964
+ },
29965
+ attrs: {
29966
+ "color": "#666666",
29967
+ "size": "12",
29968
+ "name": "arrow"
29969
+ }
29970
+ })], 1) : _vm._e()]), _c('div', {
29971
+ staticClass: "work-news-content"
29972
+ }, [_vm._l(_vm.list, function (item) {
29973
+ return _c('div', {
29974
+ key: item.id,
29975
+ staticClass: "news-item",
29976
+ on: {
29977
+ "click": function click($event) {
29978
+ return _vm.clickItem(item);
29979
+ }
29980
+ }
29981
+ }, [_c('div', {
29982
+ staticClass: "right"
29983
+ }, [_c('div', {
29984
+ staticStyle: {
29985
+ "font-size": "14px",
29986
+ "color": "#333333",
29987
+ "overflow": "hidden",
29988
+ "white-space": "nowrap",
29989
+ "text-overflow": "ellipsis",
29990
+ "padding-bottom": "5px"
29991
+ }
29992
+ }, [_vm._v(" " + _vm._s(item.flSubject))]), _c('div', {
29993
+ staticStyle: {
29994
+ "display": "flex",
29995
+ "justify-content": "space-between"
29996
+ }
29997
+ }, [_c('span', {
29998
+ staticClass: "typeStatus"
29999
+ }, [_vm._v(_vm._s(item.flDocumentType))]), _c('span', [_vm._v(_vm._s(item.publishDate))])])])]);
30000
+ }), _vm.list.length === 0 ? _c('div', {
30001
+ staticClass: "no-data"
30002
+ }, [_c('img', {
30003
+ staticStyle: {
30004
+ "width": "115px",
30005
+ "height": "70px"
30006
+ },
30007
+ attrs: {
30008
+ "src": "/images/m-imgs/workBg/noNews.png"
30009
+ }
30010
+ }), _c('span', {
30011
+ directives: [{
30012
+ name: "text-lbl",
30013
+ rawName: "v-text-lbl",
30014
+ value: 'desktop.components.noNews',
30015
+ expression: "'desktop.components.noNews'"
30016
+ }]
30017
+ }, [_vm._v("暂无文档~")])]) : _vm._e()], 2)]);
30018
+ };
30019
+ var workWdzxvue_type_template_id_754e4459_scoped_true_staticRenderFns = [];
30020
+
30021
+ ;// 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/workWdzx.vue?vue&type=script&lang=js
30022
+ function workWdzxvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return workWdzxvue_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; }, workWdzxvue_type_script_lang_js_typeof(o); }
30023
+ function workWdzxvue_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 */ workWdzxvue_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" == workWdzxvue_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(workWdzxvue_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; }
30024
+ function workWdzxvue_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); }
30025
+ function workWdzxvue_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) { workWdzxvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { workWdzxvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
30026
+ var workWdzxvue_type_script_lang_js_moment = __webpack_require__(5093);
30027
+ /* harmony default export */ var workWdzxvue_type_script_lang_js = ({
30028
+ components: {},
30029
+ props: {
30030
+ appletData: {
30031
+ type: Object,
30032
+ default: function _default() {
30033
+ return {};
30034
+ }
30035
+ }
30036
+ },
30037
+ data: function data() {
30038
+ return {
30039
+ list: [],
30040
+ imgUrl: "/apigw",
30041
+ port: location.port
30042
+ };
30043
+ },
30044
+ computed: {},
30045
+ watch: {},
30046
+ created: function created() {
30047
+ this.getData();
30048
+ // 所有门户小组件刷新方法都注册 refreshPortletData eventBus方法,一次性刷新,需要刷新的就注册,不需要刷新就无需注册
30049
+ this.$bus.on('refreshPortletData', this.getData);
30050
+ },
30051
+ beforeDestroy: function beforeDestroy() {
30052
+ this.$bus.off('refreshPortletData', this.getData);
30053
+ },
30054
+ mounted: function mounted() {},
30055
+ methods: {
30056
+ // clickItem(val) {
30057
+ // this.$router.push({
30058
+ // path: '/journalismContent',
30059
+ // query: {
30060
+ // id: val.id
30061
+ // }
30062
+ // })
30063
+ // },
30064
+ clickItem: function clickItem(row) {
30065
+ // this.$router.push('/viewcontent?wfEngineUrl=ecoa/document&busiDataId=' + row.id + '&viewContent=1')
30066
+
30067
+ // if (row.editoral === 1 || (row.editoral === null && row.flContent === null)) {
30068
+ // this.$router.push({
30069
+ // path: '/BodyPreview',
30070
+ // query: {
30071
+ // busiDataId: row.id,
30072
+ // wfEngineUrl: 'ecoa/document',
30073
+ // viewContent: 1
30074
+ // }
30075
+ // })
30076
+ // } else {
30077
+ this.$router.push({
30078
+ path: '/viewContent',
30079
+ query: {
30080
+ busiDataId: row.id,
30081
+ wfEngineUrl: 'ecoa/document',
30082
+ viewContent: 1
30083
+ }
30084
+ });
30085
+ // }
30086
+ },
30087
+ getData: function getData() {
30088
+ var _this = this;
30089
+ return workWdzxvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workWdzxvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
30090
+ return workWdzxvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
30091
+ while (1) switch (_context.prev = _context.next) {
30092
+ case 0:
30093
+ _this.$http({
30094
+ url: 'ecoa/document/listdata?type=wdgx',
30095
+ method: 'POST',
30096
+ contentType: 'application/x-www-form-urlencoded',
30097
+ // data: dataParam,
30098
+ params: {
30099
+ listpageId: '5a32319572b3449791bc9da9f9ac6815',
30100
+ pageNum: 1,
30101
+ pageSize: 3
30102
+ // # 1139
30103
+ // orderBy: 'publishDate desc',
30104
+ // type: 'wdgx'
30105
+ }
30106
+ }).then(function (res) {
30107
+ if (res.code === 'success') {
30108
+ _this.list = res.body.pageInfo.list;
30109
+ if (_this.list.length > 0) {
30110
+ _this.list.forEach(function (item) {
30111
+ item.publishTime = item.publishTime ? workWdzxvue_type_script_lang_js_moment(item.publishTime).format('YYYY-MM-DD') : '';
30112
+ });
30113
+ }
30114
+ }
30115
+ });
30116
+ case 1:
30117
+ case "end":
30118
+ return _context.stop();
30119
+ }
30120
+ }, _callee);
30121
+ }))();
30122
+ },
30123
+ moreClick: function moreClick() {
30124
+ this.$router.push('/zsgl/home');
30125
+ }
30126
+ }
30127
+ });
30128
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=script&lang=js
30129
+ /* harmony default export */ var components_workWdzxvue_type_script_lang_js = (workWdzxvue_type_script_lang_js);
30130
+ // 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/workWdzx.vue?vue&type=style&index=0&id=754e4459&prod&scoped=true&lang=scss
30131
+ var workWdzxvue_type_style_index_0_id_754e4459_prod_scoped_true_lang_scss = __webpack_require__(2062);
30132
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=style&index=0&id=754e4459&prod&scoped=true&lang=scss
30133
+
30134
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue
30135
+
30136
+
30137
+
30138
+ ;
30139
+
30140
+
30141
+ /* normalize component */
30142
+
30143
+ var workWdzx_component = normalizeComponent(
30144
+ components_workWdzxvue_type_script_lang_js,
30145
+ workWdzxvue_type_template_id_754e4459_scoped_true_render,
30146
+ workWdzxvue_type_template_id_754e4459_scoped_true_staticRenderFns,
30147
+ false,
30148
+ null,
30149
+ "754e4459",
30150
+ null
30151
+
30152
+ )
30153
+
30154
+ /* harmony default export */ var workWdzx = (workWdzx_component.exports);
29760
30155
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/index.js
29761
30156
  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); }
29762
30157
  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; }
@@ -29782,6 +30177,8 @@ function desktop_toPrimitive(t, r) { if ("object" != desktop_typeof(t) || !t) re
29782
30177
 
29783
30178
 
29784
30179
 
30180
+ // 文档中心
30181
+
29785
30182
  // 以对象的结构保存组件,便于遍历
29786
30183
  var components = {
29787
30184
  MappWorkTzgg: workTzgg,
@@ -29799,7 +30196,8 @@ var components = {
29799
30196
  MappWorkEchartR: echartR,
29800
30197
  MappWorkCommonApps: commonApps,
29801
30198
  MappWorkHead: workHead,
29802
- MappWorkHeadEight: workHeadEight
30199
+ MappWorkHeadEight: workHeadEight,
30200
+ MappWorkWdzx: workWdzx
29803
30201
  };
29804
30202
  // 定义 install 方法
29805
30203
  var desktop_install = function install(Vue) {