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.
@@ -844,7 +844,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-653165e4]{positio
844
844
 
845
845
  /***/ }),
846
846
 
847
- /***/ 9340:
847
+ /***/ 204:
848
848
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
849
849
 
850
850
  "use strict";
@@ -858,7 +858,7 @@ __webpack_require__.r(__webpack_exports__);
858
858
 
859
859
  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()));
860
860
  // Module
861
- ___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}", ""]);
861
+ ___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}", ""]);
862
862
  // Exports
863
863
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
864
864
 
@@ -884,6 +884,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-59abe380]{display:-web
884
884
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
885
885
 
886
886
 
887
+ /***/ }),
888
+
889
+ /***/ 3442:
890
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
891
+
892
+ "use strict";
893
+ __webpack_require__.r(__webpack_exports__);
894
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
895
+ /* 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__);
896
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
897
+ /* 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__);
898
+ // Imports
899
+
900
+
901
+ 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()));
902
+ // Module
903
+ ___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}", ""]);
904
+ // Exports
905
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
906
+
907
+
887
908
  /***/ }),
888
909
 
889
910
  /***/ 6314:
@@ -22830,19 +22851,19 @@ var update = add("3274dc8a", content, true, {"sourceMap":false,"shadowMode":fals
22830
22851
 
22831
22852
  /***/ }),
22832
22853
 
22833
- /***/ 3726:
22854
+ /***/ 7465:
22834
22855
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22835
22856
 
22836
22857
  // style-loader: Adds some css to the DOM by adding a <style> tag
22837
22858
 
22838
22859
  // load the styles
22839
- var content = __webpack_require__(9340);
22860
+ var content = __webpack_require__(204);
22840
22861
  if(content.__esModule) content = content.default;
22841
22862
  if(typeof content === 'string') content = [[module.id, content, '']];
22842
22863
  if(content.locals) module.exports = content.locals;
22843
22864
  // add the styles to the DOM
22844
22865
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
22845
- var update = add("7b73a5d6", content, true, {"sourceMap":false,"shadowMode":false});
22866
+ var update = add("5b588598", content, true, {"sourceMap":false,"shadowMode":false});
22846
22867
 
22847
22868
  /***/ }),
22848
22869
 
@@ -22862,6 +22883,22 @@ var update = add("a5d85d52", content, true, {"sourceMap":false,"shadowMode":fals
22862
22883
 
22863
22884
  /***/ }),
22864
22885
 
22886
+ /***/ 9784:
22887
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22888
+
22889
+ // style-loader: Adds some css to the DOM by adding a <style> tag
22890
+
22891
+ // load the styles
22892
+ var content = __webpack_require__(3442);
22893
+ if(content.__esModule) content = content.default;
22894
+ if(typeof content === 'string') content = [[module.id, content, '']];
22895
+ if(content.locals) module.exports = content.locals;
22896
+ // add the styles to the DOM
22897
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
22898
+ var update = add("6c7f1782", content, true, {"sourceMap":false,"shadowMode":false});
22899
+
22900
+ /***/ }),
22901
+
22865
22902
  /***/ 9548:
22866
22903
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22867
22904
 
@@ -23642,17 +23679,17 @@ var component = normalizeComponent(
23642
23679
  )
23643
23680
 
23644
23681
  /* harmony default export */ var workTzgg = (component.exports);
23645
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=template&id=c82498b6&scoped=true
23646
- var workTodovue_type_template_id_c82498b6_scoped_true_render = function render() {
23682
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=template&id=3792288a&scoped=true
23683
+ var workTodovue_type_template_id_3792288a_scoped_true_render = function render() {
23647
23684
  var _vm = this,
23648
23685
  _c = _vm._self._c;
23649
23686
  return _c('div', {
23650
23687
  staticClass: "work_pageContent"
23651
23688
  }, [_c('div', {
23652
23689
  staticClass: "tab-block"
23653
- }, [_vm.haveGwgl && _vm.showNum ? _c('div', {
23690
+ }, [_vm.showTabList.length > 0 ? _c('div', {
23654
23691
  staticClass: "tab-type"
23655
- }, _vm._l(_vm.formTypeTabs, function (tab) {
23692
+ }, _vm._l(_vm.showTabList, function (tab) {
23656
23693
  return _c('div', {
23657
23694
  key: tab.value,
23658
23695
  staticClass: "tab-item",
@@ -23670,28 +23707,7 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
23670
23707
  style: {
23671
23708
  color: _vm.formType === tab.value ? 'red' : ''
23672
23709
  }
23673
- }, [_vm._v(_vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))]) : _vm._e()]);
23674
- }), 0) : _vm._e(), !_vm.haveGwgl && _vm.showNum ? _c('div', {
23675
- staticClass: "tab-type"
23676
- }, _vm._l(_vm.todoFormTypeTabs, function (tab) {
23677
- return _c('div', {
23678
- key: tab.value,
23679
- staticClass: "tab-item",
23680
- class: _vm.formType === tab.value ? 'tab-active' : '',
23681
- on: {
23682
- "click": function click($event) {
23683
- $event.stopPropagation();
23684
- return _vm.handleTypeChangeOne(tab.value);
23685
- }
23686
- }
23687
- }, [_c('span', [_vm._v(_vm._s(tab.title))]), _c('span', {
23688
- staticStyle: {
23689
- "margin-left": "2px"
23690
- },
23691
- style: {
23692
- color: _vm.formType === tab.value ? 'red' : ''
23693
- }
23694
- }, [_vm._v(_vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))])]);
23710
+ }, [_vm._v(" " + _vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))]) : _vm._e()]);
23695
23711
  }), 0) : _vm._e()]), _vm.list.length > 0 ? [_vm._l(_vm.list, function (item) {
23696
23712
  return _c('div', {
23697
23713
  key: item.id,
@@ -23754,7 +23770,7 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
23754
23770
  "text-align": "center",
23755
23771
  "background": "white"
23756
23772
  }
23757
- }, [_vm._v("暂无更多")])] : _vm._e(), _vm.list.length === 0 ? _c('div', {
23773
+ }, [_vm._v(" 暂无更多")])] : _vm._e(), _vm.list.length === 0 ? _c('div', {
23758
23774
  staticClass: "no-data"
23759
23775
  }, [_c('img', {
23760
23776
  staticStyle: {
@@ -23773,12 +23789,22 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
23773
23789
  }]
23774
23790
  }, [_vm._v("暂无数据~")])]) : _vm._e()], 2);
23775
23791
  };
23776
- var workTodovue_type_template_id_c82498b6_scoped_true_staticRenderFns = [];
23792
+ var workTodovue_type_template_id_3792288a_scoped_true_staticRenderFns = [];
23777
23793
 
23778
23794
  // EXTERNAL MODULE: ./node_modules/moment/moment.js
23779
23795
  var moment = __webpack_require__(5093);
23780
23796
  var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
23781
23797
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=script&lang=js
23798
+ 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); }
23799
+ 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; }
23800
+ 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); }
23801
+ 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); }); }; }
23802
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
23803
+ 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."); }
23804
+ 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; } }
23805
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
23806
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
23807
+ 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; }
23782
23808
  var form_enum = {
23783
23809
  0: {
23784
23810
  listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
@@ -23863,10 +23889,21 @@ var todo_form_enum = {
23863
23889
  }],
23864
23890
  list: [],
23865
23891
  total: 0,
23866
- endRow: 0
23892
+ endRow: 0,
23893
+ tabList: []
23867
23894
  };
23868
23895
  },
23869
- computed: {},
23896
+ computed: {
23897
+ showTabList: function showTabList() {
23898
+ if (this.haveGwgl && this.showNum) {
23899
+ return [].concat(_toConsumableArray(this.formTypeTabs), _toConsumableArray(this.tabList));
23900
+ }
23901
+ if (!this.haveGwgl && this.showNum) {
23902
+ return [].concat(_toConsumableArray(this.todoFormTypeTabs), _toConsumableArray(this.tabList));
23903
+ }
23904
+ return [];
23905
+ }
23906
+ },
23870
23907
  watch: {},
23871
23908
  created: function created() {
23872
23909
  this.loadH5apps();
@@ -23976,6 +24013,7 @@ var todo_form_enum = {
23976
24013
  _this.showNum = true;
23977
24014
  });
23978
24015
  }
24016
+ this.getUnreadEmail(true);
23979
24017
  },
23980
24018
  // 列表tab切换
23981
24019
  handleTypeChangeOne: function handleTypeChangeOne(name) {
@@ -24013,6 +24051,7 @@ var todo_form_enum = {
24013
24051
  }
24014
24052
  }
24015
24053
  });
24054
+ this.getUnreadEmail(true);
24016
24055
  },
24017
24056
  formatCount: function formatCount(num) {
24018
24057
  if (!num) return '0';
@@ -24031,36 +24070,159 @@ var todo_form_enum = {
24031
24070
  } else {
24032
24071
  this.url = todo_form_enum;
24033
24072
  }
24073
+ if (this.appletData.appRoute) {
24074
+ var appRoute = JSON.parse(this.appletData.appRoute.replace(/\n/g, ''));
24075
+ if (Array.isArray(appRoute) && appRoute.length > 0) {
24076
+ if (appRoute[0].tabList && Array.isArray(appRoute[0].tabList) && appRoute[0].tabList.length > 0) {
24077
+ this.tabList = appRoute[0].tabList;
24078
+ }
24079
+ }
24080
+ }
24034
24081
  this.getData(this.formType);
24035
24082
  this.getListCount();
24036
24083
  },
24037
24084
  getData: function getData(type) {
24038
24085
  var _this3 = this;
24039
- this.$app.listdata(this.url[type].listDataUrl, {
24040
- pageNum: this.pageNum,
24041
- pageSize: 4
24042
- }).then(function (res) {
24043
- if (res.code === 'success') {
24044
- if (res.body.pageInfo.list.length > 0) {
24045
- _this3.total = res.body.pageInfo.total;
24046
- _this3.endRow = res.body.pageInfo.endRow;
24047
- res.body.pageInfo.list.forEach(function (item) {
24048
- item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
24049
- _this3.list.push(item);
24050
- });
24086
+ return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
24087
+ return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
24088
+ while (1) switch (_context.prev = _context.next) {
24089
+ case 0:
24090
+ if (type == 'email') {
24091
+ _this3.getUnreadEmail(false);
24092
+ } else {
24093
+ _this3.$app.listdata(_this3.url[type].listDataUrl, {
24094
+ pageNum: _this3.pageNum,
24095
+ pageSize: 4
24096
+ }).then(function (res) {
24097
+ if (res.code === 'success') {
24098
+ if (res.body.pageInfo.list.length > 0) {
24099
+ _this3.total = res.body.pageInfo.total;
24100
+ _this3.endRow = res.body.pageInfo.endRow;
24101
+ res.body.pageInfo.list.forEach(function (item) {
24102
+ item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
24103
+ _this3.list.push(item);
24104
+ });
24105
+ }
24106
+ } else {
24107
+ _this3.list = [];
24108
+ }
24109
+ });
24110
+ }
24111
+ case 1:
24112
+ case "end":
24113
+ return _context.stop();
24051
24114
  }
24052
- } else {
24053
- _this3.list = [];
24054
- }
24055
- });
24115
+ }, _callee);
24116
+ }))();
24117
+ },
24118
+ getMyMail: function getMyMail() {
24119
+ var _this4 = this;
24120
+ return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
24121
+ var currentMail, response, accountList;
24122
+ return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
24123
+ while (1) switch (_context2.prev = _context2.next) {
24124
+ case 0:
24125
+ currentMail = localStorage.getItem('currentMail');
24126
+ if (currentMail) {
24127
+ _context2.next = 8;
24128
+ break;
24129
+ }
24130
+ _context2.next = 4;
24131
+ return _this4.$http({
24132
+ method: 'GET',
24133
+ contentType: 'application/json',
24134
+ url: 'mail/userSetup/queryMyMailSetup'
24135
+ });
24136
+ case 4:
24137
+ response = _context2.sent;
24138
+ if (response.code === 'success') {
24139
+ accountList = [];
24140
+ response.body.listdata.forEach(function (item) {
24141
+ if (item.status === 1) {
24142
+ // 邮箱为可用状态(非禁用或删除等)
24143
+ accountList.push(item);
24144
+ }
24145
+ });
24146
+ if (accountList && accountList.length > 0) {
24147
+ // 第一个邮箱设置为默认邮箱
24148
+ localStorage.setItem('currentMail', JSON.stringify(accountList[0]));
24149
+ currentMail = accountList[0];
24150
+ }
24151
+ } else {
24152
+ console.error(response.message);
24153
+ }
24154
+ _context2.next = 9;
24155
+ break;
24156
+ case 8:
24157
+ currentMail = JSON.parse(currentMail);
24158
+ case 9:
24159
+ return _context2.abrupt("return", currentMail);
24160
+ case 10:
24161
+ case "end":
24162
+ return _context2.stop();
24163
+ }
24164
+ }, _callee2);
24165
+ }))();
24166
+ },
24167
+ getUnreadEmail: function getUnreadEmail() {
24168
+ var _arguments = arguments,
24169
+ _this5 = this;
24170
+ return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
24171
+ var isGetNumber, find, Mail;
24172
+ return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
24173
+ while (1) switch (_context3.prev = _context3.next) {
24174
+ case 0:
24175
+ isGetNumber = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : false;
24176
+ find = _this5.tabList.find(function (item) {
24177
+ return item.code == 'email';
24178
+ });
24179
+ if (find) {
24180
+ _context3.next = 4;
24181
+ break;
24182
+ }
24183
+ return _context3.abrupt("return");
24184
+ case 4:
24185
+ _context3.next = 6;
24186
+ return _this5.getMyMail();
24187
+ case 6:
24188
+ Mail = _context3.sent;
24189
+ _this5.$http({
24190
+ url: "mail/message/listdata?pageNum=".concat(_this5.pageNum, "&pageSize=4&mailBoxType=INBOX&usersetId=").concat(Mail.id, "&accountType=1&filter=noread"),
24191
+ method: 'post'
24192
+ }).then(function (res) {
24193
+ if (!isGetNumber) {
24194
+ res.body.pageInfo.list.forEach(function (item) {
24195
+ item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
24196
+ item.itemUrl = "/emailDetail?mailBoxId=".concat(item.mailBoxId, "&mailMessageId=").concat(item.mailMessageId);
24197
+ item.title = item.subject;
24198
+ item.wfName = item.sendPeople;
24199
+ item.senderName = item.ownerName;
24200
+ _this5.list.push(item);
24201
+ });
24202
+ _this5.endRow = res.body.pageInfo.endRow;
24203
+ _this5.total = res.body.pageInfo.total;
24204
+ }
24205
+ var find = _this5.tabList.find(function (item) {
24206
+ return item.code == 'email';
24207
+ });
24208
+ if (find) {
24209
+ _this5.$set(find, 'count', res.body.pageInfo.total);
24210
+ }
24211
+ });
24212
+ case 8:
24213
+ case "end":
24214
+ return _context3.stop();
24215
+ }
24216
+ }, _callee3);
24217
+ }))();
24056
24218
  }
24057
24219
  }
24058
24220
  });
24059
24221
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=script&lang=js
24060
24222
  /* harmony default export */ var components_workTodovue_type_script_lang_js = (workTodovue_type_script_lang_js);
24061
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=c82498b6&prod&scoped=true&lang=scss
24062
- var workTodovue_type_style_index_0_id_c82498b6_prod_scoped_true_lang_scss = __webpack_require__(3726);
24063
- ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=c82498b6&prod&scoped=true&lang=scss
24223
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=3792288a&prod&scoped=true&lang=scss
24224
+ var workTodovue_type_style_index_0_id_3792288a_prod_scoped_true_lang_scss = __webpack_require__(7465);
24225
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=3792288a&prod&scoped=true&lang=scss
24064
24226
 
24065
24227
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue
24066
24228
 
@@ -24073,11 +24235,11 @@ var workTodovue_type_style_index_0_id_c82498b6_prod_scoped_true_lang_scss = __we
24073
24235
 
24074
24236
  var workTodo_component = normalizeComponent(
24075
24237
  components_workTodovue_type_script_lang_js,
24076
- workTodovue_type_template_id_c82498b6_scoped_true_render,
24077
- workTodovue_type_template_id_c82498b6_scoped_true_staticRenderFns,
24238
+ workTodovue_type_template_id_3792288a_scoped_true_render,
24239
+ workTodovue_type_template_id_3792288a_scoped_true_staticRenderFns,
24078
24240
  false,
24079
24241
  null,
24080
- "c82498b6",
24242
+ "3792288a",
24081
24243
  null
24082
24244
 
24083
24245
  )
@@ -26115,12 +26277,12 @@ var calendar = {
26115
26277
  }
26116
26278
  };
26117
26279
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/calendarUtil/utli.js
26118
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
26119
- 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."); }
26120
- 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; } }
26121
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
26122
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
26123
- 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; }
26280
+ function utli_toConsumableArray(r) { return utli_arrayWithoutHoles(r) || utli_iterableToArray(r) || utli_unsupportedIterableToArray(r) || utli_nonIterableSpread(); }
26281
+ 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."); }
26282
+ 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; } }
26283
+ function utli_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
26284
+ function utli_arrayWithoutHoles(r) { if (Array.isArray(r)) return utli_arrayLikeToArray(r); }
26285
+ 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; }
26124
26286
 
26125
26287
  /* harmony default export */ var utli = ({
26126
26288
  weekDataOne: ['日', '一', '二', '三', '四', '五', '六'],
@@ -26240,7 +26402,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
26240
26402
  data: year + '-' + month + '-' + (i < 10 ? '0' + i : i)
26241
26403
  });
26242
26404
  }
26243
- var NowMonthDate = [].concat(_toConsumableArray(lastData), nowData, _toConsumableArray(nextData));
26405
+ var NowMonthDate = [].concat(utli_toConsumableArray(lastData), nowData, utli_toConsumableArray(nextData));
26244
26406
  return NowMonthDate; // 结果类似=>[28,29,30,31,1,2,3........28,29,30,1,2,3,4,5,6]
26245
26407
  },
26246
26408
  getLastWeekDay: function getLastWeekDay(val) {
@@ -29747,6 +29909,239 @@ var workHeadEight_component = normalizeComponent(
29747
29909
  )
29748
29910
 
29749
29911
  /* harmony default export */ var workHeadEight = (workHeadEight_component.exports);
29912
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=template&id=754e4459&scoped=true
29913
+ var workWdzxvue_type_template_id_754e4459_scoped_true_render = function render() {
29914
+ var _vm = this,
29915
+ _c = _vm._self._c;
29916
+ return _c('div', {
29917
+ style: {
29918
+ height: _vm.list.length === 0 ? '180px' : ''
29919
+ },
29920
+ attrs: {
29921
+ "id": "work-news"
29922
+ }
29923
+ }, [_c('div', {
29924
+ staticClass: "work-news-title"
29925
+ }, [_c('span', {
29926
+ directives: [{
29927
+ name: "text-lbl",
29928
+ rawName: "v-text-lbl",
29929
+ value: 'desktop.components.newsCenter',
29930
+ expression: "'desktop.components.newsCenter'"
29931
+ }],
29932
+ staticStyle: {
29933
+ "font-weight": "600",
29934
+ "color": "#333333"
29935
+ }
29936
+ }, [_vm._v("文档中心")]), _vm.appletData.showMore === 1 ? _c('span', {
29937
+ staticStyle: {
29938
+ "color": "#666666",
29939
+ "font-size": "12px"
29940
+ },
29941
+ on: {
29942
+ "click": _vm.moreClick
29943
+ }
29944
+ }, [_c('span', {
29945
+ directives: [{
29946
+ name: "text-lbl",
29947
+ rawName: "v-text-lbl",
29948
+ value: 'pageBtns.more',
29949
+ expression: "'pageBtns.more'"
29950
+ }]
29951
+ }, [_vm._v("更多")]), _c('van-icon', {
29952
+ staticStyle: {
29953
+ "margin-left": "2px"
29954
+ },
29955
+ attrs: {
29956
+ "color": "#666666",
29957
+ "size": "12",
29958
+ "name": "arrow"
29959
+ }
29960
+ })], 1) : _vm._e()]), _c('div', {
29961
+ staticClass: "work-news-content"
29962
+ }, [_vm._l(_vm.list, function (item) {
29963
+ return _c('div', {
29964
+ key: item.id,
29965
+ staticClass: "news-item",
29966
+ on: {
29967
+ "click": function click($event) {
29968
+ return _vm.clickItem(item);
29969
+ }
29970
+ }
29971
+ }, [_c('div', {
29972
+ staticClass: "right"
29973
+ }, [_c('div', {
29974
+ staticStyle: {
29975
+ "font-size": "14px",
29976
+ "color": "#333333",
29977
+ "overflow": "hidden",
29978
+ "white-space": "nowrap",
29979
+ "text-overflow": "ellipsis",
29980
+ "padding-bottom": "5px"
29981
+ }
29982
+ }, [_vm._v(" " + _vm._s(item.flSubject))]), _c('div', {
29983
+ staticStyle: {
29984
+ "display": "flex",
29985
+ "justify-content": "space-between"
29986
+ }
29987
+ }, [_c('span', {
29988
+ staticClass: "typeStatus"
29989
+ }, [_vm._v(_vm._s(item.flDocumentType))]), _c('span', [_vm._v(_vm._s(item.publishDate))])])])]);
29990
+ }), _vm.list.length === 0 ? _c('div', {
29991
+ staticClass: "no-data"
29992
+ }, [_c('img', {
29993
+ staticStyle: {
29994
+ "width": "115px",
29995
+ "height": "70px"
29996
+ },
29997
+ attrs: {
29998
+ "src": "/images/m-imgs/workBg/noNews.png"
29999
+ }
30000
+ }), _c('span', {
30001
+ directives: [{
30002
+ name: "text-lbl",
30003
+ rawName: "v-text-lbl",
30004
+ value: 'desktop.components.noNews',
30005
+ expression: "'desktop.components.noNews'"
30006
+ }]
30007
+ }, [_vm._v("暂无文档~")])]) : _vm._e()], 2)]);
30008
+ };
30009
+ var workWdzxvue_type_template_id_754e4459_scoped_true_staticRenderFns = [];
30010
+
30011
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=script&lang=js
30012
+ 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); }
30013
+ 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; }
30014
+ 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); }
30015
+ 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); }); }; }
30016
+ var workWdzxvue_type_script_lang_js_moment = __webpack_require__(5093);
30017
+ /* harmony default export */ var workWdzxvue_type_script_lang_js = ({
30018
+ components: {},
30019
+ props: {
30020
+ appletData: {
30021
+ type: Object,
30022
+ default: function _default() {
30023
+ return {};
30024
+ }
30025
+ }
30026
+ },
30027
+ data: function data() {
30028
+ return {
30029
+ list: [],
30030
+ imgUrl: "/apigw",
30031
+ port: location.port
30032
+ };
30033
+ },
30034
+ computed: {},
30035
+ watch: {},
30036
+ created: function created() {
30037
+ this.getData();
30038
+ // 所有门户小组件刷新方法都注册 refreshPortletData eventBus方法,一次性刷新,需要刷新的就注册,不需要刷新就无需注册
30039
+ this.$bus.on('refreshPortletData', this.getData);
30040
+ },
30041
+ beforeDestroy: function beforeDestroy() {
30042
+ this.$bus.off('refreshPortletData', this.getData);
30043
+ },
30044
+ mounted: function mounted() {},
30045
+ methods: {
30046
+ // clickItem(val) {
30047
+ // this.$router.push({
30048
+ // path: '/journalismContent',
30049
+ // query: {
30050
+ // id: val.id
30051
+ // }
30052
+ // })
30053
+ // },
30054
+ clickItem: function clickItem(row) {
30055
+ // this.$router.push('/viewcontent?wfEngineUrl=ecoa/document&busiDataId=' + row.id + '&viewContent=1')
30056
+
30057
+ // if (row.editoral === 1 || (row.editoral === null && row.flContent === null)) {
30058
+ // this.$router.push({
30059
+ // path: '/BodyPreview',
30060
+ // query: {
30061
+ // busiDataId: row.id,
30062
+ // wfEngineUrl: 'ecoa/document',
30063
+ // viewContent: 1
30064
+ // }
30065
+ // })
30066
+ // } else {
30067
+ this.$router.push({
30068
+ path: '/viewContent',
30069
+ query: {
30070
+ busiDataId: row.id,
30071
+ wfEngineUrl: 'ecoa/document',
30072
+ viewContent: 1
30073
+ }
30074
+ });
30075
+ // }
30076
+ },
30077
+ getData: function getData() {
30078
+ var _this = this;
30079
+ return workWdzxvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workWdzxvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
30080
+ return workWdzxvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
30081
+ while (1) switch (_context.prev = _context.next) {
30082
+ case 0:
30083
+ _this.$http({
30084
+ url: 'ecoa/document/listdata?type=wdgx',
30085
+ method: 'POST',
30086
+ contentType: 'application/x-www-form-urlencoded',
30087
+ // data: dataParam,
30088
+ params: {
30089
+ listpageId: '5a32319572b3449791bc9da9f9ac6815',
30090
+ pageNum: 1,
30091
+ pageSize: 3
30092
+ // # 1139
30093
+ // orderBy: 'publishDate desc',
30094
+ // type: 'wdgx'
30095
+ }
30096
+ }).then(function (res) {
30097
+ if (res.code === 'success') {
30098
+ _this.list = res.body.pageInfo.list;
30099
+ if (_this.list.length > 0) {
30100
+ _this.list.forEach(function (item) {
30101
+ item.publishTime = item.publishTime ? workWdzxvue_type_script_lang_js_moment(item.publishTime).format('YYYY-MM-DD') : '';
30102
+ });
30103
+ }
30104
+ }
30105
+ });
30106
+ case 1:
30107
+ case "end":
30108
+ return _context.stop();
30109
+ }
30110
+ }, _callee);
30111
+ }))();
30112
+ },
30113
+ moreClick: function moreClick() {
30114
+ this.$router.push('/zsgl/home');
30115
+ }
30116
+ }
30117
+ });
30118
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=script&lang=js
30119
+ /* harmony default export */ var components_workWdzxvue_type_script_lang_js = (workWdzxvue_type_script_lang_js);
30120
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=style&index=0&id=754e4459&prod&scoped=true&lang=scss
30121
+ var workWdzxvue_type_style_index_0_id_754e4459_prod_scoped_true_lang_scss = __webpack_require__(9784);
30122
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=style&index=0&id=754e4459&prod&scoped=true&lang=scss
30123
+
30124
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue
30125
+
30126
+
30127
+
30128
+ ;
30129
+
30130
+
30131
+ /* normalize component */
30132
+
30133
+ var workWdzx_component = normalizeComponent(
30134
+ components_workWdzxvue_type_script_lang_js,
30135
+ workWdzxvue_type_template_id_754e4459_scoped_true_render,
30136
+ workWdzxvue_type_template_id_754e4459_scoped_true_staticRenderFns,
30137
+ false,
30138
+ null,
30139
+ "754e4459",
30140
+ null
30141
+
30142
+ )
30143
+
30144
+ /* harmony default export */ var workWdzx = (workWdzx_component.exports);
29750
30145
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/index.js
29751
30146
  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); }
29752
30147
  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; }
@@ -29772,6 +30167,8 @@ function desktop_toPrimitive(t, r) { if ("object" != desktop_typeof(t) || !t) re
29772
30167
 
29773
30168
 
29774
30169
 
30170
+ // 文档中心
30171
+
29775
30172
  // 以对象的结构保存组件,便于遍历
29776
30173
  var components = {
29777
30174
  MappWorkTzgg: workTzgg,
@@ -29789,7 +30186,8 @@ var components = {
29789
30186
  MappWorkEchartR: echartR,
29790
30187
  MappWorkCommonApps: commonApps,
29791
30188
  MappWorkHead: workHead,
29792
- MappWorkHeadEight: workHeadEight
30189
+ MappWorkHeadEight: workHeadEight,
30190
+ MappWorkWdzx: workWdzx
29793
30191
  };
29794
30192
  // 定义 install 方法
29795
30193
  var desktop_install = function install(Vue) {