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.umd.js
CHANGED
|
@@ -5644,7 +5644,7 @@ if ($defineProperty) {
|
|
|
5644
5644
|
|
|
5645
5645
|
/***/ }),
|
|
5646
5646
|
|
|
5647
|
-
/***/
|
|
5647
|
+
/***/ 7206:
|
|
5648
5648
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5649
5649
|
|
|
5650
5650
|
"use strict";
|
|
@@ -6091,7 +6091,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-ac768964] .popup-body{backgrou
|
|
|
6091
6091
|
|
|
6092
6092
|
/***/ }),
|
|
6093
6093
|
|
|
6094
|
-
/***/
|
|
6094
|
+
/***/ 947:
|
|
6095
6095
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6096
6096
|
|
|
6097
6097
|
"use strict";
|
|
@@ -6105,7 +6105,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6105
6105
|
|
|
6106
6106
|
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()));
|
|
6107
6107
|
// Module
|
|
6108
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-
|
|
6108
|
+
___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}", ""]);
|
|
6109
6109
|
// Exports
|
|
6110
6110
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6111
6111
|
|
|
@@ -6301,7 +6301,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
|
|
|
6301
6301
|
|
|
6302
6302
|
/***/ }),
|
|
6303
6303
|
|
|
6304
|
-
/***/
|
|
6304
|
+
/***/ 2237:
|
|
6305
6305
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6306
6306
|
|
|
6307
6307
|
"use strict";
|
|
@@ -6315,7 +6315,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6315
6315
|
|
|
6316
6316
|
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()));
|
|
6317
6317
|
// Module
|
|
6318
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-
|
|
6318
|
+
___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}", ""]);
|
|
6319
6319
|
// Exports
|
|
6320
6320
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6321
6321
|
|
|
@@ -6411,7 +6411,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-
|
|
|
6411
6411
|
|
|
6412
6412
|
/***/ }),
|
|
6413
6413
|
|
|
6414
|
-
/***/
|
|
6414
|
+
/***/ 4825:
|
|
6415
6415
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6416
6416
|
|
|
6417
6417
|
"use strict";
|
|
@@ -30982,19 +30982,19 @@ module.exports = function getSideChannel() {
|
|
|
30982
30982
|
|
|
30983
30983
|
/***/ }),
|
|
30984
30984
|
|
|
30985
|
-
/***/
|
|
30985
|
+
/***/ 1743:
|
|
30986
30986
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
30987
30987
|
|
|
30988
30988
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
30989
30989
|
|
|
30990
30990
|
// load the styles
|
|
30991
|
-
var content = __webpack_require__(
|
|
30991
|
+
var content = __webpack_require__(7206);
|
|
30992
30992
|
if(content.__esModule) content = content.default;
|
|
30993
30993
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
30994
30994
|
if(content.locals) module.exports = content.locals;
|
|
30995
30995
|
// add the styles to the DOM
|
|
30996
30996
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
30997
|
-
var update = add("
|
|
30997
|
+
var update = add("14780a22", content, true, {"sourceMap":false,"shadowMode":false});
|
|
30998
30998
|
|
|
30999
30999
|
/***/ }),
|
|
31000
31000
|
|
|
@@ -31318,19 +31318,19 @@ var update = add("432d0e8d", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31318
31318
|
|
|
31319
31319
|
/***/ }),
|
|
31320
31320
|
|
|
31321
|
-
/***/
|
|
31321
|
+
/***/ 4455:
|
|
31322
31322
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31323
31323
|
|
|
31324
31324
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31325
31325
|
|
|
31326
31326
|
// load the styles
|
|
31327
|
-
var content = __webpack_require__(
|
|
31327
|
+
var content = __webpack_require__(947);
|
|
31328
31328
|
if(content.__esModule) content = content.default;
|
|
31329
31329
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31330
31330
|
if(content.locals) module.exports = content.locals;
|
|
31331
31331
|
// add the styles to the DOM
|
|
31332
31332
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31333
|
-
var update = add("
|
|
31333
|
+
var update = add("40270298", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31334
31334
|
|
|
31335
31335
|
/***/ }),
|
|
31336
31336
|
|
|
@@ -31478,19 +31478,19 @@ var update = add("49d49516", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31478
31478
|
|
|
31479
31479
|
/***/ }),
|
|
31480
31480
|
|
|
31481
|
-
/***/
|
|
31481
|
+
/***/ 3537:
|
|
31482
31482
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31483
31483
|
|
|
31484
31484
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31485
31485
|
|
|
31486
31486
|
// load the styles
|
|
31487
|
-
var content = __webpack_require__(
|
|
31487
|
+
var content = __webpack_require__(2237);
|
|
31488
31488
|
if(content.__esModule) content = content.default;
|
|
31489
31489
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31490
31490
|
if(content.locals) module.exports = content.locals;
|
|
31491
31491
|
// add the styles to the DOM
|
|
31492
31492
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31493
|
-
var update = add("
|
|
31493
|
+
var update = add("18cdd790", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31494
31494
|
|
|
31495
31495
|
/***/ }),
|
|
31496
31496
|
|
|
@@ -31564,7 +31564,7 @@ var update = add("55e06607", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31564
31564
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31565
31565
|
|
|
31566
31566
|
// load the styles
|
|
31567
|
-
var content = __webpack_require__(
|
|
31567
|
+
var content = __webpack_require__(4825);
|
|
31568
31568
|
if(content.__esModule) content = content.default;
|
|
31569
31569
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31570
31570
|
if(content.locals) module.exports = content.locals;
|
|
@@ -38597,36 +38597,7 @@ var wfengine_install = function install(Vue) {
|
|
|
38597
38597
|
}
|
|
38598
38598
|
$scope.attachments = res.body.attachList || [];
|
|
38599
38599
|
_this.setFlBodyFile($scope);
|
|
38600
|
-
$scope.commandBar
|
|
38601
|
-
if (btn.btnAlign === 2) btn.btnAlign = 1;
|
|
38602
|
-
btn.btnParams = null;
|
|
38603
|
-
if (btn.btnJavascript !== null && typeof btn.btnJavascript === 'string') {
|
|
38604
|
-
if (window.submitMode === 'dialog' && btn.btnJavascript.indexOf('btnSubmitClick()') !== -1) {
|
|
38605
|
-
btn.btnName = '办理';
|
|
38606
|
-
btn.btnJavascriptBak = btn.btnJavascript;
|
|
38607
|
-
btn.btnJavascript = 'btnStartDoingClick()';
|
|
38608
|
-
}
|
|
38609
|
-
var btnClick = btn.btnJavascript;
|
|
38610
|
-
if (btnClick.indexOf('(') !== -1) {
|
|
38611
|
-
var btnParams = btnClick.substring(btnClick.indexOf('(') + 1, btnClick.lastIndexOf(')'));
|
|
38612
|
-
if (btnParams !== '') {
|
|
38613
|
-
btnParams = btnParams.replace(/'/g, '').split(',');
|
|
38614
|
-
btn.btnParams = btnParams;
|
|
38615
|
-
}
|
|
38616
|
-
btnClick = btnClick.split('(')[0];
|
|
38617
|
-
}
|
|
38618
|
-
if ($scope[btnClick] !== undefined) {
|
|
38619
|
-
btn.btnClick = $scope[btnClick];
|
|
38620
|
-
} else {
|
|
38621
|
-
console.log('按钮方法不存在:' + btn.btnName + ' ' + btn.btnJavascript);
|
|
38622
|
-
}
|
|
38623
|
-
}
|
|
38624
|
-
if (btn.btnCode === 'btnOpenWordClick' || btn.btnCode === 'btnModifyFlTypeClick') {
|
|
38625
|
-
btn.btnShow = $scope.canEditBodyfile;
|
|
38626
|
-
} else {
|
|
38627
|
-
btn.btnShow = true;
|
|
38628
|
-
}
|
|
38629
|
-
});
|
|
38600
|
+
_this.setCommandBar($scope, $scope.commandBar);
|
|
38630
38601
|
if (window.vType === 'wapp' && $scope.$route.fullPath.indexOf('itemurl=') !== -1) {
|
|
38631
38602
|
var fullPath = $scope.$route.fullPath;
|
|
38632
38603
|
$scope.$store.state.tagsView.visitedViews.forEach(function (view) {
|
|
@@ -38709,6 +38680,38 @@ var wfengine_install = function install(Vue) {
|
|
|
38709
38680
|
});
|
|
38710
38681
|
});
|
|
38711
38682
|
},
|
|
38683
|
+
setCommandBar: function setCommandBar($scope, commandBar) {
|
|
38684
|
+
commandBar.forEach(function (btn) {
|
|
38685
|
+
if (btn.btnAlign === 2) btn.btnAlign = 1;
|
|
38686
|
+
if (btn.btnCode === 'btnOpenWordClick' || btn.btnCode === 'btnModifyFlTypeClick') {
|
|
38687
|
+
btn.btnShow = $scope.canEditBodyfile;
|
|
38688
|
+
} else {
|
|
38689
|
+
btn.btnShow = true;
|
|
38690
|
+
}
|
|
38691
|
+
btn.btnParams = null;
|
|
38692
|
+
if (btn.btnJavascript !== null && typeof btn.btnJavascript === 'string') {
|
|
38693
|
+
if (window.submitMode === 'dialog' && btn.btnJavascript.indexOf('btnSubmitClick()') !== -1) {
|
|
38694
|
+
btn.btnName = '办理';
|
|
38695
|
+
btn.btnJavascriptBak = btn.btnJavascript;
|
|
38696
|
+
btn.btnJavascript = 'btnStartDoingClick()';
|
|
38697
|
+
}
|
|
38698
|
+
var btnClick = btn.btnJavascript;
|
|
38699
|
+
if (btnClick.indexOf('(') !== -1) {
|
|
38700
|
+
var btnParams = btnClick.substring(btnClick.indexOf('(') + 1, btnClick.lastIndexOf(')'));
|
|
38701
|
+
if (btnParams !== '') {
|
|
38702
|
+
btnParams = btnParams.replace(/'/g, '').split(',');
|
|
38703
|
+
btn.btnParams = btnParams;
|
|
38704
|
+
}
|
|
38705
|
+
btnClick = btnClick.split('(')[0];
|
|
38706
|
+
}
|
|
38707
|
+
if ($scope[btnClick] !== undefined) {
|
|
38708
|
+
btn.btnClick = $scope[btnClick];
|
|
38709
|
+
} else {
|
|
38710
|
+
console.log('按钮方法不存在:' + btn.btnName + ' ' + btn.btnJavascript);
|
|
38711
|
+
}
|
|
38712
|
+
}
|
|
38713
|
+
});
|
|
38714
|
+
},
|
|
38712
38715
|
setFlBodyFile: function setFlBodyFile($scope) {
|
|
38713
38716
|
$scope.bodyfile = null;
|
|
38714
38717
|
$scope.redTitleFile = null;
|
|
@@ -38732,37 +38735,53 @@ var wfengine_install = function install(Vue) {
|
|
|
38732
38735
|
}
|
|
38733
38736
|
}
|
|
38734
38737
|
if (!$scope.bodyfile) {
|
|
38735
|
-
|
|
38736
|
-
if (
|
|
38737
|
-
$scope.bodyfile =
|
|
38738
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38739
|
+
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.indexOf('.pdf') !== -1) {
|
|
38740
|
+
$scope.bodyfile = attachment;
|
|
38738
38741
|
}
|
|
38739
|
-
}
|
|
38742
|
+
});
|
|
38740
38743
|
}
|
|
38741
38744
|
if ($scope.bodyfile && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) !== -1) {
|
|
38742
38745
|
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
38743
38746
|
$scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
|
|
38744
38747
|
}
|
|
38745
38748
|
} else {
|
|
38746
|
-
|
|
38747
|
-
if (
|
|
38748
|
-
if (
|
|
38749
|
-
|
|
38750
|
-
|
|
38751
|
-
|
|
38752
|
-
|
|
38753
|
-
|
|
38754
|
-
|
|
38755
|
-
$scope.
|
|
38756
|
-
} else if ($scope.attachments[_i2].fileName.indexOf('NoTracks_') === 0 && $scope.attachments[_i2].originalName.indexOf('.pdf') !== -1) {
|
|
38757
|
-
$scope.bodyfile = $scope.attachments[_i2];
|
|
38758
|
-
$scope.noTracksFile = JSON.parse(JSON.stringify($scope.attachments[_i2])); //清稿文件
|
|
38759
|
-
} else if ($scope.attachments[_i2].fileName.indexOf('SignedFile_') === 0) {
|
|
38760
|
-
$scope.bodyfile = $scope.attachments[_i2];
|
|
38749
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38750
|
+
if (attachment.fileType.toUpperCase() === 'BODY') {
|
|
38751
|
+
if (attachment.fileName.indexOf('RedTitle_') === 0 && attachment.originalName.indexOf('.pdf') !== -1) {
|
|
38752
|
+
$scope.bodyfile = attachment;
|
|
38753
|
+
$scope.redTitleFile = JSON.parse(JSON.stringify(attachment)); //套红文件
|
|
38754
|
+
} else if (attachment.fileName.indexOf('NoTracks_') === 0 && attachment.originalName.indexOf('.pdf') !== -1) {
|
|
38755
|
+
$scope.bodyfile = attachment;
|
|
38756
|
+
$scope.noTracksFile = JSON.parse(JSON.stringify(attachment)); //清稿文件
|
|
38757
|
+
} else if (attachment.fileName.indexOf('SignedFile_') === 0) {
|
|
38758
|
+
$scope.bodyfile = attachment;
|
|
38761
38759
|
}
|
|
38762
|
-
if (
|
|
38760
|
+
if (attachment.originalName.indexOf('.doc') !== -1 && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId && attachment.filePath.indexOf('/noTracks/') === -1) {
|
|
38763
38761
|
canEditBodyfile = true;
|
|
38762
|
+
if ($scope.wfInstance.haveDoc === 0) {
|
|
38763
|
+
//修正删除正文后haveDoc错误的问题
|
|
38764
|
+
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
38765
|
+
$scope.wfInstance.haveDoc = 1;
|
|
38766
|
+
} else {
|
|
38767
|
+
$scope.wfInstance.haveDoc = 2;
|
|
38768
|
+
}
|
|
38769
|
+
}
|
|
38764
38770
|
}
|
|
38765
38771
|
}
|
|
38772
|
+
});
|
|
38773
|
+
if (!$scope.bodyfile) {
|
|
38774
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38775
|
+
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
38776
|
+
if (attachment.originalName.indexOf('.pdf') !== -1 || attachment.filePath.indexOf('/noTracks/') !== -1) {
|
|
38777
|
+
// pdf格式优先、无修订DOC优先
|
|
38778
|
+
$scope.bodyfile = attachment;
|
|
38779
|
+
} else if (!$scope.bodyfile && attachment.originalName.indexOf('.doc') !== -1) {
|
|
38780
|
+
//doc格式正文
|
|
38781
|
+
$scope.bodyfile = attachment;
|
|
38782
|
+
}
|
|
38783
|
+
}
|
|
38784
|
+
});
|
|
38766
38785
|
}
|
|
38767
38786
|
}
|
|
38768
38787
|
if ($scope.bodyfile != null && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
|
|
@@ -39012,6 +39031,11 @@ var wfengine_install = function install(Vue) {
|
|
|
39012
39031
|
} else {
|
|
39013
39032
|
$scope.wfJsonData = $scope.wfJsonDatabak;
|
|
39014
39033
|
}
|
|
39034
|
+
if (res.body.wfInstance.passenger.commandBar) {
|
|
39035
|
+
var commandBar = JSON.parse(JSON.stringify(res.body.wfInstance.passenger.commandBar));
|
|
39036
|
+
_this2.setCommandBar($scope, commandBar);
|
|
39037
|
+
$scope.commandBar = commandBar;
|
|
39038
|
+
}
|
|
39015
39039
|
$scope.vo = $scope.vobak;
|
|
39016
39040
|
$scope.wfInstance = $scope.wfInstancebak;
|
|
39017
39041
|
if (res.body.wfInstance && ($scope.wfInstance.id === null || $scope.wfInstance.id === '')) {
|
|
@@ -39029,6 +39053,8 @@ var wfengine_install = function install(Vue) {
|
|
|
39029
39053
|
delete attach.forward;
|
|
39030
39054
|
});
|
|
39031
39055
|
delete $scope.wfInstance.passenger.forwardAttachs;
|
|
39056
|
+
delete $scope.wfInstance.passenger.commandBar;
|
|
39057
|
+
delete $scope.wfInstance.passenger.wfJsonData;
|
|
39032
39058
|
|
|
39033
39059
|
// 业务模块onWflowFormSubmited
|
|
39034
39060
|
if (typeof $scope.onWflowFormSubmited === 'function') {
|
|
@@ -49427,8 +49453,8 @@ InnerTable_src.install = function (Vue) {
|
|
|
49427
49453
|
Vue.component(InnerTable_src.name, InnerTable_src);
|
|
49428
49454
|
};
|
|
49429
49455
|
/* harmony default export */ var InnerTable = (InnerTable_src);
|
|
49430
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
49431
|
-
var
|
|
49456
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
49457
|
+
var srcvue_type_template_id_32e6295e_scoped_true_render = function render() {
|
|
49432
49458
|
var _vm = this,
|
|
49433
49459
|
_c = _vm._self._c;
|
|
49434
49460
|
return _c('div', {
|
|
@@ -49439,7 +49465,7 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49439
49465
|
staticClass: "box"
|
|
49440
49466
|
}, [_c('div', {
|
|
49441
49467
|
staticClass: "box-inner"
|
|
49442
|
-
}, [_c('iframe', {
|
|
49468
|
+
}, [_vm.viewBodyFileShow === 'pdf' ? _c('iframe', {
|
|
49443
49469
|
ref: "iframeBodyFile",
|
|
49444
49470
|
attrs: {
|
|
49445
49471
|
"id": "pdfHtml",
|
|
@@ -49448,7 +49474,13 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49448
49474
|
"frameborder": "0",
|
|
49449
49475
|
"src": _vm.bodyFileUrl
|
|
49450
49476
|
}
|
|
49451
|
-
})
|
|
49477
|
+
}) : _vm.viewBodyFileShow === 'ofd' ? _c('CCOfdjsView', {
|
|
49478
|
+
ref: "OfdjsView",
|
|
49479
|
+
attrs: {
|
|
49480
|
+
"id": "ofdVue",
|
|
49481
|
+
"file-url": _vm.bodyFileUrl
|
|
49482
|
+
}
|
|
49483
|
+
}) : _vm._e()], 1)]), _vm.sign || _vm.seal ? _c('div', {
|
|
49452
49484
|
staticClass: "bottom-bar"
|
|
49453
49485
|
}, [_vm.sign && _vm.dVisiblesign ? _c('AddSign', {
|
|
49454
49486
|
on: {
|
|
@@ -49466,7 +49498,7 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49466
49498
|
}
|
|
49467
49499
|
}) : _vm._e()], 1) : _vm._e()]);
|
|
49468
49500
|
};
|
|
49469
|
-
var
|
|
49501
|
+
var srcvue_type_template_id_32e6295e_scoped_true_staticRenderFns = [];
|
|
49470
49502
|
|
|
49471
49503
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
49472
49504
|
var AddSignvue_type_template_id_4b804d77_scoped_true_render = function render() {
|
|
@@ -50327,6 +50359,10 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50327
50359
|
type: Boolean,
|
|
50328
50360
|
default: false
|
|
50329
50361
|
},
|
|
50362
|
+
viewBodyFileShow: {
|
|
50363
|
+
type: String,
|
|
50364
|
+
default: 'pdf'
|
|
50365
|
+
},
|
|
50330
50366
|
markContent: {
|
|
50331
50367
|
type: String,
|
|
50332
50368
|
default: ''
|
|
@@ -50371,7 +50407,7 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50371
50407
|
updated: function updated() {},
|
|
50372
50408
|
mounted: function mounted() {
|
|
50373
50409
|
var _this = this;
|
|
50374
|
-
if (this.bodyFileUrl.indexOf('?') !== -1) {
|
|
50410
|
+
if (this.bodyFileUrl.indexOf('?') !== -1 && this.viewBodyFileShow === 'pdf') {
|
|
50375
50411
|
this.iframeBodyFile = this.$refs.iframeBodyFile.contentWindow;
|
|
50376
50412
|
setTimeout(function () {
|
|
50377
50413
|
if (_this.iframeBodyFile && _this.iframeBodyFile.loadBodyFileType) {
|
|
@@ -50605,13 +50641,13 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50605
50641
|
});
|
|
50606
50642
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
|
|
50607
50643
|
/* harmony default export */ var ecmapp_PdfTools_srcvue_type_script_lang_js = (PdfTools_srcvue_type_script_lang_js);
|
|
50608
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=
|
|
50609
|
-
var
|
|
50610
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
50644
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
|
|
50645
|
+
var srcvue_type_style_index_0_id_32e6295e_prod_scoped_true_lang_scss = __webpack_require__(4455);
|
|
50646
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=32e6295e&prod&scoped=true&lang=scss
|
|
50611
50647
|
|
|
50612
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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=
|
|
50613
|
-
var
|
|
50614
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
50648
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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
|
|
50649
|
+
var srcvue_type_style_index_1_id_32e6295e_prod_lang_css = __webpack_require__(1743);
|
|
50650
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=32e6295e&prod&lang=css
|
|
50615
50651
|
|
|
50616
50652
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
|
|
50617
50653
|
|
|
@@ -50625,11 +50661,11 @@ var srcvue_type_style_index_1_id_79727f6b_prod_lang_css = __webpack_require__(14
|
|
|
50625
50661
|
|
|
50626
50662
|
var PdfTools_src_component = (0,componentNormalizer/* default */.A)(
|
|
50627
50663
|
ecmapp_PdfTools_srcvue_type_script_lang_js,
|
|
50628
|
-
|
|
50629
|
-
|
|
50664
|
+
srcvue_type_template_id_32e6295e_scoped_true_render,
|
|
50665
|
+
srcvue_type_template_id_32e6295e_scoped_true_staticRenderFns,
|
|
50630
50666
|
false,
|
|
50631
50667
|
null,
|
|
50632
|
-
"
|
|
50668
|
+
"32e6295e",
|
|
50633
50669
|
null
|
|
50634
50670
|
|
|
50635
50671
|
)
|
|
@@ -55242,8 +55278,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
|
55242
55278
|
)
|
|
55243
55279
|
|
|
55244
55280
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
55245
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
55246
|
-
var
|
|
55281
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
55282
|
+
var BodyFilevue_type_template_id_6f049350_scoped_true_render = function render() {
|
|
55247
55283
|
var _vm = this,
|
|
55248
55284
|
_c = _vm._self._c;
|
|
55249
55285
|
return _c('div', {
|
|
@@ -55290,7 +55326,8 @@ var BodyFilevue_type_template_id_2393f688_scoped_true_render = function render()
|
|
|
55290
55326
|
"body-file-url": _vm.bodyFileUrl,
|
|
55291
55327
|
"bodyfile": _vm.flBodyfile,
|
|
55292
55328
|
"sign": _vm.sign,
|
|
55293
|
-
"seal": _vm.seal
|
|
55329
|
+
"seal": _vm.seal,
|
|
55330
|
+
"view-body-file-show": _vm.viewBodyFileShow
|
|
55294
55331
|
}
|
|
55295
55332
|
}) : _vm.downloadurl !== null ? _c('div', {
|
|
55296
55333
|
staticStyle: {
|
|
@@ -55565,7 +55602,7 @@ var BodyFilevue_type_template_id_2393f688_scoped_true_render = function render()
|
|
|
55565
55602
|
})])]) : _vm._e()]) : _vm._e()];
|
|
55566
55603
|
})], 2)])], 1);
|
|
55567
55604
|
};
|
|
55568
|
-
var
|
|
55605
|
+
var BodyFilevue_type_template_id_6f049350_scoped_true_staticRenderFns = [];
|
|
55569
55606
|
|
|
55570
55607
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
55571
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); }
|
|
@@ -55611,7 +55648,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55611
55648
|
},
|
|
55612
55649
|
accept: {
|
|
55613
55650
|
type: String,
|
|
55614
|
-
default: '.doc,.pdf'
|
|
55651
|
+
default: '.doc,.pdf,.ofd'
|
|
55615
55652
|
},
|
|
55616
55653
|
viewer: {
|
|
55617
55654
|
type: String,
|
|
@@ -55670,7 +55707,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55670
55707
|
attachmentsNum: null,
|
|
55671
55708
|
pdfSignChange: false,
|
|
55672
55709
|
// 签名状态
|
|
55673
|
-
pdfSealChange: false
|
|
55710
|
+
pdfSealChange: false,
|
|
55711
|
+
// 印章状态
|
|
55712
|
+
viewBodyFileShow: ''
|
|
55674
55713
|
};
|
|
55675
55714
|
},
|
|
55676
55715
|
computed: {},
|
|
@@ -55720,6 +55759,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55720
55759
|
}
|
|
55721
55760
|
var _this = this;
|
|
55722
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';
|
|
55723
55763
|
if (this.sign || this.seal) {
|
|
55724
55764
|
this.waterMark = false;
|
|
55725
55765
|
}
|
|
@@ -55744,6 +55784,20 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55744
55784
|
};
|
|
55745
55785
|
}
|
|
55746
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
|
+
console.log(_fileurl, 'fileurl');
|
|
55799
|
+
this.bodyFileUrl = _fileurl;
|
|
55800
|
+
_this.loaded = false;
|
|
55747
55801
|
} else if (this.viewer.indexOf('dcs=') === 0) {
|
|
55748
55802
|
this.sign = false;
|
|
55749
55803
|
this.seal = false;
|
|
@@ -56376,9 +56430,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
56376
56430
|
});
|
|
56377
56431
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
56378
56432
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
56379
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=
|
|
56380
|
-
var
|
|
56381
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
56433
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
|
|
56434
|
+
var BodyFilevue_type_style_index_0_id_6f049350_prod_scoped_true_lang_scss = __webpack_require__(3537);
|
|
56435
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=6f049350&prod&scoped=true&lang=scss
|
|
56382
56436
|
|
|
56383
56437
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
56384
56438
|
|
|
@@ -56391,11 +56445,11 @@ var BodyFilevue_type_style_index_0_id_2393f688_prod_scoped_true_lang_scss = __we
|
|
|
56391
56445
|
|
|
56392
56446
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
56393
56447
|
src_BodyFilevue_type_script_lang_js,
|
|
56394
|
-
|
|
56395
|
-
|
|
56448
|
+
BodyFilevue_type_template_id_6f049350_scoped_true_render,
|
|
56449
|
+
BodyFilevue_type_template_id_6f049350_scoped_true_staticRenderFns,
|
|
56396
56450
|
false,
|
|
56397
56451
|
null,
|
|
56398
|
-
"
|
|
56452
|
+
"6f049350",
|
|
56399
56453
|
null
|
|
56400
56454
|
|
|
56401
56455
|
)
|