ecinc-cloud-moadesktop 9.7.1 → 9.7.3
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 +369 -15
- package/lib/ecmoadesktop.umd.js +369 -15
- package/lib/ecmoadesktop.umd.min.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -18,6 +18,8 @@ import MappWorkHead from './src/components/workHead'
|
|
|
18
18
|
import MappWorkHeadEight from './src/components/workHeadEight'
|
|
19
19
|
// 文档中心
|
|
20
20
|
import MappWorkWdzx from './src/components/workWdzx.vue'
|
|
21
|
+
// 消息提醒
|
|
22
|
+
import MappMsgNotices from './src/components/msgNotices'
|
|
21
23
|
// 以对象的结构保存组件,便于遍历
|
|
22
24
|
const components = {
|
|
23
25
|
MappWorkTzgg,
|
|
@@ -36,7 +38,8 @@ const components = {
|
|
|
36
38
|
MappWorkCommonApps,
|
|
37
39
|
MappWorkHead,
|
|
38
40
|
MappWorkHeadEight,
|
|
39
|
-
MappWorkWdzx
|
|
41
|
+
MappWorkWdzx,
|
|
42
|
+
MappMsgNotices
|
|
40
43
|
}
|
|
41
44
|
// 定义 install 方法
|
|
42
45
|
const install = function (Vue) {
|
|
@@ -606,6 +606,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-78076e13] .van-nav-bar .van-ic
|
|
|
606
606
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
607
607
|
|
|
608
608
|
|
|
609
|
+
/***/ }),
|
|
610
|
+
|
|
611
|
+
/***/ 3277:
|
|
612
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
613
|
+
|
|
614
|
+
"use strict";
|
|
615
|
+
__webpack_require__.r(__webpack_exports__);
|
|
616
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
617
|
+
/* 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__);
|
|
618
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
619
|
+
/* 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__);
|
|
620
|
+
// Imports
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
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()));
|
|
624
|
+
// Module
|
|
625
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-12920fa9]{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-12920fa9]{color:#999;font-size:13px}#msg-notices[data-v-12920fa9]{position:relative;width:100%;max-height:243px;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}#msg-notices .msg-notices-title[data-v-12920fa9]{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}#msg-notices .msg-notices-title span[data-v-12920fa9]{font-size:14px;font-family:PingFangSC-Semibold,PingFang SC}#msg-notices .msg-notices-content[data-v-12920fa9]{height:calc(100% - 44px);overflow:hidden}#msg-notices .msg-notices-content .msg-notice-item[data-v-12920fa9]{display:-webkit-box;display:-ms-flexbox;display:flex;height:66px;width:100%;font-family:PingFangSC-Semibold,PingFang SC;padding:0 14px;color:#333;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}#msg-notices .msg-notices-content .msg-notice-item[data-v-12920fa9]:last-child{border-bottom:none}#msg-notices .msg-notices-content .msg-notice-item .left[data-v-12920fa9]{-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;width:70px;height:50px;background:#f7f9fc;border-radius:2px;border:1px solid #dfe8fb}#msg-notices .msg-notices-content .msg-notice-item .left[data-v-12920fa9],#msg-notices .msg-notices-content .msg-notice-item .right[data-v-12920fa9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#msg-notices .msg-notices-content .msg-notice-item .right[data-v-12920fa9]{width:calc(100% - 84px);font-size:14px;color:#333}#msg-notices .msg-notices-content .msg-notice-item .right span[data-v-12920fa9]{font-size:14px;color:#333;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-wrap:break-word;line-height:22px}#msg-notices .msg-notices-content .msg-notice-item .right .no-read-dot[data-v-12920fa9]{display:inline-block;width:6px;height:6px;border-radius:50%;background:red;margin-right:4px;vertical-align:middle}", ""]);
|
|
626
|
+
// Exports
|
|
627
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
628
|
+
|
|
629
|
+
|
|
609
630
|
/***/ }),
|
|
610
631
|
|
|
611
632
|
/***/ 7606:
|
|
@@ -844,7 +865,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-653165e4]{positio
|
|
|
844
865
|
|
|
845
866
|
/***/ }),
|
|
846
867
|
|
|
847
|
-
/***/
|
|
868
|
+
/***/ 7627:
|
|
848
869
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
849
870
|
|
|
850
871
|
"use strict";
|
|
@@ -858,7 +879,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
858
879
|
|
|
859
880
|
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
881
|
// Module
|
|
861
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-
|
|
882
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-7b49606c]{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-7b49606c]{color:#999;font-size:13px}.work_pageContent[data-v-7b49606c]{min-height:360px;overflow:hidden;position:relative;border-radius:6px;background:#fff}.work_pageContent .tab-block[data-v-7b49606c]{height:44px}.work_pageContent .tab-type[data-v-7b49606c]{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-7b49606c]{cursor:pointer;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;color:#999}.work_pageContent .tab-type .tab-active[data-v-7b49606c]{color:#333;font-weight:700}.work_pageContent .table-box[data-v-7b49606c]: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-7b49606c]{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-7b49606c]:last-child{border-bottom:none}.work_pageContent .table-box .top[data-v-7b49606c]{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-7b49606c]{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-7b49606c]{color:#999}.work_pageContent .table-box .top .top-right[data-v-7b49606c]{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-7b49606c]{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
883
|
// Exports
|
|
863
884
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
864
885
|
|
|
@@ -22691,6 +22712,22 @@ var update = add("a08e7c36", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22691
22712
|
|
|
22692
22713
|
/***/ }),
|
|
22693
22714
|
|
|
22715
|
+
/***/ 2755:
|
|
22716
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22717
|
+
|
|
22718
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22719
|
+
|
|
22720
|
+
// load the styles
|
|
22721
|
+
var content = __webpack_require__(3277);
|
|
22722
|
+
if(content.__esModule) content = content.default;
|
|
22723
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22724
|
+
if(content.locals) module.exports = content.locals;
|
|
22725
|
+
// add the styles to the DOM
|
|
22726
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22727
|
+
var update = add("0760e1f4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22728
|
+
|
|
22729
|
+
/***/ }),
|
|
22730
|
+
|
|
22694
22731
|
/***/ 240:
|
|
22695
22732
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22696
22733
|
|
|
@@ -22851,19 +22888,19 @@ var update = add("3274dc8a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22851
22888
|
|
|
22852
22889
|
/***/ }),
|
|
22853
22890
|
|
|
22854
|
-
/***/
|
|
22891
|
+
/***/ 4793:
|
|
22855
22892
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22856
22893
|
|
|
22857
22894
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22858
22895
|
|
|
22859
22896
|
// load the styles
|
|
22860
|
-
var content = __webpack_require__(
|
|
22897
|
+
var content = __webpack_require__(7627);
|
|
22861
22898
|
if(content.__esModule) content = content.default;
|
|
22862
22899
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22863
22900
|
if(content.locals) module.exports = content.locals;
|
|
22864
22901
|
// add the styles to the DOM
|
|
22865
22902
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22866
|
-
var update = add("
|
|
22903
|
+
var update = add("3b3803ba", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22867
22904
|
|
|
22868
22905
|
/***/ }),
|
|
22869
22906
|
|
|
@@ -23679,8 +23716,8 @@ var component = normalizeComponent(
|
|
|
23679
23716
|
)
|
|
23680
23717
|
|
|
23681
23718
|
/* 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
|
|
23719
|
+
;// 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=7b49606c&scoped=true
|
|
23720
|
+
var workTodovue_type_template_id_7b49606c_scoped_true_render = function render() {
|
|
23684
23721
|
var _vm = this,
|
|
23685
23722
|
_c = _vm._self._c;
|
|
23686
23723
|
return _c('div', {
|
|
@@ -23789,7 +23826,7 @@ var workTodovue_type_template_id_3792288a_scoped_true_render = function render()
|
|
|
23789
23826
|
}]
|
|
23790
23827
|
}, [_vm._v("暂无数据~")])]) : _vm._e()], 2);
|
|
23791
23828
|
};
|
|
23792
|
-
var
|
|
23829
|
+
var workTodovue_type_template_id_7b49606c_scoped_true_staticRenderFns = [];
|
|
23793
23830
|
|
|
23794
23831
|
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
23795
23832
|
var moment = __webpack_require__(5093);
|
|
@@ -24220,9 +24257,9 @@ var todo_form_enum = {
|
|
|
24220
24257
|
});
|
|
24221
24258
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=script&lang=js
|
|
24222
24259
|
/* harmony default export */ var components_workTodovue_type_script_lang_js = (workTodovue_type_script_lang_js);
|
|
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=
|
|
24224
|
-
var
|
|
24225
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=
|
|
24260
|
+
// 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=7b49606c&prod&scoped=true&lang=scss
|
|
24261
|
+
var workTodovue_type_style_index_0_id_7b49606c_prod_scoped_true_lang_scss = __webpack_require__(4793);
|
|
24262
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=7b49606c&prod&scoped=true&lang=scss
|
|
24226
24263
|
|
|
24227
24264
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue
|
|
24228
24265
|
|
|
@@ -24235,11 +24272,11 @@ var workTodovue_type_style_index_0_id_3792288a_prod_scoped_true_lang_scss = __we
|
|
|
24235
24272
|
|
|
24236
24273
|
var workTodo_component = normalizeComponent(
|
|
24237
24274
|
components_workTodovue_type_script_lang_js,
|
|
24238
|
-
|
|
24239
|
-
|
|
24275
|
+
workTodovue_type_template_id_7b49606c_scoped_true_render,
|
|
24276
|
+
workTodovue_type_template_id_7b49606c_scoped_true_staticRenderFns,
|
|
24240
24277
|
false,
|
|
24241
24278
|
null,
|
|
24242
|
-
"
|
|
24279
|
+
"7b49606c",
|
|
24243
24280
|
null
|
|
24244
24281
|
|
|
24245
24282
|
)
|
|
@@ -30144,6 +30181,320 @@ var workWdzx_component = normalizeComponent(
|
|
|
30144
30181
|
)
|
|
30145
30182
|
|
|
30146
30183
|
/* harmony default export */ var workWdzx = (workWdzx_component.exports);
|
|
30184
|
+
;// 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/msgNotices.vue?vue&type=template&id=12920fa9&scoped=true
|
|
30185
|
+
var msgNoticesvue_type_template_id_12920fa9_scoped_true_render = function render() {
|
|
30186
|
+
var _vm = this,
|
|
30187
|
+
_c = _vm._self._c;
|
|
30188
|
+
return _c('div', {
|
|
30189
|
+
style: {
|
|
30190
|
+
height: _vm.list.length === 0 ? '180px' : ''
|
|
30191
|
+
},
|
|
30192
|
+
attrs: {
|
|
30193
|
+
"id": "msg-notices"
|
|
30194
|
+
}
|
|
30195
|
+
}, [_c('div', {
|
|
30196
|
+
staticClass: "msg-notices-title"
|
|
30197
|
+
}, [_c('span', {
|
|
30198
|
+
directives: [{
|
|
30199
|
+
name: "text-lbl",
|
|
30200
|
+
rawName: "v-text-lbl",
|
|
30201
|
+
value: 'ecoa.message.notice',
|
|
30202
|
+
expression: "'ecoa.message.notice'"
|
|
30203
|
+
}],
|
|
30204
|
+
staticStyle: {
|
|
30205
|
+
"font-weight": "600",
|
|
30206
|
+
"color": "#333333"
|
|
30207
|
+
}
|
|
30208
|
+
}, [_vm._v("消息提醒")]), _vm.appletData.showMore === 1 ? _c('span', {
|
|
30209
|
+
staticStyle: {
|
|
30210
|
+
"color": "#666666",
|
|
30211
|
+
"font-size": "12px"
|
|
30212
|
+
},
|
|
30213
|
+
on: {
|
|
30214
|
+
"click": _vm.more
|
|
30215
|
+
}
|
|
30216
|
+
}, [_c('span', {
|
|
30217
|
+
directives: [{
|
|
30218
|
+
name: "text-lbl",
|
|
30219
|
+
rawName: "v-text-lbl",
|
|
30220
|
+
value: 'pageBtns.more',
|
|
30221
|
+
expression: "'pageBtns.more'"
|
|
30222
|
+
}]
|
|
30223
|
+
}, [_vm._v("更多")]), _c('van-icon', {
|
|
30224
|
+
staticStyle: {
|
|
30225
|
+
"margin-left": "2px"
|
|
30226
|
+
},
|
|
30227
|
+
attrs: {
|
|
30228
|
+
"color": "#666666",
|
|
30229
|
+
"size": "12",
|
|
30230
|
+
"name": "arrow"
|
|
30231
|
+
}
|
|
30232
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
30233
|
+
staticClass: "msg-notices-content"
|
|
30234
|
+
}, [_vm._l(_vm.displayList, function (item) {
|
|
30235
|
+
return _c('div', {
|
|
30236
|
+
key: item.id,
|
|
30237
|
+
staticClass: "msg-notice-item",
|
|
30238
|
+
on: {
|
|
30239
|
+
"click": function click($event) {
|
|
30240
|
+
return _vm.clickItem(item);
|
|
30241
|
+
}
|
|
30242
|
+
}
|
|
30243
|
+
}, [_c('div', {
|
|
30244
|
+
staticClass: "left"
|
|
30245
|
+
}, [_c('span', {
|
|
30246
|
+
staticStyle: {
|
|
30247
|
+
"font-weight": "bold",
|
|
30248
|
+
"color": "#333333",
|
|
30249
|
+
"font-size": "16px"
|
|
30250
|
+
}
|
|
30251
|
+
}, [_vm._v(_vm._s(new Date(item.pushTime).getDate()))]), _c('span', {
|
|
30252
|
+
staticStyle: {
|
|
30253
|
+
"color": "#999999",
|
|
30254
|
+
"font-size": "12px"
|
|
30255
|
+
}
|
|
30256
|
+
}, [_vm._v(_vm._s(new Date(item.pushTime).getFullYear()) + "." + _vm._s(new Date(item.pushTime).getMonth() + 1))])]), _c('div', {
|
|
30257
|
+
staticClass: "right"
|
|
30258
|
+
}, [_c('span', {
|
|
30259
|
+
staticStyle: {
|
|
30260
|
+
"font-size": "14px",
|
|
30261
|
+
"color": "#333333"
|
|
30262
|
+
}
|
|
30263
|
+
}, [item.isRead === 0 ? _c('span', {
|
|
30264
|
+
staticClass: "no-read-dot"
|
|
30265
|
+
}) : _vm._e(), _vm._v(" " + _vm._s(item.msgContent) + " ")])])]);
|
|
30266
|
+
}), _vm.list.length === 0 ? _c('div', {
|
|
30267
|
+
staticClass: "no-data"
|
|
30268
|
+
}, [_c('img', {
|
|
30269
|
+
staticStyle: {
|
|
30270
|
+
"width": "115px",
|
|
30271
|
+
"height": "70px"
|
|
30272
|
+
},
|
|
30273
|
+
attrs: {
|
|
30274
|
+
"src": "/images/m-imgs/workBg/noTzgg.png"
|
|
30275
|
+
}
|
|
30276
|
+
}), _c('span', {
|
|
30277
|
+
directives: [{
|
|
30278
|
+
name: "text-lbl",
|
|
30279
|
+
rawName: "v-text-lbl",
|
|
30280
|
+
value: 'common.noData',
|
|
30281
|
+
expression: "'common.noData'"
|
|
30282
|
+
}]
|
|
30283
|
+
}, [_vm._v("暂无消息~")])]) : _vm._e()], 2), _c('van-overlay', {
|
|
30284
|
+
attrs: {
|
|
30285
|
+
"show": _vm.showDialog,
|
|
30286
|
+
"z-index": 9999
|
|
30287
|
+
},
|
|
30288
|
+
on: {
|
|
30289
|
+
"click": function click($event) {
|
|
30290
|
+
_vm.showDialog = false;
|
|
30291
|
+
}
|
|
30292
|
+
}
|
|
30293
|
+
}, [_vm.list[_vm.noticeIndex] ? _c('div', {
|
|
30294
|
+
staticStyle: {
|
|
30295
|
+
"position": "absolute",
|
|
30296
|
+
"top": "50%",
|
|
30297
|
+
"left": "50%",
|
|
30298
|
+
"transform": "translate(-50%, -50%)",
|
|
30299
|
+
"width": "85%",
|
|
30300
|
+
"max-height": "70vh",
|
|
30301
|
+
"background": "#fff",
|
|
30302
|
+
"border-radius": "8px",
|
|
30303
|
+
"padding": "16px",
|
|
30304
|
+
"overflow-y": "auto"
|
|
30305
|
+
},
|
|
30306
|
+
on: {
|
|
30307
|
+
"click": function click($event) {
|
|
30308
|
+
$event.stopPropagation();
|
|
30309
|
+
}
|
|
30310
|
+
}
|
|
30311
|
+
}, [_c('div', {
|
|
30312
|
+
staticStyle: {
|
|
30313
|
+
"min-height": "80px",
|
|
30314
|
+
"font-size": "14px",
|
|
30315
|
+
"line-height": "22px",
|
|
30316
|
+
"color": "#333",
|
|
30317
|
+
"word-break": "break-all"
|
|
30318
|
+
}
|
|
30319
|
+
}, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].msgContent) + " "), _vm.list[_vm.noticeIndex].msgUrl ? _c('a', {
|
|
30320
|
+
staticStyle: {
|
|
30321
|
+
"color": "#1989fa",
|
|
30322
|
+
"margin-left": "4px",
|
|
30323
|
+
"text-decoration": "none"
|
|
30324
|
+
},
|
|
30325
|
+
attrs: {
|
|
30326
|
+
"href": "javascript:void(0)"
|
|
30327
|
+
},
|
|
30328
|
+
on: {
|
|
30329
|
+
"click": function click($event) {
|
|
30330
|
+
$event.stopPropagation();
|
|
30331
|
+
return _vm.gotoDetail(_vm.list[_vm.noticeIndex]);
|
|
30332
|
+
}
|
|
30333
|
+
}
|
|
30334
|
+
}, [_vm._v("查看详情 >")]) : _vm._e()]), _c('div', {
|
|
30335
|
+
staticStyle: {
|
|
30336
|
+
"text-align": "right",
|
|
30337
|
+
"margin-top": "8px",
|
|
30338
|
+
"font-size": "12px",
|
|
30339
|
+
"color": "#999"
|
|
30340
|
+
}
|
|
30341
|
+
}, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].senderName) + " " + _vm._s(_vm.list[_vm.noticeIndex].pushTime) + " ")]), _c('div', {
|
|
30342
|
+
staticStyle: {
|
|
30343
|
+
"display": "flex",
|
|
30344
|
+
"justify-content": "space-between",
|
|
30345
|
+
"align-items": "center",
|
|
30346
|
+
"margin-top": "16px",
|
|
30347
|
+
"padding-top": "12px",
|
|
30348
|
+
"border-top": "1px solid #eee"
|
|
30349
|
+
}
|
|
30350
|
+
}, [_c('span', {
|
|
30351
|
+
style: {
|
|
30352
|
+
color: _vm.noticeIndex === 0 ? '#ccc' : '#333',
|
|
30353
|
+
fontSize: '14px'
|
|
30354
|
+
},
|
|
30355
|
+
on: {
|
|
30356
|
+
"click": _vm.prevNotice
|
|
30357
|
+
}
|
|
30358
|
+
}, [_vm._v("上一条")]), _c('span', {
|
|
30359
|
+
staticStyle: {
|
|
30360
|
+
"font-size": "14px"
|
|
30361
|
+
}
|
|
30362
|
+
}, [_c('span', {
|
|
30363
|
+
staticStyle: {
|
|
30364
|
+
"color": "#1989fa"
|
|
30365
|
+
}
|
|
30366
|
+
}, [_vm._v(_vm._s(_vm.noticeIndex + 1))]), _vm._v("/" + _vm._s(_vm.displayList.length))]), _vm.noticeIndex < _vm.displayList.length - 1 ? _c('span', {
|
|
30367
|
+
staticStyle: {
|
|
30368
|
+
"color": "#333",
|
|
30369
|
+
"font-size": "14px"
|
|
30370
|
+
},
|
|
30371
|
+
on: {
|
|
30372
|
+
"click": _vm.nextNotice
|
|
30373
|
+
}
|
|
30374
|
+
}, [_vm._v("下一条")]) : _vm.list.length > 3 ? _c('span', {
|
|
30375
|
+
staticStyle: {
|
|
30376
|
+
"color": "#1989fa",
|
|
30377
|
+
"font-size": "14px"
|
|
30378
|
+
},
|
|
30379
|
+
on: {
|
|
30380
|
+
"click": _vm.more
|
|
30381
|
+
}
|
|
30382
|
+
}, [_vm._v("更多 >")]) : _c('span', {
|
|
30383
|
+
staticStyle: {
|
|
30384
|
+
"color": "#ccc",
|
|
30385
|
+
"font-size": "14px"
|
|
30386
|
+
}
|
|
30387
|
+
}, [_vm._v("下一条")])])]) : _vm._e()])], 1);
|
|
30388
|
+
};
|
|
30389
|
+
var msgNoticesvue_type_template_id_12920fa9_scoped_true_staticRenderFns = [];
|
|
30390
|
+
|
|
30391
|
+
;// 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/msgNotices.vue?vue&type=script&lang=js
|
|
30392
|
+
/* harmony default export */ var msgNoticesvue_type_script_lang_js = ({
|
|
30393
|
+
components: {},
|
|
30394
|
+
props: {
|
|
30395
|
+
appletData: {
|
|
30396
|
+
type: Object,
|
|
30397
|
+
default: function _default() {
|
|
30398
|
+
return {};
|
|
30399
|
+
}
|
|
30400
|
+
}
|
|
30401
|
+
},
|
|
30402
|
+
data: function data() {
|
|
30403
|
+
return {
|
|
30404
|
+
list: [],
|
|
30405
|
+
noticeIndex: 0,
|
|
30406
|
+
showDialog: false
|
|
30407
|
+
};
|
|
30408
|
+
},
|
|
30409
|
+
computed: {
|
|
30410
|
+
displayList: function displayList() {
|
|
30411
|
+
return this.list.slice(0, 3);
|
|
30412
|
+
}
|
|
30413
|
+
},
|
|
30414
|
+
watch: {},
|
|
30415
|
+
created: function created() {
|
|
30416
|
+
this.getData();
|
|
30417
|
+
// 所有门户小组件刷新方法都注册 refreshPortletData eventBus方法
|
|
30418
|
+
this.$bus.on('refreshPortletData', this.getData);
|
|
30419
|
+
this.$bus.on('refreshMsgNotice', this.getData);
|
|
30420
|
+
},
|
|
30421
|
+
beforeDestroy: function beforeDestroy() {
|
|
30422
|
+
this.$bus.off('refreshPortletData', this.getData);
|
|
30423
|
+
this.$bus.off('refreshMsgNotice', this.getData);
|
|
30424
|
+
},
|
|
30425
|
+
mounted: function mounted() {},
|
|
30426
|
+
methods: {
|
|
30427
|
+
more: function more() {
|
|
30428
|
+
this.showDialog = false;
|
|
30429
|
+
this.$router.push({
|
|
30430
|
+
path: '/msgNoticeList',
|
|
30431
|
+
query: {
|
|
30432
|
+
tab: 'all'
|
|
30433
|
+
}
|
|
30434
|
+
});
|
|
30435
|
+
},
|
|
30436
|
+
clickItem: function clickItem(item) {
|
|
30437
|
+
this.noticeIndex = this.displayList.findIndex(function (n) {
|
|
30438
|
+
return n.id === item.id;
|
|
30439
|
+
});
|
|
30440
|
+
if (this.noticeIndex < 0) this.noticeIndex = 0;
|
|
30441
|
+
this.showDialog = true;
|
|
30442
|
+
},
|
|
30443
|
+
prevNotice: function prevNotice() {
|
|
30444
|
+
if (this.noticeIndex > 0) this.noticeIndex--;
|
|
30445
|
+
},
|
|
30446
|
+
nextNotice: function nextNotice() {
|
|
30447
|
+
if (this.noticeIndex < this.list.length - 1) this.noticeIndex++;
|
|
30448
|
+
},
|
|
30449
|
+
gotoDetail: function gotoDetail(item) {
|
|
30450
|
+
this.showDialog = false;
|
|
30451
|
+
this.$router.push(item.msgUrl);
|
|
30452
|
+
},
|
|
30453
|
+
getData: function getData() {
|
|
30454
|
+
var _this = this;
|
|
30455
|
+
var loginUser = this.$store.getters.loginUser;
|
|
30456
|
+
this.$app.listdata('message/vwInbox/listdata', {
|
|
30457
|
+
pageSize: 5,
|
|
30458
|
+
pageNum: 1,
|
|
30459
|
+
orderBy: 'pushTime desc',
|
|
30460
|
+
urlsearch: 'pushStatus:1;msgContent!:null;receiverAccount:' + loginUser.personAccount
|
|
30461
|
+
}).then(function (resp) {
|
|
30462
|
+
if (resp.code === 'success') {
|
|
30463
|
+
_this.list = resp.body.pageInfo.list;
|
|
30464
|
+
} else {
|
|
30465
|
+
_this.$toast.fail(resp.message);
|
|
30466
|
+
}
|
|
30467
|
+
});
|
|
30468
|
+
}
|
|
30469
|
+
}
|
|
30470
|
+
});
|
|
30471
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=script&lang=js
|
|
30472
|
+
/* harmony default export */ var components_msgNoticesvue_type_script_lang_js = (msgNoticesvue_type_script_lang_js);
|
|
30473
|
+
// 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/msgNotices.vue?vue&type=style&index=0&id=12920fa9&prod&scoped=true&lang=scss
|
|
30474
|
+
var msgNoticesvue_type_style_index_0_id_12920fa9_prod_scoped_true_lang_scss = __webpack_require__(2755);
|
|
30475
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=style&index=0&id=12920fa9&prod&scoped=true&lang=scss
|
|
30476
|
+
|
|
30477
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue
|
|
30478
|
+
|
|
30479
|
+
|
|
30480
|
+
|
|
30481
|
+
;
|
|
30482
|
+
|
|
30483
|
+
|
|
30484
|
+
/* normalize component */
|
|
30485
|
+
|
|
30486
|
+
var msgNotices_component = normalizeComponent(
|
|
30487
|
+
components_msgNoticesvue_type_script_lang_js,
|
|
30488
|
+
msgNoticesvue_type_template_id_12920fa9_scoped_true_render,
|
|
30489
|
+
msgNoticesvue_type_template_id_12920fa9_scoped_true_staticRenderFns,
|
|
30490
|
+
false,
|
|
30491
|
+
null,
|
|
30492
|
+
"12920fa9",
|
|
30493
|
+
null
|
|
30494
|
+
|
|
30495
|
+
)
|
|
30496
|
+
|
|
30497
|
+
/* harmony default export */ var msgNotices = (msgNotices_component.exports);
|
|
30147
30498
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/index.js
|
|
30148
30499
|
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); }
|
|
30149
30500
|
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; }
|
|
@@ -30171,6 +30522,8 @@ function desktop_toPrimitive(t, r) { if ("object" != desktop_typeof(t) || !t) re
|
|
|
30171
30522
|
|
|
30172
30523
|
// 文档中心
|
|
30173
30524
|
|
|
30525
|
+
// 消息提醒
|
|
30526
|
+
|
|
30174
30527
|
// 以对象的结构保存组件,便于遍历
|
|
30175
30528
|
var components = {
|
|
30176
30529
|
MappWorkTzgg: workTzgg,
|
|
@@ -30189,7 +30542,8 @@ var components = {
|
|
|
30189
30542
|
MappWorkCommonApps: commonApps,
|
|
30190
30543
|
MappWorkHead: workHead,
|
|
30191
30544
|
MappWorkHeadEight: workHeadEight,
|
|
30192
|
-
MappWorkWdzx: workWdzx
|
|
30545
|
+
MappWorkWdzx: workWdzx,
|
|
30546
|
+
MappMsgNotices: msgNotices
|
|
30193
30547
|
};
|
|
30194
30548
|
// 定义 install 方法
|
|
30195
30549
|
var desktop_install = function install(Vue) {
|