ecinc-cloud-moadesktop 9.6.277 → 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.
- package/lib/ecmoadesktop.common.js +189 -64
- package/lib/ecmoadesktop.umd.js +189 -64
- package/lib/ecmoadesktop.umd.min.js +4 -4
- package/package.json +1 -1
|
@@ -844,7 +844,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-653165e4]{positio
|
|
|
844
844
|
|
|
845
845
|
/***/ }),
|
|
846
846
|
|
|
847
|
-
/***/
|
|
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-
|
|
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
|
|
|
@@ -22851,19 +22851,19 @@ var update = add("3274dc8a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22851
22851
|
|
|
22852
22852
|
/***/ }),
|
|
22853
22853
|
|
|
22854
|
-
/***/
|
|
22854
|
+
/***/ 7465:
|
|
22855
22855
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22856
22856
|
|
|
22857
22857
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22858
22858
|
|
|
22859
22859
|
// load the styles
|
|
22860
|
-
var content = __webpack_require__(
|
|
22860
|
+
var content = __webpack_require__(204);
|
|
22861
22861
|
if(content.__esModule) content = content.default;
|
|
22862
22862
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22863
22863
|
if(content.locals) module.exports = content.locals;
|
|
22864
22864
|
// add the styles to the DOM
|
|
22865
22865
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22866
|
-
var update = add("
|
|
22866
|
+
var update = add("5b588598", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22867
22867
|
|
|
22868
22868
|
/***/ }),
|
|
22869
22869
|
|
|
@@ -23679,17 +23679,17 @@ var component = normalizeComponent(
|
|
|
23679
23679
|
)
|
|
23680
23680
|
|
|
23681
23681
|
/* harmony default export */ var workTzgg = (component.exports);
|
|
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=
|
|
23683
|
-
var
|
|
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() {
|
|
23684
23684
|
var _vm = this,
|
|
23685
23685
|
_c = _vm._self._c;
|
|
23686
23686
|
return _c('div', {
|
|
23687
23687
|
staticClass: "work_pageContent"
|
|
23688
23688
|
}, [_c('div', {
|
|
23689
23689
|
staticClass: "tab-block"
|
|
23690
|
-
}, [_vm.
|
|
23690
|
+
}, [_vm.showTabList.length > 0 ? _c('div', {
|
|
23691
23691
|
staticClass: "tab-type"
|
|
23692
|
-
}, _vm._l(_vm.
|
|
23692
|
+
}, _vm._l(_vm.showTabList, function (tab) {
|
|
23693
23693
|
return _c('div', {
|
|
23694
23694
|
key: tab.value,
|
|
23695
23695
|
staticClass: "tab-item",
|
|
@@ -23707,28 +23707,7 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
|
|
|
23707
23707
|
style: {
|
|
23708
23708
|
color: _vm.formType === tab.value ? 'red' : ''
|
|
23709
23709
|
}
|
|
23710
|
-
}, [_vm._v(_vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))]) : _vm._e()]);
|
|
23711
|
-
}), 0) : _vm._e(), !_vm.haveGwgl && _vm.showNum ? _c('div', {
|
|
23712
|
-
staticClass: "tab-type"
|
|
23713
|
-
}, _vm._l(_vm.todoFormTypeTabs, function (tab) {
|
|
23714
|
-
return _c('div', {
|
|
23715
|
-
key: tab.value,
|
|
23716
|
-
staticClass: "tab-item",
|
|
23717
|
-
class: _vm.formType === tab.value ? 'tab-active' : '',
|
|
23718
|
-
on: {
|
|
23719
|
-
"click": function click($event) {
|
|
23720
|
-
$event.stopPropagation();
|
|
23721
|
-
return _vm.handleTypeChangeOne(tab.value);
|
|
23722
|
-
}
|
|
23723
|
-
}
|
|
23724
|
-
}, [_c('span', [_vm._v(_vm._s(tab.title))]), _c('span', {
|
|
23725
|
-
staticStyle: {
|
|
23726
|
-
"margin-left": "2px"
|
|
23727
|
-
},
|
|
23728
|
-
style: {
|
|
23729
|
-
color: _vm.formType === tab.value ? 'red' : ''
|
|
23730
|
-
}
|
|
23731
|
-
}, [_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()]);
|
|
23732
23711
|
}), 0) : _vm._e()]), _vm.list.length > 0 ? [_vm._l(_vm.list, function (item) {
|
|
23733
23712
|
return _c('div', {
|
|
23734
23713
|
key: item.id,
|
|
@@ -23791,7 +23770,7 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
|
|
|
23791
23770
|
"text-align": "center",
|
|
23792
23771
|
"background": "white"
|
|
23793
23772
|
}
|
|
23794
|
-
}, [_vm._v("暂无更多")])] : _vm._e(), _vm.list.length === 0 ? _c('div', {
|
|
23773
|
+
}, [_vm._v(" 暂无更多")])] : _vm._e(), _vm.list.length === 0 ? _c('div', {
|
|
23795
23774
|
staticClass: "no-data"
|
|
23796
23775
|
}, [_c('img', {
|
|
23797
23776
|
staticStyle: {
|
|
@@ -23810,12 +23789,22 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
|
|
|
23810
23789
|
}]
|
|
23811
23790
|
}, [_vm._v("暂无数据~")])]) : _vm._e()], 2);
|
|
23812
23791
|
};
|
|
23813
|
-
var
|
|
23792
|
+
var workTodovue_type_template_id_3792288a_scoped_true_staticRenderFns = [];
|
|
23814
23793
|
|
|
23815
23794
|
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
23816
23795
|
var moment = __webpack_require__(5093);
|
|
23817
23796
|
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
23818
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; }
|
|
23819
23808
|
var form_enum = {
|
|
23820
23809
|
0: {
|
|
23821
23810
|
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
@@ -23900,10 +23889,21 @@ var todo_form_enum = {
|
|
|
23900
23889
|
}],
|
|
23901
23890
|
list: [],
|
|
23902
23891
|
total: 0,
|
|
23903
|
-
endRow: 0
|
|
23892
|
+
endRow: 0,
|
|
23893
|
+
tabList: []
|
|
23904
23894
|
};
|
|
23905
23895
|
},
|
|
23906
|
-
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
|
+
},
|
|
23907
23907
|
watch: {},
|
|
23908
23908
|
created: function created() {
|
|
23909
23909
|
this.loadH5apps();
|
|
@@ -24013,6 +24013,7 @@ var todo_form_enum = {
|
|
|
24013
24013
|
_this.showNum = true;
|
|
24014
24014
|
});
|
|
24015
24015
|
}
|
|
24016
|
+
this.getUnreadEmail(true);
|
|
24016
24017
|
},
|
|
24017
24018
|
// 列表tab切换
|
|
24018
24019
|
handleTypeChangeOne: function handleTypeChangeOne(name) {
|
|
@@ -24050,6 +24051,7 @@ var todo_form_enum = {
|
|
|
24050
24051
|
}
|
|
24051
24052
|
}
|
|
24052
24053
|
});
|
|
24054
|
+
this.getUnreadEmail(true);
|
|
24053
24055
|
},
|
|
24054
24056
|
formatCount: function formatCount(num) {
|
|
24055
24057
|
if (!num) return '0';
|
|
@@ -24068,36 +24070,159 @@ var todo_form_enum = {
|
|
|
24068
24070
|
} else {
|
|
24069
24071
|
this.url = todo_form_enum;
|
|
24070
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
|
+
}
|
|
24071
24081
|
this.getData(this.formType);
|
|
24072
24082
|
this.getListCount();
|
|
24073
24083
|
},
|
|
24074
24084
|
getData: function getData(type) {
|
|
24075
24085
|
var _this3 = this;
|
|
24076
|
-
|
|
24077
|
-
|
|
24078
|
-
|
|
24079
|
-
|
|
24080
|
-
|
|
24081
|
-
|
|
24082
|
-
|
|
24083
|
-
|
|
24084
|
-
|
|
24085
|
-
|
|
24086
|
-
|
|
24087
|
-
|
|
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();
|
|
24088
24114
|
}
|
|
24089
|
-
}
|
|
24090
|
-
|
|
24091
|
-
|
|
24092
|
-
|
|
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
|
+
}))();
|
|
24093
24218
|
}
|
|
24094
24219
|
}
|
|
24095
24220
|
});
|
|
24096
24221
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=script&lang=js
|
|
24097
24222
|
/* harmony default export */ var components_workTodovue_type_script_lang_js = (workTodovue_type_script_lang_js);
|
|
24098
|
-
// 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=
|
|
24099
|
-
var
|
|
24100
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=
|
|
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
|
|
24101
24226
|
|
|
24102
24227
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue
|
|
24103
24228
|
|
|
@@ -24110,11 +24235,11 @@ var workTodovue_type_style_index_0_id_c82498b6_prod_scoped_true_lang_scss = __we
|
|
|
24110
24235
|
|
|
24111
24236
|
var workTodo_component = normalizeComponent(
|
|
24112
24237
|
components_workTodovue_type_script_lang_js,
|
|
24113
|
-
|
|
24114
|
-
|
|
24238
|
+
workTodovue_type_template_id_3792288a_scoped_true_render,
|
|
24239
|
+
workTodovue_type_template_id_3792288a_scoped_true_staticRenderFns,
|
|
24115
24240
|
false,
|
|
24116
24241
|
null,
|
|
24117
|
-
"
|
|
24242
|
+
"3792288a",
|
|
24118
24243
|
null
|
|
24119
24244
|
|
|
24120
24245
|
)
|
|
@@ -26152,12 +26277,12 @@ var calendar = {
|
|
|
26152
26277
|
}
|
|
26153
26278
|
};
|
|
26154
26279
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/calendarUtil/utli.js
|
|
26155
|
-
function
|
|
26156
|
-
function
|
|
26157
|
-
function
|
|
26158
|
-
function
|
|
26159
|
-
function
|
|
26160
|
-
function
|
|
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; }
|
|
26161
26286
|
|
|
26162
26287
|
/* harmony default export */ var utli = ({
|
|
26163
26288
|
weekDataOne: ['日', '一', '二', '三', '四', '五', '六'],
|
|
@@ -26277,7 +26402,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
26277
26402
|
data: year + '-' + month + '-' + (i < 10 ? '0' + i : i)
|
|
26278
26403
|
});
|
|
26279
26404
|
}
|
|
26280
|
-
var NowMonthDate = [].concat(
|
|
26405
|
+
var NowMonthDate = [].concat(utli_toConsumableArray(lastData), nowData, utli_toConsumableArray(nextData));
|
|
26281
26406
|
return NowMonthDate; // 结果类似=>[28,29,30,31,1,2,3........28,29,30,1,2,3,4,5,6]
|
|
26282
26407
|
},
|
|
26283
26408
|
getLastWeekDay: function getLastWeekDay(val) {
|