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
package/lib/ecmoadesktop.umd.js
CHANGED
|
@@ -854,7 +854,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-653165e4]{positio
|
|
|
854
854
|
|
|
855
855
|
/***/ }),
|
|
856
856
|
|
|
857
|
-
/***/
|
|
857
|
+
/***/ 2924:
|
|
858
858
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
859
859
|
|
|
860
860
|
"use strict";
|
|
@@ -868,7 +868,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
868
868
|
|
|
869
869
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
870
870
|
// Module
|
|
871
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-
|
|
871
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-3792288a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%;margin-top:100px}.no-data span[data-v-3792288a]{color:#999;font-size:13px}.work_pageContent[data-v-3792288a]{min-height:360px;overflow:hidden;position:relative;border-radius:6px;background:#fff}.work_pageContent .tab-block[data-v-3792288a]{height:44px}.work_pageContent .tab-type[data-v-3792288a]{display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border-bottom:1px solid #ebedf0;position:relative;z-index:9;padding:0 12px;gap:10px}.work_pageContent .tab-type .tab-item[data-v-3792288a]{cursor:pointer;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;color:#999}.work_pageContent .tab-type .tab-active[data-v-3792288a]{color:#333;font-weight:700}.work_pageContent .table-box[data-v-3792288a]:after{content:\"\";position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:calc(100% - 28px);background:#ebedf0;height:1px}.work_pageContent .table-box[data-v-3792288a]{height:68px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 14px;font-family:PingFangSC-Regular,PingFang SC}.work_pageContent .table-box[data-v-3792288a]:last-child{border-bottom:none}.work_pageContent .table-box .top[data-v-3792288a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageContent .table-box .top .top-left[data-v-3792288a]{font-size:14px;color:#333;font-weight:700;width:calc(100% - 100px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.work_pageContent .table-box .top .readed[data-v-3792288a]{color:#777}.work_pageContent .table-box .top .top-right[data-v-3792288a]{width:auto;padding:0 5px;height:20px;background:#e8f4ff;border-radius:2px;text-align:center;line-height:20px;font-size:12px;color:#409eff;max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.work_pageContent .table-box .bottom[data-v-3792288a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:12px;color:#999}", ""]);
|
|
872
872
|
// Exports
|
|
873
873
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
874
874
|
|
|
@@ -22861,19 +22861,19 @@ var update = add("cf71d38a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22861
22861
|
|
|
22862
22862
|
/***/ }),
|
|
22863
22863
|
|
|
22864
|
-
/***/
|
|
22864
|
+
/***/ 4216:
|
|
22865
22865
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22866
22866
|
|
|
22867
22867
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22868
22868
|
|
|
22869
22869
|
// load the styles
|
|
22870
|
-
var content = __webpack_require__(
|
|
22870
|
+
var content = __webpack_require__(2924);
|
|
22871
22871
|
if(content.__esModule) content = content.default;
|
|
22872
22872
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22873
22873
|
if(content.locals) module.exports = content.locals;
|
|
22874
22874
|
// add the styles to the DOM
|
|
22875
22875
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22876
|
-
var update = add("
|
|
22876
|
+
var update = add("c9112bd0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22877
22877
|
|
|
22878
22878
|
/***/ }),
|
|
22879
22879
|
|
|
@@ -23689,17 +23689,17 @@ var component = normalizeComponent(
|
|
|
23689
23689
|
)
|
|
23690
23690
|
|
|
23691
23691
|
/* harmony default export */ var workTzgg = (component.exports);
|
|
23692
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=template&id=
|
|
23693
|
-
var
|
|
23692
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=template&id=3792288a&scoped=true
|
|
23693
|
+
var workTodovue_type_template_id_3792288a_scoped_true_render = function render() {
|
|
23694
23694
|
var _vm = this,
|
|
23695
23695
|
_c = _vm._self._c;
|
|
23696
23696
|
return _c('div', {
|
|
23697
23697
|
staticClass: "work_pageContent"
|
|
23698
23698
|
}, [_c('div', {
|
|
23699
23699
|
staticClass: "tab-block"
|
|
23700
|
-
}, [_vm.
|
|
23700
|
+
}, [_vm.showTabList.length > 0 ? _c('div', {
|
|
23701
23701
|
staticClass: "tab-type"
|
|
23702
|
-
}, _vm._l(_vm.
|
|
23702
|
+
}, _vm._l(_vm.showTabList, function (tab) {
|
|
23703
23703
|
return _c('div', {
|
|
23704
23704
|
key: tab.value,
|
|
23705
23705
|
staticClass: "tab-item",
|
|
@@ -23717,28 +23717,7 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
|
|
|
23717
23717
|
style: {
|
|
23718
23718
|
color: _vm.formType === tab.value ? 'red' : ''
|
|
23719
23719
|
}
|
|
23720
|
-
}, [_vm._v(_vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))]) : _vm._e()]);
|
|
23721
|
-
}), 0) : _vm._e(), !_vm.haveGwgl && _vm.showNum ? _c('div', {
|
|
23722
|
-
staticClass: "tab-type"
|
|
23723
|
-
}, _vm._l(_vm.todoFormTypeTabs, function (tab) {
|
|
23724
|
-
return _c('div', {
|
|
23725
|
-
key: tab.value,
|
|
23726
|
-
staticClass: "tab-item",
|
|
23727
|
-
class: _vm.formType === tab.value ? 'tab-active' : '',
|
|
23728
|
-
on: {
|
|
23729
|
-
"click": function click($event) {
|
|
23730
|
-
$event.stopPropagation();
|
|
23731
|
-
return _vm.handleTypeChangeOne(tab.value);
|
|
23732
|
-
}
|
|
23733
|
-
}
|
|
23734
|
-
}, [_c('span', [_vm._v(_vm._s(tab.title))]), _c('span', {
|
|
23735
|
-
staticStyle: {
|
|
23736
|
-
"margin-left": "2px"
|
|
23737
|
-
},
|
|
23738
|
-
style: {
|
|
23739
|
-
color: _vm.formType === tab.value ? 'red' : ''
|
|
23740
|
-
}
|
|
23741
|
-
}, [_vm._v(_vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))])]);
|
|
23720
|
+
}, [_vm._v(" " + _vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))]) : _vm._e()]);
|
|
23742
23721
|
}), 0) : _vm._e()]), _vm.list.length > 0 ? [_vm._l(_vm.list, function (item) {
|
|
23743
23722
|
return _c('div', {
|
|
23744
23723
|
key: item.id,
|
|
@@ -23801,7 +23780,7 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
|
|
|
23801
23780
|
"text-align": "center",
|
|
23802
23781
|
"background": "white"
|
|
23803
23782
|
}
|
|
23804
|
-
}, [_vm._v("暂无更多")])] : _vm._e(), _vm.list.length === 0 ? _c('div', {
|
|
23783
|
+
}, [_vm._v(" 暂无更多")])] : _vm._e(), _vm.list.length === 0 ? _c('div', {
|
|
23805
23784
|
staticClass: "no-data"
|
|
23806
23785
|
}, [_c('img', {
|
|
23807
23786
|
staticStyle: {
|
|
@@ -23820,12 +23799,22 @@ var workTodovue_type_template_id_c82498b6_scoped_true_render = function render()
|
|
|
23820
23799
|
}]
|
|
23821
23800
|
}, [_vm._v("暂无数据~")])]) : _vm._e()], 2);
|
|
23822
23801
|
};
|
|
23823
|
-
var
|
|
23802
|
+
var workTodovue_type_template_id_3792288a_scoped_true_staticRenderFns = [];
|
|
23824
23803
|
|
|
23825
23804
|
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
23826
23805
|
var moment = __webpack_require__(5093);
|
|
23827
23806
|
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
23828
23807
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=script&lang=js
|
|
23808
|
+
function workTodovue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return workTodovue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, workTodovue_type_script_lang_js_typeof(o); }
|
|
23809
|
+
function workTodovue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ workTodovue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == workTodovue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(workTodovue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
23810
|
+
function workTodovue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
23811
|
+
function workTodovue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { workTodovue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { workTodovue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
23812
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
23813
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
23814
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
23815
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
23816
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
23817
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
23829
23818
|
var form_enum = {
|
|
23830
23819
|
0: {
|
|
23831
23820
|
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
@@ -23910,10 +23899,21 @@ var todo_form_enum = {
|
|
|
23910
23899
|
}],
|
|
23911
23900
|
list: [],
|
|
23912
23901
|
total: 0,
|
|
23913
|
-
endRow: 0
|
|
23902
|
+
endRow: 0,
|
|
23903
|
+
tabList: []
|
|
23914
23904
|
};
|
|
23915
23905
|
},
|
|
23916
|
-
computed: {
|
|
23906
|
+
computed: {
|
|
23907
|
+
showTabList: function showTabList() {
|
|
23908
|
+
if (this.haveGwgl && this.showNum) {
|
|
23909
|
+
return [].concat(_toConsumableArray(this.formTypeTabs), _toConsumableArray(this.tabList));
|
|
23910
|
+
}
|
|
23911
|
+
if (!this.haveGwgl && this.showNum) {
|
|
23912
|
+
return [].concat(_toConsumableArray(this.todoFormTypeTabs), _toConsumableArray(this.tabList));
|
|
23913
|
+
}
|
|
23914
|
+
return [];
|
|
23915
|
+
}
|
|
23916
|
+
},
|
|
23917
23917
|
watch: {},
|
|
23918
23918
|
created: function created() {
|
|
23919
23919
|
this.loadH5apps();
|
|
@@ -24023,6 +24023,7 @@ var todo_form_enum = {
|
|
|
24023
24023
|
_this.showNum = true;
|
|
24024
24024
|
});
|
|
24025
24025
|
}
|
|
24026
|
+
this.getUnreadEmail(true);
|
|
24026
24027
|
},
|
|
24027
24028
|
// 列表tab切换
|
|
24028
24029
|
handleTypeChangeOne: function handleTypeChangeOne(name) {
|
|
@@ -24060,6 +24061,7 @@ var todo_form_enum = {
|
|
|
24060
24061
|
}
|
|
24061
24062
|
}
|
|
24062
24063
|
});
|
|
24064
|
+
this.getUnreadEmail(true);
|
|
24063
24065
|
},
|
|
24064
24066
|
formatCount: function formatCount(num) {
|
|
24065
24067
|
if (!num) return '0';
|
|
@@ -24078,36 +24080,159 @@ var todo_form_enum = {
|
|
|
24078
24080
|
} else {
|
|
24079
24081
|
this.url = todo_form_enum;
|
|
24080
24082
|
}
|
|
24083
|
+
if (this.appletData.appRoute) {
|
|
24084
|
+
var appRoute = JSON.parse(this.appletData.appRoute.replace(/\n/g, ''));
|
|
24085
|
+
if (Array.isArray(appRoute) && appRoute.length > 0) {
|
|
24086
|
+
if (appRoute[0].tabList && Array.isArray(appRoute[0].tabList) && appRoute[0].tabList.length > 0) {
|
|
24087
|
+
this.tabList = appRoute[0].tabList;
|
|
24088
|
+
}
|
|
24089
|
+
}
|
|
24090
|
+
}
|
|
24081
24091
|
this.getData(this.formType);
|
|
24082
24092
|
this.getListCount();
|
|
24083
24093
|
},
|
|
24084
24094
|
getData: function getData(type) {
|
|
24085
24095
|
var _this3 = this;
|
|
24086
|
-
|
|
24087
|
-
|
|
24088
|
-
|
|
24089
|
-
|
|
24090
|
-
|
|
24091
|
-
|
|
24092
|
-
|
|
24093
|
-
|
|
24094
|
-
|
|
24095
|
-
|
|
24096
|
-
|
|
24097
|
-
|
|
24096
|
+
return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
24097
|
+
return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
24098
|
+
while (1) switch (_context.prev = _context.next) {
|
|
24099
|
+
case 0:
|
|
24100
|
+
if (type == 'email') {
|
|
24101
|
+
_this3.getUnreadEmail(false);
|
|
24102
|
+
} else {
|
|
24103
|
+
_this3.$app.listdata(_this3.url[type].listDataUrl, {
|
|
24104
|
+
pageNum: _this3.pageNum,
|
|
24105
|
+
pageSize: 4
|
|
24106
|
+
}).then(function (res) {
|
|
24107
|
+
if (res.code === 'success') {
|
|
24108
|
+
if (res.body.pageInfo.list.length > 0) {
|
|
24109
|
+
_this3.total = res.body.pageInfo.total;
|
|
24110
|
+
_this3.endRow = res.body.pageInfo.endRow;
|
|
24111
|
+
res.body.pageInfo.list.forEach(function (item) {
|
|
24112
|
+
item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
|
|
24113
|
+
_this3.list.push(item);
|
|
24114
|
+
});
|
|
24115
|
+
}
|
|
24116
|
+
} else {
|
|
24117
|
+
_this3.list = [];
|
|
24118
|
+
}
|
|
24119
|
+
});
|
|
24120
|
+
}
|
|
24121
|
+
case 1:
|
|
24122
|
+
case "end":
|
|
24123
|
+
return _context.stop();
|
|
24098
24124
|
}
|
|
24099
|
-
}
|
|
24100
|
-
|
|
24101
|
-
|
|
24102
|
-
|
|
24125
|
+
}, _callee);
|
|
24126
|
+
}))();
|
|
24127
|
+
},
|
|
24128
|
+
getMyMail: function getMyMail() {
|
|
24129
|
+
var _this4 = this;
|
|
24130
|
+
return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
24131
|
+
var currentMail, response, accountList;
|
|
24132
|
+
return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
24133
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
24134
|
+
case 0:
|
|
24135
|
+
currentMail = localStorage.getItem('currentMail');
|
|
24136
|
+
if (currentMail) {
|
|
24137
|
+
_context2.next = 8;
|
|
24138
|
+
break;
|
|
24139
|
+
}
|
|
24140
|
+
_context2.next = 4;
|
|
24141
|
+
return _this4.$http({
|
|
24142
|
+
method: 'GET',
|
|
24143
|
+
contentType: 'application/json',
|
|
24144
|
+
url: 'mail/userSetup/queryMyMailSetup'
|
|
24145
|
+
});
|
|
24146
|
+
case 4:
|
|
24147
|
+
response = _context2.sent;
|
|
24148
|
+
if (response.code === 'success') {
|
|
24149
|
+
accountList = [];
|
|
24150
|
+
response.body.listdata.forEach(function (item) {
|
|
24151
|
+
if (item.status === 1) {
|
|
24152
|
+
// 邮箱为可用状态(非禁用或删除等)
|
|
24153
|
+
accountList.push(item);
|
|
24154
|
+
}
|
|
24155
|
+
});
|
|
24156
|
+
if (accountList && accountList.length > 0) {
|
|
24157
|
+
// 第一个邮箱设置为默认邮箱
|
|
24158
|
+
localStorage.setItem('currentMail', JSON.stringify(accountList[0]));
|
|
24159
|
+
currentMail = accountList[0];
|
|
24160
|
+
}
|
|
24161
|
+
} else {
|
|
24162
|
+
console.error(response.message);
|
|
24163
|
+
}
|
|
24164
|
+
_context2.next = 9;
|
|
24165
|
+
break;
|
|
24166
|
+
case 8:
|
|
24167
|
+
currentMail = JSON.parse(currentMail);
|
|
24168
|
+
case 9:
|
|
24169
|
+
return _context2.abrupt("return", currentMail);
|
|
24170
|
+
case 10:
|
|
24171
|
+
case "end":
|
|
24172
|
+
return _context2.stop();
|
|
24173
|
+
}
|
|
24174
|
+
}, _callee2);
|
|
24175
|
+
}))();
|
|
24176
|
+
},
|
|
24177
|
+
getUnreadEmail: function getUnreadEmail() {
|
|
24178
|
+
var _arguments = arguments,
|
|
24179
|
+
_this5 = this;
|
|
24180
|
+
return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
24181
|
+
var isGetNumber, find, Mail;
|
|
24182
|
+
return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
24183
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
24184
|
+
case 0:
|
|
24185
|
+
isGetNumber = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : false;
|
|
24186
|
+
find = _this5.tabList.find(function (item) {
|
|
24187
|
+
return item.code == 'email';
|
|
24188
|
+
});
|
|
24189
|
+
if (find) {
|
|
24190
|
+
_context3.next = 4;
|
|
24191
|
+
break;
|
|
24192
|
+
}
|
|
24193
|
+
return _context3.abrupt("return");
|
|
24194
|
+
case 4:
|
|
24195
|
+
_context3.next = 6;
|
|
24196
|
+
return _this5.getMyMail();
|
|
24197
|
+
case 6:
|
|
24198
|
+
Mail = _context3.sent;
|
|
24199
|
+
_this5.$http({
|
|
24200
|
+
url: "mail/message/listdata?pageNum=".concat(_this5.pageNum, "&pageSize=4&mailBoxType=INBOX&usersetId=").concat(Mail.id, "&accountType=1&filter=noread"),
|
|
24201
|
+
method: 'post'
|
|
24202
|
+
}).then(function (res) {
|
|
24203
|
+
if (!isGetNumber) {
|
|
24204
|
+
res.body.pageInfo.list.forEach(function (item) {
|
|
24205
|
+
item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
|
|
24206
|
+
item.itemUrl = "/emailDetail?mailBoxId=".concat(item.mailBoxId, "&mailMessageId=").concat(item.mailMessageId);
|
|
24207
|
+
item.title = item.subject;
|
|
24208
|
+
item.wfName = item.sendPeople;
|
|
24209
|
+
item.senderName = item.ownerName;
|
|
24210
|
+
_this5.list.push(item);
|
|
24211
|
+
});
|
|
24212
|
+
_this5.endRow = res.body.pageInfo.endRow;
|
|
24213
|
+
_this5.total = res.body.pageInfo.total;
|
|
24214
|
+
}
|
|
24215
|
+
var find = _this5.tabList.find(function (item) {
|
|
24216
|
+
return item.code == 'email';
|
|
24217
|
+
});
|
|
24218
|
+
if (find) {
|
|
24219
|
+
_this5.$set(find, 'count', res.body.pageInfo.total);
|
|
24220
|
+
}
|
|
24221
|
+
});
|
|
24222
|
+
case 8:
|
|
24223
|
+
case "end":
|
|
24224
|
+
return _context3.stop();
|
|
24225
|
+
}
|
|
24226
|
+
}, _callee3);
|
|
24227
|
+
}))();
|
|
24103
24228
|
}
|
|
24104
24229
|
}
|
|
24105
24230
|
});
|
|
24106
24231
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=script&lang=js
|
|
24107
24232
|
/* harmony default export */ var components_workTodovue_type_script_lang_js = (workTodovue_type_script_lang_js);
|
|
24108
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=
|
|
24109
|
-
var
|
|
24110
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=
|
|
24233
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=3792288a&prod&scoped=true&lang=scss
|
|
24234
|
+
var workTodovue_type_style_index_0_id_3792288a_prod_scoped_true_lang_scss = __webpack_require__(4216);
|
|
24235
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=3792288a&prod&scoped=true&lang=scss
|
|
24111
24236
|
|
|
24112
24237
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue
|
|
24113
24238
|
|
|
@@ -24120,11 +24245,11 @@ var workTodovue_type_style_index_0_id_c82498b6_prod_scoped_true_lang_scss = __we
|
|
|
24120
24245
|
|
|
24121
24246
|
var workTodo_component = normalizeComponent(
|
|
24122
24247
|
components_workTodovue_type_script_lang_js,
|
|
24123
|
-
|
|
24124
|
-
|
|
24248
|
+
workTodovue_type_template_id_3792288a_scoped_true_render,
|
|
24249
|
+
workTodovue_type_template_id_3792288a_scoped_true_staticRenderFns,
|
|
24125
24250
|
false,
|
|
24126
24251
|
null,
|
|
24127
|
-
"
|
|
24252
|
+
"3792288a",
|
|
24128
24253
|
null
|
|
24129
24254
|
|
|
24130
24255
|
)
|
|
@@ -26162,12 +26287,12 @@ var calendar = {
|
|
|
26162
26287
|
}
|
|
26163
26288
|
};
|
|
26164
26289
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/calendarUtil/utli.js
|
|
26165
|
-
function
|
|
26166
|
-
function
|
|
26167
|
-
function
|
|
26168
|
-
function
|
|
26169
|
-
function
|
|
26170
|
-
function
|
|
26290
|
+
function utli_toConsumableArray(r) { return utli_arrayWithoutHoles(r) || utli_iterableToArray(r) || utli_unsupportedIterableToArray(r) || utli_nonIterableSpread(); }
|
|
26291
|
+
function utli_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
26292
|
+
function utli_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return utli_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? utli_arrayLikeToArray(r, a) : void 0; } }
|
|
26293
|
+
function utli_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
26294
|
+
function utli_arrayWithoutHoles(r) { if (Array.isArray(r)) return utli_arrayLikeToArray(r); }
|
|
26295
|
+
function utli_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
26171
26296
|
|
|
26172
26297
|
/* harmony default export */ var utli = ({
|
|
26173
26298
|
weekDataOne: ['日', '一', '二', '三', '四', '五', '六'],
|
|
@@ -26287,7 +26412,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
26287
26412
|
data: year + '-' + month + '-' + (i < 10 ? '0' + i : i)
|
|
26288
26413
|
});
|
|
26289
26414
|
}
|
|
26290
|
-
var NowMonthDate = [].concat(
|
|
26415
|
+
var NowMonthDate = [].concat(utli_toConsumableArray(lastData), nowData, utli_toConsumableArray(nextData));
|
|
26291
26416
|
return NowMonthDate; // 结果类似=>[28,29,30,31,1,2,3........28,29,30,1,2,3,4,5,6]
|
|
26292
26417
|
},
|
|
26293
26418
|
getLastWeekDay: function getLastWeekDay(val) {
|