ecinc-cloud-moadesktop 9.7.2 → 9.7.5
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 +172 -177
- package/lib/ecmoadesktop.umd.js +172 -177
- package/lib/ecmoadesktop.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecmoadesktop.umd.js
CHANGED
|
@@ -618,7 +618,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-78076e13] .van-nav-bar .van-ic
|
|
|
618
618
|
|
|
619
619
|
/***/ }),
|
|
620
620
|
|
|
621
|
-
/***/
|
|
621
|
+
/***/ 7887:
|
|
622
622
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
623
623
|
|
|
624
624
|
"use strict";
|
|
@@ -632,7 +632,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
632
632
|
|
|
633
633
|
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()));
|
|
634
634
|
// Module
|
|
635
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-
|
|
635
|
+
___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}", ""]);
|
|
636
636
|
// Exports
|
|
637
637
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
638
638
|
|
|
@@ -875,7 +875,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#work-setting[data-v-653165e4]{positio
|
|
|
875
875
|
|
|
876
876
|
/***/ }),
|
|
877
877
|
|
|
878
|
-
/***/
|
|
878
|
+
/***/ 5337:
|
|
879
879
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
880
880
|
|
|
881
881
|
"use strict";
|
|
@@ -889,7 +889,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
889
889
|
|
|
890
890
|
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()));
|
|
891
891
|
// Module
|
|
892
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-
|
|
892
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-69da2782]{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-69da2782]{color:#999;font-size:13px}.work_pageContent[data-v-69da2782]{min-height:360px;overflow:hidden;position:relative;border-radius:6px;background:#fff}.work_pageContent .tab-block[data-v-69da2782]{height:44px}.work_pageContent .tab-type[data-v-69da2782]{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-69da2782]{cursor:pointer;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;color:#999}.work_pageContent .tab-type .tab-active[data-v-69da2782]{color:#333;font-weight:700}.work_pageContent .table-box[data-v-69da2782]: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-69da2782]{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-69da2782]:last-child{border-bottom:none}.work_pageContent .table-box .top[data-v-69da2782]{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-69da2782]{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-69da2782]{color:#999}.work_pageContent .table-box .top .top-right[data-v-69da2782]{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-69da2782]{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}", ""]);
|
|
893
893
|
// Exports
|
|
894
894
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
895
895
|
|
|
@@ -22722,19 +22722,19 @@ var update = add("090c8425", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22722
22722
|
|
|
22723
22723
|
/***/ }),
|
|
22724
22724
|
|
|
22725
|
-
/***/
|
|
22725
|
+
/***/ 4376:
|
|
22726
22726
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22727
22727
|
|
|
22728
22728
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22729
22729
|
|
|
22730
22730
|
// load the styles
|
|
22731
|
-
var content = __webpack_require__(
|
|
22731
|
+
var content = __webpack_require__(7887);
|
|
22732
22732
|
if(content.__esModule) content = content.default;
|
|
22733
22733
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22734
22734
|
if(content.locals) module.exports = content.locals;
|
|
22735
22735
|
// add the styles to the DOM
|
|
22736
22736
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22737
|
-
var update = add("
|
|
22737
|
+
var update = add("60b4a434", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22738
22738
|
|
|
22739
22739
|
/***/ }),
|
|
22740
22740
|
|
|
@@ -22898,19 +22898,19 @@ var update = add("3a31c3fb", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22898
22898
|
|
|
22899
22899
|
/***/ }),
|
|
22900
22900
|
|
|
22901
|
-
/***/
|
|
22901
|
+
/***/ 3394:
|
|
22902
22902
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22903
22903
|
|
|
22904
22904
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22905
22905
|
|
|
22906
22906
|
// load the styles
|
|
22907
|
-
var content = __webpack_require__(
|
|
22907
|
+
var content = __webpack_require__(5337);
|
|
22908
22908
|
if(content.__esModule) content = content.default;
|
|
22909
22909
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22910
22910
|
if(content.locals) module.exports = content.locals;
|
|
22911
22911
|
// add the styles to the DOM
|
|
22912
22912
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22913
|
-
var update = add("
|
|
22913
|
+
var update = add("7c22f4eb", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22914
22914
|
|
|
22915
22915
|
/***/ }),
|
|
22916
22916
|
|
|
@@ -23726,8 +23726,8 @@ var component = normalizeComponent(
|
|
|
23726
23726
|
)
|
|
23727
23727
|
|
|
23728
23728
|
/* harmony default export */ var workTzgg = (component.exports);
|
|
23729
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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=
|
|
23730
|
-
var
|
|
23729
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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=69da2782&scoped=true
|
|
23730
|
+
var workTodovue_type_template_id_69da2782_scoped_true_render = function render() {
|
|
23731
23731
|
var _vm = this,
|
|
23732
23732
|
_c = _vm._self._c;
|
|
23733
23733
|
return _c('div', {
|
|
@@ -23738,13 +23738,13 @@ var workTodovue_type_template_id_3792288a_scoped_true_render = function render()
|
|
|
23738
23738
|
staticClass: "tab-type"
|
|
23739
23739
|
}, _vm._l(_vm.showTabList, function (tab) {
|
|
23740
23740
|
return _c('div', {
|
|
23741
|
-
key: tab.
|
|
23741
|
+
key: tab.code,
|
|
23742
23742
|
staticClass: "tab-item",
|
|
23743
|
-
class: _vm.formType === tab.
|
|
23743
|
+
class: _vm.formType === tab.code ? 'tab-active' : '',
|
|
23744
23744
|
on: {
|
|
23745
23745
|
"click": function click($event) {
|
|
23746
23746
|
$event.stopPropagation();
|
|
23747
|
-
return _vm.handleTypeChangeOne(tab.
|
|
23747
|
+
return _vm.handleTypeChangeOne(tab.code);
|
|
23748
23748
|
}
|
|
23749
23749
|
}
|
|
23750
23750
|
}, [_c('span', [_vm._v(_vm._s(tab.title))]), tab.count > 0 ? _c('span', {
|
|
@@ -23752,7 +23752,7 @@ var workTodovue_type_template_id_3792288a_scoped_true_render = function render()
|
|
|
23752
23752
|
"margin-left": "2px"
|
|
23753
23753
|
},
|
|
23754
23754
|
style: {
|
|
23755
|
-
color: _vm.formType === tab.
|
|
23755
|
+
color: _vm.formType === tab.code ? 'red' : ''
|
|
23756
23756
|
}
|
|
23757
23757
|
}, [_vm._v(" " + _vm._s(tab.count != '0' ? "(".concat(_vm.formatCount(tab.count), ")") : ''))]) : _vm._e()]);
|
|
23758
23758
|
}), 0) : _vm._e()]), _vm.list.length > 0 ? [_vm._l(_vm.list, function (item) {
|
|
@@ -23771,13 +23771,13 @@ var workTodovue_type_template_id_3792288a_scoped_true_render = function render()
|
|
|
23771
23771
|
class: {
|
|
23772
23772
|
readed: item.openTime
|
|
23773
23773
|
}
|
|
23774
|
-
}, [_vm._v(_vm._s(item.title))]), _c('span', {
|
|
23774
|
+
}, [_vm._v(_vm._s(_vm.isCuiban ? item.cbContent : item.title))]), _c('span', {
|
|
23775
23775
|
staticClass: "top-right"
|
|
23776
|
-
}, [_vm._v(_vm._s(item.wfName))])]), _c('div', {
|
|
23776
|
+
}, [_vm._v(_vm._s(_vm.isCuiban ? item.wfNodeNames : item.wfName))])]), _c('div', {
|
|
23777
23777
|
staticClass: "bottom"
|
|
23778
23778
|
}, [_c('div', {
|
|
23779
23779
|
staticClass: "bottom-left"
|
|
23780
|
-
}, [_c('span', [_vm._v(_vm._s(item.senderName))]), _c('span', {
|
|
23780
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.isCuiban ? item.cbPerson : item.senderName))]), _c('span', {
|
|
23781
23781
|
staticStyle: {
|
|
23782
23782
|
"margin": "0 2px"
|
|
23783
23783
|
}
|
|
@@ -23836,7 +23836,7 @@ var workTodovue_type_template_id_3792288a_scoped_true_render = function render()
|
|
|
23836
23836
|
}]
|
|
23837
23837
|
}, [_vm._v("暂无数据~")])]) : _vm._e()], 2);
|
|
23838
23838
|
};
|
|
23839
|
-
var
|
|
23839
|
+
var workTodovue_type_template_id_69da2782_scoped_true_staticRenderFns = [];
|
|
23840
23840
|
|
|
23841
23841
|
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
23842
23842
|
var moment = __webpack_require__(5093);
|
|
@@ -23852,31 +23852,12 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
|
23852
23852
|
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
23853
23853
|
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
23854
23854
|
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; }
|
|
23855
|
-
|
|
23856
|
-
|
|
23857
|
-
|
|
23858
|
-
|
|
23859
|
-
|
|
23860
|
-
|
|
23861
|
-
},
|
|
23862
|
-
2: {
|
|
23863
|
-
listDataUrl: '/workflow/wfTaskItem/listdata?busiType=hygl&listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23864
|
-
},
|
|
23865
|
-
3: {
|
|
23866
|
-
listDataUrl: '/workflow/wfTaskItem/listdata?busiType=other&listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23867
|
-
},
|
|
23868
|
-
4: {
|
|
23869
|
-
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myToread'
|
|
23870
|
-
}
|
|
23871
|
-
};
|
|
23872
|
-
var todo_form_enum = {
|
|
23873
|
-
0: {
|
|
23874
|
-
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23875
|
-
},
|
|
23876
|
-
1: {
|
|
23877
|
-
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myToread'
|
|
23878
|
-
}
|
|
23879
|
-
};
|
|
23855
|
+
/**
|
|
23856
|
+
* 工作台-待办事项
|
|
23857
|
+
* 手机门户定义--待办列表--应用子路由:tabTitle定义待办分类标签,通过code值与formTypeTabs关联
|
|
23858
|
+
* 手机门户定义--待办列表--应用子路由:wfItemTabs,已废弃,不需要定义
|
|
23859
|
+
*/
|
|
23860
|
+
|
|
23880
23861
|
|
|
23881
23862
|
/* harmony default export */ var workTodovue_type_script_lang_js = ({
|
|
23882
23863
|
components: {},
|
|
@@ -23892,47 +23873,69 @@ var todo_form_enum = {
|
|
|
23892
23873
|
return {
|
|
23893
23874
|
haveGwgl: false,
|
|
23894
23875
|
showNum: false,
|
|
23895
|
-
formType: '
|
|
23876
|
+
formType: 'all',
|
|
23896
23877
|
pageNum: 1,
|
|
23897
|
-
url: {
|
|
23898
|
-
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23899
|
-
},
|
|
23900
23878
|
formTypeTabs: [{
|
|
23901
23879
|
title: this.$tx('desktop.components.latestToDoList', '最新待办'),
|
|
23902
23880
|
value: '0',
|
|
23903
23881
|
code: 'all',
|
|
23904
|
-
count: 0
|
|
23882
|
+
count: 0,
|
|
23883
|
+
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23884
|
+
}, {
|
|
23885
|
+
title: this.$tx('desktop.components.toDoList', '待办'),
|
|
23886
|
+
value: '0',
|
|
23887
|
+
code: 'todo',
|
|
23888
|
+
count: 0,
|
|
23889
|
+
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23905
23890
|
}, {
|
|
23906
23891
|
title: this.$tx('desktop.components.officeDocument', '办文'),
|
|
23907
23892
|
value: '1',
|
|
23908
23893
|
code: 'gwgl',
|
|
23909
|
-
count: 0
|
|
23894
|
+
count: 0,
|
|
23895
|
+
listDataUrl: '/workflow/wfTaskItem/listdata?busiType=gwgl&listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23910
23896
|
}, {
|
|
23911
|
-
title: this.$tx('desktop.components.
|
|
23897
|
+
title: this.$tx('desktop.components.HoldMeeting', '办会'),
|
|
23912
23898
|
value: '2',
|
|
23913
|
-
code: '
|
|
23914
|
-
count: 0
|
|
23899
|
+
code: 'hygl',
|
|
23900
|
+
count: 0,
|
|
23901
|
+
listDataUrl: '/workflow/wfTaskItem/listdata?busiType=hygl&listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23915
23902
|
}, {
|
|
23916
|
-
title: this.$tx('desktop.components.
|
|
23903
|
+
title: this.$tx('desktop.components.holdWork', '办事'),
|
|
23917
23904
|
value: '3',
|
|
23905
|
+
code: 'other',
|
|
23918
23906
|
count: 0,
|
|
23919
|
-
|
|
23907
|
+
listDataUrl: '/workflow/wfTaskItem/listdata?busiType=other&listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23920
23908
|
}, {
|
|
23921
23909
|
title: this.$tx('common.myToread', '待阅'),
|
|
23922
23910
|
value: '4',
|
|
23911
|
+
code: 'toRead',
|
|
23923
23912
|
count: 0,
|
|
23924
|
-
|
|
23913
|
+
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myToread'
|
|
23914
|
+
}, {
|
|
23915
|
+
title: this.$tx('common.cuiban', '催办'),
|
|
23916
|
+
value: '5',
|
|
23917
|
+
code: 'cuiban',
|
|
23918
|
+
count: 0,
|
|
23919
|
+
listDataUrl: '/cuiban/cbjsjl/listdata?listpageViewUrl=cuiban.cbjsjl.list'
|
|
23925
23920
|
}],
|
|
23926
23921
|
todoFormTypeTabs: [{
|
|
23927
23922
|
title: this.$tx('common.myTodo', '待办'),
|
|
23928
23923
|
value: '0',
|
|
23924
|
+
code: 'todo',
|
|
23929
23925
|
count: 0,
|
|
23930
|
-
|
|
23926
|
+
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myTodo'
|
|
23931
23927
|
}, {
|
|
23932
23928
|
title: this.$tx('common.myToread', '待阅'),
|
|
23933
23929
|
value: '1',
|
|
23930
|
+
code: 'toRead',
|
|
23934
23931
|
count: 0,
|
|
23935
|
-
|
|
23932
|
+
listDataUrl: '/workflow/wfTaskItem/listdata?listpageViewUrl=workflow.wfTaskItem.myToread'
|
|
23933
|
+
}, {
|
|
23934
|
+
title: this.$tx('common.cuiban', '催办'),
|
|
23935
|
+
value: '2',
|
|
23936
|
+
code: 'cuiban',
|
|
23937
|
+
count: 0,
|
|
23938
|
+
listDataUrl: '/cuiban/cbjsjl/listdata?listpageViewUrl=cuiban.cbjsjl.list'
|
|
23936
23939
|
}],
|
|
23937
23940
|
list: [],
|
|
23938
23941
|
total: 0,
|
|
@@ -23941,6 +23944,13 @@ var todo_form_enum = {
|
|
|
23941
23944
|
};
|
|
23942
23945
|
},
|
|
23943
23946
|
computed: {
|
|
23947
|
+
isCuiban: function isCuiban() {
|
|
23948
|
+
var _this = this;
|
|
23949
|
+
var tab = this.showTabList.find(function (t) {
|
|
23950
|
+
return t.code === _this.formType;
|
|
23951
|
+
});
|
|
23952
|
+
return tab && (tab.code === 'cuiban' || tab.code === 'caiban');
|
|
23953
|
+
},
|
|
23944
23954
|
showTabList: function showTabList() {
|
|
23945
23955
|
if (this.haveGwgl && this.showNum) {
|
|
23946
23956
|
return [].concat(_toConsumableArray(this.formTypeTabs), _toConsumableArray(this.tabList));
|
|
@@ -23986,7 +23996,7 @@ var todo_form_enum = {
|
|
|
23986
23996
|
this.getData(this.formType);
|
|
23987
23997
|
},
|
|
23988
23998
|
cellClick: function cellClick(row) {
|
|
23989
|
-
this.$router.push(row.itemUrl);
|
|
23999
|
+
this.$router.push(row.itemUrl || row.wfEngineUrl);
|
|
23990
24000
|
},
|
|
23991
24001
|
clickMore: function clickMore() {
|
|
23992
24002
|
this.pageNum++;
|
|
@@ -23994,72 +24004,32 @@ var todo_form_enum = {
|
|
|
23994
24004
|
},
|
|
23995
24005
|
// 获取待办数量
|
|
23996
24006
|
getListCount: function getListCount() {
|
|
23997
|
-
var
|
|
23998
|
-
|
|
23999
|
-
|
|
24000
|
-
|
|
24001
|
-
|
|
24002
|
-
|
|
24003
|
-
|
|
24004
|
-
|
|
24005
|
-
|
|
24006
|
-
|
|
24007
|
-
|
|
24008
|
-
busiCodesData.push(item.code);
|
|
24009
|
-
});
|
|
24010
|
-
}
|
|
24011
|
-
} else {
|
|
24012
|
-
if (this.formTypeTabs.length > 0) {
|
|
24013
|
-
this.formTypeTabs.forEach(function (item) {
|
|
24014
|
-
busiCodesData.push(item.code);
|
|
24015
|
-
});
|
|
24016
|
-
}
|
|
24017
|
-
}
|
|
24018
|
-
this.$http({
|
|
24019
|
-
url: '/base/apiWfEngine/findOwnerTaskSysTypeCount',
|
|
24020
|
-
method: 'get',
|
|
24021
|
-
params: {
|
|
24022
|
-
resType: '',
|
|
24023
|
-
busiTypes: busiCodesData.join(',')
|
|
24024
|
-
}
|
|
24025
|
-
}).then(function (res) {
|
|
24026
|
-
if (res.code === 'success') {
|
|
24027
|
-
if (res.body.resList.length > 0) {
|
|
24028
|
-
_this.formTypeTabs.forEach(function (item) {
|
|
24029
|
-
res.body.resList.forEach(function (val) {
|
|
24030
|
-
if (item.code === val.code) {
|
|
24031
|
-
item.count = val.count;
|
|
24032
|
-
}
|
|
24033
|
-
});
|
|
24034
|
-
});
|
|
24035
|
-
}
|
|
24036
|
-
}
|
|
24037
|
-
_this.showNum = true;
|
|
24038
|
-
});
|
|
24007
|
+
var _this2 = this;
|
|
24008
|
+
var tabs = this.haveGwgl ? this.formTypeTabs : this.todoFormTypeTabs;
|
|
24009
|
+
var busiCodesData = tabs.map(function (item) {
|
|
24010
|
+
return item.code;
|
|
24011
|
+
});
|
|
24012
|
+
this.$http({
|
|
24013
|
+
url: '/base/apiWfEngine/findOwnerTaskSysTypeCount',
|
|
24014
|
+
method: 'get',
|
|
24015
|
+
params: {
|
|
24016
|
+
resType: '',
|
|
24017
|
+
busiTypes: busiCodesData.join(',')
|
|
24039
24018
|
}
|
|
24040
|
-
}
|
|
24041
|
-
|
|
24042
|
-
|
|
24043
|
-
|
|
24044
|
-
|
|
24045
|
-
|
|
24046
|
-
|
|
24047
|
-
|
|
24048
|
-
}).then(function (res) {
|
|
24049
|
-
if (res.code === 'success') {
|
|
24050
|
-
if (res.body.resList.length > 0) {
|
|
24051
|
-
_this.todoFormTypeTabs.forEach(function (item) {
|
|
24052
|
-
res.body.resList.forEach(function (val) {
|
|
24053
|
-
if (item.code === val.code) {
|
|
24054
|
-
item.count = val.count;
|
|
24055
|
-
}
|
|
24056
|
-
});
|
|
24019
|
+
}).then(function (res) {
|
|
24020
|
+
if (res.code === 'success') {
|
|
24021
|
+
if (res.body.resList.length > 0) {
|
|
24022
|
+
tabs.forEach(function (item) {
|
|
24023
|
+
res.body.resList.forEach(function (val) {
|
|
24024
|
+
if (item.code === val.code) {
|
|
24025
|
+
item.count = val.count;
|
|
24026
|
+
}
|
|
24057
24027
|
});
|
|
24058
|
-
}
|
|
24028
|
+
});
|
|
24059
24029
|
}
|
|
24060
|
-
|
|
24061
|
-
|
|
24062
|
-
}
|
|
24030
|
+
}
|
|
24031
|
+
_this2.showNum = true;
|
|
24032
|
+
});
|
|
24063
24033
|
this.getUnreadEmail(true);
|
|
24064
24034
|
},
|
|
24065
24035
|
// 列表tab切换
|
|
@@ -24071,13 +24041,10 @@ var todo_form_enum = {
|
|
|
24071
24041
|
this.getNum();
|
|
24072
24042
|
},
|
|
24073
24043
|
getNum: function getNum() {
|
|
24074
|
-
var
|
|
24075
|
-
var busiCodesData =
|
|
24076
|
-
|
|
24077
|
-
|
|
24078
|
-
busiCodesData.push(item.code);
|
|
24079
|
-
});
|
|
24080
|
-
}
|
|
24044
|
+
var tabs = this.haveGwgl ? this.formTypeTabs : this.todoFormTypeTabs;
|
|
24045
|
+
var busiCodesData = tabs.map(function (item) {
|
|
24046
|
+
return item.code;
|
|
24047
|
+
});
|
|
24081
24048
|
this.$http({
|
|
24082
24049
|
url: '/base/apiWfEngine/findOwnerTaskSysTypeCount',
|
|
24083
24050
|
method: 'get',
|
|
@@ -24088,7 +24055,7 @@ var todo_form_enum = {
|
|
|
24088
24055
|
}).then(function (res) {
|
|
24089
24056
|
if (res.code === 'success') {
|
|
24090
24057
|
if (res.body.resList.length > 0) {
|
|
24091
|
-
|
|
24058
|
+
tabs.forEach(function (item) {
|
|
24092
24059
|
res.body.resList.forEach(function (val) {
|
|
24093
24060
|
if (item.code === val.code) {
|
|
24094
24061
|
item.count = val.count;
|
|
@@ -24112,50 +24079,78 @@ var todo_form_enum = {
|
|
|
24112
24079
|
this.haveGwgl = true;
|
|
24113
24080
|
}
|
|
24114
24081
|
}
|
|
24115
|
-
if (this.haveGwgl) {
|
|
24116
|
-
this.url = form_enum;
|
|
24117
|
-
} else {
|
|
24118
|
-
this.url = todo_form_enum;
|
|
24119
|
-
}
|
|
24120
24082
|
if (this.appletData.appRoute) {
|
|
24121
|
-
var
|
|
24083
|
+
var route = this.appletData.appRoute.replace(/\n/g, '').replace(/\t/g, '').replace(/,\s*([\]}])/g, '$1');
|
|
24084
|
+
var appRoute = JSON.parse(route);
|
|
24122
24085
|
if (Array.isArray(appRoute) && appRoute.length > 0) {
|
|
24123
|
-
|
|
24124
|
-
|
|
24086
|
+
var config = appRoute[0];
|
|
24087
|
+
// 按code从默认tab定义中保留listDataUrl
|
|
24088
|
+
if (config.tabTitle && Array.isArray(config.tabTitle) && config.tabTitle.length > 0) {
|
|
24089
|
+
var defaultTabs = this.haveGwgl ? this.formTypeTabs : this.todoFormTypeTabs;
|
|
24090
|
+
this.formTypeTabs = config.tabTitle.map(function (tab) {
|
|
24091
|
+
var defaultTab = defaultTabs.find(function (d) {
|
|
24092
|
+
return d.code === tab.code;
|
|
24093
|
+
});
|
|
24094
|
+
if (defaultTab && defaultTab.listDataUrl) {
|
|
24095
|
+
tab.listDataUrl = defaultTab.listDataUrl;
|
|
24096
|
+
}
|
|
24097
|
+
return tab;
|
|
24098
|
+
});
|
|
24099
|
+
}
|
|
24100
|
+
if (config.tabList && Array.isArray(config.tabList) && config.tabList.length > 0) {
|
|
24101
|
+
this.tabList = config.tabList;
|
|
24125
24102
|
}
|
|
24126
24103
|
}
|
|
24127
24104
|
}
|
|
24105
|
+
if (this.formTypeTabs.length > 0) {
|
|
24106
|
+
this.formType = this.formTypeTabs[0].code;
|
|
24107
|
+
}
|
|
24128
24108
|
this.getData(this.formType);
|
|
24129
24109
|
this.getListCount();
|
|
24130
24110
|
},
|
|
24131
24111
|
getData: function getData(type) {
|
|
24132
24112
|
var _this3 = this;
|
|
24133
24113
|
return workTodovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/workTodovue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
24114
|
+
var tabs, tab;
|
|
24134
24115
|
return workTodovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
24135
24116
|
while (1) switch (_context.prev = _context.next) {
|
|
24136
24117
|
case 0:
|
|
24137
|
-
if (type == 'email') {
|
|
24138
|
-
|
|
24139
|
-
|
|
24140
|
-
_this3.$app.listdata(_this3.url[type].listDataUrl, {
|
|
24141
|
-
pageNum: _this3.pageNum,
|
|
24142
|
-
pageSize: 4
|
|
24143
|
-
}).then(function (res) {
|
|
24144
|
-
if (res.code === 'success') {
|
|
24145
|
-
if (res.body.pageInfo.list.length > 0) {
|
|
24146
|
-
_this3.total = res.body.pageInfo.total;
|
|
24147
|
-
_this3.endRow = res.body.pageInfo.endRow;
|
|
24148
|
-
res.body.pageInfo.list.forEach(function (item) {
|
|
24149
|
-
item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
|
|
24150
|
-
_this3.list.push(item);
|
|
24151
|
-
});
|
|
24152
|
-
}
|
|
24153
|
-
} else {
|
|
24154
|
-
_this3.list = [];
|
|
24155
|
-
}
|
|
24156
|
-
});
|
|
24118
|
+
if (!(type == 'email')) {
|
|
24119
|
+
_context.next = 4;
|
|
24120
|
+
break;
|
|
24157
24121
|
}
|
|
24158
|
-
|
|
24122
|
+
_this3.getUnreadEmail(false);
|
|
24123
|
+
_context.next = 9;
|
|
24124
|
+
break;
|
|
24125
|
+
case 4:
|
|
24126
|
+
tabs = _this3.haveGwgl ? _this3.formTypeTabs : _this3.todoFormTypeTabs;
|
|
24127
|
+
tab = tabs.find(function (t) {
|
|
24128
|
+
return t.code === type;
|
|
24129
|
+
});
|
|
24130
|
+
if (!(!tab || !tab.listDataUrl)) {
|
|
24131
|
+
_context.next = 8;
|
|
24132
|
+
break;
|
|
24133
|
+
}
|
|
24134
|
+
return _context.abrupt("return");
|
|
24135
|
+
case 8:
|
|
24136
|
+
_this3.$app.listdata(tab.listDataUrl, {
|
|
24137
|
+
pageNum: _this3.pageNum,
|
|
24138
|
+
pageSize: 4
|
|
24139
|
+
}).then(function (res) {
|
|
24140
|
+
if (res.code === 'success') {
|
|
24141
|
+
if (res.body.pageInfo.list.length > 0) {
|
|
24142
|
+
_this3.total = res.body.pageInfo.total;
|
|
24143
|
+
_this3.endRow = res.body.pageInfo.endRow;
|
|
24144
|
+
res.body.pageInfo.list.forEach(function (item) {
|
|
24145
|
+
item.createTime = moment_default()(item.createTime).format('YYYY-MM-DD HH:mm');
|
|
24146
|
+
_this3.list.push(item);
|
|
24147
|
+
});
|
|
24148
|
+
}
|
|
24149
|
+
} else {
|
|
24150
|
+
_this3.list = [];
|
|
24151
|
+
}
|
|
24152
|
+
});
|
|
24153
|
+
case 9:
|
|
24159
24154
|
case "end":
|
|
24160
24155
|
return _context.stop();
|
|
24161
24156
|
}
|
|
@@ -24267,9 +24262,9 @@ var todo_form_enum = {
|
|
|
24267
24262
|
});
|
|
24268
24263
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=script&lang=js
|
|
24269
24264
|
/* harmony default export */ var components_workTodovue_type_script_lang_js = (workTodovue_type_script_lang_js);
|
|
24270
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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=
|
|
24271
|
-
var
|
|
24272
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=
|
|
24265
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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=69da2782&prod&scoped=true&lang=scss
|
|
24266
|
+
var workTodovue_type_style_index_0_id_69da2782_prod_scoped_true_lang_scss = __webpack_require__(3394);
|
|
24267
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue?vue&type=style&index=0&id=69da2782&prod&scoped=true&lang=scss
|
|
24273
24268
|
|
|
24274
24269
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workTodo.vue
|
|
24275
24270
|
|
|
@@ -24282,11 +24277,11 @@ var workTodovue_type_style_index_0_id_3792288a_prod_scoped_true_lang_scss = __we
|
|
|
24282
24277
|
|
|
24283
24278
|
var workTodo_component = normalizeComponent(
|
|
24284
24279
|
components_workTodovue_type_script_lang_js,
|
|
24285
|
-
|
|
24286
|
-
|
|
24280
|
+
workTodovue_type_template_id_69da2782_scoped_true_render,
|
|
24281
|
+
workTodovue_type_template_id_69da2782_scoped_true_staticRenderFns,
|
|
24287
24282
|
false,
|
|
24288
24283
|
null,
|
|
24289
|
-
"
|
|
24284
|
+
"69da2782",
|
|
24290
24285
|
null
|
|
24291
24286
|
|
|
24292
24287
|
)
|
|
@@ -30191,8 +30186,8 @@ var workWdzx_component = normalizeComponent(
|
|
|
30191
30186
|
)
|
|
30192
30187
|
|
|
30193
30188
|
/* harmony default export */ var workWdzx = (workWdzx_component.exports);
|
|
30194
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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=
|
|
30195
|
-
var
|
|
30189
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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
|
|
30190
|
+
var msgNoticesvue_type_template_id_12920fa9_scoped_true_render = function render() {
|
|
30196
30191
|
var _vm = this,
|
|
30197
30192
|
_c = _vm._self._c;
|
|
30198
30193
|
return _c('div', {
|
|
@@ -30300,7 +30295,7 @@ var msgNoticesvue_type_template_id_ab69629c_scoped_true_render = function render
|
|
|
30300
30295
|
_vm.showDialog = false;
|
|
30301
30296
|
}
|
|
30302
30297
|
}
|
|
30303
|
-
}, [_c('div', {
|
|
30298
|
+
}, [_vm.list[_vm.noticeIndex] ? _c('div', {
|
|
30304
30299
|
staticStyle: {
|
|
30305
30300
|
"position": "absolute",
|
|
30306
30301
|
"top": "50%",
|
|
@@ -30394,9 +30389,9 @@ var msgNoticesvue_type_template_id_ab69629c_scoped_true_render = function render
|
|
|
30394
30389
|
"color": "#ccc",
|
|
30395
30390
|
"font-size": "14px"
|
|
30396
30391
|
}
|
|
30397
|
-
}, [_vm._v("下一条")])])])])], 1);
|
|
30392
|
+
}, [_vm._v("下一条")])])]) : _vm._e()])], 1);
|
|
30398
30393
|
};
|
|
30399
|
-
var
|
|
30394
|
+
var msgNoticesvue_type_template_id_12920fa9_scoped_true_staticRenderFns = [];
|
|
30400
30395
|
|
|
30401
30396
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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
|
|
30402
30397
|
/* harmony default export */ var msgNoticesvue_type_script_lang_js = ({
|
|
@@ -30480,9 +30475,9 @@ var msgNoticesvue_type_template_id_ab69629c_scoped_true_staticRenderFns = [];
|
|
|
30480
30475
|
});
|
|
30481
30476
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=script&lang=js
|
|
30482
30477
|
/* harmony default export */ var components_msgNoticesvue_type_script_lang_js = (msgNoticesvue_type_script_lang_js);
|
|
30483
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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=
|
|
30484
|
-
var
|
|
30485
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=style&index=0&id=
|
|
30478
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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
|
|
30479
|
+
var msgNoticesvue_type_style_index_0_id_12920fa9_prod_scoped_true_lang_scss = __webpack_require__(4376);
|
|
30480
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=style&index=0&id=12920fa9&prod&scoped=true&lang=scss
|
|
30486
30481
|
|
|
30487
30482
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue
|
|
30488
30483
|
|
|
@@ -30495,11 +30490,11 @@ var msgNoticesvue_type_style_index_0_id_ab69629c_prod_scoped_true_lang_scss = __
|
|
|
30495
30490
|
|
|
30496
30491
|
var msgNotices_component = normalizeComponent(
|
|
30497
30492
|
components_msgNoticesvue_type_script_lang_js,
|
|
30498
|
-
|
|
30499
|
-
|
|
30493
|
+
msgNoticesvue_type_template_id_12920fa9_scoped_true_render,
|
|
30494
|
+
msgNoticesvue_type_template_id_12920fa9_scoped_true_staticRenderFns,
|
|
30500
30495
|
false,
|
|
30501
30496
|
null,
|
|
30502
|
-
"
|
|
30497
|
+
"12920fa9",
|
|
30503
30498
|
null
|
|
30504
30499
|
|
|
30505
30500
|
)
|