ecinc-cloud-mappaio 9.0.86 → 9.0.88
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/ecmappaio.common.js +170 -107
- package/lib/ecmappaio.umd.js +170 -107
- package/lib/ecmappaio.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -5634,7 +5634,7 @@ if ($defineProperty) {
|
|
|
5634
5634
|
|
|
5635
5635
|
/***/ }),
|
|
5636
5636
|
|
|
5637
|
-
/***/
|
|
5637
|
+
/***/ 1059:
|
|
5638
5638
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5639
5639
|
|
|
5640
5640
|
"use strict";
|
|
@@ -6081,7 +6081,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-ac768964] .popup-body{backgrou
|
|
|
6081
6081
|
|
|
6082
6082
|
/***/ }),
|
|
6083
6083
|
|
|
6084
|
-
/***/
|
|
6084
|
+
/***/ 3070:
|
|
6085
6085
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6086
6086
|
|
|
6087
6087
|
"use strict";
|
|
@@ -6095,7 +6095,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6095
6095
|
|
|
6096
6096
|
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()));
|
|
6097
6097
|
// Module
|
|
6098
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-
|
|
6098
|
+
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-93095d9a]{position:absolute;width:100%;overflow:hidden}#bodyfilebox[data-v-93095d9a]:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:20;left:0;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5);z-index:1}#bodyfilebox .box[data-v-93095d9a]{height:100%}#bodyfilebox .box .box-inner[data-v-93095d9a]{position:relative;width:100%;height:100%}#bodyfilebox[data-v-93095d9a] .van-cell__title{text-align:left}.busi-form-container #bodyfilebox[data-v-93095d9a]{height:calc(100vh - 104px - var(--headerHeight))}.busi-form-nobtn-container #bodyfilebox[data-v-93095d9a]{height:calc(100vh - 44px - var(--headerHeight))}.bottom-bar[data-v-93095d9a]{position:absolute;bottom:20px;width:100%;text-align:center}.bottom-bar .btn-g[data-v-93095d9a]:not(:first-child){margin-top:10px}.van-loading[data-v-93095d9a]{height:inherit;padding:inherit}", ""]);
|
|
6099
6099
|
// Exports
|
|
6100
6100
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6101
6101
|
|
|
@@ -6270,7 +6270,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-34cc6535] .van-nav-bar__title{
|
|
|
6270
6270
|
|
|
6271
6271
|
/***/ }),
|
|
6272
6272
|
|
|
6273
|
-
/***/
|
|
6273
|
+
/***/ 2391:
|
|
6274
6274
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6275
6275
|
|
|
6276
6276
|
"use strict";
|
|
@@ -6284,14 +6284,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6284
6284
|
|
|
6285
6285
|
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()));
|
|
6286
6286
|
// Module
|
|
6287
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
6287
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-058b5db4],.wfattach-container[data-v-058b5db4] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-058b5db4] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-058b5db4] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-058b5db4] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-058b5db4] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-058b5db4] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-058b5db4] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-058b5db4]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-058b5db4]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-058b5db4]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-058b5db4]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-058b5db4]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-058b5db4]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-058b5db4]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-058b5db4]{position:relative}.van-attachment-field[data-v-058b5db4]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
|
|
6288
6288
|
// Exports
|
|
6289
6289
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6290
6290
|
|
|
6291
6291
|
|
|
6292
6292
|
/***/ }),
|
|
6293
6293
|
|
|
6294
|
-
/***/
|
|
6294
|
+
/***/ 552:
|
|
6295
6295
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6296
6296
|
|
|
6297
6297
|
"use strict";
|
|
@@ -6305,7 +6305,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6305
6305
|
|
|
6306
6306
|
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()));
|
|
6307
6307
|
// Module
|
|
6308
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-
|
|
6308
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-b7fe96e0]{margin-top:100px;text-align:center}.upload-progress[data-v-b7fe96e0]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-b7fe96e0]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-b7fe96e0]{font-size:70px}.file-svg-icon .svg-icon[data-v-b7fe96e0]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-b7fe96e0]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-b7fe96e0]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-b7fe96e0]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-b7fe96e0]{font-size:16px;margin-right:10px}[data-v-b7fe96e0] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-b7fe96e0]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-b7fe96e0]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-b7fe96e0],.attachmentContent .attachmentContent_son .icon_right[data-v-b7fe96e0]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-b7fe96e0]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-b7fe96e0]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-b7fe96e0]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-b7fe96e0] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-b7fe96e0] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
|
|
6309
6309
|
// Exports
|
|
6310
6310
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6311
6311
|
|
|
@@ -30972,19 +30972,19 @@ module.exports = function getSideChannel() {
|
|
|
30972
30972
|
|
|
30973
30973
|
/***/ }),
|
|
30974
30974
|
|
|
30975
|
-
/***/
|
|
30975
|
+
/***/ 8463:
|
|
30976
30976
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
30977
30977
|
|
|
30978
30978
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
30979
30979
|
|
|
30980
30980
|
// load the styles
|
|
30981
|
-
var content = __webpack_require__(
|
|
30981
|
+
var content = __webpack_require__(1059);
|
|
30982
30982
|
if(content.__esModule) content = content.default;
|
|
30983
30983
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
30984
30984
|
if(content.locals) module.exports = content.locals;
|
|
30985
30985
|
// add the styles to the DOM
|
|
30986
30986
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
30987
|
-
var update = add("
|
|
30987
|
+
var update = add("13585bad", content, true, {"sourceMap":false,"shadowMode":false});
|
|
30988
30988
|
|
|
30989
30989
|
/***/ }),
|
|
30990
30990
|
|
|
@@ -31308,19 +31308,19 @@ var update = add("3d04ca5e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31308
31308
|
|
|
31309
31309
|
/***/ }),
|
|
31310
31310
|
|
|
31311
|
-
/***/
|
|
31311
|
+
/***/ 964:
|
|
31312
31312
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31313
31313
|
|
|
31314
31314
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31315
31315
|
|
|
31316
31316
|
// load the styles
|
|
31317
|
-
var content = __webpack_require__(
|
|
31317
|
+
var content = __webpack_require__(3070);
|
|
31318
31318
|
if(content.__esModule) content = content.default;
|
|
31319
31319
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31320
31320
|
if(content.locals) module.exports = content.locals;
|
|
31321
31321
|
// add the styles to the DOM
|
|
31322
31322
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31323
|
-
var update = add("
|
|
31323
|
+
var update = add("eb852dea", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31324
31324
|
|
|
31325
31325
|
/***/ }),
|
|
31326
31326
|
|
|
@@ -31452,35 +31452,35 @@ var update = add("6de1f92e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31452
31452
|
|
|
31453
31453
|
/***/ }),
|
|
31454
31454
|
|
|
31455
|
-
/***/
|
|
31455
|
+
/***/ 1313:
|
|
31456
31456
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31457
31457
|
|
|
31458
31458
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31459
31459
|
|
|
31460
31460
|
// load the styles
|
|
31461
|
-
var content = __webpack_require__(
|
|
31461
|
+
var content = __webpack_require__(2391);
|
|
31462
31462
|
if(content.__esModule) content = content.default;
|
|
31463
31463
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31464
31464
|
if(content.locals) module.exports = content.locals;
|
|
31465
31465
|
// add the styles to the DOM
|
|
31466
31466
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31467
|
-
var update = add("
|
|
31467
|
+
var update = add("5fcf7713", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31468
31468
|
|
|
31469
31469
|
/***/ }),
|
|
31470
31470
|
|
|
31471
|
-
/***/
|
|
31471
|
+
/***/ 4110:
|
|
31472
31472
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31473
31473
|
|
|
31474
31474
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31475
31475
|
|
|
31476
31476
|
// load the styles
|
|
31477
|
-
var content = __webpack_require__(
|
|
31477
|
+
var content = __webpack_require__(552);
|
|
31478
31478
|
if(content.__esModule) content = content.default;
|
|
31479
31479
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31480
31480
|
if(content.locals) module.exports = content.locals;
|
|
31481
31481
|
// add the styles to the DOM
|
|
31482
31482
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31483
|
-
var update = add("
|
|
31483
|
+
var update = add("125fbdff", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31484
31484
|
|
|
31485
31485
|
/***/ }),
|
|
31486
31486
|
|
|
@@ -38587,36 +38587,7 @@ var wfengine_install = function install(Vue) {
|
|
|
38587
38587
|
}
|
|
38588
38588
|
$scope.attachments = res.body.attachList || [];
|
|
38589
38589
|
_this.setFlBodyFile($scope);
|
|
38590
|
-
$scope.commandBar
|
|
38591
|
-
if (btn.btnAlign === 2) btn.btnAlign = 1;
|
|
38592
|
-
btn.btnParams = null;
|
|
38593
|
-
if (btn.btnJavascript !== null && typeof btn.btnJavascript === 'string') {
|
|
38594
|
-
if (window.submitMode === 'dialog' && btn.btnJavascript.indexOf('btnSubmitClick()') !== -1) {
|
|
38595
|
-
btn.btnName = '办理';
|
|
38596
|
-
btn.btnJavascriptBak = btn.btnJavascript;
|
|
38597
|
-
btn.btnJavascript = 'btnStartDoingClick()';
|
|
38598
|
-
}
|
|
38599
|
-
var btnClick = btn.btnJavascript;
|
|
38600
|
-
if (btnClick.indexOf('(') !== -1) {
|
|
38601
|
-
var btnParams = btnClick.substring(btnClick.indexOf('(') + 1, btnClick.lastIndexOf(')'));
|
|
38602
|
-
if (btnParams !== '') {
|
|
38603
|
-
btnParams = btnParams.replace(/'/g, '').split(',');
|
|
38604
|
-
btn.btnParams = btnParams;
|
|
38605
|
-
}
|
|
38606
|
-
btnClick = btnClick.split('(')[0];
|
|
38607
|
-
}
|
|
38608
|
-
if ($scope[btnClick] !== undefined) {
|
|
38609
|
-
btn.btnClick = $scope[btnClick];
|
|
38610
|
-
} else {
|
|
38611
|
-
console.log('按钮方法不存在:' + btn.btnName + ' ' + btn.btnJavascript);
|
|
38612
|
-
}
|
|
38613
|
-
}
|
|
38614
|
-
if (btn.btnCode === 'btnOpenWordClick' || btn.btnCode === 'btnModifyFlTypeClick') {
|
|
38615
|
-
btn.btnShow = $scope.canEditBodyfile;
|
|
38616
|
-
} else {
|
|
38617
|
-
btn.btnShow = true;
|
|
38618
|
-
}
|
|
38619
|
-
});
|
|
38590
|
+
_this.setCommandBar($scope, $scope.commandBar);
|
|
38620
38591
|
if (window.vType === 'wapp' && $scope.$route.fullPath.indexOf('itemurl=') !== -1) {
|
|
38621
38592
|
var fullPath = $scope.$route.fullPath;
|
|
38622
38593
|
$scope.$store.state.tagsView.visitedViews.forEach(function (view) {
|
|
@@ -38699,6 +38670,38 @@ var wfengine_install = function install(Vue) {
|
|
|
38699
38670
|
});
|
|
38700
38671
|
});
|
|
38701
38672
|
},
|
|
38673
|
+
setCommandBar: function setCommandBar($scope, commandBar) {
|
|
38674
|
+
commandBar.forEach(function (btn) {
|
|
38675
|
+
if (btn.btnAlign === 2) btn.btnAlign = 1;
|
|
38676
|
+
if (btn.btnCode === 'btnOpenWordClick' || btn.btnCode === 'btnModifyFlTypeClick') {
|
|
38677
|
+
btn.btnShow = $scope.canEditBodyfile;
|
|
38678
|
+
} else {
|
|
38679
|
+
btn.btnShow = true;
|
|
38680
|
+
}
|
|
38681
|
+
btn.btnParams = null;
|
|
38682
|
+
if (btn.btnJavascript !== null && typeof btn.btnJavascript === 'string') {
|
|
38683
|
+
if (window.submitMode === 'dialog' && btn.btnJavascript.indexOf('btnSubmitClick()') !== -1) {
|
|
38684
|
+
btn.btnName = '办理';
|
|
38685
|
+
btn.btnJavascriptBak = btn.btnJavascript;
|
|
38686
|
+
btn.btnJavascript = 'btnStartDoingClick()';
|
|
38687
|
+
}
|
|
38688
|
+
var btnClick = btn.btnJavascript;
|
|
38689
|
+
if (btnClick.indexOf('(') !== -1) {
|
|
38690
|
+
var btnParams = btnClick.substring(btnClick.indexOf('(') + 1, btnClick.lastIndexOf(')'));
|
|
38691
|
+
if (btnParams !== '') {
|
|
38692
|
+
btnParams = btnParams.replace(/'/g, '').split(',');
|
|
38693
|
+
btn.btnParams = btnParams;
|
|
38694
|
+
}
|
|
38695
|
+
btnClick = btnClick.split('(')[0];
|
|
38696
|
+
}
|
|
38697
|
+
if ($scope[btnClick] !== undefined) {
|
|
38698
|
+
btn.btnClick = $scope[btnClick];
|
|
38699
|
+
} else {
|
|
38700
|
+
console.log('按钮方法不存在:' + btn.btnName + ' ' + btn.btnJavascript);
|
|
38701
|
+
}
|
|
38702
|
+
}
|
|
38703
|
+
});
|
|
38704
|
+
},
|
|
38702
38705
|
setFlBodyFile: function setFlBodyFile($scope) {
|
|
38703
38706
|
$scope.bodyfile = null;
|
|
38704
38707
|
$scope.redTitleFile = null;
|
|
@@ -38711,8 +38714,9 @@ var wfengine_install = function install(Vue) {
|
|
|
38711
38714
|
var attachShortName = $scope.attachments[i].fileName.substring(0, $scope.attachments[i].fileName.lastIndexOf('.'));
|
|
38712
38715
|
if ($scope.attachments[i].fileType.toUpperCase() === 'BODY') {
|
|
38713
38716
|
if (attachShortName === bydyShortName || $scope.attachments[i].originalName.split('.')[0] === bydyShortName) {
|
|
38717
|
+
var extName = $scope.attachments[i].originalName.split('.')[1].split('.')[0].toLowerCase();
|
|
38714
38718
|
// pdf格式优先
|
|
38715
|
-
if (!$scope.bodyfile ||
|
|
38719
|
+
if (!$scope.bodyfile || extName === 'pdf' || extName === 'ofd') {
|
|
38716
38720
|
$scope.bodyfile = $scope.attachments[i];
|
|
38717
38721
|
}
|
|
38718
38722
|
}
|
|
@@ -38722,37 +38726,56 @@ var wfengine_install = function install(Vue) {
|
|
|
38722
38726
|
}
|
|
38723
38727
|
}
|
|
38724
38728
|
if (!$scope.bodyfile) {
|
|
38725
|
-
|
|
38726
|
-
|
|
38727
|
-
|
|
38729
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38730
|
+
var extName = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
|
|
38731
|
+
if (attachment.fileType.toUpperCase() === 'BODY' && (extName === 'pdf' || extName === 'ofd')) {
|
|
38732
|
+
$scope.bodyfile = attachment;
|
|
38728
38733
|
}
|
|
38729
|
-
}
|
|
38734
|
+
});
|
|
38730
38735
|
}
|
|
38731
38736
|
if ($scope.bodyfile && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) !== -1) {
|
|
38732
38737
|
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
38733
38738
|
$scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
|
|
38734
38739
|
}
|
|
38735
38740
|
} else {
|
|
38736
|
-
|
|
38737
|
-
if (
|
|
38738
|
-
|
|
38739
|
-
|
|
38740
|
-
|
|
38741
|
-
|
|
38742
|
-
|
|
38743
|
-
|
|
38744
|
-
$scope.
|
|
38745
|
-
|
|
38746
|
-
|
|
38747
|
-
$scope.bodyfile = $scope.attachments[_i2];
|
|
38748
|
-
$scope.noTracksFile = JSON.parse(JSON.stringify($scope.attachments[_i2])); //清稿文件
|
|
38749
|
-
} else if ($scope.attachments[_i2].fileName.indexOf('SignedFile_') === 0) {
|
|
38750
|
-
$scope.bodyfile = $scope.attachments[_i2];
|
|
38741
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38742
|
+
if (attachment.fileType.toUpperCase() === 'BODY') {
|
|
38743
|
+
var _extName = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
|
|
38744
|
+
if (attachment.fileName.indexOf('RedTitle_') === 0 && (_extName === 'pdf' || _extName === 'ofd')) {
|
|
38745
|
+
$scope.bodyfile = attachment;
|
|
38746
|
+
$scope.redTitleFile = JSON.parse(JSON.stringify(attachment)); //套红文件
|
|
38747
|
+
} else if (attachment.fileName.indexOf('NoTracks_') === 0 && (_extName === 'pdf' || _extName === 'ofd')) {
|
|
38748
|
+
$scope.bodyfile = attachment;
|
|
38749
|
+
$scope.noTracksFile = JSON.parse(JSON.stringify(attachment)); //清稿文件
|
|
38750
|
+
} else if (attachment.fileName.indexOf('SignedFile_') === 0) {
|
|
38751
|
+
$scope.bodyfile = attachment;
|
|
38751
38752
|
}
|
|
38752
|
-
if (
|
|
38753
|
+
if (attachment.originalName.indexOf('.doc') !== -1 && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId && attachment.filePath.indexOf('/noTracks/') === -1) {
|
|
38753
38754
|
canEditBodyfile = true;
|
|
38755
|
+
if ($scope.wfInstance.haveDoc === 0) {
|
|
38756
|
+
//修正删除正文后haveDoc错误的问题
|
|
38757
|
+
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
38758
|
+
$scope.wfInstance.haveDoc = 1;
|
|
38759
|
+
} else {
|
|
38760
|
+
$scope.wfInstance.haveDoc = 2;
|
|
38761
|
+
}
|
|
38762
|
+
}
|
|
38754
38763
|
}
|
|
38755
38764
|
}
|
|
38765
|
+
});
|
|
38766
|
+
if (!$scope.bodyfile) {
|
|
38767
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38768
|
+
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
38769
|
+
var _extName2 = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
|
|
38770
|
+
if (_extName2 === 'pdf' || _extName2 === 'ofd' || attachment.filePath.indexOf('/noTracks/') !== -1) {
|
|
38771
|
+
// pdf格式优先、无修订DOC优先
|
|
38772
|
+
$scope.bodyfile = attachment;
|
|
38773
|
+
} else if (!$scope.bodyfile && attachment.originalName.indexOf('.doc') !== -1) {
|
|
38774
|
+
//doc格式正文
|
|
38775
|
+
$scope.bodyfile = attachment;
|
|
38776
|
+
}
|
|
38777
|
+
}
|
|
38778
|
+
});
|
|
38756
38779
|
}
|
|
38757
38780
|
}
|
|
38758
38781
|
if ($scope.bodyfile != null && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
|
|
@@ -39002,6 +39025,11 @@ var wfengine_install = function install(Vue) {
|
|
|
39002
39025
|
} else {
|
|
39003
39026
|
$scope.wfJsonData = $scope.wfJsonDatabak;
|
|
39004
39027
|
}
|
|
39028
|
+
if (res.body.wfInstance.passenger.commandBar) {
|
|
39029
|
+
var commandBar = JSON.parse(JSON.stringify(res.body.wfInstance.passenger.commandBar));
|
|
39030
|
+
_this2.setCommandBar($scope, commandBar);
|
|
39031
|
+
$scope.commandBar = commandBar;
|
|
39032
|
+
}
|
|
39005
39033
|
$scope.vo = $scope.vobak;
|
|
39006
39034
|
$scope.wfInstance = $scope.wfInstancebak;
|
|
39007
39035
|
if (res.body.wfInstance && ($scope.wfInstance.id === null || $scope.wfInstance.id === '')) {
|
|
@@ -39019,6 +39047,8 @@ var wfengine_install = function install(Vue) {
|
|
|
39019
39047
|
delete attach.forward;
|
|
39020
39048
|
});
|
|
39021
39049
|
delete $scope.wfInstance.passenger.forwardAttachs;
|
|
39050
|
+
delete $scope.wfInstance.passenger.commandBar;
|
|
39051
|
+
delete $scope.wfInstance.passenger.wfJsonData;
|
|
39022
39052
|
|
|
39023
39053
|
// 业务模块onWflowFormSubmited
|
|
39024
39054
|
if (typeof $scope.onWflowFormSubmited === 'function') {
|
|
@@ -49417,8 +49447,8 @@ InnerTable_src.install = function (Vue) {
|
|
|
49417
49447
|
Vue.component(InnerTable_src.name, InnerTable_src);
|
|
49418
49448
|
};
|
|
49419
49449
|
/* harmony default export */ var InnerTable = (InnerTable_src);
|
|
49420
|
-
;// 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/ecmapp/PdfTools/src/index.vue?vue&type=template&id=
|
|
49421
|
-
var
|
|
49450
|
+
;// 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/ecmapp/PdfTools/src/index.vue?vue&type=template&id=93095d9a&scoped=true
|
|
49451
|
+
var srcvue_type_template_id_93095d9a_scoped_true_render = function render() {
|
|
49422
49452
|
var _vm = this,
|
|
49423
49453
|
_c = _vm._self._c;
|
|
49424
49454
|
return _c('div', {
|
|
@@ -49429,7 +49459,7 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49429
49459
|
staticClass: "box"
|
|
49430
49460
|
}, [_c('div', {
|
|
49431
49461
|
staticClass: "box-inner"
|
|
49432
|
-
}, [_c('iframe', {
|
|
49462
|
+
}, [_vm.viewBodyFileShow === 'pdf' ? _c('iframe', {
|
|
49433
49463
|
ref: "iframeBodyFile",
|
|
49434
49464
|
attrs: {
|
|
49435
49465
|
"id": "pdfHtml",
|
|
@@ -49438,7 +49468,17 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49438
49468
|
"frameborder": "0",
|
|
49439
49469
|
"src": _vm.bodyFileUrl
|
|
49440
49470
|
}
|
|
49441
|
-
})
|
|
49471
|
+
}) : _vm.viewBodyFileShow === 'ofd' ? _c('iframe', {
|
|
49472
|
+
ref: "OfdjsView",
|
|
49473
|
+
attrs: {
|
|
49474
|
+
"id": "pofdHtml",
|
|
49475
|
+
"width": "100%",
|
|
49476
|
+
"height": "100%",
|
|
49477
|
+
"frameborder": "0",
|
|
49478
|
+
"scrolling": "yes",
|
|
49479
|
+
"src": _vm.bodyFileUrl
|
|
49480
|
+
}
|
|
49481
|
+
}) : _vm._e()])]), _vm.sign || _vm.seal ? _c('div', {
|
|
49442
49482
|
staticClass: "bottom-bar"
|
|
49443
49483
|
}, [_vm.sign && _vm.dVisiblesign ? _c('AddSign', {
|
|
49444
49484
|
on: {
|
|
@@ -49456,7 +49496,7 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49456
49496
|
}
|
|
49457
49497
|
}) : _vm._e()], 1) : _vm._e()]);
|
|
49458
49498
|
};
|
|
49459
|
-
var
|
|
49499
|
+
var srcvue_type_template_id_93095d9a_scoped_true_staticRenderFns = [];
|
|
49460
49500
|
|
|
49461
49501
|
;// 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/ecmapp/PdfTools/src/AddSign.vue?vue&type=template&id=4b804d77&scoped=true
|
|
49462
49502
|
var AddSignvue_type_template_id_4b804d77_scoped_true_render = function render() {
|
|
@@ -50317,6 +50357,10 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50317
50357
|
type: Boolean,
|
|
50318
50358
|
default: false
|
|
50319
50359
|
},
|
|
50360
|
+
viewBodyFileShow: {
|
|
50361
|
+
type: String,
|
|
50362
|
+
default: 'pdf'
|
|
50363
|
+
},
|
|
50320
50364
|
markContent: {
|
|
50321
50365
|
type: String,
|
|
50322
50366
|
default: ''
|
|
@@ -50361,7 +50405,7 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50361
50405
|
updated: function updated() {},
|
|
50362
50406
|
mounted: function mounted() {
|
|
50363
50407
|
var _this = this;
|
|
50364
|
-
if (this.bodyFileUrl.indexOf('?') !== -1) {
|
|
50408
|
+
if (this.bodyFileUrl.indexOf('?') !== -1 && this.viewBodyFileShow === 'pdf') {
|
|
50365
50409
|
this.iframeBodyFile = this.$refs.iframeBodyFile.contentWindow;
|
|
50366
50410
|
setTimeout(function () {
|
|
50367
50411
|
if (_this.iframeBodyFile && _this.iframeBodyFile.loadBodyFileType) {
|
|
@@ -50595,13 +50639,13 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50595
50639
|
});
|
|
50596
50640
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
|
|
50597
50641
|
/* harmony default export */ var ecmapp_PdfTools_srcvue_type_script_lang_js = (PdfTools_srcvue_type_script_lang_js);
|
|
50598
|
-
// 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/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
50599
|
-
var
|
|
50600
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
50642
|
+
// 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/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=93095d9a&prod&scoped=true&lang=scss
|
|
50643
|
+
var srcvue_type_style_index_0_id_93095d9a_prod_scoped_true_lang_scss = __webpack_require__(964);
|
|
50644
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=93095d9a&prod&scoped=true&lang=scss
|
|
50601
50645
|
|
|
50602
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
50603
|
-
var
|
|
50604
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
50646
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=93095d9a&prod&lang=css
|
|
50647
|
+
var srcvue_type_style_index_1_id_93095d9a_prod_lang_css = __webpack_require__(8463);
|
|
50648
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=93095d9a&prod&lang=css
|
|
50605
50649
|
|
|
50606
50650
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
|
|
50607
50651
|
|
|
@@ -50615,11 +50659,11 @@ var srcvue_type_style_index_1_id_79727f6b_prod_lang_css = __webpack_require__(70
|
|
|
50615
50659
|
|
|
50616
50660
|
var PdfTools_src_component = (0,componentNormalizer/* default */.A)(
|
|
50617
50661
|
ecmapp_PdfTools_srcvue_type_script_lang_js,
|
|
50618
|
-
|
|
50619
|
-
|
|
50662
|
+
srcvue_type_template_id_93095d9a_scoped_true_render,
|
|
50663
|
+
srcvue_type_template_id_93095d9a_scoped_true_staticRenderFns,
|
|
50620
50664
|
false,
|
|
50621
50665
|
null,
|
|
50622
|
-
"
|
|
50666
|
+
"93095d9a",
|
|
50623
50667
|
null
|
|
50624
50668
|
|
|
50625
50669
|
)
|
|
@@ -54099,8 +54143,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
54099
54143
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
54100
54144
|
};
|
|
54101
54145
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
54102
|
-
;// 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/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=
|
|
54103
|
-
var
|
|
54146
|
+
;// 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/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=058b5db4&scoped=true
|
|
54147
|
+
var Attachmentvue_type_template_id_058b5db4_scoped_true_render = function render() {
|
|
54104
54148
|
var _vm = this,
|
|
54105
54149
|
_c = _vm._self._c;
|
|
54106
54150
|
return _c('div', {
|
|
@@ -54358,7 +54402,7 @@ var Attachmentvue_type_template_id_95b73144_scoped_true_render = function render
|
|
|
54358
54402
|
}
|
|
54359
54403
|
})], 1) : _vm._e()], 1);
|
|
54360
54404
|
};
|
|
54361
|
-
var
|
|
54405
|
+
var Attachmentvue_type_template_id_058b5db4_scoped_true_staticRenderFns = [];
|
|
54362
54406
|
|
|
54363
54407
|
;// 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/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
54364
54408
|
function Attachmentvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return Attachmentvue_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; }, Attachmentvue_type_script_lang_js_typeof(o); }
|
|
@@ -55089,7 +55133,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55089
55133
|
$scope.wfInstance.haveDoc = 2;
|
|
55090
55134
|
} else if (docEditMode === 'NoTitle') {
|
|
55091
55135
|
// 无红头模式 上传 pdf 的话 默认为红头文件 其他则认为无红头文件 (doc,docx)
|
|
55092
|
-
if (extName === '.pdf') {
|
|
55136
|
+
if (extName === '.pdf' || extName === '.ofd') {
|
|
55093
55137
|
$scope.wfInstance.haveDoc = 2;
|
|
55094
55138
|
} else {
|
|
55095
55139
|
$scope.wfInstance.haveDoc = 1;
|
|
@@ -55152,8 +55196,10 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55152
55196
|
_this.attachments.forEach(function (iattach, iindex) {
|
|
55153
55197
|
if (file === iattach.file) {
|
|
55154
55198
|
if (uploadRst.body.uploadAttachList.length === 2) {
|
|
55199
|
+
;
|
|
55155
55200
|
($scope.attachments || $scope.vo.passenger.attachments || _this9.attachments).splice(iindex, 1, uploadRst.body.uploadAttachList[0], uploadRst.body.uploadAttachList[1]);
|
|
55156
55201
|
} else {
|
|
55202
|
+
;
|
|
55157
55203
|
($scope.attachments || $scope.vo.passenger.attachments || _this9.attachments).splice(iindex, 1, uploadRst.body.uploadAttachList[0]);
|
|
55158
55204
|
}
|
|
55159
55205
|
}
|
|
@@ -55207,9 +55253,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55207
55253
|
});
|
|
55208
55254
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
55209
55255
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
55210
|
-
// 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/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
55211
|
-
var
|
|
55212
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
55256
|
+
// 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/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=058b5db4&prod&scoped=true&lang=scss
|
|
55257
|
+
var Attachmentvue_type_style_index_0_id_058b5db4_prod_scoped_true_lang_scss = __webpack_require__(1313);
|
|
55258
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=058b5db4&prod&scoped=true&lang=scss
|
|
55213
55259
|
|
|
55214
55260
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
55215
55261
|
|
|
@@ -55222,18 +55268,18 @@ var Attachmentvue_type_style_index_0_id_95b73144_prod_scoped_true_lang_scss = __
|
|
|
55222
55268
|
|
|
55223
55269
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
55224
55270
|
src_Attachmentvue_type_script_lang_js,
|
|
55225
|
-
|
|
55226
|
-
|
|
55271
|
+
Attachmentvue_type_template_id_058b5db4_scoped_true_render,
|
|
55272
|
+
Attachmentvue_type_template_id_058b5db4_scoped_true_staticRenderFns,
|
|
55227
55273
|
false,
|
|
55228
55274
|
null,
|
|
55229
|
-
"
|
|
55275
|
+
"058b5db4",
|
|
55230
55276
|
null
|
|
55231
55277
|
|
|
55232
55278
|
)
|
|
55233
55279
|
|
|
55234
55280
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
55235
|
-
;// 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=
|
|
55236
|
-
var
|
|
55281
|
+
;// 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=b7fe96e0&scoped=true
|
|
55282
|
+
var BodyFilevue_type_template_id_b7fe96e0_scoped_true_render = function render() {
|
|
55237
55283
|
var _vm = this,
|
|
55238
55284
|
_c = _vm._self._c;
|
|
55239
55285
|
return _c('div', {
|
|
@@ -55280,7 +55326,8 @@ var BodyFilevue_type_template_id_2393f688_scoped_true_render = function render()
|
|
|
55280
55326
|
"body-file-url": _vm.bodyFileUrl,
|
|
55281
55327
|
"bodyfile": _vm.flBodyfile,
|
|
55282
55328
|
"sign": _vm.sign,
|
|
55283
|
-
"seal": _vm.seal
|
|
55329
|
+
"seal": _vm.seal,
|
|
55330
|
+
"view-body-file-show": _vm.viewBodyFileShow
|
|
55284
55331
|
}
|
|
55285
55332
|
}) : _vm.downloadurl !== null ? _c('div', {
|
|
55286
55333
|
staticStyle: {
|
|
@@ -55555,7 +55602,7 @@ var BodyFilevue_type_template_id_2393f688_scoped_true_render = function render()
|
|
|
55555
55602
|
})])]) : _vm._e()]) : _vm._e()];
|
|
55556
55603
|
})], 2)])], 1);
|
|
55557
55604
|
};
|
|
55558
|
-
var
|
|
55605
|
+
var BodyFilevue_type_template_id_b7fe96e0_scoped_true_staticRenderFns = [];
|
|
55559
55606
|
|
|
55560
55607
|
;// 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
55561
55608
|
function BodyFilevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BodyFilevue_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; }, BodyFilevue_type_script_lang_js_typeof(o); }
|
|
@@ -55601,7 +55648,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55601
55648
|
},
|
|
55602
55649
|
accept: {
|
|
55603
55650
|
type: String,
|
|
55604
|
-
default: '.doc,.pdf'
|
|
55651
|
+
default: '.doc,.pdf,.ofd'
|
|
55605
55652
|
},
|
|
55606
55653
|
viewer: {
|
|
55607
55654
|
type: String,
|
|
@@ -55660,7 +55707,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55660
55707
|
attachmentsNum: null,
|
|
55661
55708
|
pdfSignChange: false,
|
|
55662
55709
|
// 签名状态
|
|
55663
|
-
pdfSealChange: false
|
|
55710
|
+
pdfSealChange: false,
|
|
55711
|
+
// 印章状态
|
|
55712
|
+
viewBodyFileShow: ''
|
|
55664
55713
|
};
|
|
55665
55714
|
},
|
|
55666
55715
|
computed: {},
|
|
@@ -55710,6 +55759,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55710
55759
|
}
|
|
55711
55760
|
var _this = this;
|
|
55712
55761
|
if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (this.viewer === 'pdfjs' || this.sign || this.seal)) {
|
|
55762
|
+
this.viewBodyFileShow = 'pdf';
|
|
55713
55763
|
if (this.sign || this.seal) {
|
|
55714
55764
|
this.waterMark = false;
|
|
55715
55765
|
}
|
|
@@ -55734,6 +55784,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55734
55784
|
};
|
|
55735
55785
|
}
|
|
55736
55786
|
});
|
|
55787
|
+
} else if (extName === '.ofd') {
|
|
55788
|
+
this.sign = false;
|
|
55789
|
+
this.seal = false;
|
|
55790
|
+
this.viewBodyFileShow = 'ofd';
|
|
55791
|
+
var _fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&widthType=auto&viewType=mobile';
|
|
55792
|
+
if (this.flBodyfile.fileName.indexOf('{') !== -1 || this.flBodyfile.fileName.indexOf('%') !== -1 || this.flBodyfile.fileName.indexOf('[') !== -1) {
|
|
55793
|
+
_fileurl += '&fileName=' + encodeURIComponent(this.flBodyfile.fileName);
|
|
55794
|
+
} else {
|
|
55795
|
+
_fileurl += '&fileName=' + this.flBodyfile.fileName;
|
|
55796
|
+
}
|
|
55797
|
+
_fileurl += '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
|
|
55798
|
+
this.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
|
|
55799
|
+
_this.loaded = false;
|
|
55737
55800
|
} else if (this.viewer.indexOf('dcs=') === 0) {
|
|
55738
55801
|
this.sign = false;
|
|
55739
55802
|
this.seal = false;
|
|
@@ -56366,9 +56429,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
56366
56429
|
});
|
|
56367
56430
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
56368
56431
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
56369
|
-
// 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
56370
|
-
var
|
|
56371
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
56432
|
+
// 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=b7fe96e0&prod&scoped=true&lang=scss
|
|
56433
|
+
var BodyFilevue_type_style_index_0_id_b7fe96e0_prod_scoped_true_lang_scss = __webpack_require__(4110);
|
|
56434
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=b7fe96e0&prod&scoped=true&lang=scss
|
|
56372
56435
|
|
|
56373
56436
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
56374
56437
|
|
|
@@ -56381,11 +56444,11 @@ var BodyFilevue_type_style_index_0_id_2393f688_prod_scoped_true_lang_scss = __we
|
|
|
56381
56444
|
|
|
56382
56445
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
56383
56446
|
src_BodyFilevue_type_script_lang_js,
|
|
56384
|
-
|
|
56385
|
-
|
|
56447
|
+
BodyFilevue_type_template_id_b7fe96e0_scoped_true_render,
|
|
56448
|
+
BodyFilevue_type_template_id_b7fe96e0_scoped_true_staticRenderFns,
|
|
56386
56449
|
false,
|
|
56387
56450
|
null,
|
|
56388
|
-
"
|
|
56451
|
+
"b7fe96e0",
|
|
56389
56452
|
null
|
|
56390
56453
|
|
|
56391
56454
|
)
|