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.umd.js
CHANGED
|
@@ -5644,7 +5644,7 @@ if ($defineProperty) {
|
|
|
5644
5644
|
|
|
5645
5645
|
/***/ }),
|
|
5646
5646
|
|
|
5647
|
-
/***/
|
|
5647
|
+
/***/ 8557:
|
|
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
|
+
/***/ 4718:
|
|
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-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}", ""]);
|
|
6109
6109
|
// Exports
|
|
6110
6110
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6111
6111
|
|
|
@@ -6280,7 +6280,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-34cc6535] .van-nav-bar__title{
|
|
|
6280
6280
|
|
|
6281
6281
|
/***/ }),
|
|
6282
6282
|
|
|
6283
|
-
/***/
|
|
6283
|
+
/***/ 5847:
|
|
6284
6284
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6285
6285
|
|
|
6286
6286
|
"use strict";
|
|
@@ -6294,14 +6294,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6294
6294
|
|
|
6295
6295
|
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()));
|
|
6296
6296
|
// Module
|
|
6297
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
6297
|
+
___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)}", ""]);
|
|
6298
6298
|
// Exports
|
|
6299
6299
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6300
6300
|
|
|
6301
6301
|
|
|
6302
6302
|
/***/ }),
|
|
6303
6303
|
|
|
6304
|
-
/***/
|
|
6304
|
+
/***/ 1640:
|
|
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-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}", ""]);
|
|
6319
6319
|
// Exports
|
|
6320
6320
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6321
6321
|
|
|
@@ -30982,19 +30982,19 @@ module.exports = function getSideChannel() {
|
|
|
30982
30982
|
|
|
30983
30983
|
/***/ }),
|
|
30984
30984
|
|
|
30985
|
-
/***/
|
|
30985
|
+
/***/ 7964:
|
|
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__(8557);
|
|
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("cabb65a2", 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
|
+
/***/ 6242:
|
|
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__(4718);
|
|
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("9beb4e72", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31334
31334
|
|
|
31335
31335
|
/***/ }),
|
|
31336
31336
|
|
|
@@ -31462,35 +31462,35 @@ var update = add("75949a2c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31462
31462
|
|
|
31463
31463
|
/***/ }),
|
|
31464
31464
|
|
|
31465
|
-
/***/
|
|
31465
|
+
/***/ 7347:
|
|
31466
31466
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31467
31467
|
|
|
31468
31468
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31469
31469
|
|
|
31470
31470
|
// load the styles
|
|
31471
|
-
var content = __webpack_require__(
|
|
31471
|
+
var content = __webpack_require__(5847);
|
|
31472
31472
|
if(content.__esModule) content = content.default;
|
|
31473
31473
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31474
31474
|
if(content.locals) module.exports = content.locals;
|
|
31475
31475
|
// add the styles to the DOM
|
|
31476
31476
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31477
|
-
var update = add("
|
|
31477
|
+
var update = add("205c99d7", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31478
31478
|
|
|
31479
31479
|
/***/ }),
|
|
31480
31480
|
|
|
31481
|
-
/***/
|
|
31481
|
+
/***/ 6660:
|
|
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__(1640);
|
|
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("4f54e2c3", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31494
31494
|
|
|
31495
31495
|
/***/ }),
|
|
31496
31496
|
|
|
@@ -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;
|
|
@@ -38721,8 +38724,9 @@ var wfengine_install = function install(Vue) {
|
|
|
38721
38724
|
var attachShortName = $scope.attachments[i].fileName.substring(0, $scope.attachments[i].fileName.lastIndexOf('.'));
|
|
38722
38725
|
if ($scope.attachments[i].fileType.toUpperCase() === 'BODY') {
|
|
38723
38726
|
if (attachShortName === bydyShortName || $scope.attachments[i].originalName.split('.')[0] === bydyShortName) {
|
|
38727
|
+
var extName = $scope.attachments[i].originalName.split('.')[1].split('.')[0].toLowerCase();
|
|
38724
38728
|
// pdf格式优先
|
|
38725
|
-
if (!$scope.bodyfile ||
|
|
38729
|
+
if (!$scope.bodyfile || extName === 'pdf' || extName === 'ofd') {
|
|
38726
38730
|
$scope.bodyfile = $scope.attachments[i];
|
|
38727
38731
|
}
|
|
38728
38732
|
}
|
|
@@ -38732,37 +38736,56 @@ var wfengine_install = function install(Vue) {
|
|
|
38732
38736
|
}
|
|
38733
38737
|
}
|
|
38734
38738
|
if (!$scope.bodyfile) {
|
|
38735
|
-
|
|
38736
|
-
|
|
38737
|
-
|
|
38739
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38740
|
+
var extName = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
|
|
38741
|
+
if (attachment.fileType.toUpperCase() === 'BODY' && (extName === 'pdf' || extName === 'ofd')) {
|
|
38742
|
+
$scope.bodyfile = attachment;
|
|
38738
38743
|
}
|
|
38739
|
-
}
|
|
38744
|
+
});
|
|
38740
38745
|
}
|
|
38741
38746
|
if ($scope.bodyfile && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) !== -1) {
|
|
38742
38747
|
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
38743
38748
|
$scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
|
|
38744
38749
|
}
|
|
38745
38750
|
} else {
|
|
38746
|
-
|
|
38747
|
-
if (
|
|
38748
|
-
|
|
38749
|
-
|
|
38750
|
-
|
|
38751
|
-
|
|
38752
|
-
|
|
38753
|
-
|
|
38754
|
-
$scope.
|
|
38755
|
-
|
|
38756
|
-
|
|
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];
|
|
38751
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38752
|
+
if (attachment.fileType.toUpperCase() === 'BODY') {
|
|
38753
|
+
var _extName = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
|
|
38754
|
+
if (attachment.fileName.indexOf('RedTitle_') === 0 && (_extName === 'pdf' || _extName === 'ofd')) {
|
|
38755
|
+
$scope.bodyfile = attachment;
|
|
38756
|
+
$scope.redTitleFile = JSON.parse(JSON.stringify(attachment)); //套红文件
|
|
38757
|
+
} else if (attachment.fileName.indexOf('NoTracks_') === 0 && (_extName === 'pdf' || _extName === 'ofd')) {
|
|
38758
|
+
$scope.bodyfile = attachment;
|
|
38759
|
+
$scope.noTracksFile = JSON.parse(JSON.stringify(attachment)); //清稿文件
|
|
38760
|
+
} else if (attachment.fileName.indexOf('SignedFile_') === 0) {
|
|
38761
|
+
$scope.bodyfile = attachment;
|
|
38761
38762
|
}
|
|
38762
|
-
if (
|
|
38763
|
+
if (attachment.originalName.indexOf('.doc') !== -1 && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId && attachment.filePath.indexOf('/noTracks/') === -1) {
|
|
38763
38764
|
canEditBodyfile = true;
|
|
38765
|
+
if ($scope.wfInstance.haveDoc === 0) {
|
|
38766
|
+
//修正删除正文后haveDoc错误的问题
|
|
38767
|
+
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
38768
|
+
$scope.wfInstance.haveDoc = 1;
|
|
38769
|
+
} else {
|
|
38770
|
+
$scope.wfInstance.haveDoc = 2;
|
|
38771
|
+
}
|
|
38772
|
+
}
|
|
38764
38773
|
}
|
|
38765
38774
|
}
|
|
38775
|
+
});
|
|
38776
|
+
if (!$scope.bodyfile) {
|
|
38777
|
+
$scope.attachments.forEach(function (attachment) {
|
|
38778
|
+
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
38779
|
+
var _extName2 = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
|
|
38780
|
+
if (_extName2 === 'pdf' || _extName2 === 'ofd' || attachment.filePath.indexOf('/noTracks/') !== -1) {
|
|
38781
|
+
// pdf格式优先、无修订DOC优先
|
|
38782
|
+
$scope.bodyfile = attachment;
|
|
38783
|
+
} else if (!$scope.bodyfile && attachment.originalName.indexOf('.doc') !== -1) {
|
|
38784
|
+
//doc格式正文
|
|
38785
|
+
$scope.bodyfile = attachment;
|
|
38786
|
+
}
|
|
38787
|
+
}
|
|
38788
|
+
});
|
|
38766
38789
|
}
|
|
38767
38790
|
}
|
|
38768
38791
|
if ($scope.bodyfile != null && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
|
|
@@ -39012,6 +39035,11 @@ var wfengine_install = function install(Vue) {
|
|
|
39012
39035
|
} else {
|
|
39013
39036
|
$scope.wfJsonData = $scope.wfJsonDatabak;
|
|
39014
39037
|
}
|
|
39038
|
+
if (res.body.wfInstance.passenger.commandBar) {
|
|
39039
|
+
var commandBar = JSON.parse(JSON.stringify(res.body.wfInstance.passenger.commandBar));
|
|
39040
|
+
_this2.setCommandBar($scope, commandBar);
|
|
39041
|
+
$scope.commandBar = commandBar;
|
|
39042
|
+
}
|
|
39015
39043
|
$scope.vo = $scope.vobak;
|
|
39016
39044
|
$scope.wfInstance = $scope.wfInstancebak;
|
|
39017
39045
|
if (res.body.wfInstance && ($scope.wfInstance.id === null || $scope.wfInstance.id === '')) {
|
|
@@ -39029,6 +39057,8 @@ var wfengine_install = function install(Vue) {
|
|
|
39029
39057
|
delete attach.forward;
|
|
39030
39058
|
});
|
|
39031
39059
|
delete $scope.wfInstance.passenger.forwardAttachs;
|
|
39060
|
+
delete $scope.wfInstance.passenger.commandBar;
|
|
39061
|
+
delete $scope.wfInstance.passenger.wfJsonData;
|
|
39032
39062
|
|
|
39033
39063
|
// 业务模块onWflowFormSubmited
|
|
39034
39064
|
if (typeof $scope.onWflowFormSubmited === 'function') {
|
|
@@ -49427,8 +49457,8 @@ InnerTable_src.install = function (Vue) {
|
|
|
49427
49457
|
Vue.component(InnerTable_src.name, InnerTable_src);
|
|
49428
49458
|
};
|
|
49429
49459
|
/* 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
|
|
49460
|
+
;// 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=93095d9a&scoped=true
|
|
49461
|
+
var srcvue_type_template_id_93095d9a_scoped_true_render = function render() {
|
|
49432
49462
|
var _vm = this,
|
|
49433
49463
|
_c = _vm._self._c;
|
|
49434
49464
|
return _c('div', {
|
|
@@ -49439,7 +49469,7 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49439
49469
|
staticClass: "box"
|
|
49440
49470
|
}, [_c('div', {
|
|
49441
49471
|
staticClass: "box-inner"
|
|
49442
|
-
}, [_c('iframe', {
|
|
49472
|
+
}, [_vm.viewBodyFileShow === 'pdf' ? _c('iframe', {
|
|
49443
49473
|
ref: "iframeBodyFile",
|
|
49444
49474
|
attrs: {
|
|
49445
49475
|
"id": "pdfHtml",
|
|
@@ -49448,7 +49478,17 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49448
49478
|
"frameborder": "0",
|
|
49449
49479
|
"src": _vm.bodyFileUrl
|
|
49450
49480
|
}
|
|
49451
|
-
})
|
|
49481
|
+
}) : _vm.viewBodyFileShow === 'ofd' ? _c('iframe', {
|
|
49482
|
+
ref: "OfdjsView",
|
|
49483
|
+
attrs: {
|
|
49484
|
+
"id": "pofdHtml",
|
|
49485
|
+
"width": "100%",
|
|
49486
|
+
"height": "100%",
|
|
49487
|
+
"frameborder": "0",
|
|
49488
|
+
"scrolling": "yes",
|
|
49489
|
+
"src": _vm.bodyFileUrl
|
|
49490
|
+
}
|
|
49491
|
+
}) : _vm._e()])]), _vm.sign || _vm.seal ? _c('div', {
|
|
49452
49492
|
staticClass: "bottom-bar"
|
|
49453
49493
|
}, [_vm.sign && _vm.dVisiblesign ? _c('AddSign', {
|
|
49454
49494
|
on: {
|
|
@@ -49466,7 +49506,7 @@ var srcvue_type_template_id_79727f6b_scoped_true_render = function render() {
|
|
|
49466
49506
|
}
|
|
49467
49507
|
}) : _vm._e()], 1) : _vm._e()]);
|
|
49468
49508
|
};
|
|
49469
|
-
var
|
|
49509
|
+
var srcvue_type_template_id_93095d9a_scoped_true_staticRenderFns = [];
|
|
49470
49510
|
|
|
49471
49511
|
;// 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
49512
|
var AddSignvue_type_template_id_4b804d77_scoped_true_render = function render() {
|
|
@@ -50327,6 +50367,10 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50327
50367
|
type: Boolean,
|
|
50328
50368
|
default: false
|
|
50329
50369
|
},
|
|
50370
|
+
viewBodyFileShow: {
|
|
50371
|
+
type: String,
|
|
50372
|
+
default: 'pdf'
|
|
50373
|
+
},
|
|
50330
50374
|
markContent: {
|
|
50331
50375
|
type: String,
|
|
50332
50376
|
default: ''
|
|
@@ -50371,7 +50415,7 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50371
50415
|
updated: function updated() {},
|
|
50372
50416
|
mounted: function mounted() {
|
|
50373
50417
|
var _this = this;
|
|
50374
|
-
if (this.bodyFileUrl.indexOf('?') !== -1) {
|
|
50418
|
+
if (this.bodyFileUrl.indexOf('?') !== -1 && this.viewBodyFileShow === 'pdf') {
|
|
50375
50419
|
this.iframeBodyFile = this.$refs.iframeBodyFile.contentWindow;
|
|
50376
50420
|
setTimeout(function () {
|
|
50377
50421
|
if (_this.iframeBodyFile && _this.iframeBodyFile.loadBodyFileType) {
|
|
@@ -50605,13 +50649,13 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
|
|
|
50605
50649
|
});
|
|
50606
50650
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
|
|
50607
50651
|
/* 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=
|
|
50652
|
+
// 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=93095d9a&prod&scoped=true&lang=scss
|
|
50653
|
+
var srcvue_type_style_index_0_id_93095d9a_prod_scoped_true_lang_scss = __webpack_require__(6242);
|
|
50654
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=93095d9a&prod&scoped=true&lang=scss
|
|
50611
50655
|
|
|
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=
|
|
50656
|
+
// 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=93095d9a&prod&lang=css
|
|
50657
|
+
var srcvue_type_style_index_1_id_93095d9a_prod_lang_css = __webpack_require__(7964);
|
|
50658
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=93095d9a&prod&lang=css
|
|
50615
50659
|
|
|
50616
50660
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
|
|
50617
50661
|
|
|
@@ -50625,11 +50669,11 @@ var srcvue_type_style_index_1_id_79727f6b_prod_lang_css = __webpack_require__(14
|
|
|
50625
50669
|
|
|
50626
50670
|
var PdfTools_src_component = (0,componentNormalizer/* default */.A)(
|
|
50627
50671
|
ecmapp_PdfTools_srcvue_type_script_lang_js,
|
|
50628
|
-
|
|
50629
|
-
|
|
50672
|
+
srcvue_type_template_id_93095d9a_scoped_true_render,
|
|
50673
|
+
srcvue_type_template_id_93095d9a_scoped_true_staticRenderFns,
|
|
50630
50674
|
false,
|
|
50631
50675
|
null,
|
|
50632
|
-
"
|
|
50676
|
+
"93095d9a",
|
|
50633
50677
|
null
|
|
50634
50678
|
|
|
50635
50679
|
)
|
|
@@ -54109,8 +54153,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
54109
54153
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
54110
54154
|
};
|
|
54111
54155
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
54112
|
-
;// 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/Attachment.vue?vue&type=template&id=
|
|
54113
|
-
var
|
|
54156
|
+
;// 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/Attachment.vue?vue&type=template&id=058b5db4&scoped=true
|
|
54157
|
+
var Attachmentvue_type_template_id_058b5db4_scoped_true_render = function render() {
|
|
54114
54158
|
var _vm = this,
|
|
54115
54159
|
_c = _vm._self._c;
|
|
54116
54160
|
return _c('div', {
|
|
@@ -54368,7 +54412,7 @@ var Attachmentvue_type_template_id_95b73144_scoped_true_render = function render
|
|
|
54368
54412
|
}
|
|
54369
54413
|
})], 1) : _vm._e()], 1);
|
|
54370
54414
|
};
|
|
54371
|
-
var
|
|
54415
|
+
var Attachmentvue_type_template_id_058b5db4_scoped_true_staticRenderFns = [];
|
|
54372
54416
|
|
|
54373
54417
|
;// 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/Attachment.vue?vue&type=script&lang=js
|
|
54374
54418
|
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); }
|
|
@@ -55099,7 +55143,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55099
55143
|
$scope.wfInstance.haveDoc = 2;
|
|
55100
55144
|
} else if (docEditMode === 'NoTitle') {
|
|
55101
55145
|
// 无红头模式 上传 pdf 的话 默认为红头文件 其他则认为无红头文件 (doc,docx)
|
|
55102
|
-
if (extName === '.pdf') {
|
|
55146
|
+
if (extName === '.pdf' || extName === '.ofd') {
|
|
55103
55147
|
$scope.wfInstance.haveDoc = 2;
|
|
55104
55148
|
} else {
|
|
55105
55149
|
$scope.wfInstance.haveDoc = 1;
|
|
@@ -55162,8 +55206,10 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55162
55206
|
_this.attachments.forEach(function (iattach, iindex) {
|
|
55163
55207
|
if (file === iattach.file) {
|
|
55164
55208
|
if (uploadRst.body.uploadAttachList.length === 2) {
|
|
55209
|
+
;
|
|
55165
55210
|
($scope.attachments || $scope.vo.passenger.attachments || _this9.attachments).splice(iindex, 1, uploadRst.body.uploadAttachList[0], uploadRst.body.uploadAttachList[1]);
|
|
55166
55211
|
} else {
|
|
55212
|
+
;
|
|
55167
55213
|
($scope.attachments || $scope.vo.passenger.attachments || _this9.attachments).splice(iindex, 1, uploadRst.body.uploadAttachList[0]);
|
|
55168
55214
|
}
|
|
55169
55215
|
}
|
|
@@ -55217,9 +55263,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55217
55263
|
});
|
|
55218
55264
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
55219
55265
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
55220
|
-
// 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/Attachment.vue?vue&type=style&index=0&id=
|
|
55221
|
-
var
|
|
55222
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
55266
|
+
// 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/Attachment.vue?vue&type=style&index=0&id=058b5db4&prod&scoped=true&lang=scss
|
|
55267
|
+
var Attachmentvue_type_style_index_0_id_058b5db4_prod_scoped_true_lang_scss = __webpack_require__(7347);
|
|
55268
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=058b5db4&prod&scoped=true&lang=scss
|
|
55223
55269
|
|
|
55224
55270
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
55225
55271
|
|
|
@@ -55232,18 +55278,18 @@ var Attachmentvue_type_style_index_0_id_95b73144_prod_scoped_true_lang_scss = __
|
|
|
55232
55278
|
|
|
55233
55279
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
55234
55280
|
src_Attachmentvue_type_script_lang_js,
|
|
55235
|
-
|
|
55236
|
-
|
|
55281
|
+
Attachmentvue_type_template_id_058b5db4_scoped_true_render,
|
|
55282
|
+
Attachmentvue_type_template_id_058b5db4_scoped_true_staticRenderFns,
|
|
55237
55283
|
false,
|
|
55238
55284
|
null,
|
|
55239
|
-
"
|
|
55285
|
+
"058b5db4",
|
|
55240
55286
|
null
|
|
55241
55287
|
|
|
55242
55288
|
)
|
|
55243
55289
|
|
|
55244
55290
|
/* 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
|
|
55291
|
+
;// 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=b7fe96e0&scoped=true
|
|
55292
|
+
var BodyFilevue_type_template_id_b7fe96e0_scoped_true_render = function render() {
|
|
55247
55293
|
var _vm = this,
|
|
55248
55294
|
_c = _vm._self._c;
|
|
55249
55295
|
return _c('div', {
|
|
@@ -55290,7 +55336,8 @@ var BodyFilevue_type_template_id_2393f688_scoped_true_render = function render()
|
|
|
55290
55336
|
"body-file-url": _vm.bodyFileUrl,
|
|
55291
55337
|
"bodyfile": _vm.flBodyfile,
|
|
55292
55338
|
"sign": _vm.sign,
|
|
55293
|
-
"seal": _vm.seal
|
|
55339
|
+
"seal": _vm.seal,
|
|
55340
|
+
"view-body-file-show": _vm.viewBodyFileShow
|
|
55294
55341
|
}
|
|
55295
55342
|
}) : _vm.downloadurl !== null ? _c('div', {
|
|
55296
55343
|
staticStyle: {
|
|
@@ -55565,7 +55612,7 @@ var BodyFilevue_type_template_id_2393f688_scoped_true_render = function render()
|
|
|
55565
55612
|
})])]) : _vm._e()]) : _vm._e()];
|
|
55566
55613
|
})], 2)])], 1);
|
|
55567
55614
|
};
|
|
55568
|
-
var
|
|
55615
|
+
var BodyFilevue_type_template_id_b7fe96e0_scoped_true_staticRenderFns = [];
|
|
55569
55616
|
|
|
55570
55617
|
;// 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
55618
|
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 +55658,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55611
55658
|
},
|
|
55612
55659
|
accept: {
|
|
55613
55660
|
type: String,
|
|
55614
|
-
default: '.doc,.pdf'
|
|
55661
|
+
default: '.doc,.pdf,.ofd'
|
|
55615
55662
|
},
|
|
55616
55663
|
viewer: {
|
|
55617
55664
|
type: String,
|
|
@@ -55670,7 +55717,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55670
55717
|
attachmentsNum: null,
|
|
55671
55718
|
pdfSignChange: false,
|
|
55672
55719
|
// 签名状态
|
|
55673
|
-
pdfSealChange: false
|
|
55720
|
+
pdfSealChange: false,
|
|
55721
|
+
// 印章状态
|
|
55722
|
+
viewBodyFileShow: ''
|
|
55674
55723
|
};
|
|
55675
55724
|
},
|
|
55676
55725
|
computed: {},
|
|
@@ -55720,6 +55769,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55720
55769
|
}
|
|
55721
55770
|
var _this = this;
|
|
55722
55771
|
if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (this.viewer === 'pdfjs' || this.sign || this.seal)) {
|
|
55772
|
+
this.viewBodyFileShow = 'pdf';
|
|
55723
55773
|
if (this.sign || this.seal) {
|
|
55724
55774
|
this.waterMark = false;
|
|
55725
55775
|
}
|
|
@@ -55744,6 +55794,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
55744
55794
|
};
|
|
55745
55795
|
}
|
|
55746
55796
|
});
|
|
55797
|
+
} else if (extName === '.ofd') {
|
|
55798
|
+
this.sign = false;
|
|
55799
|
+
this.seal = false;
|
|
55800
|
+
this.viewBodyFileShow = 'ofd';
|
|
55801
|
+
var _fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&widthType=auto&viewType=mobile';
|
|
55802
|
+
if (this.flBodyfile.fileName.indexOf('{') !== -1 || this.flBodyfile.fileName.indexOf('%') !== -1 || this.flBodyfile.fileName.indexOf('[') !== -1) {
|
|
55803
|
+
_fileurl += '&fileName=' + encodeURIComponent(this.flBodyfile.fileName);
|
|
55804
|
+
} else {
|
|
55805
|
+
_fileurl += '&fileName=' + this.flBodyfile.fileName;
|
|
55806
|
+
}
|
|
55807
|
+
_fileurl += '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
|
|
55808
|
+
this.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
|
|
55809
|
+
_this.loaded = false;
|
|
55747
55810
|
} else if (this.viewer.indexOf('dcs=') === 0) {
|
|
55748
55811
|
this.sign = false;
|
|
55749
55812
|
this.seal = false;
|
|
@@ -56376,9 +56439,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
56376
56439
|
});
|
|
56377
56440
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
56378
56441
|
/* 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=
|
|
56442
|
+
// 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=b7fe96e0&prod&scoped=true&lang=scss
|
|
56443
|
+
var BodyFilevue_type_style_index_0_id_b7fe96e0_prod_scoped_true_lang_scss = __webpack_require__(6660);
|
|
56444
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=b7fe96e0&prod&scoped=true&lang=scss
|
|
56382
56445
|
|
|
56383
56446
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
56384
56447
|
|
|
@@ -56391,11 +56454,11 @@ var BodyFilevue_type_style_index_0_id_2393f688_prod_scoped_true_lang_scss = __we
|
|
|
56391
56454
|
|
|
56392
56455
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
56393
56456
|
src_BodyFilevue_type_script_lang_js,
|
|
56394
|
-
|
|
56395
|
-
|
|
56457
|
+
BodyFilevue_type_template_id_b7fe96e0_scoped_true_render,
|
|
56458
|
+
BodyFilevue_type_template_id_b7fe96e0_scoped_true_staticRenderFns,
|
|
56396
56459
|
false,
|
|
56397
56460
|
null,
|
|
56398
|
-
"
|
|
56461
|
+
"b7fe96e0",
|
|
56399
56462
|
null
|
|
56400
56463
|
|
|
56401
56464
|
)
|