ecinc-cloud-moadesktop 9.6.276 → 9.6.277
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/index.js +4 -1
- package/lib/ecmoadesktop.common.js +274 -1
- package/lib/ecmoadesktop.umd.js +274 -1
- package/lib/ecmoadesktop.umd.min.js +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -16,6 +16,8 @@ import MappWorkEchartR from './src/components/echartR'
|
|
|
16
16
|
import MappWorkCommonApps from './src/components/commonApps'
|
|
17
17
|
import MappWorkHead from './src/components/workHead'
|
|
18
18
|
import MappWorkHeadEight from './src/components/workHeadEight'
|
|
19
|
+
// 文档中心
|
|
20
|
+
import MappWorkWdzx from './src/components/workWdzx.vue'
|
|
19
21
|
// 以对象的结构保存组件,便于遍历
|
|
20
22
|
const components = {
|
|
21
23
|
MappWorkTzgg,
|
|
@@ -33,7 +35,8 @@ const components = {
|
|
|
33
35
|
MappWorkEchartR,
|
|
34
36
|
MappWorkCommonApps,
|
|
35
37
|
MappWorkHead,
|
|
36
|
-
MappWorkHeadEight
|
|
38
|
+
MappWorkHeadEight,
|
|
39
|
+
MappWorkWdzx
|
|
37
40
|
}
|
|
38
41
|
// 定义 install 方法
|
|
39
42
|
const install = function (Vue) {
|
|
@@ -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:
|
|
@@ -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
|
|
|
@@ -29747,6 +29784,239 @@ var workHeadEight_component = normalizeComponent(
|
|
|
29747
29784
|
)
|
|
29748
29785
|
|
|
29749
29786
|
/* harmony default export */ var workHeadEight = (workHeadEight_component.exports);
|
|
29787
|
+
;// 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
|
|
29788
|
+
var workWdzxvue_type_template_id_754e4459_scoped_true_render = function render() {
|
|
29789
|
+
var _vm = this,
|
|
29790
|
+
_c = _vm._self._c;
|
|
29791
|
+
return _c('div', {
|
|
29792
|
+
style: {
|
|
29793
|
+
height: _vm.list.length === 0 ? '180px' : ''
|
|
29794
|
+
},
|
|
29795
|
+
attrs: {
|
|
29796
|
+
"id": "work-news"
|
|
29797
|
+
}
|
|
29798
|
+
}, [_c('div', {
|
|
29799
|
+
staticClass: "work-news-title"
|
|
29800
|
+
}, [_c('span', {
|
|
29801
|
+
directives: [{
|
|
29802
|
+
name: "text-lbl",
|
|
29803
|
+
rawName: "v-text-lbl",
|
|
29804
|
+
value: 'desktop.components.newsCenter',
|
|
29805
|
+
expression: "'desktop.components.newsCenter'"
|
|
29806
|
+
}],
|
|
29807
|
+
staticStyle: {
|
|
29808
|
+
"font-weight": "600",
|
|
29809
|
+
"color": "#333333"
|
|
29810
|
+
}
|
|
29811
|
+
}, [_vm._v("文档中心")]), _vm.appletData.showMore === 1 ? _c('span', {
|
|
29812
|
+
staticStyle: {
|
|
29813
|
+
"color": "#666666",
|
|
29814
|
+
"font-size": "12px"
|
|
29815
|
+
},
|
|
29816
|
+
on: {
|
|
29817
|
+
"click": _vm.moreClick
|
|
29818
|
+
}
|
|
29819
|
+
}, [_c('span', {
|
|
29820
|
+
directives: [{
|
|
29821
|
+
name: "text-lbl",
|
|
29822
|
+
rawName: "v-text-lbl",
|
|
29823
|
+
value: 'pageBtns.more',
|
|
29824
|
+
expression: "'pageBtns.more'"
|
|
29825
|
+
}]
|
|
29826
|
+
}, [_vm._v("更多")]), _c('van-icon', {
|
|
29827
|
+
staticStyle: {
|
|
29828
|
+
"margin-left": "2px"
|
|
29829
|
+
},
|
|
29830
|
+
attrs: {
|
|
29831
|
+
"color": "#666666",
|
|
29832
|
+
"size": "12",
|
|
29833
|
+
"name": "arrow"
|
|
29834
|
+
}
|
|
29835
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
29836
|
+
staticClass: "work-news-content"
|
|
29837
|
+
}, [_vm._l(_vm.list, function (item) {
|
|
29838
|
+
return _c('div', {
|
|
29839
|
+
key: item.id,
|
|
29840
|
+
staticClass: "news-item",
|
|
29841
|
+
on: {
|
|
29842
|
+
"click": function click($event) {
|
|
29843
|
+
return _vm.clickItem(item);
|
|
29844
|
+
}
|
|
29845
|
+
}
|
|
29846
|
+
}, [_c('div', {
|
|
29847
|
+
staticClass: "right"
|
|
29848
|
+
}, [_c('div', {
|
|
29849
|
+
staticStyle: {
|
|
29850
|
+
"font-size": "14px",
|
|
29851
|
+
"color": "#333333",
|
|
29852
|
+
"overflow": "hidden",
|
|
29853
|
+
"white-space": "nowrap",
|
|
29854
|
+
"text-overflow": "ellipsis",
|
|
29855
|
+
"padding-bottom": "5px"
|
|
29856
|
+
}
|
|
29857
|
+
}, [_vm._v(" " + _vm._s(item.flSubject))]), _c('div', {
|
|
29858
|
+
staticStyle: {
|
|
29859
|
+
"display": "flex",
|
|
29860
|
+
"justify-content": "space-between"
|
|
29861
|
+
}
|
|
29862
|
+
}, [_c('span', {
|
|
29863
|
+
staticClass: "typeStatus"
|
|
29864
|
+
}, [_vm._v(_vm._s(item.flDocumentType))]), _c('span', [_vm._v(_vm._s(item.publishDate))])])])]);
|
|
29865
|
+
}), _vm.list.length === 0 ? _c('div', {
|
|
29866
|
+
staticClass: "no-data"
|
|
29867
|
+
}, [_c('img', {
|
|
29868
|
+
staticStyle: {
|
|
29869
|
+
"width": "115px",
|
|
29870
|
+
"height": "70px"
|
|
29871
|
+
},
|
|
29872
|
+
attrs: {
|
|
29873
|
+
"src": "/images/m-imgs/workBg/noNews.png"
|
|
29874
|
+
}
|
|
29875
|
+
}), _c('span', {
|
|
29876
|
+
directives: [{
|
|
29877
|
+
name: "text-lbl",
|
|
29878
|
+
rawName: "v-text-lbl",
|
|
29879
|
+
value: 'desktop.components.noNews',
|
|
29880
|
+
expression: "'desktop.components.noNews'"
|
|
29881
|
+
}]
|
|
29882
|
+
}, [_vm._v("暂无文档~")])]) : _vm._e()], 2)]);
|
|
29883
|
+
};
|
|
29884
|
+
var workWdzxvue_type_template_id_754e4459_scoped_true_staticRenderFns = [];
|
|
29885
|
+
|
|
29886
|
+
;// 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
|
|
29887
|
+
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); }
|
|
29888
|
+
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; }
|
|
29889
|
+
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); }
|
|
29890
|
+
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); }); }; }
|
|
29891
|
+
var workWdzxvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
29892
|
+
/* harmony default export */ var workWdzxvue_type_script_lang_js = ({
|
|
29893
|
+
components: {},
|
|
29894
|
+
props: {
|
|
29895
|
+
appletData: {
|
|
29896
|
+
type: Object,
|
|
29897
|
+
default: function _default() {
|
|
29898
|
+
return {};
|
|
29899
|
+
}
|
|
29900
|
+
}
|
|
29901
|
+
},
|
|
29902
|
+
data: function data() {
|
|
29903
|
+
return {
|
|
29904
|
+
list: [],
|
|
29905
|
+
imgUrl: "/apigw",
|
|
29906
|
+
port: location.port
|
|
29907
|
+
};
|
|
29908
|
+
},
|
|
29909
|
+
computed: {},
|
|
29910
|
+
watch: {},
|
|
29911
|
+
created: function created() {
|
|
29912
|
+
this.getData();
|
|
29913
|
+
// 所有门户小组件刷新方法都注册 refreshPortletData eventBus方法,一次性刷新,需要刷新的就注册,不需要刷新就无需注册
|
|
29914
|
+
this.$bus.on('refreshPortletData', this.getData);
|
|
29915
|
+
},
|
|
29916
|
+
beforeDestroy: function beforeDestroy() {
|
|
29917
|
+
this.$bus.off('refreshPortletData', this.getData);
|
|
29918
|
+
},
|
|
29919
|
+
mounted: function mounted() {},
|
|
29920
|
+
methods: {
|
|
29921
|
+
// clickItem(val) {
|
|
29922
|
+
// this.$router.push({
|
|
29923
|
+
// path: '/journalismContent',
|
|
29924
|
+
// query: {
|
|
29925
|
+
// id: val.id
|
|
29926
|
+
// }
|
|
29927
|
+
// })
|
|
29928
|
+
// },
|
|
29929
|
+
clickItem: function clickItem(row) {
|
|
29930
|
+
// this.$router.push('/viewcontent?wfEngineUrl=ecoa/document&busiDataId=' + row.id + '&viewContent=1')
|
|
29931
|
+
|
|
29932
|
+
// if (row.editoral === 1 || (row.editoral === null && row.flContent === null)) {
|
|
29933
|
+
// this.$router.push({
|
|
29934
|
+
// path: '/BodyPreview',
|
|
29935
|
+
// query: {
|
|
29936
|
+
// busiDataId: row.id,
|
|
29937
|
+
// wfEngineUrl: 'ecoa/document',
|
|
29938
|
+
// viewContent: 1
|
|
29939
|
+
// }
|
|
29940
|
+
// })
|
|
29941
|
+
// } else {
|
|
29942
|
+
this.$router.push({
|
|
29943
|
+
path: '/viewContent',
|
|
29944
|
+
query: {
|
|
29945
|
+
busiDataId: row.id,
|
|
29946
|
+
wfEngineUrl: 'ecoa/document',
|
|
29947
|
+
viewContent: 1
|
|
29948
|
+
}
|
|
29949
|
+
});
|
|
29950
|
+
// }
|
|
29951
|
+
},
|
|
29952
|
+
getData: function getData() {
|
|
29953
|
+
var _this = this;
|
|
29954
|
+
return workWdzxvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workWdzxvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
29955
|
+
return workWdzxvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
29956
|
+
while (1) switch (_context.prev = _context.next) {
|
|
29957
|
+
case 0:
|
|
29958
|
+
_this.$http({
|
|
29959
|
+
url: 'ecoa/document/listdata?type=wdgx',
|
|
29960
|
+
method: 'POST',
|
|
29961
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
29962
|
+
// data: dataParam,
|
|
29963
|
+
params: {
|
|
29964
|
+
listpageId: '5a32319572b3449791bc9da9f9ac6815',
|
|
29965
|
+
pageNum: 1,
|
|
29966
|
+
pageSize: 3
|
|
29967
|
+
// # 1139
|
|
29968
|
+
// orderBy: 'publishDate desc',
|
|
29969
|
+
// type: 'wdgx'
|
|
29970
|
+
}
|
|
29971
|
+
}).then(function (res) {
|
|
29972
|
+
if (res.code === 'success') {
|
|
29973
|
+
_this.list = res.body.pageInfo.list;
|
|
29974
|
+
if (_this.list.length > 0) {
|
|
29975
|
+
_this.list.forEach(function (item) {
|
|
29976
|
+
item.publishTime = item.publishTime ? workWdzxvue_type_script_lang_js_moment(item.publishTime).format('YYYY-MM-DD') : '';
|
|
29977
|
+
});
|
|
29978
|
+
}
|
|
29979
|
+
}
|
|
29980
|
+
});
|
|
29981
|
+
case 1:
|
|
29982
|
+
case "end":
|
|
29983
|
+
return _context.stop();
|
|
29984
|
+
}
|
|
29985
|
+
}, _callee);
|
|
29986
|
+
}))();
|
|
29987
|
+
},
|
|
29988
|
+
moreClick: function moreClick() {
|
|
29989
|
+
this.$router.push('/zsgl/home');
|
|
29990
|
+
}
|
|
29991
|
+
}
|
|
29992
|
+
});
|
|
29993
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=script&lang=js
|
|
29994
|
+
/* harmony default export */ var components_workWdzxvue_type_script_lang_js = (workWdzxvue_type_script_lang_js);
|
|
29995
|
+
// 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
|
|
29996
|
+
var workWdzxvue_type_style_index_0_id_754e4459_prod_scoped_true_lang_scss = __webpack_require__(9784);
|
|
29997
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue?vue&type=style&index=0&id=754e4459&prod&scoped=true&lang=scss
|
|
29998
|
+
|
|
29999
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workWdzx.vue
|
|
30000
|
+
|
|
30001
|
+
|
|
30002
|
+
|
|
30003
|
+
;
|
|
30004
|
+
|
|
30005
|
+
|
|
30006
|
+
/* normalize component */
|
|
30007
|
+
|
|
30008
|
+
var workWdzx_component = normalizeComponent(
|
|
30009
|
+
components_workWdzxvue_type_script_lang_js,
|
|
30010
|
+
workWdzxvue_type_template_id_754e4459_scoped_true_render,
|
|
30011
|
+
workWdzxvue_type_template_id_754e4459_scoped_true_staticRenderFns,
|
|
30012
|
+
false,
|
|
30013
|
+
null,
|
|
30014
|
+
"754e4459",
|
|
30015
|
+
null
|
|
30016
|
+
|
|
30017
|
+
)
|
|
30018
|
+
|
|
30019
|
+
/* harmony default export */ var workWdzx = (workWdzx_component.exports);
|
|
29750
30020
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/index.js
|
|
29751
30021
|
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
30022
|
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 +30042,8 @@ function desktop_toPrimitive(t, r) { if ("object" != desktop_typeof(t) || !t) re
|
|
|
29772
30042
|
|
|
29773
30043
|
|
|
29774
30044
|
|
|
30045
|
+
// 文档中心
|
|
30046
|
+
|
|
29775
30047
|
// 以对象的结构保存组件,便于遍历
|
|
29776
30048
|
var components = {
|
|
29777
30049
|
MappWorkTzgg: workTzgg,
|
|
@@ -29789,7 +30061,8 @@ var components = {
|
|
|
29789
30061
|
MappWorkEchartR: echartR,
|
|
29790
30062
|
MappWorkCommonApps: commonApps,
|
|
29791
30063
|
MappWorkHead: workHead,
|
|
29792
|
-
MappWorkHeadEight: workHeadEight
|
|
30064
|
+
MappWorkHeadEight: workHeadEight,
|
|
30065
|
+
MappWorkWdzx: workWdzx
|
|
29793
30066
|
};
|
|
29794
30067
|
// 定义 install 方法
|
|
29795
30068
|
var desktop_install = function install(Vue) {
|