ecinc-cloud-yoabase 9.6.263 → 9.6.264
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/ecyoabase.common.js +258 -319
- package/lib/ecyoabase.umd.js +258 -319
- package/lib/ecyoabase.umd.min.js +5 -5
- package/package.json +1 -1
package/lib/ecyoabase.common.js
CHANGED
|
@@ -15369,7 +15369,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".water[data-v-48516f0c]{position:absol
|
|
|
15369
15369
|
|
|
15370
15370
|
/***/ }),
|
|
15371
15371
|
|
|
15372
|
-
/***/
|
|
15372
|
+
/***/ 6838:
|
|
15373
15373
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15374
15374
|
|
|
15375
15375
|
"use strict";
|
|
@@ -15383,7 +15383,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15383
15383
|
|
|
15384
15384
|
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()));
|
|
15385
15385
|
// Module
|
|
15386
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
15386
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-c8d78746]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.wflow-container[data-v-c8d78746]{background-color:#f3f3f3;font-weight:400;font-size:13px}[data-v-c8d78746] .sidebar-logo-link{background-color:#fff}[data-v-c8d78746] .sidebar-logo-link .sidebar-logo{margin-left:20px;height:36px!important;width:36px!important}.sidebar-logo-container[data-v-c8d78746]{background:var(--bgColor);color:var(--textColor)}", ""]);
|
|
15387
15387
|
// Exports
|
|
15388
15388
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
15389
15389
|
|
|
@@ -15432,7 +15432,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".top_app_popover[data-v-43b1da15]{widt
|
|
|
15432
15432
|
|
|
15433
15433
|
/***/ }),
|
|
15434
15434
|
|
|
15435
|
-
/***/
|
|
15435
|
+
/***/ 114:
|
|
15436
15436
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15437
15437
|
|
|
15438
15438
|
"use strict";
|
|
@@ -15446,7 +15446,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15446
15446
|
|
|
15447
15447
|
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()));
|
|
15448
15448
|
// Module
|
|
15449
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
15449
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-ce77249c]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.mainform-container[data-v-ce77249c]{height:100vh;overflow-y:auto}.mainform-container .el-scrollbar[data-v-ce77249c]{width:100%;height:100%}.mainform-container .el-scrollbar[data-v-ce77249c] .el-scrollbar__wrap{overflow-x:hidden}.mainform-container .el-scrollbar[data-v-ce77249c] .el-scrollbar__wrap .el-scrollbar__view{height:calc(100% - 1px)!important}.mainform-container .page-container[data-v-ce77249c]{width:1320px;height:calc(100% - 40px);margin:0 auto;overflow:hidden;background:#fff;padding-bottom:30px;margin-top:20px}.mainform-container .page-container .form-container .courseImg[data-v-ce77249c]{max-width:824px;padding:15px}.mainform-container .page-container .form-container[data-v-ce77249c] .el-table .cell{padding:0 15px!important}.mainform-container .page-container .form-container[data-v-ce77249c] .el-table .el-table__row{cursor:pointer}.mainform-container .page-container .form-container .zsztFj[data-v-ce77249c] .el-table .el-table__header-wrapper th.is-leaf{background:#f5f7fa}.mainform-container .page-container .form-container .form-header .form-title[data-v-ce77249c]{font-size:24px;text-align:left;margin:auto;color:#333;padding:30px 0 20px;position:relative;max-width:100%;width:-webkit-max-content;width:-moz-max-content;width:max-content;font-weight:700}.mainform-container .page-container .form-container .form-header .form-title .form-title-child[data-v-ce77249c]{font-size:24px;font-weight:700}.mainform-container .page-container .form-container .form-header .form-title .startBox[data-v-ce77249c]{position:absolute;right:0;bottom:23px;font-size:var(--portalFontSize12);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#999}.mainform-container .page-container .form-container .form-header .section-title[data-v-ce77249c]{overflow:hidden;line-height:22px;text-align:center}.mainform-container .page-container .form-container .form-header .section-title .l-text[data-v-ce77249c]{float:left;margin-bottom:0}.mainform-container .page-container .form-container .form-header .section-title .r-text[data-v-ce77249c]{color:#999;margin-right:30px}.mainform-container .page-container .form-container .form-header .labelBox[data-v-ce77249c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.mainform-container .page-container .form-container .form-header .labelBox .labelItem[data-v-ce77249c]{padding:5px 15px;border-radius:14px;margin-right:10px;margin-bottom:10px}.mainform-container .page-container .form-container[data-v-ce77249c] .richtext-container{margin-top:5px}.mainform-container .page-container .form-container .attach-list[data-v-ce77249c]{height:20px;margin:10px 0}.mainform-container .page-container[data-v-ce77249c] .el-loading-mask{margin-top:100px}.mainform-container .page-container[data-v-ce77249c] .view-body-article .view-article img{width:100%;height:auto}.mainform-container .comment-discuss[data-v-ce77249c]{position:relative}.mainform-container .comment-discuss[data-v-ce77249c]:before{position:absolute;content:\"\";top:0;left:0;background:#f3f3f3;width:100%}.form_main[data-v-ce77249c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%}.form_flContent_right[data-v-ce77249c]{-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06);height:calc(100vh - 100px)!important;background-color:#fff}.form_flContent_right .fileNmae[data-v-ce77249c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:3px 20px 16px 20px;height:34px}.form_flContent_right .fileNmae span[data-v-ce77249c]{height:14px;line-height:14px}.form_flContent_right .fileNmae .name[data-v-ce77249c]{border-left:4px solid #212a77;font-weight:700;padding-left:8px}.form_flContent_right .fileNmae .collet[data-v-ce77249c]{color:#999}.form_flContent_right .datatab[data-v-ce77249c]{margin-bottom:16px;color:#1e1e1e;margin-left:32px}.form_flContent_right .master[data-v-ce77249c]{margin-left:20px}.form_flContent_right .attachtab[data-v-ce77249c],.form_flContent_right .master[data-v-ce77249c]{border-left:4px solid #212a77;font-weight:700;padding-left:8px;margin-bottom:18px;margin-top:24px}.form_flContent_right .attachtab[data-v-ce77249c]{margin-left:36px}.form_flContent_right .attach-list[data-v-ce77249c]{background-color:#fff;height:39px;line-height:39px}.form_flContent_right .attach-list[data-v-ce77249c] .is-underline :after{text-decoration:none!important;content:none}.form_flContent_right .attach-list .el-link[data-v-ce77249c]{word-break:break-all;margin-left:32px;overflow:hidden;text-overflow:ellipsis;font-size:var(--portalFontSize14);line-height:24px;-webkit-box-pack:left!important;-ms-flex-pack:left!important;justify-content:left!important;margin-right:24px!important;color:#303133}.form_flContent_right .attach-list .el-link[data-v-ce77249c] :hover{cursor:default}.form_flContent_right .attach-list .el-link .el-link--inner span[data-v-ce77249c]{display:block;margin-left:24px}.form_flContent_right .attach-list .el-link.is-underline[data-v-ce77249c]:hover:after{border:none!important}.form_flContent_right .attach-list .download[data-v-ce77249c]{margin-left:48px;line-height:20px}.form_flContent_right .attach-list .preview[data-v-ce77249c]{cursor:pointer;color:#409eff!important;width:36px;margin:0 6px}[data-v-ce77249c] .el-form .el-table__body{line-height:normal}.titleAttachment[data-v-ce77249c]{color:#333;font-size:var(--portalFontSize13);font-weight:700}[data-v-ce77249c] .el-button.el-button--primary.is-plain{color:#409eff;background:#ecf5ff;border-color:#ecf5ff}.copyright[data-v-ce77249c]{position:fixed;text-align:center;width:1320px;line-height:76px;height:76px;margin:0 auto;margin-bottom:20px;background-color:#fff;border-top:1px solid #dee2e6;bottom:0}.wflow-container-loaded[data-v-ce77249c]{height:calc(100vh - 60px)!important}.el-scrollbar__bar.is-vertical>div[data-v-ce77249c]{width:0!important}#mainContainer[data-v-ce77249c]{-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06)}#sidebarContent[data-v-ce77249c]{background-color:#fff!important}#bodyfilebox[data-v-ce77249c]{height:100%!important;background-color:#fff}.main_head_slicer[data-v-ce77249c]:first-child{font-size:16px;margin-left:20px;color:#333}.main_head_slicer[data-v-ce77249c]{color:#333;font-size:16px}@media (max-width:1569px){.from-right[data-v-ce77249c]{width:280px}.from-left[data-v-ce77249c]{width:calc(100% - 350px)}}@media (min-width:1570px){.from-right[data-v-ce77249c]{width:350px}.from-left[data-v-ce77249c]{width:calc(100% - 350px)}}", ""]);
|
|
15450
15450
|
// Exports
|
|
15451
15451
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
15452
15452
|
|
|
@@ -78090,19 +78090,19 @@ var update = add("231f9a9e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
78090
78090
|
|
|
78091
78091
|
/***/ }),
|
|
78092
78092
|
|
|
78093
|
-
/***/
|
|
78093
|
+
/***/ 5704:
|
|
78094
78094
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
78095
78095
|
|
|
78096
78096
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
78097
78097
|
|
|
78098
78098
|
// load the styles
|
|
78099
|
-
var content = __webpack_require__(
|
|
78099
|
+
var content = __webpack_require__(6838);
|
|
78100
78100
|
if(content.__esModule) content = content.default;
|
|
78101
78101
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
78102
78102
|
if(content.locals) module.exports = content.locals;
|
|
78103
78103
|
// add the styles to the DOM
|
|
78104
78104
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
78105
|
-
var update = add("
|
|
78105
|
+
var update = add("1985cd49", content, true, {"sourceMap":false,"shadowMode":false});
|
|
78106
78106
|
|
|
78107
78107
|
/***/ }),
|
|
78108
78108
|
|
|
@@ -78138,19 +78138,19 @@ var update = add("18ff94e9", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
78138
78138
|
|
|
78139
78139
|
/***/ }),
|
|
78140
78140
|
|
|
78141
|
-
/***/
|
|
78141
|
+
/***/ 668:
|
|
78142
78142
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
78143
78143
|
|
|
78144
78144
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
78145
78145
|
|
|
78146
78146
|
// load the styles
|
|
78147
|
-
var content = __webpack_require__(
|
|
78147
|
+
var content = __webpack_require__(114);
|
|
78148
78148
|
if(content.__esModule) content = content.default;
|
|
78149
78149
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
78150
78150
|
if(content.locals) module.exports = content.locals;
|
|
78151
78151
|
// add the styles to the DOM
|
|
78152
78152
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
78153
|
-
var update = add("
|
|
78153
|
+
var update = add("a17fde8e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
78154
78154
|
|
|
78155
78155
|
/***/ }),
|
|
78156
78156
|
|
|
@@ -223124,8 +223124,8 @@ var gwapCalendar_component = normalizeComponent(
|
|
|
223124
223124
|
)
|
|
223125
223125
|
|
|
223126
223126
|
/* harmony default export */ var gwapCalendar = (gwapCalendar_component.exports);
|
|
223127
|
-
;// 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/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue?vue&type=template&id=
|
|
223128
|
-
var
|
|
223127
|
+
;// 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/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue?vue&type=template&id=c8d78746&scoped=true
|
|
223128
|
+
var commonHeadervue_type_template_id_c8d78746_scoped_true_render = function render() {
|
|
223129
223129
|
var _vm = this,
|
|
223130
223130
|
_c = _vm._self._c;
|
|
223131
223131
|
return _c('div', {
|
|
@@ -223134,121 +223134,9 @@ var commonHeadervue_type_template_id_5e0ddc8a_scoped_true_render = function rend
|
|
|
223134
223134
|
attrs: {
|
|
223135
223135
|
"sys-title": _vm.logoTitle
|
|
223136
223136
|
}
|
|
223137
|
-
}), _c('
|
|
223138
|
-
staticClass: "mainform-container wflow-container-loaded"
|
|
223139
|
-
}, [!_vm.formEvents ? _c('el-scrollbar', {
|
|
223140
|
-
attrs: {
|
|
223141
|
-
"native": false,
|
|
223142
|
-
"tag": "div"
|
|
223143
|
-
}
|
|
223144
|
-
}, [_c('div', {
|
|
223145
|
-
staticClass: "page-container",
|
|
223146
|
-
style: {
|
|
223147
|
-
'padding-top': _vm.header ? '30px' : '0'
|
|
223148
|
-
}
|
|
223149
|
-
}, [_c('div', {
|
|
223150
|
-
staticClass: "form-container"
|
|
223151
|
-
}, [_c('div', {
|
|
223152
|
-
directives: [{
|
|
223153
|
-
name: "loading",
|
|
223154
|
-
rawName: "v-loading",
|
|
223155
|
-
value: true,
|
|
223156
|
-
expression: "true"
|
|
223157
|
-
}],
|
|
223158
|
-
attrs: {
|
|
223159
|
-
"element-loading-text": _vm.$tx('common.loading', '正在加载...')
|
|
223160
|
-
}
|
|
223161
|
-
})])])]) : _vm._e(), _c('el-scrollbar', {
|
|
223162
|
-
directives: [{
|
|
223163
|
-
name: "show",
|
|
223164
|
-
rawName: "v-show",
|
|
223165
|
-
value: _vm.formEvents,
|
|
223166
|
-
expression: "formEvents"
|
|
223167
|
-
}],
|
|
223168
|
-
attrs: {
|
|
223169
|
-
"native": false,
|
|
223170
|
-
"tag": "div"
|
|
223171
|
-
}
|
|
223172
|
-
}, [_c('div', {
|
|
223173
|
-
staticClass: "page-container",
|
|
223174
|
-
style: {
|
|
223175
|
-
'padding-top': _vm.header ? '30px' : '0'
|
|
223176
|
-
}
|
|
223177
|
-
}, [_c('div', {
|
|
223178
|
-
staticClass: "form-container"
|
|
223179
|
-
}, [_vm.header ? _c('div', {
|
|
223180
|
-
staticClass: "header"
|
|
223181
|
-
}, [_vm._v(_vm._s(_vm.header))]) : _vm._e(), _vm.wfParams !== null || _vm.formType === 'flow' ? [_vm.curTN.tnCanEdit == 1 && _vm.bodyFileEditor >= 2 || _vm.bodyfile != null ? _c('el-tabs', {
|
|
223182
|
-
model: {
|
|
223183
|
-
value: _vm.activeName,
|
|
223184
|
-
callback: function callback($$v) {
|
|
223185
|
-
_vm.activeName = $$v;
|
|
223186
|
-
},
|
|
223187
|
-
expression: "activeName"
|
|
223188
|
-
}
|
|
223189
|
-
}, [_c('el-tab-pane', {
|
|
223190
|
-
attrs: {
|
|
223191
|
-
"label": _vm.$tx('yoabase.comComponents.form', '处理单'),
|
|
223192
|
-
"name": "first"
|
|
223193
|
-
}
|
|
223194
|
-
}, [_c('el-form', {
|
|
223195
|
-
staticClass: "wflow-busiform",
|
|
223196
|
-
attrs: {
|
|
223197
|
-
"model": _vm.vo
|
|
223198
|
-
}
|
|
223199
|
-
}, [_c('div', {
|
|
223200
|
-
staticClass: "el-table el-table--fit el-table--border"
|
|
223201
|
-
}, [_c('div', {
|
|
223202
|
-
staticClass: "el-table__body-wrapper"
|
|
223203
|
-
}, [_c('BusiForm', {
|
|
223204
|
-
ref: "busiForm",
|
|
223205
|
-
attrs: {
|
|
223206
|
-
"wf-instance": _vm.wfInstance,
|
|
223207
|
-
"vo": _vm.vo,
|
|
223208
|
-
"cur-t-n": _vm.curTN,
|
|
223209
|
-
"can-edit": 0
|
|
223210
|
-
}
|
|
223211
|
-
})], 1)])])], 1), _c('el-tab-pane', {
|
|
223212
|
-
staticClass: "wflow-busiattach",
|
|
223213
|
-
attrs: {
|
|
223214
|
-
"label": _vm.$tx('yoabase.comComponents.bodyFile', '文件正文'),
|
|
223215
|
-
"name": "second"
|
|
223216
|
-
}
|
|
223217
|
-
}, [_vm.activeName == 'second' ? _c('ViewBodyFile', {
|
|
223218
|
-
attrs: {
|
|
223219
|
-
"fl-bodyfile": _vm.bodyfile,
|
|
223220
|
-
"wf-attach-url": _vm.wfAttachUrl,
|
|
223221
|
-
"water-mark": true
|
|
223222
|
-
}
|
|
223223
|
-
}) : _vm._e()], 1)], 1) : _c('div', [_c('el-form', {
|
|
223224
|
-
attrs: {
|
|
223225
|
-
"model": _vm.vo
|
|
223226
|
-
}
|
|
223227
|
-
}, [_c('div', {
|
|
223228
|
-
staticClass: "el-table el-table--fit el-table--border"
|
|
223229
|
-
}, [_c('div', {
|
|
223230
|
-
staticClass: "el-table__body-wrapper wflow-busiform"
|
|
223231
|
-
}, [_c('BusiForm', {
|
|
223232
|
-
ref: "busiForm",
|
|
223233
|
-
attrs: {
|
|
223234
|
-
"wf-instance": _vm.wfInstance,
|
|
223235
|
-
"vo": _vm.vo,
|
|
223236
|
-
"cur-t-n": _vm.curTN,
|
|
223237
|
-
"can-edit": 0
|
|
223238
|
-
}
|
|
223239
|
-
})], 1)])]), _vm.bodyFileEditor == 1 ? _c('RichtextEditor', {
|
|
223240
|
-
model: {
|
|
223241
|
-
value: _vm.vo.flContent,
|
|
223242
|
-
callback: function callback($$v) {
|
|
223243
|
-
_vm.$set(_vm.vo, "flContent", $$v);
|
|
223244
|
-
},
|
|
223245
|
-
expression: "vo.flContent"
|
|
223246
|
-
}
|
|
223247
|
-
}) : _vm._e()], 1)] : _c('BusiForm')], 2)]), _c('p', {
|
|
223248
|
-
staticClass: "copyright"
|
|
223249
|
-
}, [_vm._v("Copyright©" + _vm._s(_vm.loginUser.orgName) + ". All Rights Reserved")])])], 1), _c('select-dialog')], 1);
|
|
223137
|
+
}), _c('BusiForm'), _c('select-dialog')], 1);
|
|
223250
223138
|
};
|
|
223251
|
-
var
|
|
223139
|
+
var commonHeadervue_type_template_id_c8d78746_scoped_true_staticRenderFns = [];
|
|
223252
223140
|
|
|
223253
223141
|
;// 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/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue?vue&type=script&lang=js
|
|
223254
223142
|
function commonHeadervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return commonHeadervue_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; }, commonHeadervue_type_script_lang_js_typeof(o); }
|
|
@@ -223258,37 +223146,15 @@ function commonHeadervue_type_script_lang_js_defineProperty(e, r, t) { return (r
|
|
|
223258
223146
|
function commonHeadervue_type_script_lang_js_toPropertyKey(t) { var i = commonHeadervue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == commonHeadervue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
223259
223147
|
function commonHeadervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != commonHeadervue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != commonHeadervue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
223260
223148
|
|
|
223261
|
-
var commonHeadervue_type_script_lang_js_require = __webpack_require__(7710),
|
|
223262
|
-
commonHeadervue_type_script_lang_js_title = commonHeadervue_type_script_lang_js_require.title;
|
|
223263
223149
|
/* harmony default export */ var commonHeadervue_type_script_lang_js = ({
|
|
223264
223150
|
components: {},
|
|
223265
223151
|
data: function data() {
|
|
223266
223152
|
return {
|
|
223267
|
-
header: '',
|
|
223268
|
-
title: commonHeadervue_type_script_lang_js_title,
|
|
223269
|
-
logo: './images/logo.png',
|
|
223270
|
-
// './images/w-imgs/index/detailLogo.png',
|
|
223271
|
-
curTN: {},
|
|
223272
|
-
vo: {},
|
|
223273
|
-
bodyFileEditor: 0,
|
|
223274
|
-
bodyfile: null,
|
|
223275
|
-
activeName: 'first',
|
|
223276
|
-
wfInstance: {},
|
|
223277
|
-
wfAttachUrl: '',
|
|
223278
|
-
wfParams: null,
|
|
223279
|
-
formEvents: null,
|
|
223280
|
-
canEdit: 0,
|
|
223281
|
-
formType: 'default',
|
|
223282
223153
|
logoTitle: []
|
|
223283
223154
|
};
|
|
223284
223155
|
},
|
|
223285
223156
|
computed: commonHeadervue_type_script_lang_js_objectSpread({}, mapGetters(['loginUser'])),
|
|
223286
223157
|
watch: {
|
|
223287
|
-
formEvents: function formEvents() {
|
|
223288
|
-
if (this.formEvents !== null && this.formEvents !== true && this.$route.query.wfEngineUrl && !this.$route.query.workform) {
|
|
223289
|
-
this.formEvents.onWflowFormOpened(this, this.wfParams, this.wfParams, this.wfEngineUrl);
|
|
223290
|
-
}
|
|
223291
|
-
},
|
|
223292
223158
|
$route: function $route() {
|
|
223293
223159
|
if (this.$route.query.documentTitle) {
|
|
223294
223160
|
document.title = this.$route.query.documentTitle;
|
|
@@ -223299,28 +223165,19 @@ var commonHeadervue_type_script_lang_js_require = __webpack_require__(7710),
|
|
|
223299
223165
|
},
|
|
223300
223166
|
created: function created() {
|
|
223301
223167
|
var workform = this.$route.query.workform; // 需要加载的表单地址
|
|
223302
|
-
this.header = this.$route.query.header; // 页面标题
|
|
223303
|
-
this.formType = this.$route.query.formType || 'default'; // 加载的表单类型 default普通表单、flow流程表单
|
|
223304
223168
|
try {
|
|
223305
223169
|
this.logoTitle = this.$route.query.logoTitle ? decodeURIComponent(this.$route.query.logoTitle).split('/') : [];
|
|
223306
223170
|
} catch (err) {
|
|
223307
223171
|
this.logoTitle = this.$route.query.logoTitle ? this.$route.query.logoTitle.split('/') : [];
|
|
223308
223172
|
}
|
|
223309
|
-
if (
|
|
223310
|
-
|
|
223311
|
-
|
|
223312
|
-
|
|
223313
|
-
} else {
|
|
223314
|
-
if (workform.indexOf('/dcontent') > -1) {
|
|
223315
|
-
workform = workform.split('/dcontent')[1];
|
|
223316
|
-
if (workform.substring(workform.length - 1) === '/') workform = workform.substring(0, workform.length - 1);
|
|
223317
|
-
workform = '#/dcontent/vuebusiform/W/' + workform + '.vue?sysCode=' + (this.$route.meta.sysCode || '');
|
|
223318
|
-
}
|
|
223319
|
-
this.$options.components['BusiForm'] = this.$loadComponent(workform);
|
|
223173
|
+
if (workform.indexOf('/dcontent') > -1) {
|
|
223174
|
+
workform = workform.split('/dcontent')[1];
|
|
223175
|
+
if (workform.substring(workform.length - 1) === '/') workform = workform.substring(0, workform.length - 1);
|
|
223176
|
+
workform = '#/dcontent/vuebusiform/W/' + workform + '.vue?sysCode=' + (this.$route.meta.sysCode || '');
|
|
223320
223177
|
}
|
|
223178
|
+
this.$options.components['BusiForm'] = this.$loadComponent(workform);
|
|
223321
223179
|
},
|
|
223322
223180
|
mounted: function mounted() {
|
|
223323
|
-
var _this = this;
|
|
223324
223181
|
var cookieStyle = this.Cookies.get('uiStyle');
|
|
223325
223182
|
var style = '';
|
|
223326
223183
|
if (cookieStyle !== this.loginUser.uiStyle) {
|
|
@@ -223330,75 +223187,19 @@ var commonHeadervue_type_script_lang_js_require = __webpack_require__(7710),
|
|
|
223330
223187
|
style = cookieStyle;
|
|
223331
223188
|
}
|
|
223332
223189
|
document.querySelector('body').setAttribute('id', this.loginUser.orgCode != 'plat' ? style : 'skinScienceBlue');
|
|
223333
|
-
this.nickname = this.loginUser.nickname;
|
|
223334
|
-
if (this.$route.query.wfEngineUrl && !this.$route.query.workform) {
|
|
223335
|
-
this.loadWfInstance();
|
|
223336
|
-
} else {
|
|
223337
|
-
this.$nextTick(function () {
|
|
223338
|
-
setTimeout(function () {
|
|
223339
|
-
_this.formEvents = true;
|
|
223340
|
-
}, 500);
|
|
223341
|
-
});
|
|
223342
|
-
}
|
|
223343
223190
|
if (this.$route.query.documentTitle) {
|
|
223344
223191
|
document.title = this.$route.query.documentTitle;
|
|
223345
223192
|
} else if (this.$route.query.logoTitle) {
|
|
223346
223193
|
document.title = this.$route.query.logoTitle;
|
|
223347
223194
|
}
|
|
223348
223195
|
},
|
|
223349
|
-
methods: {
|
|
223350
|
-
loadWfInstance: function loadWfInstance() {
|
|
223351
|
-
var _this2 = this;
|
|
223352
|
-
this.$wfEngine.loadWfInstance(this, this.wfParams).then(function (rst) {
|
|
223353
|
-
if (rst.code === 'success') {
|
|
223354
|
-
if (_this2.wfInstance.udmNodes) {
|
|
223355
|
-
document.title = _this2.vo.flFormName + ' - ' + _this2.wfInstance.title;
|
|
223356
|
-
} else {
|
|
223357
|
-
document.title = _this2.wfInstance.wfName + ' - ' + _this2.wfInstance.title;
|
|
223358
|
-
}
|
|
223359
|
-
_this2.header = _this2.vo.flFormName;
|
|
223360
|
-
var workform = _this2.curTN.workform || _this2.wfInstance.workForm;
|
|
223361
|
-
_this2.curTN.tnCanEdit = 0;
|
|
223362
|
-
// workform = '@/wapp/ecoa/dzgg/form'
|
|
223363
|
-
if (workform.indexOf('@/') === 0) {
|
|
223364
|
-
workform = workform.replace(/@\/mapp/g, '@/wapp');
|
|
223365
|
-
_this2.$options.components['BusiForm'] = _this2.$loadComponent(workform);
|
|
223366
|
-
_this2.$nextTick(function () {
|
|
223367
|
-
_this2.formEvents = {
|
|
223368
|
-
onWflowFormOpened: _this2.$options.components['BusiForm'].methods.onWflowFormOpened,
|
|
223369
|
-
onWflowFormBeforeSubmit: _this2.$options.components['BusiForm'].methods.onWflowFormBeforeSubmit,
|
|
223370
|
-
onWflowFormSubmited: _this2.$options.components['BusiForm'].methods.onWflowFormSubmited
|
|
223371
|
-
};
|
|
223372
|
-
var formCompData = _this2.$options.components['BusiForm'].data();
|
|
223373
|
-
if (formCompData.bodyFileEditor) {
|
|
223374
|
-
_this2.bodyFileEditor = formCompData.bodyFileEditor;
|
|
223375
|
-
_this2.fileNeedSign = formCompData.fileNeedSign;
|
|
223376
|
-
}
|
|
223377
|
-
});
|
|
223378
|
-
} else if (workform.indexOf('/dcontent') !== -1) {
|
|
223379
|
-
workform = workform.split('/dcontent')[1];
|
|
223380
|
-
if (workform.substring(workform.length - 1) === '/') workform = workform.substring(0, workform.length - 1);
|
|
223381
|
-
workform = '#/dcontent/vuebusiform/W/' + workform + '.vue?sysCode=' + _this2.wfInstance.sysCode;
|
|
223382
|
-
_this2.$options.components['BusiForm'] = _this2.$loadComponent(workform);
|
|
223383
|
-
}
|
|
223384
|
-
_this2.loading = false;
|
|
223385
|
-
} else {
|
|
223386
|
-
_this2.$alert(rst.message, _this2.$tx('common.operationTip', '操作提示'), {
|
|
223387
|
-
type: 'error',
|
|
223388
|
-
callback: function callback() {
|
|
223389
|
-
window.close();
|
|
223390
|
-
}
|
|
223391
|
-
});
|
|
223392
|
-
}
|
|
223393
|
-
});
|
|
223394
|
-
}
|
|
223395
|
-
}
|
|
223196
|
+
methods: {}
|
|
223396
223197
|
});
|
|
223397
223198
|
;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue?vue&type=script&lang=js
|
|
223398
223199
|
/* harmony default export */ var commHeader_commonHeadervue_type_script_lang_js = (commonHeadervue_type_script_lang_js);
|
|
223399
|
-
// 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/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue?vue&type=style&index=0&id=
|
|
223400
|
-
var
|
|
223401
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue?vue&type=style&index=0&id=
|
|
223200
|
+
// 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/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue?vue&type=style&index=0&id=c8d78746&prod&scoped=true&lang=scss
|
|
223201
|
+
var commonHeadervue_type_style_index_0_id_c8d78746_prod_scoped_true_lang_scss = __webpack_require__(5704);
|
|
223202
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue?vue&type=style&index=0&id=c8d78746&prod&scoped=true&lang=scss
|
|
223402
223203
|
|
|
223403
223204
|
;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/commHeader/commonHeader.vue
|
|
223404
223205
|
|
|
@@ -223411,11 +223212,11 @@ var commonHeadervue_type_style_index_0_id_5e0ddc8a_prod_scoped_true_lang_scss =
|
|
|
223411
223212
|
|
|
223412
223213
|
var commonHeader_component = normalizeComponent(
|
|
223413
223214
|
commHeader_commonHeadervue_type_script_lang_js,
|
|
223414
|
-
|
|
223415
|
-
|
|
223215
|
+
commonHeadervue_type_template_id_c8d78746_scoped_true_render,
|
|
223216
|
+
commonHeadervue_type_template_id_c8d78746_scoped_true_staticRenderFns,
|
|
223416
223217
|
false,
|
|
223417
223218
|
null,
|
|
223418
|
-
"
|
|
223219
|
+
"c8d78746",
|
|
223419
223220
|
null
|
|
223420
223221
|
|
|
223421
223222
|
)
|
|
@@ -232209,32 +232010,130 @@ var ViewBodyArticle_component = normalizeComponent(
|
|
|
232209
232010
|
)
|
|
232210
232011
|
|
|
232211
232012
|
/* harmony default export */ var ViewBodyArticle = (ViewBodyArticle_component.exports);
|
|
232212
|
-
;// 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/ecyoa/yoabase/src/common/components/viewContent/index.vue?vue&type=template&id=
|
|
232213
|
-
var
|
|
232013
|
+
;// 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/ecyoa/yoabase/src/common/components/viewContent/index.vue?vue&type=template&id=ce77249c&scoped=true
|
|
232014
|
+
var viewContentvue_type_template_id_ce77249c_scoped_true_render = function render() {
|
|
232214
232015
|
var _vm = this,
|
|
232215
232016
|
_c = _vm._self._c;
|
|
232216
232017
|
return _c('div', {
|
|
232217
|
-
staticClass: "
|
|
232218
|
-
}, [_c('div', {
|
|
232219
|
-
staticClass: "page-container"
|
|
232018
|
+
staticClass: "mainform-container wflow-container-loaded"
|
|
232220
232019
|
}, [_vm.loading ? _c('div', {
|
|
232020
|
+
staticClass: "page-container"
|
|
232021
|
+
}, [_c('div', {
|
|
232022
|
+
staticClass: "form-container"
|
|
232023
|
+
}, [_c('div', {
|
|
232221
232024
|
directives: [{
|
|
232222
232025
|
name: "loading",
|
|
232223
232026
|
rawName: "v-loading",
|
|
232224
|
-
value:
|
|
232225
|
-
expression: "
|
|
232027
|
+
value: true,
|
|
232028
|
+
expression: "true"
|
|
232226
232029
|
}],
|
|
232227
232030
|
attrs: {
|
|
232228
232031
|
"element-loading-text": _vm.$tx('common.loading', '正在加载...')
|
|
232229
232032
|
}
|
|
232230
|
-
}) : _vm._e(), !_vm.loading ? _c('div', {
|
|
232033
|
+
})])]) : _vm._e(), !_vm.loading && _vm.bodyfile ? _c('div', {
|
|
232034
|
+
staticClass: "page-container",
|
|
232035
|
+
staticStyle: {
|
|
232036
|
+
"width": "100%",
|
|
232037
|
+
"margin-top": "0px",
|
|
232038
|
+
"padding-bottom": "0px",
|
|
232039
|
+
"height": "100%"
|
|
232040
|
+
}
|
|
232041
|
+
}, [_c('div', {
|
|
232231
232042
|
staticClass: "form-container",
|
|
232232
232043
|
staticStyle: {
|
|
232233
|
-
"
|
|
232234
|
-
"padding": "30px 100px"
|
|
232044
|
+
"height": "100%"
|
|
232235
232045
|
}
|
|
232236
232046
|
}, [_c('div', {
|
|
232237
|
-
staticClass: "
|
|
232047
|
+
staticClass: "form_main"
|
|
232048
|
+
}, [_c('div', {
|
|
232049
|
+
staticClass: "form_flContent from-left"
|
|
232050
|
+
}, [_c('ViewBodyFile', {
|
|
232051
|
+
staticStyle: {
|
|
232052
|
+
"width": "100%"
|
|
232053
|
+
},
|
|
232054
|
+
attrs: {
|
|
232055
|
+
"fl-bodyfile": _vm.bodyfile,
|
|
232056
|
+
"wf-attach-url": _vm.wfAttachUrl,
|
|
232057
|
+
"water-mark": true,
|
|
232058
|
+
"height": "calc(100vh - 100px) !important"
|
|
232059
|
+
}
|
|
232060
|
+
})], 1), _c('div', {
|
|
232061
|
+
staticClass: "form_flContent_right from-right"
|
|
232062
|
+
}, [_c('el-scrollbar', {
|
|
232063
|
+
attrs: {
|
|
232064
|
+
"native": false,
|
|
232065
|
+
"tag": "div"
|
|
232066
|
+
}
|
|
232067
|
+
}, [_c('div', {
|
|
232068
|
+
staticClass: "fileNmae"
|
|
232069
|
+
}, [_c('span', {
|
|
232070
|
+
staticClass: "name"
|
|
232071
|
+
}, [_vm._v("文件信息")])]), _c('div', {
|
|
232072
|
+
staticClass: "datatab"
|
|
232073
|
+
}, [_vm._v("发布者:" + _vm._s(_vm.vo.flCreator))]), _c('div', {
|
|
232074
|
+
staticClass: "datatab"
|
|
232075
|
+
}, [_vm._v("发布时间:" + _vm._s(_vm._f("dateTransform")(_vm.vo.flCreateDate)))]), _c('div', {
|
|
232076
|
+
staticClass: "datatab"
|
|
232077
|
+
}, [_vm._v("浏览量:" + _vm._s(_vm.vo.visitCounts || _vm.vo.readNum || _vm.vo.visitNum || _vm.vo.pviews || 0) + "次")]), _c('div', {
|
|
232078
|
+
staticClass: "master"
|
|
232079
|
+
}, [_vm._v("附件")]), _vm.attachments.some(function (obj) {
|
|
232080
|
+
return obj.fileType === 'ATTACH';
|
|
232081
|
+
}) ? _c('div', {
|
|
232082
|
+
staticClass: "attach-list otherattach"
|
|
232083
|
+
}, [_vm._l(_vm.attachments.filter(function (obj) {
|
|
232084
|
+
return obj.fileType === 'ATTACH';
|
|
232085
|
+
}), function (attach, index) {
|
|
232086
|
+
return [_c('el-link', {
|
|
232087
|
+
key: index,
|
|
232088
|
+
attrs: {
|
|
232089
|
+
"type": "primary",
|
|
232090
|
+
"underline": false
|
|
232091
|
+
}
|
|
232092
|
+
}, [_c('img', {
|
|
232093
|
+
staticStyle: {
|
|
232094
|
+
"width": "16px",
|
|
232095
|
+
"padding-top": "2px",
|
|
232096
|
+
"float": "left"
|
|
232097
|
+
},
|
|
232098
|
+
attrs: {
|
|
232099
|
+
"src": _vm.imgUrl(attach),
|
|
232100
|
+
"alt": ""
|
|
232101
|
+
}
|
|
232102
|
+
}), _c('span', [_vm._v(_vm._s(attach.fileName || attach.name) + " " + _vm._s(attach.fileSize))])]), _c('div', {
|
|
232103
|
+
key: attach.id,
|
|
232104
|
+
staticClass: "download"
|
|
232105
|
+
}, [_c('span', {
|
|
232106
|
+
staticClass: "preview",
|
|
232107
|
+
on: {
|
|
232108
|
+
"click": function click($event) {
|
|
232109
|
+
return _vm.handlePreview(attach);
|
|
232110
|
+
}
|
|
232111
|
+
}
|
|
232112
|
+
}, [_vm._v("预览")]), _c('span', {
|
|
232113
|
+
staticClass: "preview",
|
|
232114
|
+
on: {
|
|
232115
|
+
"click": function click($event) {
|
|
232116
|
+
return _vm.handleDownload(attach);
|
|
232117
|
+
}
|
|
232118
|
+
}
|
|
232119
|
+
}, [_vm._v("下载")])])];
|
|
232120
|
+
})], 2) : _c('div', [_c('div', {
|
|
232121
|
+
staticClass: "datatab"
|
|
232122
|
+
}, [_vm._v("无")])])])], 1)])])]) : !_vm.loading ? _c('div', {
|
|
232123
|
+
staticClass: "page-container"
|
|
232124
|
+
}, [_c('el-scrollbar', {
|
|
232125
|
+
attrs: {
|
|
232126
|
+
"native": false,
|
|
232127
|
+
"tag": "div"
|
|
232128
|
+
}
|
|
232129
|
+
}, [_c('div', {
|
|
232130
|
+
staticClass: "form-container",
|
|
232131
|
+
staticStyle: {
|
|
232132
|
+
"padding": "20px 100px"
|
|
232133
|
+
}
|
|
232134
|
+
}, [_c('div', {
|
|
232135
|
+
staticClass: "form-header",
|
|
232136
|
+
class: _vm.bodyfile ? 'right-panel' : ''
|
|
232238
232137
|
}, [_c('div', {
|
|
232239
232138
|
staticClass: "form-title"
|
|
232240
232139
|
}, [_vm.viewContent === '1' ? _c('div', {
|
|
@@ -232379,7 +232278,7 @@ var viewContentvue_type_template_id_2702fe84_scoped_true_render = function rende
|
|
|
232379
232278
|
"src": _vm.base_api + '/zsgl/config/mapTemplate/download?dataField=coverData&nameField=coverName&id=' + _vm.vo.id,
|
|
232380
232279
|
"alt": ""
|
|
232381
232280
|
}
|
|
232382
|
-
})]) : _vm._e()], 1)
|
|
232281
|
+
})]) : _vm._e()], 1), _vm.viewContent !== '3' ? _c('div', [_vm.viewContent === '1' ? _c('div', [_vm.attachments.filter(function (obj) {
|
|
232383
232282
|
return obj.fileType === 'ATTACH';
|
|
232384
232283
|
}).length > 0 ? _c('div', {
|
|
232385
232284
|
staticStyle: {
|
|
@@ -232483,10 +232382,10 @@ var viewContentvue_type_template_id_2702fe84_scoped_true_render = function rende
|
|
|
232483
232382
|
"round": ""
|
|
232484
232383
|
}
|
|
232485
232384
|
}, [_vm._v(" " + _vm._s(item) + " ")])], 1);
|
|
232486
|
-
}), 0) : _vm._e()]) : _vm._e()
|
|
232487
|
-
staticClass: "
|
|
232385
|
+
}), 0) : _vm._e()]) : _vm._e(), _vm.showComment === true || _vm.showComment === 'true' ? _c('div', {
|
|
232386
|
+
staticClass: "comment-discuss",
|
|
232488
232387
|
staticStyle: {
|
|
232489
|
-
"min-height": "
|
|
232388
|
+
"min-height": "200px"
|
|
232490
232389
|
}
|
|
232491
232390
|
}, [_c('comment', {
|
|
232492
232391
|
staticClass: "form-container",
|
|
@@ -232498,9 +232397,11 @@ var viewContentvue_type_template_id_2702fe84_scoped_true_render = function rende
|
|
|
232498
232397
|
"work-type": _vm.passageType,
|
|
232499
232398
|
"readonly": _vm.wfParams.readonly
|
|
232500
232399
|
}
|
|
232501
|
-
})], 1) : _vm._e()
|
|
232400
|
+
})], 1) : _vm._e(), _c('p', {
|
|
232401
|
+
staticClass: "copyright"
|
|
232402
|
+
}, [_vm._v("Copyright©" + _vm._s(_vm.loginUser.orgName) + ". All Rights Reserved")])])], 1) : _vm._e()]);
|
|
232502
232403
|
};
|
|
232503
|
-
var
|
|
232404
|
+
var viewContentvue_type_template_id_ce77249c_scoped_true_staticRenderFns = [];
|
|
232504
232405
|
|
|
232505
232406
|
;// 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/ecyoa/yoabase/src/common/components/viewContent/index.vue?vue&type=script&lang=js
|
|
232506
232407
|
function viewContentvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return viewContentvue_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; }, viewContentvue_type_script_lang_js_typeof(o); }
|
|
@@ -232528,6 +232429,7 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232528
232429
|
wfParams: {},
|
|
232529
232430
|
wfInstance: {},
|
|
232530
232431
|
vo: {},
|
|
232432
|
+
bodyfile: null,
|
|
232531
232433
|
wfJsonData: {},
|
|
232532
232434
|
curTN: {},
|
|
232533
232435
|
attachments: [],
|
|
@@ -232640,18 +232542,18 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232640
232542
|
methods: {
|
|
232641
232543
|
// 更新阅读量
|
|
232642
232544
|
updatePviewsCms: function updatePviewsCms() {
|
|
232643
|
-
var
|
|
232545
|
+
var _this2 = this;
|
|
232644
232546
|
if (this.$route.query.readonly) return;
|
|
232645
232547
|
this.$http({
|
|
232646
232548
|
contentType: 'application/x-www-form-urlencoded',
|
|
232647
232549
|
url: '/portal/cms/article/getByReadNum?id=' + this.$route.query.busiDataId,
|
|
232648
232550
|
method: 'get'
|
|
232649
232551
|
}).then(function (res) {
|
|
232650
|
-
|
|
232552
|
+
_this2.vo.readNum++;
|
|
232651
232553
|
});
|
|
232652
232554
|
},
|
|
232653
232555
|
updatePviews: function updatePviews() {
|
|
232654
|
-
var
|
|
232556
|
+
var _this3 = this;
|
|
232655
232557
|
if (this.$route.query.readonly) return;
|
|
232656
232558
|
this.$http({
|
|
232657
232559
|
contentType: 'application/x-www-form-urlencoded',
|
|
@@ -232662,13 +232564,13 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232662
232564
|
type: this.$route.query.viewContent
|
|
232663
232565
|
}
|
|
232664
232566
|
}).then(function (res) {
|
|
232665
|
-
|
|
232666
|
-
|
|
232567
|
+
_this3.vo.visitCounts++;
|
|
232568
|
+
_this3.vo.pviews++;
|
|
232667
232569
|
});
|
|
232668
232570
|
},
|
|
232669
232571
|
// 收藏
|
|
232670
232572
|
collection: function collection() {
|
|
232671
|
-
var
|
|
232573
|
+
var _this4 = this;
|
|
232672
232574
|
if (this.wfParams.readonly) {
|
|
232673
232575
|
return;
|
|
232674
232576
|
}
|
|
@@ -232679,9 +232581,9 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232679
232581
|
data: {}
|
|
232680
232582
|
}).then(function (res) {
|
|
232681
232583
|
if (res.code === 'success') {
|
|
232682
|
-
console.log(res.body,
|
|
232584
|
+
console.log(res.body, _this4, '333');
|
|
232683
232585
|
var vo = res.body.vo;
|
|
232684
|
-
vo.busiDataId =
|
|
232586
|
+
vo.busiDataId = _this4.$route.query.busiDataId;
|
|
232685
232587
|
var str = '';
|
|
232686
232588
|
var href = decodeURIComponent(location.href);
|
|
232687
232589
|
var arr = href.split('?')[1].split('&');
|
|
@@ -232690,85 +232592,85 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232690
232592
|
str = item.split('/')[1];
|
|
232691
232593
|
}
|
|
232692
232594
|
});
|
|
232693
|
-
if (
|
|
232694
|
-
vo.title =
|
|
232595
|
+
if (_this4.$route.query.viewContent === '1') {
|
|
232596
|
+
vo.title = _this4.vo.flSubject ? _this4.vo.flSubject : _this4.vo.subject;
|
|
232695
232597
|
} else {
|
|
232696
|
-
vo.title =
|
|
232598
|
+
vo.title = _this4.vo.subject;
|
|
232697
232599
|
}
|
|
232698
|
-
vo.type =
|
|
232699
|
-
vo.url =
|
|
232600
|
+
vo.type = _this4.passageType;
|
|
232601
|
+
vo.url = _this4.$route.fullPath;
|
|
232700
232602
|
vo.operationType = 1;
|
|
232701
|
-
if (
|
|
232603
|
+
if (_this4.wflowType === 'getById') {
|
|
232702
232604
|
if (str === 'knowledgeInfo') str = 'knowledge';
|
|
232703
232605
|
vo.module = str;
|
|
232704
232606
|
} else {
|
|
232705
|
-
vo.module =
|
|
232607
|
+
vo.module = _this4.wfInstance.module;
|
|
232706
232608
|
}
|
|
232707
|
-
if (
|
|
232708
|
-
vo.sysCode =
|
|
232709
|
-
} else if (
|
|
232710
|
-
if (
|
|
232711
|
-
vo.sysCode =
|
|
232609
|
+
if (_this4.wfEngineUrl === 'portal/cms/article') {
|
|
232610
|
+
vo.sysCode = _this4.$store.getters.loginUser.sysCode;
|
|
232611
|
+
} else if (_this4.wflowType === 'wflow') {
|
|
232612
|
+
if (_this4.vo.sysCode) {
|
|
232613
|
+
vo.sysCode = _this4.vo.sysCode;
|
|
232712
232614
|
} else {
|
|
232713
|
-
vo.sysCode =
|
|
232615
|
+
vo.sysCode = _this4.wfInstance.sysCode;
|
|
232714
232616
|
}
|
|
232715
|
-
} else if (
|
|
232716
|
-
if (
|
|
232717
|
-
vo.sysCode =
|
|
232617
|
+
} else if (_this4.wflowType === 'getById') {
|
|
232618
|
+
if (_this4.vo.sysCode) {
|
|
232619
|
+
vo.sysCode = _this4.vo.sysCode;
|
|
232718
232620
|
} else {
|
|
232719
|
-
var code =
|
|
232720
|
-
vo.sysCode = "".concat(
|
|
232621
|
+
var code = _this4.wfEngineUrl.split('/');
|
|
232622
|
+
vo.sysCode = "".concat(_this4.vo.orgCode, "_ecy").concat(code[0] ? code[0] : code[1]);
|
|
232721
232623
|
}
|
|
232722
232624
|
} else {
|
|
232723
|
-
vo.sysCode =
|
|
232625
|
+
vo.sysCode = _this4.$store.getters.loginUser.sysCode;
|
|
232724
232626
|
}
|
|
232725
|
-
|
|
232627
|
+
_this4.$http({
|
|
232726
232628
|
contentType: 'application/x-www-form-urlencoded',
|
|
232727
232629
|
url: '/user/collection/insert',
|
|
232728
232630
|
method: 'POST',
|
|
232729
232631
|
data: vo
|
|
232730
232632
|
}).then(function (innerRes) {
|
|
232731
232633
|
if (innerRes.code === 'success') {
|
|
232732
|
-
|
|
232733
|
-
|
|
232734
|
-
|
|
232634
|
+
_this4.collectionStatus = !_this4.collectionStatus;
|
|
232635
|
+
_this4.$message.success(innerRes.message);
|
|
232636
|
+
_this4.getCollectionNumber();
|
|
232735
232637
|
} else {
|
|
232736
|
-
|
|
232638
|
+
_this4.$message.error(innerRes.message);
|
|
232737
232639
|
}
|
|
232738
232640
|
});
|
|
232739
232641
|
} else {
|
|
232740
|
-
|
|
232642
|
+
_this4.$message.error(res.message);
|
|
232741
232643
|
}
|
|
232742
232644
|
});
|
|
232743
232645
|
},
|
|
232744
232646
|
// 获取文章收藏状态
|
|
232745
232647
|
getCollectionStatus: function getCollectionStatus() {
|
|
232746
|
-
var
|
|
232648
|
+
var _this5 = this;
|
|
232747
232649
|
this.$http({
|
|
232748
232650
|
contentType: 'application/x-www-form-urlencoded',
|
|
232749
232651
|
url: "/user/collection/getIfCollection?busiDataId=".concat(this.$route.query.busiDataId, "&operationType=1&ownerId=").concat(this.loginUser.personId),
|
|
232750
232652
|
method: 'GET'
|
|
232751
232653
|
}).then(function (res) {
|
|
232752
232654
|
if (res.code === 'success') {
|
|
232753
|
-
|
|
232655
|
+
_this5.collectionStatus = res.body.data;
|
|
232754
232656
|
} else {
|
|
232755
|
-
|
|
232657
|
+
_this5.$alert.error(res.message);
|
|
232756
232658
|
}
|
|
232757
232659
|
});
|
|
232758
232660
|
},
|
|
232759
232661
|
// 获取文章收藏数量
|
|
232760
232662
|
getCollectionNumber: function getCollectionNumber() {
|
|
232761
|
-
var
|
|
232663
|
+
var _this6 = this;
|
|
232762
232664
|
this.$http({
|
|
232763
232665
|
contentType: 'application/x-www-form-urlencoded',
|
|
232764
232666
|
url: "/user/collection/getCollectionCount?busiDataId=".concat(this.$route.query.busiDataId, "&operationType=1"),
|
|
232765
232667
|
method: 'GET'
|
|
232766
232668
|
}).then(function (res) {
|
|
232767
232669
|
if (res.code === 'success') {
|
|
232768
|
-
|
|
232670
|
+
_this6.collectionNum = res.body.data;
|
|
232769
232671
|
console.log(res.body.data, '收藏量');
|
|
232770
232672
|
} else {
|
|
232771
|
-
|
|
232673
|
+
_this6.$message.error(res.message);
|
|
232772
232674
|
}
|
|
232773
232675
|
});
|
|
232774
232676
|
},
|
|
@@ -232784,26 +232686,27 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232784
232686
|
this.$wappUtils.setBrowsingHistory(this, params);
|
|
232785
232687
|
},
|
|
232786
232688
|
loadWfInstance: function loadWfInstance() {
|
|
232787
|
-
var
|
|
232689
|
+
var _this7 = this;
|
|
232690
|
+
var _this = this;
|
|
232788
232691
|
this.$wfEngine.loadWfInstance(this, this.wfParams).then(function (rst) {
|
|
232789
232692
|
if (rst.code === 'success') {
|
|
232790
|
-
|
|
232693
|
+
_this7.loading = false;
|
|
232791
232694
|
// rst.body.wfInstance = this.vo
|
|
232792
|
-
|
|
232793
|
-
if (!
|
|
232794
|
-
|
|
232695
|
+
_this7.attachments = rst.body.attachList;
|
|
232696
|
+
if (!_this7.vo.content) {
|
|
232697
|
+
_this7.vo.content = _this7.vo.flContent;
|
|
232795
232698
|
}
|
|
232796
|
-
if (!
|
|
232797
|
-
|
|
232699
|
+
if (!_this7.vo.issueDate) {
|
|
232700
|
+
_this7.vo.issueDate = _this7.vo.publishDate || _this7.vo.publishTime || _this7.vo.pushTime || _this7.vo.pubTime || _this7.vo.createTime;
|
|
232798
232701
|
}
|
|
232799
|
-
if (
|
|
232800
|
-
if (
|
|
232801
|
-
|
|
232702
|
+
if (_this7.apiFlag === false || _this7.apiFlag === 'false') return;
|
|
232703
|
+
if (_this7.wfEngineUrl === 'portal/cms/article') {
|
|
232704
|
+
_this7.updatePviewsCms();
|
|
232802
232705
|
} else {
|
|
232803
|
-
|
|
232706
|
+
_this7.updatePviews();
|
|
232804
232707
|
}
|
|
232805
232708
|
} else {
|
|
232806
|
-
|
|
232709
|
+
_this7.$alert(rst.message, _this7.$tx('common.operationTip', '操作提示'), {
|
|
232807
232710
|
type: 'error',
|
|
232808
232711
|
callback: function callback() {
|
|
232809
232712
|
window.close();
|
|
@@ -232813,7 +232716,7 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232813
232716
|
});
|
|
232814
232717
|
},
|
|
232815
232718
|
getViewContentData: function getViewContentData() {
|
|
232816
|
-
var
|
|
232719
|
+
var _this8 = this;
|
|
232817
232720
|
if (this.viewContent === '1') {
|
|
232818
232721
|
this.$http({
|
|
232819
232722
|
contentType: 'application/x-www-form-urlencoded',
|
|
@@ -232821,35 +232724,35 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232821
232724
|
method: 'GET',
|
|
232822
232725
|
data: {}
|
|
232823
232726
|
}).then(function (res) {
|
|
232824
|
-
|
|
232727
|
+
_this8.loading = false;
|
|
232825
232728
|
if (res.code === 'success') {
|
|
232826
|
-
|
|
232827
|
-
if (!
|
|
232828
|
-
|
|
232729
|
+
_this8.vo = res.body.vo;
|
|
232730
|
+
if (!_this8.vo.content) {
|
|
232731
|
+
_this8.vo.content = _this8.vo.flContent;
|
|
232829
232732
|
}
|
|
232830
|
-
if (!
|
|
232831
|
-
|
|
232733
|
+
if (!_this8.vo.issueDate) {
|
|
232734
|
+
_this8.vo.issueDate = _this8.vo.publishDate || _this8.vo.publishTime || _this8.vo.pushTime || _this8.vo.pubTime || _this8.vo.createTime;
|
|
232832
232735
|
}
|
|
232833
|
-
|
|
232834
|
-
if (
|
|
232835
|
-
|
|
232736
|
+
_this8.insertBrowsingHistory(_this8.vo);
|
|
232737
|
+
if (_this8.vo.passenger.attachments) {
|
|
232738
|
+
_this8.attachments = _this8.vo.passenger.attachments;
|
|
232836
232739
|
} else {
|
|
232837
|
-
|
|
232740
|
+
_this8.attachments = [];
|
|
232838
232741
|
}
|
|
232839
|
-
if (
|
|
232840
|
-
|
|
232742
|
+
if (_this8.vo.keyWords) {
|
|
232743
|
+
_this8.keyWordsList = _this8.vo.keyWords.split('、');
|
|
232841
232744
|
}
|
|
232842
|
-
if (
|
|
232843
|
-
|
|
232745
|
+
if (_this8.vo.passenger.liuNumber) {
|
|
232746
|
+
_this8.$set(_this8.vo, 'pviews', _this8.vo.passenger.liuNumber);
|
|
232844
232747
|
}
|
|
232845
|
-
if (
|
|
232846
|
-
if (
|
|
232847
|
-
|
|
232748
|
+
if (_this8.apiFlag === false || _this8.apiFlag === 'false') return;
|
|
232749
|
+
if (_this8.wfEngineUrl === 'portal/cms/article') {
|
|
232750
|
+
_this8.updatePviewsCms();
|
|
232848
232751
|
} else {
|
|
232849
|
-
|
|
232752
|
+
_this8.updatePviews();
|
|
232850
232753
|
}
|
|
232851
232754
|
} else {
|
|
232852
|
-
|
|
232755
|
+
_this8.$alert(res.message, _this8.$tx('common.operationTip', '操作提示'), {
|
|
232853
232756
|
type: 'error',
|
|
232854
232757
|
callback: function callback() {
|
|
232855
232758
|
window.close();
|
|
@@ -232860,6 +232763,42 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232860
232763
|
this.wfInstance.wfName1 = '知识中心';
|
|
232861
232764
|
}
|
|
232862
232765
|
},
|
|
232766
|
+
// 返回图片路径
|
|
232767
|
+
imgUrl: function imgUrl(item) {
|
|
232768
|
+
if (Number(item.resoureType) === 1) {
|
|
232769
|
+
// 文件夹类型
|
|
232770
|
+
return 'images/w-imgs/email/folder.png';
|
|
232771
|
+
} else {
|
|
232772
|
+
// 文件类型
|
|
232773
|
+
var extension = item.fileName || item.name;
|
|
232774
|
+
extension = extension.substring(extension.lastIndexOf('.'));
|
|
232775
|
+
if (extension === '.doc' || extension === '.docx') {
|
|
232776
|
+
return 'images/w-imgs/email/word.png';
|
|
232777
|
+
}
|
|
232778
|
+
if (extension === '.ppt' || extension === '.pptx') {
|
|
232779
|
+
return 'images/w-imgs/email/ppt.png';
|
|
232780
|
+
}
|
|
232781
|
+
if (extension === '.xls' || extension === '.xlsx') {
|
|
232782
|
+
return 'images/w-imgs/email/excel.png';
|
|
232783
|
+
}
|
|
232784
|
+
if (extension === '.pdf') {
|
|
232785
|
+
return 'images/w-imgs/email/pdf.png';
|
|
232786
|
+
}
|
|
232787
|
+
if (extension === '.txt') {
|
|
232788
|
+
return 'images/w-imgs/email/txt.png';
|
|
232789
|
+
} else if (extension === '.audio' || extension === '.amr' || extension === '.mp3' || extension === '.wav') {
|
|
232790
|
+
return 'images/w-imgs/email/audio.png';
|
|
232791
|
+
} else if (extension === '.video' || extension === '.mp4' || extension === '.mov') {
|
|
232792
|
+
return 'images/w-imgs/email/video.png';
|
|
232793
|
+
} else if (extension === '.zip' || extension === '.rar') {
|
|
232794
|
+
return 'images/w-imgs/email/zip.png';
|
|
232795
|
+
} else if (extension === '.image' || extension === '.mp4' || extension === '.jpg' || extension === '.jpeg' || extension === '.png' || extension === '.gif' || extension === '.bmp' || extension === '.svg') {
|
|
232796
|
+
return 'images/w-imgs/email/picture.png';
|
|
232797
|
+
} else {
|
|
232798
|
+
return 'images/w-imgs/email/other.png';
|
|
232799
|
+
}
|
|
232800
|
+
}
|
|
232801
|
+
},
|
|
232863
232802
|
getCookie: function getCookie(cname) {
|
|
232864
232803
|
var name = cname + '=';
|
|
232865
232804
|
var ca = document.cookie.split(';');
|
|
@@ -232890,9 +232829,9 @@ var viewContentvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
232890
232829
|
});
|
|
232891
232830
|
;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/viewContent/index.vue?vue&type=script&lang=js
|
|
232892
232831
|
/* harmony default export */ var components_viewContentvue_type_script_lang_js = (viewContentvue_type_script_lang_js);
|
|
232893
|
-
// 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/ecyoa/yoabase/src/common/components/viewContent/index.vue?vue&type=style&index=0&id=
|
|
232894
|
-
var
|
|
232895
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/viewContent/index.vue?vue&type=style&index=0&id=
|
|
232832
|
+
// 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/ecyoa/yoabase/src/common/components/viewContent/index.vue?vue&type=style&index=0&id=ce77249c&prod&scoped=true&lang=scss
|
|
232833
|
+
var viewContentvue_type_style_index_0_id_ce77249c_prod_scoped_true_lang_scss = __webpack_require__(668);
|
|
232834
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/viewContent/index.vue?vue&type=style&index=0&id=ce77249c&prod&scoped=true&lang=scss
|
|
232896
232835
|
|
|
232897
232836
|
;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/viewContent/index.vue
|
|
232898
232837
|
|
|
@@ -232905,11 +232844,11 @@ var viewContentvue_type_style_index_0_id_2702fe84_prod_scoped_true_lang_scss = _
|
|
|
232905
232844
|
|
|
232906
232845
|
var viewContent_component = normalizeComponent(
|
|
232907
232846
|
components_viewContentvue_type_script_lang_js,
|
|
232908
|
-
|
|
232909
|
-
|
|
232847
|
+
viewContentvue_type_template_id_ce77249c_scoped_true_render,
|
|
232848
|
+
viewContentvue_type_template_id_ce77249c_scoped_true_staticRenderFns,
|
|
232910
232849
|
false,
|
|
232911
232850
|
null,
|
|
232912
|
-
"
|
|
232851
|
+
"ce77249c",
|
|
232913
232852
|
null
|
|
232914
232853
|
|
|
232915
232854
|
)
|