ecinc-cloud-mappaio 9.0.86 → 9.0.87
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 +145 -91
- package/lib/ecmappaio.umd.js +147 -93
- 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
|
+
/***/ 992:
|
|
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
|
+
/***/ 9299:
|
|
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-32e6295e]{position:absolute;width:100%;overflow:hidden}#bodyfilebox[data-v-32e6295e]: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-32e6295e]{height:100%}#bodyfilebox .box .box-inner[data-v-32e6295e]{position:relative;width:100%;height:100%}#bodyfilebox[data-v-32e6295e] .van-cell__title{text-align:left}.busi-form-container #bodyfilebox[data-v-32e6295e]{height:calc(100vh - 104px - var(--headerHeight))}.busi-form-nobtn-container #bodyfilebox[data-v-32e6295e]{height:calc(100vh - 44px - var(--headerHeight))}.bottom-bar[data-v-32e6295e]{position:absolute;bottom:20px;width:100%;text-align:center}.bottom-bar .btn-g[data-v-32e6295e]:not(:first-child){margin-top:10px}.van-loading[data-v-32e6295e]{height:inherit;padding:inherit}", ""]);
|
|
6099
6099
|
// Exports
|
|
6100
6100
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6101
6101
|
|
|
@@ -6291,7 +6291,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
|
|
|
6291
6291
|
|
|
6292
6292
|
/***/ }),
|
|
6293
6293
|
|
|
6294
|
-
/***/
|
|
6294
|
+
/***/ 1149:
|
|
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-6f049350]{margin-top:100px;text-align:center}.upload-progress[data-v-6f049350]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-6f049350]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-6f049350]{font-size:70px}.file-svg-icon .svg-icon[data-v-6f049350]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-6f049350]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-6f049350]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-6f049350]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-6f049350]{font-size:16px;margin-right:10px}[data-v-6f049350] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-6f049350]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-6f049350]{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-6f049350],.attachmentContent .attachmentContent_son .icon_right[data-v-6f049350]{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-6f049350]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-6f049350]{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-6f049350]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-6f049350] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-6f049350] .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
|
+
/***/ 7215:
|
|
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__(992);
|
|
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("e5a3cec0", 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
|
+
/***/ 485:
|
|
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__(9299);
|
|
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("8fc0e210", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31324
31324
|
|
|
31325
31325
|
/***/ }),
|
|
31326
31326
|
|
|
@@ -31468,19 +31468,19 @@ var update = add("ed711b5c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31468
31468
|
|
|
31469
31469
|
/***/ }),
|
|
31470
31470
|
|
|
31471
|
-
/***/
|
|
31471
|
+
/***/ 8479:
|
|
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__(1149);
|
|
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("484e9a68", 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;
|
|
@@ -38722,37 +38725,53 @@ var wfengine_install = function install(Vue) {
|
|
|
38722
38725
|
}
|
|
38723
38726
|
}
|
|
38724
38727
|
if (!$scope.bodyfile) {
|
|
38725
|
-
|
|
38726
|
-
if (
|
|
38727
|
-
$scope.bodyfile =
|
|
38728
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38729
|
+
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.indexOf('.pdf') !== -1) {
|
|
38730
|
+
$scope.bodyfile = attachment;
|
|
38728
38731
|
}
|
|
38729
|
-
}
|
|
38732
|
+
});
|
|
38730
38733
|
}
|
|
38731
38734
|
if ($scope.bodyfile && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) !== -1) {
|
|
38732
38735
|
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
38733
38736
|
$scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
|
|
38734
38737
|
}
|
|
38735
38738
|
} else {
|
|
38736
|
-
|
|
38737
|
-
if (
|
|
38738
|
-
if (
|
|
38739
|
-
|
|
38740
|
-
|
|
38741
|
-
|
|
38742
|
-
|
|
38743
|
-
|
|
38744
|
-
|
|
38745
|
-
$scope.
|
|
38746
|
-
} else if ($scope.attachments[_i2].fileName.indexOf('NoTracks_') === 0 && $scope.attachments[_i2].originalName.indexOf('.pdf') !== -1) {
|
|
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];
|
|
38739
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38740
|
+
if (attachment.fileType.toUpperCase() === 'BODY') {
|
|
38741
|
+
if (attachment.fileName.indexOf('RedTitle_') === 0 && attachment.originalName.indexOf('.pdf') !== -1) {
|
|
38742
|
+
$scope.bodyfile = attachment;
|
|
38743
|
+
$scope.redTitleFile = JSON.parse(JSON.stringify(attachment)); //套红文件
|
|
38744
|
+
} else if (attachment.fileName.indexOf('NoTracks_') === 0 && attachment.originalName.indexOf('.pdf') !== -1) {
|
|
38745
|
+
$scope.bodyfile = attachment;
|
|
38746
|
+
$scope.noTracksFile = JSON.parse(JSON.stringify(attachment)); //清稿文件
|
|
38747
|
+
} else if (attachment.fileName.indexOf('SignedFile_') === 0) {
|
|
38748
|
+
$scope.bodyfile = attachment;
|
|
38751
38749
|
}
|
|
38752
|
-
if (
|
|
38750
|
+
if (attachment.originalName.indexOf('.doc') !== -1 && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId && attachment.filePath.indexOf('/noTracks/') === -1) {
|
|
38753
38751
|
canEditBodyfile = true;
|
|
38752
|
+
if ($scope.wfInstance.haveDoc === 0) {
|
|
38753
|
+
//修正删除正文后haveDoc错误的问题
|
|
38754
|
+
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
38755
|
+
$scope.wfInstance.haveDoc = 1;
|
|
38756
|
+
} else {
|
|
38757
|
+
$scope.wfInstance.haveDoc = 2;
|
|
38758
|
+
}
|
|
38759
|
+
}
|
|
38754
38760
|
}
|
|
38755
38761
|
}
|
|
38762
|
+
});
|
|
38763
|
+
if (!$scope.bodyfile) {
|
|
38764
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38765
|
+
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
38766
|
+
if (attachment.originalName.indexOf('.pdf') !== -1 || attachment.filePath.indexOf('/noTracks/') !== -1) {
|
|
38767
|
+
// pdf格式优先、无修订DOC优先
|
|
38768
|
+
$scope.bodyfile = attachment;
|
|
38769
|
+
} else if (!$scope.bodyfile && attachment.originalName.indexOf('.doc') !== -1) {
|
|
38770
|
+
//doc格式正文
|
|
38771
|
+
$scope.bodyfile = attachment;
|
|
38772
|
+
}
|
|
38773
|
+
}
|
|
38774
|
+
});
|
|
38756
38775
|
}
|
|
38757
38776
|
}
|
|
38758
38777
|
if ($scope.bodyfile != null && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
|
|
@@ -39002,6 +39021,11 @@ var wfengine_install = function install(Vue) {
|
|
|
39002
39021
|
} else {
|
|
39003
39022
|
$scope.wfJsonData = $scope.wfJsonDatabak;
|
|
39004
39023
|
}
|
|
39024
|
+
if (res.body.wfInstance.passenger.commandBar) {
|
|
39025
|
+
var commandBar = JSON.parse(JSON.stringify(res.body.wfInstance.passenger.commandBar));
|
|
39026
|
+
_this2.setCommandBar($scope, commandBar);
|
|
39027
|
+
$scope.commandBar = commandBar;
|
|
39028
|
+
}
|
|
39005
39029
|
$scope.vo = $scope.vobak;
|
|
39006
39030
|
$scope.wfInstance = $scope.wfInstancebak;
|
|
39007
39031
|
if (res.body.wfInstance && ($scope.wfInstance.id === null || $scope.wfInstance.id === '')) {
|
|
@@ -39019,6 +39043,8 @@ var wfengine_install = function install(Vue) {
|
|
|
39019
39043
|
delete attach.forward;
|
|
39020
39044
|
});
|
|
39021
39045
|
delete $scope.wfInstance.passenger.forwardAttachs;
|
|
39046
|
+
delete $scope.wfInstance.passenger.commandBar;
|
|
39047
|
+
delete $scope.wfInstance.passenger.wfJsonData;
|
|
39022
39048
|
|
|
39023
39049
|
// 业务模块onWflowFormSubmited
|
|
39024
39050
|
if (typeof $scope.onWflowFormSubmited === 'function') {
|
|
@@ -49417,8 +49443,8 @@ InnerTable_src.install = function (Vue) {
|
|
|
49417
49443
|
Vue.component(InnerTable_src.name, InnerTable_src);
|
|
49418
49444
|
};
|
|
49419
49445
|
/* 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
|
|
49446
|
+
;// 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=32e6295e&scoped=true
|
|
49447
|
+
var srcvue_type_template_id_32e6295e_scoped_true_render = function render() {
|
|
49422
49448
|
var _vm = this,
|
|
49423
49449
|
_c = _vm._self._c;
|
|
49424
49450
|
return _c('div', {
|
|
@@ -49429,7 +49455,7 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49429
49455
|
staticClass: "box"
|
|
49430
49456
|
}, [_c('div', {
|
|
49431
49457
|
staticClass: "box-inner"
|
|
49432
|
-
}, [_c('iframe', {
|
|
49458
|
+
}, [_vm.viewBodyFileShow === 'pdf' ? _c('iframe', {
|
|
49433
49459
|
ref: "iframeBodyFile",
|
|
49434
49460
|
attrs: {
|
|
49435
49461
|
"id": "pdfHtml",
|
|
@@ -49438,7 +49464,13 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49438
49464
|
"frameborder": "0",
|
|
49439
49465
|
"src": _vm.bodyFileUrl
|
|
49440
49466
|
}
|
|
49441
|
-
})
|
|
49467
|
+
}) : _vm.viewBodyFileShow === 'ofd' ? _c('CCOfdjsView', {
|
|
49468
|
+
ref: "OfdjsView",
|
|
49469
|
+
attrs: {
|
|
49470
|
+
"id": "ofdVue",
|
|
49471
|
+
"file-url": _vm.bodyFileUrl
|
|
49472
|
+
}
|
|
49473
|
+
}) : _vm._e()], 1)]), _vm.sign || _vm.seal ? _c('div', {
|
|
49442
49474
|
staticClass: "bottom-bar"
|
|
49443
49475
|
}, [_vm.sign && _vm.dVisiblesign ? _c('AddSign', {
|
|
49444
49476
|
on: {
|
|
@@ -49456,7 +49488,7 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49456
49488
|
}
|
|
49457
49489
|
}) : _vm._e()], 1) : _vm._e()]);
|
|
49458
49490
|
};
|
|
49459
|
-
var
|
|
49491
|
+
var srcvue_type_template_id_32e6295e_scoped_true_staticRenderFns = [];
|
|
49460
49492
|
|
|
49461
49493
|
;// 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
49494
|
var AddSignvue_type_template_id_4b804d77_scoped_true_render = function render() {
|
|
@@ -50317,6 +50349,10 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50317
50349
|
type: Boolean,
|
|
50318
50350
|
default: false
|
|
50319
50351
|
},
|
|
50352
|
+
viewBodyFileShow: {
|
|
50353
|
+
type: String,
|
|
50354
|
+
default: 'pdf'
|
|
50355
|
+
},
|
|
50320
50356
|
markContent: {
|
|
50321
50357
|
type: String,
|
|
50322
50358
|
default: ''
|
|
@@ -50361,7 +50397,7 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50361
50397
|
updated: function updated() {},
|
|
50362
50398
|
mounted: function mounted() {
|
|
50363
50399
|
var _this = this;
|
|
50364
|
-
if (this.bodyFileUrl.indexOf('?') !== -1) {
|
|
50400
|
+
if (this.bodyFileUrl.indexOf('?') !== -1 && this.viewBodyFileShow === 'pdf') {
|
|
50365
50401
|
this.iframeBodyFile = this.$refs.iframeBodyFile.contentWindow;
|
|
50366
50402
|
setTimeout(function () {
|
|
50367
50403
|
if (_this.iframeBodyFile && _this.iframeBodyFile.loadBodyFileType) {
|
|
@@ -50595,13 +50631,13 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50595
50631
|
});
|
|
50596
50632
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
|
|
50597
50633
|
/* 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=
|
|
50634
|
+
// 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=32e6295e&prod&scoped=true&lang=scss
|
|
50635
|
+
var srcvue_type_style_index_0_id_32e6295e_prod_scoped_true_lang_scss = __webpack_require__(485);
|
|
50636
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=32e6295e&prod&scoped=true&lang=scss
|
|
50601
50637
|
|
|
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=
|
|
50638
|
+
// 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=32e6295e&prod&lang=css
|
|
50639
|
+
var srcvue_type_style_index_1_id_32e6295e_prod_lang_css = __webpack_require__(7215);
|
|
50640
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=32e6295e&prod&lang=css
|
|
50605
50641
|
|
|
50606
50642
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
|
|
50607
50643
|
|
|
@@ -50615,11 +50651,11 @@ var srcvue_type_style_index_1_id_79727f6b_prod_lang_css = __webpack_require__(70
|
|
|
50615
50651
|
|
|
50616
50652
|
var PdfTools_src_component = (0,componentNormalizer/* default */.A)(
|
|
50617
50653
|
ecmapp_PdfTools_srcvue_type_script_lang_js,
|
|
50618
|
-
|
|
50619
|
-
|
|
50654
|
+
srcvue_type_template_id_32e6295e_scoped_true_render,
|
|
50655
|
+
srcvue_type_template_id_32e6295e_scoped_true_staticRenderFns,
|
|
50620
50656
|
false,
|
|
50621
50657
|
null,
|
|
50622
|
-
"
|
|
50658
|
+
"32e6295e",
|
|
50623
50659
|
null
|
|
50624
50660
|
|
|
50625
50661
|
)
|
|
@@ -55232,8 +55268,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
|
55232
55268
|
)
|
|
55233
55269
|
|
|
55234
55270
|
/* 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
|
|
55271
|
+
;// 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=6f049350&scoped=true
|
|
55272
|
+
var BodyFilevue_type_template_id_6f049350_scoped_true_render = function render() {
|
|
55237
55273
|
var _vm = this,
|
|
55238
55274
|
_c = _vm._self._c;
|
|
55239
55275
|
return _c('div', {
|
|
@@ -55280,7 +55316,8 @@ var BodyFilevue_type_template_id_2393f688_scoped_true_render = function render()
|
|
|
55280
55316
|
"body-file-url": _vm.bodyFileUrl,
|
|
55281
55317
|
"bodyfile": _vm.flBodyfile,
|
|
55282
55318
|
"sign": _vm.sign,
|
|
55283
|
-
"seal": _vm.seal
|
|
55319
|
+
"seal": _vm.seal,
|
|
55320
|
+
"view-body-file-show": _vm.viewBodyFileShow
|
|
55284
55321
|
}
|
|
55285
55322
|
}) : _vm.downloadurl !== null ? _c('div', {
|
|
55286
55323
|
staticStyle: {
|
|
@@ -55555,7 +55592,7 @@ var BodyFilevue_type_template_id_2393f688_scoped_true_render = function render()
|
|
|
55555
55592
|
})])]) : _vm._e()]) : _vm._e()];
|
|
55556
55593
|
})], 2)])], 1);
|
|
55557
55594
|
};
|
|
55558
|
-
var
|
|
55595
|
+
var BodyFilevue_type_template_id_6f049350_scoped_true_staticRenderFns = [];
|
|
55559
55596
|
|
|
55560
55597
|
;// 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
55598
|
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 +55638,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55601
55638
|
},
|
|
55602
55639
|
accept: {
|
|
55603
55640
|
type: String,
|
|
55604
|
-
default: '.doc,.pdf'
|
|
55641
|
+
default: '.doc,.pdf,.ofd'
|
|
55605
55642
|
},
|
|
55606
55643
|
viewer: {
|
|
55607
55644
|
type: String,
|
|
@@ -55660,7 +55697,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55660
55697
|
attachmentsNum: null,
|
|
55661
55698
|
pdfSignChange: false,
|
|
55662
55699
|
// 签名状态
|
|
55663
|
-
pdfSealChange: false
|
|
55700
|
+
pdfSealChange: false,
|
|
55701
|
+
// 印章状态
|
|
55702
|
+
viewBodyFileShow: ''
|
|
55664
55703
|
};
|
|
55665
55704
|
},
|
|
55666
55705
|
computed: {},
|
|
@@ -55710,6 +55749,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55710
55749
|
}
|
|
55711
55750
|
var _this = this;
|
|
55712
55751
|
if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (this.viewer === 'pdfjs' || this.sign || this.seal)) {
|
|
55752
|
+
this.viewBodyFileShow = 'pdf';
|
|
55713
55753
|
if (this.sign || this.seal) {
|
|
55714
55754
|
this.waterMark = false;
|
|
55715
55755
|
}
|
|
@@ -55734,6 +55774,20 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55734
55774
|
};
|
|
55735
55775
|
}
|
|
55736
55776
|
});
|
|
55777
|
+
} else if (extName === '.ofd') {
|
|
55778
|
+
this.sign = false;
|
|
55779
|
+
this.seal = false;
|
|
55780
|
+
this.viewBodyFileShow = 'ofd';
|
|
55781
|
+
var _fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&widthType=auto&viewType=mobile';
|
|
55782
|
+
if (this.flBodyfile.fileName.indexOf('{') !== -1 || this.flBodyfile.fileName.indexOf('%') !== -1 || this.flBodyfile.fileName.indexOf('[') !== -1) {
|
|
55783
|
+
_fileurl += '&fileName=' + encodeURIComponent(this.flBodyfile.fileName);
|
|
55784
|
+
} else {
|
|
55785
|
+
_fileurl += '&fileName=' + this.flBodyfile.fileName;
|
|
55786
|
+
}
|
|
55787
|
+
_fileurl += '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
|
|
55788
|
+
console.log(_fileurl, 'fileurl');
|
|
55789
|
+
this.bodyFileUrl = _fileurl;
|
|
55790
|
+
_this.loaded = false;
|
|
55737
55791
|
} else if (this.viewer.indexOf('dcs=') === 0) {
|
|
55738
55792
|
this.sign = false;
|
|
55739
55793
|
this.seal = false;
|
|
@@ -56366,9 +56420,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
56366
56420
|
});
|
|
56367
56421
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
56368
56422
|
/* 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=
|
|
56423
|
+
// 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=6f049350&prod&scoped=true&lang=scss
|
|
56424
|
+
var BodyFilevue_type_style_index_0_id_6f049350_prod_scoped_true_lang_scss = __webpack_require__(8479);
|
|
56425
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=6f049350&prod&scoped=true&lang=scss
|
|
56372
56426
|
|
|
56373
56427
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
56374
56428
|
|
|
@@ -56381,11 +56435,11 @@ var BodyFilevue_type_style_index_0_id_2393f688_prod_scoped_true_lang_scss = __we
|
|
|
56381
56435
|
|
|
56382
56436
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
56383
56437
|
src_BodyFilevue_type_script_lang_js,
|
|
56384
|
-
|
|
56385
|
-
|
|
56438
|
+
BodyFilevue_type_template_id_6f049350_scoped_true_render,
|
|
56439
|
+
BodyFilevue_type_template_id_6f049350_scoped_true_staticRenderFns,
|
|
56386
56440
|
false,
|
|
56387
56441
|
null,
|
|
56388
|
-
"
|
|
56442
|
+
"6f049350",
|
|
56389
56443
|
null
|
|
56390
56444
|
|
|
56391
56445
|
)
|