ecinc-cloud-wappaio 9.6.570 → 9.6.572
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/ecwappaio.common.js +147 -65
- package/lib/ecwappaio.umd.js +147 -65
- package/lib/ecwappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -43004,7 +43004,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-4ff4cf75] .wf-names-checkbox .
|
|
|
43004
43004
|
|
|
43005
43005
|
/***/ }),
|
|
43006
43006
|
|
|
43007
|
-
/***/
|
|
43007
|
+
/***/ 23957:
|
|
43008
43008
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43009
43009
|
|
|
43010
43010
|
"use strict";
|
|
@@ -43018,7 +43018,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43018
43018
|
|
|
43019
43019
|
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()));
|
|
43020
43020
|
// Module
|
|
43021
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
43021
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2b95bd82]: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)}.el-form[data-v-2b95bd82]{margin-top:20px}.el-form .svg-icon[data-v-2b95bd82]{margin:0 5px}.el-form .el-button[data-v-2b95bd82]{padding:7px 5px}.el-form .el-button[data-v-2b95bd82]:active{color:#606266}.el-form .el-button+.el-button[data-v-2b95bd82]{margin-left:0}.el-form .el-link[data-v-2b95bd82]{line-height:20px;color:var(--subjectColor);cursor:pointer!important}.el-form .is-disabled[data-v-2b95bd82]{color:#c4c5c7!important}.el-form .fileHovering[data-v-2b95bd82]{background:#a5c45d;opacity:.5}.el-form .fileHovering table[data-v-2b95bd82]{opacity:.5}.el-form[data-v-2b95bd82] .attach-name{max-width:100%}.el-form[data-v-2b95bd82] .attach-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach-row[data-v-2b95bd82]{padding-top:5px;padding-bottom:5px;line-height:21px}.no-attachments[data-v-2b95bd82]{height:50px;line-height:20px}.drag-handler[data-v-2b95bd82]{cursor:move;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.attach-sorting[data-v-2b95bd82]{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}[data-v-2b95bd82] .atach-draggable .sortable-chosen{background:#f5f7fa}[data-v-2b95bd82] .el-progress-bar{padding-right:40px!important;margin-right:-47px!important}[data-v-2b95bd82] .el-progress__text{float:right}.attach-row[data-v-2b95bd82]:last-child{border-bottom:0!important}.docform-attach-container[data-v-2b95bd82]{padding:20px;margin:0!important;background-color:#fff;height:calc(100vh - 70px)}.attachment-sidebar .sidebar-area[data-v-2b95bd82]{border-bottom:1px solid #eee}.attachment-sidebar .sidebar-area .sidebar-area-title[data-v-2b95bd82]{font-weight:600;line-height:24px;padding:10px}.attachment-sidebar .sidebar-area .sidebar-area-title .el-button--primary[data-v-2b95bd82]{width:6px;padding:0;margin-right:6px;margin-top:5px;border-radius:1px;height:14px;cursor:default;vertical-align:top;display:inline-block}.attachment-sidebar .sidebar-area .sidebar-area-title div[data-v-2b95bd82]{display:inline-block;vertical-align:top}.attachment-sidebar .sidebar-area .sidebar-area-content[data-v-2b95bd82]{padding-left:20px;padding-right:10px;padding-bottom:10px}.attachment-sidebar .sidebar-area .sidebar-area-content .attach-row[data-v-2b95bd82]{border-bottom:1px solid #f3f3f3}.attachment-sidebar .sidebar-area .sidebar-area-content .attach-row .attach-name[data-v-2b95bd82]{margin-top:-3px;width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.attachment-sidebar .sidebar-area[data-v-2b95bd82]:last-child{border-bottom:0}.tb-row-attach-container .el-button--mini[data-v-2b95bd82]{font-size:12px;margin-right:6px}.drag-upload[data-v-2b95bd82]{display:-webkit-box;display:-ms-flexbox;display:flex;height:36px}.drag-upload[data-v-2b95bd82] .el-upload,.drag-upload[data-v-2b95bd82] .el-upload-dragger{width:100%!important;height:100%!important}.drag-upload[data-v-2b95bd82] .el-upload-dragger .drag-upload-box{height:100%;background:#f9fbff}.upload-view .up-btn[data-v-2b95bd82]{text-align:end}.upload-view .up-btn .down[data-v-2b95bd82]{font-size:16px;color:#999;cursor:pointer}.upload-view .upload-box[data-v-2b95bd82]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.upload-view .upload-box .upload-box-left[data-v-2b95bd82]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:40%}.upload-view .upload-box .upload-box-left .upload-label[data-v-2b95bd82]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-view .upload-box .upload-box-left .upload-label .label-l[data-v-2b95bd82]{width:12px;height:15px;line-height:20px;margin-left:6px}.upload-view .upload-box .upload-box-left .upload-label .label-l img[data-v-2b95bd82]{width:100%;height:100%}.upload-view .upload-box .upload-box-left .upload-label .label-r[data-v-2b95bd82]{font-size:14px;color:#333;margin-left:10px;-webkit-box-flex:1;-ms-flex:1;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-view .upload-box .upload-box-right[data-v-2b95bd82]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-view .upload-box .upload-box-right .up-text[data-v-2b95bd82]{font-size:12px;color:#999}.upload-view .upload-box .upload-box-right .up-person[data-v-2b95bd82]{text-align:end;margin-right:60px;margin-left:15px}.upload-view .upload-box .upload-box-right .up-person .upload-name[data-v-2b95bd82]{margin-right:15px}@media (max-width:1740px){.up-person .upload-name[data-v-2b95bd82]{margin-right:5px!important}}.upload-err-desc[data-v-2b95bd82]{color:red;width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-align:left}", ""]);
|
|
43022
43022
|
// Exports
|
|
43023
43023
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
43024
43024
|
|
|
@@ -44075,7 +44075,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-36cbe055] .el-table-toolbar-le
|
|
|
44075
44075
|
|
|
44076
44076
|
/***/ }),
|
|
44077
44077
|
|
|
44078
|
-
/***/
|
|
44078
|
+
/***/ 83451:
|
|
44079
44079
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
44080
44080
|
|
|
44081
44081
|
"use strict";
|
|
@@ -44089,7 +44089,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44089
44089
|
|
|
44090
44090
|
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()));
|
|
44091
44091
|
// Module
|
|
44092
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
44092
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d3898b56] .el-form--label-top .el-form-item{margin-bottom:0}[data-v-d3898b56] .el-form--label-top .el-form-item .el-form-item__label{padding:0;height:36px;line-height:46px}.field-config[data-v-d3898b56]{width:100%;height:auto;padding:0 12px}.option-item[data-v-d3898b56],.tab-item[data-v-d3898b56]{margin-bottom:10px}.option-item[data-v-d3898b56]:last-child,.tab-item[data-v-d3898b56]:last-child{margin-bottom:0}.option-item .del-icon-btn[data-v-d3898b56],.tab-item .del-icon-btn[data-v-d3898b56]{padding-left:0;color:#f56c6c;cursor:pointer}.option-item .del-icon-btn[data-v-d3898b56]:hover,.tab-item .del-icon-btn[data-v-d3898b56]:hover{color:red}.el-date-editor[data-v-d3898b56]{width:100%}.tips[data-v-d3898b56]{margin-top:15px;color:#777;font-size:13px;line-height:20px}[data-v-d3898b56] .el-dialog__body{overflow-y:auto;padding:0 0 20px 0}[data-v-d3898b56] .el-dialog__body .el-tabs--top{margin-top:0}.drag-config-icon[data-v-d3898b56]{font-size:14px;color:#999;cursor:pointer}.drag-move-icon[data-v-d3898b56]{font-size:14px;color:#666;cursor:move}", ""]);
|
|
44093
44093
|
// Exports
|
|
44094
44094
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
44095
44095
|
|
|
@@ -137496,19 +137496,19 @@ var update = add("215aea34", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
137496
137496
|
|
|
137497
137497
|
/***/ }),
|
|
137498
137498
|
|
|
137499
|
-
/***/
|
|
137499
|
+
/***/ 88299:
|
|
137500
137500
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
137501
137501
|
|
|
137502
137502
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
137503
137503
|
|
|
137504
137504
|
// load the styles
|
|
137505
|
-
var content = __webpack_require__(
|
|
137505
|
+
var content = __webpack_require__(23957);
|
|
137506
137506
|
if(content.__esModule) content = content.default;
|
|
137507
137507
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
137508
137508
|
if(content.locals) module.exports = content.locals;
|
|
137509
137509
|
// add the styles to the DOM
|
|
137510
137510
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
137511
|
-
var update = add("
|
|
137511
|
+
var update = add("83905056", content, true, {"sourceMap":false,"shadowMode":false});
|
|
137512
137512
|
|
|
137513
137513
|
/***/ }),
|
|
137514
137514
|
|
|
@@ -138312,19 +138312,19 @@ var update = add("4722e039", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
138312
138312
|
|
|
138313
138313
|
/***/ }),
|
|
138314
138314
|
|
|
138315
|
-
/***/
|
|
138315
|
+
/***/ 83941:
|
|
138316
138316
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
138317
138317
|
|
|
138318
138318
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
138319
138319
|
|
|
138320
138320
|
// load the styles
|
|
138321
|
-
var content = __webpack_require__(
|
|
138321
|
+
var content = __webpack_require__(83451);
|
|
138322
138322
|
if(content.__esModule) content = content.default;
|
|
138323
138323
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
138324
138324
|
if(content.locals) module.exports = content.locals;
|
|
138325
138325
|
// add the styles to the DOM
|
|
138326
138326
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
138327
|
-
var update = add("
|
|
138327
|
+
var update = add("750dcd22", content, true, {"sourceMap":false,"shadowMode":false});
|
|
138328
138328
|
|
|
138329
138329
|
/***/ }),
|
|
138330
138330
|
|
|
@@ -166318,8 +166318,8 @@ WfNames_src.install = function (Vue) {
|
|
|
166318
166318
|
Vue.component(WfNames_src.name, WfNames_src);
|
|
166319
166319
|
};
|
|
166320
166320
|
/* harmony default export */ var WfNames = (WfNames_src);
|
|
166321
|
-
;// 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/ecwapp/Wflowform/src/Attachment.vue?vue&type=template&id=
|
|
166322
|
-
var
|
|
166321
|
+
;// 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/ecwapp/Wflowform/src/Attachment.vue?vue&type=template&id=2b95bd82&scoped=true
|
|
166322
|
+
var Attachmentvue_type_template_id_2b95bd82_scoped_true_render = function render() {
|
|
166323
166323
|
var _vm = this,
|
|
166324
166324
|
_c = _vm._self._c;
|
|
166325
166325
|
return _c('div', [_vm.showMode == 'table' ? _c('el-form', {
|
|
@@ -167961,7 +167961,7 @@ var Attachmentvue_type_template_id_63dff39e_scoped_true_render = function render
|
|
|
167961
167961
|
}
|
|
167962
167962
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e()], 1);
|
|
167963
167963
|
};
|
|
167964
|
-
var
|
|
167964
|
+
var Attachmentvue_type_template_id_2b95bd82_scoped_true_staticRenderFns = [];
|
|
167965
167965
|
|
|
167966
167966
|
// EXTERNAL MODULE: ./node_modules/sortablejs/modular/sortable.esm.js
|
|
167967
167967
|
var sortable_esm = __webpack_require__(10246);
|
|
@@ -168397,7 +168397,6 @@ var Attachmentvue_type_script_lang_js_this = null;
|
|
|
168397
168397
|
attachs.push(attach);
|
|
168398
168398
|
}
|
|
168399
168399
|
});
|
|
168400
|
-
debugger;
|
|
168401
168400
|
var sortedAttachs = attachs.filter(function (attach) {
|
|
168402
168401
|
if (attach.fileType === _this6.attachsType) return true;
|
|
168403
168402
|
});
|
|
@@ -168653,7 +168652,7 @@ var Attachmentvue_type_script_lang_js_this = null;
|
|
|
168653
168652
|
handleUploadPreview: function handleUploadPreview(attach) {
|
|
168654
168653
|
var _this12 = this;
|
|
168655
168654
|
return Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
168656
|
-
var extName, topdf, wfAttachUrl, imgViewList, imgIndex, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId, _downUrl, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId2, _downUrl2, _downUrl3;
|
|
168655
|
+
var extName, topdf, wfAttachUrl, imgViewList, imgIndex, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId, _downUrl, WfModule, WFBodyDocId, WFBusiDataId, params, $scope, _appUrl, _tSessionId2, _downUrl2, uploadUrl, _appUrl2, _tSessionId3, _downUrl3, _downUrl4;
|
|
168657
168656
|
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
168658
168657
|
while (1) switch (_context.prev = _context.next) {
|
|
168659
168658
|
case 0:
|
|
@@ -168733,7 +168732,7 @@ var Attachmentvue_type_script_lang_js_this = null;
|
|
|
168733
168732
|
});
|
|
168734
168733
|
}
|
|
168735
168734
|
}, 'json');
|
|
168736
|
-
_context.next =
|
|
168735
|
+
_context.next = 99;
|
|
168737
168736
|
break;
|
|
168738
168737
|
case 29:
|
|
168739
168738
|
if (!(_this12.viewer === 'wpsjs' && (topdf || extName === '.pdf' || extName === '.pdfx' || extName === '.ofd'))) {
|
|
@@ -168741,7 +168740,7 @@ var Attachmentvue_type_script_lang_js_this = null;
|
|
|
168741
168740
|
break;
|
|
168742
168741
|
}
|
|
168743
168742
|
_this12.$bus.emit('btnPreviewAttachClick', attach, _this12.viewer);
|
|
168744
|
-
_context.next =
|
|
168743
|
+
_context.next = 99;
|
|
168745
168744
|
break;
|
|
168746
168745
|
case 33:
|
|
168747
168746
|
if (!(_this12.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
|
|
@@ -168796,33 +168795,88 @@ var Attachmentvue_type_script_lang_js_this = null;
|
|
|
168796
168795
|
}
|
|
168797
168796
|
_this12.$bus.emit('closeDoingDialog');
|
|
168798
168797
|
});
|
|
168799
|
-
_context.next =
|
|
168798
|
+
_context.next = 99;
|
|
168800
168799
|
break;
|
|
168801
168800
|
case 52:
|
|
168802
|
-
if (!(_this12.viewer === '
|
|
168801
|
+
if (!(_this12.viewer === 'foxith5' && (topdf || extName === '.pdf' || extName === '.pdfx' || extName === '.ofd'))) {
|
|
168803
168802
|
_context.next = 69;
|
|
168804
168803
|
break;
|
|
168805
168804
|
}
|
|
168806
|
-
|
|
168807
|
-
|
|
168805
|
+
$scope = _this12.$vnode.context; // 打开 wps h5
|
|
168806
|
+
_appUrl = location.href.split('#')[0].split('windex.html')[0]; // 开发调试期间指定地址
|
|
168807
|
+
if (_appUrl.indexOf('//127') !== -1 || _appUrl.indexOf('//192') !== -1) {
|
|
168808
|
+
_appUrl = 'http://3950y3g837.zicp.vip/';
|
|
168809
|
+
}
|
|
168810
|
+
_this12.$bus.emit('showDoingDialog', '正在下载文件,请稍候...');
|
|
168811
|
+
_context.next = 59;
|
|
168808
168812
|
return _this12.getSessionId();
|
|
168809
|
-
case
|
|
168813
|
+
case 59:
|
|
168810
168814
|
_tSessionId2 = _context.sent;
|
|
168815
|
+
//正文下载地址
|
|
168816
|
+
_downUrl2 = _appUrl + "/apigw";
|
|
168817
|
+
_downUrl2 += _this12.wfAttachUrl.substring(0, 1) === '/' ? _this12.wfAttachUrl : '/' + _this12.wfAttachUrl;
|
|
168818
|
+
_downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=false';
|
|
168819
|
+
//downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
|
|
168820
|
+
_downUrl2 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId2;
|
|
168821
|
+
_downUrl2 += '&saveAs=' + encodeURI(attach.fileName);
|
|
168822
|
+
uploadUrl = _appUrl + "/apigw".substring(1) + '/' + $scope.wfAttachUrl + '/upload';
|
|
168823
|
+
_this12.$http({
|
|
168824
|
+
method: 'GET',
|
|
168825
|
+
url: 'foxitEditor/getEditorUrl',
|
|
168826
|
+
params: {
|
|
168827
|
+
module: $scope.wfInstance.module,
|
|
168828
|
+
busiDataId: $scope.vo.id,
|
|
168829
|
+
attachId: '',
|
|
168830
|
+
attachName: encodeURIComponent(attach.fileName),
|
|
168831
|
+
attachType: attach.fileType,
|
|
168832
|
+
fileTitle: attach.fileName,
|
|
168833
|
+
bodyDocId: $scope.wfInstance.bodyDocId,
|
|
168834
|
+
downUrl: _downUrl2,
|
|
168835
|
+
uploadUrl: uploadUrl,
|
|
168836
|
+
openType: 'openPreview'
|
|
168837
|
+
}
|
|
168838
|
+
}).then(function (res) {
|
|
168839
|
+
if (res.code === 'success') {
|
|
168840
|
+
_this12.$bus.emit('closeDoingDialog');
|
|
168841
|
+
var fileUrl = res.body.url;
|
|
168842
|
+
var docId = res.body.docId;
|
|
168843
|
+
_this12.tSessionId = docId;
|
|
168844
|
+
var openUrl = './plugins/foxitjj/editor.html?docId=' + docId + '&attachName=' + attach.fileName + '&fileUrl=' + encodeURI(fileUrl);
|
|
168845
|
+
window.open(openUrl, '_blank');
|
|
168846
|
+
} else {
|
|
168847
|
+
_this12.$alert(res.message, _this12.$tx('common.operationTip', '操作提示'), {
|
|
168848
|
+
type: 'error'
|
|
168849
|
+
});
|
|
168850
|
+
}
|
|
168851
|
+
_this12.$bus.emit('closeDoingDialog');
|
|
168852
|
+
});
|
|
168853
|
+
_context.next = 99;
|
|
168854
|
+
break;
|
|
168855
|
+
case 69:
|
|
168856
|
+
if (!(_this12.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
168857
|
+
_context.next = 86;
|
|
168858
|
+
break;
|
|
168859
|
+
}
|
|
168860
|
+
_appUrl2 = location.href.split('#')[0]; // url
|
|
168861
|
+
_context.next = 73;
|
|
168862
|
+
return _this12.getSessionId();
|
|
168863
|
+
case 73:
|
|
168864
|
+
_tSessionId3 = _context.sent;
|
|
168811
168865
|
if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
|
|
168812
|
-
_context.next =
|
|
168866
|
+
_context.next = 78;
|
|
168813
168867
|
break;
|
|
168814
168868
|
}
|
|
168815
168869
|
sessionStorage.setItem('IMG_INDEX_' + _this12.vo.id, attach.index);
|
|
168816
168870
|
window.open('#/imgView?wfAttachUrl=' + _this12.wfAttachUrl + '&busiDataId=' + _this12.vo.id);
|
|
168817
168871
|
return _context.abrupt("return");
|
|
168818
|
-
case
|
|
168819
|
-
|
|
168820
|
-
|
|
168821
|
-
|
|
168822
|
-
|
|
168823
|
-
|
|
168872
|
+
case 78:
|
|
168873
|
+
_downUrl3 = _appUrl2 + "/apigw";
|
|
168874
|
+
_downUrl3 += _this12.wfAttachUrl.substring(0, 1) === '/' ? _this12.wfAttachUrl : '/' + _this12.wfAttachUrl;
|
|
168875
|
+
_downUrl3 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
|
|
168876
|
+
_downUrl3 += _this12.waterMark ? '&waterMark=' + _this12.waterMark + '&markContent=' + _this12.markContent : '';
|
|
168877
|
+
_downUrl3 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId3;
|
|
168824
168878
|
if (_this12.fuxinBaseUrl) {
|
|
168825
|
-
window.open(_this12.fuxinBaseUrl + '?docuri=' + encodeURIComponent(
|
|
168879
|
+
window.open(_this12.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl3));
|
|
168826
168880
|
} else {
|
|
168827
168881
|
_this12.$http({
|
|
168828
168882
|
method: 'get',
|
|
@@ -168831,46 +168885,46 @@ var Attachmentvue_type_script_lang_js_this = null;
|
|
|
168831
168885
|
}).then(function (res) {
|
|
168832
168886
|
if (res.code === 'success') {
|
|
168833
168887
|
_this12.fuxinBaseUrl = res.body.value;
|
|
168834
|
-
window.open(_this12.fuxinBaseUrl + '?docuri=' + encodeURIComponent(
|
|
168888
|
+
window.open(_this12.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl3));
|
|
168835
168889
|
} else {
|
|
168836
168890
|
_this12.$message.error('未配置福星预览地址参数 fuxin.viewer.url');
|
|
168837
168891
|
}
|
|
168838
168892
|
});
|
|
168839
168893
|
}
|
|
168840
|
-
_context.next =
|
|
168894
|
+
_context.next = 99;
|
|
168841
168895
|
break;
|
|
168842
|
-
case
|
|
168896
|
+
case 86:
|
|
168843
168897
|
if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
|
|
168844
|
-
_context.next =
|
|
168898
|
+
_context.next = 90;
|
|
168845
168899
|
break;
|
|
168846
168900
|
}
|
|
168847
168901
|
sessionStorage.setItem('IMG_INDEX_' + _this12.vo.id, attach.index);
|
|
168848
168902
|
window.open('#/imgView?wfAttachUrl=' + _this12.wfAttachUrl + '&busiDataId=' + _this12.vo.id);
|
|
168849
168903
|
return _context.abrupt("return");
|
|
168850
|
-
case
|
|
168904
|
+
case 90:
|
|
168851
168905
|
if (!((extName == '.zip' || extName == '.rar') && _this12.onZipAttachPreviewClick && typeof _this12.onZipAttachPreviewClick == 'function')) {
|
|
168852
|
-
_context.next =
|
|
168906
|
+
_context.next = 93;
|
|
168853
168907
|
break;
|
|
168854
168908
|
}
|
|
168855
168909
|
_this12.onZipAttachPreviewClick(attach, _this12.wfAttachUrl);
|
|
168856
168910
|
return _context.abrupt("return");
|
|
168857
|
-
case
|
|
168858
|
-
|
|
168859
|
-
|
|
168860
|
-
|
|
168861
|
-
|
|
168862
|
-
|
|
168911
|
+
case 93:
|
|
168912
|
+
_downUrl4 = "/apigw";
|
|
168913
|
+
_downUrl4 += _this12.wfAttachUrl.substring(0, 1) === '/' ? _this12.wfAttachUrl : '/' + _this12.wfAttachUrl;
|
|
168914
|
+
_downUrl4 += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
168915
|
+
_downUrl4 += _this12.waterMark ? '&waterMark=' + _this12.waterMark + '&markContent=' + _this12.markContent : '';
|
|
168916
|
+
_downUrl4 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
|
|
168863
168917
|
if (topdf || extName === '.pdf' || extName === '.pdfx') {
|
|
168864
|
-
|
|
168865
|
-
window.open('/plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(
|
|
168918
|
+
_downUrl4 += '&fileName=' + encodeURI(attach.fileName);
|
|
168919
|
+
window.open('/plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(_downUrl4));
|
|
168866
168920
|
} else if (extName === '.ofd') {
|
|
168867
168921
|
// ofd 预览
|
|
168868
|
-
|
|
168869
|
-
window.open('./plugins/OfdJs/view.html?file=' + encodeURIComponent(
|
|
168922
|
+
_downUrl4 += '&fileName=' + encodeURI(attach.fileName);
|
|
168923
|
+
window.open('./plugins/OfdJs/view.html?file=' + encodeURIComponent(_downUrl4));
|
|
168870
168924
|
} else {
|
|
168871
|
-
window.open(
|
|
168925
|
+
window.open(_downUrl4);
|
|
168872
168926
|
}
|
|
168873
|
-
case
|
|
168927
|
+
case 99:
|
|
168874
168928
|
case "end":
|
|
168875
168929
|
return _context.stop();
|
|
168876
168930
|
}
|
|
@@ -169641,9 +169695,9 @@ var Attachmentvue_type_script_lang_js_this = null;
|
|
|
169641
169695
|
});
|
|
169642
169696
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
169643
169697
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
169644
|
-
// 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/ecwapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
169645
|
-
var
|
|
169646
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
169698
|
+
// 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/ecwapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=2b95bd82&prod&scoped=true&lang=scss
|
|
169699
|
+
var Attachmentvue_type_style_index_0_id_2b95bd82_prod_scoped_true_lang_scss = __webpack_require__(88299);
|
|
169700
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=2b95bd82&prod&scoped=true&lang=scss
|
|
169647
169701
|
|
|
169648
169702
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/Attachment.vue
|
|
169649
169703
|
|
|
@@ -169656,11 +169710,11 @@ var Attachmentvue_type_style_index_0_id_63dff39e_prod_scoped_true_lang_scss = __
|
|
|
169656
169710
|
|
|
169657
169711
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
169658
169712
|
src_Attachmentvue_type_script_lang_js,
|
|
169659
|
-
|
|
169660
|
-
|
|
169713
|
+
Attachmentvue_type_template_id_2b95bd82_scoped_true_render,
|
|
169714
|
+
Attachmentvue_type_template_id_2b95bd82_scoped_true_staticRenderFns,
|
|
169661
169715
|
false,
|
|
169662
169716
|
null,
|
|
169663
|
-
"
|
|
169717
|
+
"2b95bd82",
|
|
169664
169718
|
null
|
|
169665
169719
|
|
|
169666
169720
|
)
|
|
@@ -218506,8 +218560,8 @@ var rightPanel_component = (0,componentNormalizer/* default */.A)(
|
|
|
218506
218560
|
)
|
|
218507
218561
|
|
|
218508
218562
|
/* harmony default export */ var rightPanel = (rightPanel_component.exports);
|
|
218509
|
-
;// 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/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=template&id=
|
|
218510
|
-
var
|
|
218563
|
+
;// 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/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=template&id=d3898b56&scoped=true
|
|
218564
|
+
var fieldConfigvue_type_template_id_d3898b56_scoped_true_render = function render() {
|
|
218511
218565
|
var _vm = this,
|
|
218512
218566
|
_c = _vm._self._c;
|
|
218513
218567
|
return _c('div', {
|
|
@@ -221452,7 +221506,32 @@ var fieldConfigvue_type_template_id_f40816b4_scoped_true_render = function rende
|
|
|
221452
221506
|
attrs: {
|
|
221453
221507
|
"label": 0
|
|
221454
221508
|
}
|
|
221455
|
-
}, [_vm._v("单行")])], 1)], 1) : _vm._e(), _c('el-form-item', {
|
|
221509
|
+
}, [_vm._v("单行")])], 1)], 1) : _vm._e(), _vm.busiform.frmViewType.indexOf('M_') == 0 ? _c('el-form-item', {
|
|
221510
|
+
attrs: {
|
|
221511
|
+
"label": "是否显示子表数据行间距"
|
|
221512
|
+
}
|
|
221513
|
+
}, [_c('el-radio-group', {
|
|
221514
|
+
on: {
|
|
221515
|
+
"change": function change($event) {
|
|
221516
|
+
return _vm.$forceUpdate();
|
|
221517
|
+
}
|
|
221518
|
+
},
|
|
221519
|
+
model: {
|
|
221520
|
+
value: _vm.selectedField.options.rowMarginTop,
|
|
221521
|
+
callback: function callback($$v) {
|
|
221522
|
+
_vm.$set(_vm.selectedField.options, "rowMarginTop", $$v);
|
|
221523
|
+
},
|
|
221524
|
+
expression: "selectedField.options.rowMarginTop"
|
|
221525
|
+
}
|
|
221526
|
+
}, [_c('el-radio', {
|
|
221527
|
+
attrs: {
|
|
221528
|
+
"label": 1
|
|
221529
|
+
}
|
|
221530
|
+
}, [_vm._v("是")]), _c('el-radio', {
|
|
221531
|
+
attrs: {
|
|
221532
|
+
"label": 0
|
|
221533
|
+
}
|
|
221534
|
+
}, [_vm._v("否")])], 1)], 1) : _vm._e(), _c('el-form-item', {
|
|
221456
221535
|
attrs: {
|
|
221457
221536
|
"label": "自定义容器指令"
|
|
221458
221537
|
}
|
|
@@ -222732,7 +222811,7 @@ var fieldConfigvue_type_template_id_f40816b4_scoped_true_render = function rende
|
|
|
222732
222811
|
}
|
|
222733
222812
|
}, [_c('Icons')], 1) : _vm._e(), _c('SelectWfNode')], 2);
|
|
222734
222813
|
};
|
|
222735
|
-
var
|
|
222814
|
+
var fieldConfigvue_type_template_id_d3898b56_scoped_true_staticRenderFns = [function () {
|
|
222736
222815
|
var _vm = this,
|
|
222737
222816
|
_c = _vm._self._c;
|
|
222738
222817
|
return _c('div', {
|
|
@@ -222740,7 +222819,7 @@ var fieldConfigvue_type_template_id_f40816b4_scoped_true_staticRenderFns = [func
|
|
|
222740
222819
|
}, [_c('small', [_c('b', [_vm._v("注:")]), _vm._v(" 可编写普通html代码; "), _c('br'), _vm._v(" 代码中可以带vue指令(例如:v-if, @click等); "), _c('br'), _vm._v(" 可以填写自定义组件的名称,需与表单挂载事件中动态加载组件名对应; ")])]);
|
|
222741
222820
|
}];
|
|
222742
222821
|
|
|
222743
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=template&id=
|
|
222822
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=template&id=d3898b56&scoped=true
|
|
222744
222823
|
|
|
222745
222824
|
// EXTERNAL MODULE: ./src/wapp/support/icons/index.vue + 7 modules
|
|
222746
222825
|
var icons = __webpack_require__(21406);
|
|
@@ -224063,6 +224142,9 @@ var trConfig_component = (0,componentNormalizer/* default */.A)(
|
|
|
224063
224142
|
if (this.selectedField.options.textareaStyle === undefined) {
|
|
224064
224143
|
this.selectedField.options.textareaStyle = 0;
|
|
224065
224144
|
}
|
|
224145
|
+
if (this.selectedField.options.rowMarginTop === undefined) {
|
|
224146
|
+
this.selectedField.options.rowMarginTop = 1;
|
|
224147
|
+
}
|
|
224066
224148
|
if (this.selectedField.options.showCheckbox === undefined) {
|
|
224067
224149
|
this.selectedField.options.showCheckbox = 0;
|
|
224068
224150
|
}
|
|
@@ -224684,9 +224766,9 @@ var trConfig_component = (0,componentNormalizer/* default */.A)(
|
|
|
224684
224766
|
});
|
|
224685
224767
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=script&lang=js
|
|
224686
224768
|
/* harmony default export */ var src_fieldConfigvue_type_script_lang_js = (fieldConfigvue_type_script_lang_js);
|
|
224687
|
-
// 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/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=style&index=0&id=
|
|
224688
|
-
var
|
|
224689
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=style&index=0&id=
|
|
224769
|
+
// 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/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=style&index=0&id=d3898b56&prod&lang=scss&scoped=true
|
|
224770
|
+
var fieldConfigvue_type_style_index_0_id_d3898b56_prod_lang_scss_scoped_true = __webpack_require__(83941);
|
|
224771
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/fieldConfig.vue?vue&type=style&index=0&id=d3898b56&prod&lang=scss&scoped=true
|
|
224690
224772
|
|
|
224691
224773
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/fieldConfig.vue
|
|
224692
224774
|
|
|
@@ -224699,11 +224781,11 @@ var fieldConfigvue_type_style_index_0_id_f40816b4_prod_lang_scss_scoped_true = _
|
|
|
224699
224781
|
|
|
224700
224782
|
var fieldConfig_component = (0,componentNormalizer/* default */.A)(
|
|
224701
224783
|
src_fieldConfigvue_type_script_lang_js,
|
|
224702
|
-
|
|
224703
|
-
|
|
224784
|
+
fieldConfigvue_type_template_id_d3898b56_scoped_true_render,
|
|
224785
|
+
fieldConfigvue_type_template_id_d3898b56_scoped_true_staticRenderFns,
|
|
224704
224786
|
false,
|
|
224705
224787
|
null,
|
|
224706
|
-
"
|
|
224788
|
+
"d3898b56",
|
|
224707
224789
|
null
|
|
224708
224790
|
|
|
224709
224791
|
)
|