ecinc-cloud-wappaio 9.6.570 → 9.6.571
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 +103 -49
- package/lib/ecwappaio.umd.js +103 -49
- 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
|
|
|
@@ -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
|
|
|
@@ -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
|
)
|