ecinc-cloud-mappaio 9.6.5 → 9.6.7
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 +272 -284
- package/lib/ecmappaio.umd.js +272 -284
- package/lib/ecmappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -7188,7 +7188,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
|
|
|
7188
7188
|
|
|
7189
7189
|
/***/ }),
|
|
7190
7190
|
|
|
7191
|
-
/***/
|
|
7191
|
+
/***/ 2121:
|
|
7192
7192
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7193
7193
|
|
|
7194
7194
|
"use strict";
|
|
@@ -7202,14 +7202,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7202
7202
|
|
|
7203
7203
|
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()));
|
|
7204
7204
|
// Module
|
|
7205
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7205
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-2c9f8b86],.wfattach-container[data-v-2c9f8b86] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-2c9f8b86] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-2c9f8b86] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-2c9f8b86] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-2c9f8b86] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-2c9f8b86] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-2c9f8b86] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-2c9f8b86]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-2c9f8b86]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-2c9f8b86]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-2c9f8b86]: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-2c9f8b86]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-2c9f8b86]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-2c9f8b86]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-2c9f8b86]{position:relative}.van-attachment-field[data-v-2c9f8b86]: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)}", ""]);
|
|
7206
7206
|
// Exports
|
|
7207
7207
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7208
7208
|
|
|
7209
7209
|
|
|
7210
7210
|
/***/ }),
|
|
7211
7211
|
|
|
7212
|
-
/***/
|
|
7212
|
+
/***/ 4196:
|
|
7213
7213
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7214
7214
|
|
|
7215
7215
|
"use strict";
|
|
@@ -7223,7 +7223,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7223
7223
|
|
|
7224
7224
|
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()));
|
|
7225
7225
|
// Module
|
|
7226
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-
|
|
7226
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-050d799f]{margin-top:100px;text-align:center}.upload-progress[data-v-050d799f]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-050d799f]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-050d799f]{font-size:70px}.file-svg-icon .svg-icon[data-v-050d799f]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-050d799f]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-050d799f]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-050d799f]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-050d799f]{font-size:16px;margin-right:10px}[data-v-050d799f] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-050d799f]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-050d799f]{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-050d799f],.attachmentContent .attachmentContent_son .icon_right[data-v-050d799f]{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-050d799f]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-050d799f]{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-050d799f]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-050d799f] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-050d799f] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
|
|
7227
7227
|
// Exports
|
|
7228
7228
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7229
7229
|
|
|
@@ -32386,35 +32386,35 @@ var update = add("a502c74c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32386
32386
|
|
|
32387
32387
|
/***/ }),
|
|
32388
32388
|
|
|
32389
|
-
/***/
|
|
32389
|
+
/***/ 799:
|
|
32390
32390
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32391
32391
|
|
|
32392
32392
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32393
32393
|
|
|
32394
32394
|
// load the styles
|
|
32395
|
-
var content = __webpack_require__(
|
|
32395
|
+
var content = __webpack_require__(2121);
|
|
32396
32396
|
if(content.__esModule) content = content.default;
|
|
32397
32397
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32398
32398
|
if(content.locals) module.exports = content.locals;
|
|
32399
32399
|
// add the styles to the DOM
|
|
32400
32400
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32401
|
-
var update = add("
|
|
32401
|
+
var update = add("4d010f29", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32402
32402
|
|
|
32403
32403
|
/***/ }),
|
|
32404
32404
|
|
|
32405
|
-
/***/
|
|
32405
|
+
/***/ 6634:
|
|
32406
32406
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32407
32407
|
|
|
32408
32408
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32409
32409
|
|
|
32410
32410
|
// load the styles
|
|
32411
|
-
var content = __webpack_require__(
|
|
32411
|
+
var content = __webpack_require__(4196);
|
|
32412
32412
|
if(content.__esModule) content = content.default;
|
|
32413
32413
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32414
32414
|
if(content.locals) module.exports = content.locals;
|
|
32415
32415
|
// add the styles to the DOM
|
|
32416
32416
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32417
|
-
var update = add("
|
|
32417
|
+
var update = add("328a664b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32418
32418
|
|
|
32419
32419
|
/***/ }),
|
|
32420
32420
|
|
|
@@ -55749,8 +55749,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
55749
55749
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
55750
55750
|
};
|
|
55751
55751
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
55752
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=
|
|
55753
|
-
var
|
|
55752
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=2c9f8b86&scoped=true
|
|
55753
|
+
var Attachmentvue_type_template_id_2c9f8b86_scoped_true_render = function render() {
|
|
55754
55754
|
var _vm = this,
|
|
55755
55755
|
_c = _vm._self._c;
|
|
55756
55756
|
return _c('div', {
|
|
@@ -56011,7 +56011,7 @@ var Attachmentvue_type_template_id_25aa7e12_scoped_true_render = function render
|
|
|
56011
56011
|
}
|
|
56012
56012
|
})], 1) : _vm._e()], 1);
|
|
56013
56013
|
};
|
|
56014
|
-
var
|
|
56014
|
+
var Attachmentvue_type_template_id_2c9f8b86_scoped_true_staticRenderFns = [];
|
|
56015
56015
|
|
|
56016
56016
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
56017
56017
|
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); }
|
|
@@ -56736,7 +56736,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56736
56736
|
_this.$set($scope, 'bodyfile', attach);
|
|
56737
56737
|
if (typeof $scope.vo.flBodyFilename !== 'undefined') $scope.vo.flBodyFilename = attach.fileName;
|
|
56738
56738
|
}
|
|
56739
|
-
if (attach.fileName && attach.fileName.substring(attach.fileName.length - 4) === '.pdf') {
|
|
56739
|
+
if (attach.fileName && (attach.fileName.substring(attach.fileName.length - 4) === '.pdf' || attach.fileName.substring(attach.fileName.length - 4) === '.ofd')) {
|
|
56740
56740
|
_this.$bus.emit('onUploadProgress', attach);
|
|
56741
56741
|
}
|
|
56742
56742
|
});
|
|
@@ -56872,9 +56872,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56872
56872
|
});
|
|
56873
56873
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
56874
56874
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
56875
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
56876
|
-
var
|
|
56877
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
56875
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=2c9f8b86&prod&scoped=true&lang=scss
|
|
56876
|
+
var Attachmentvue_type_style_index_0_id_2c9f8b86_prod_scoped_true_lang_scss = __webpack_require__(799);
|
|
56877
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=2c9f8b86&prod&scoped=true&lang=scss
|
|
56878
56878
|
|
|
56879
56879
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
56880
56880
|
|
|
@@ -56887,18 +56887,18 @@ var Attachmentvue_type_style_index_0_id_25aa7e12_prod_scoped_true_lang_scss = __
|
|
|
56887
56887
|
|
|
56888
56888
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
56889
56889
|
src_Attachmentvue_type_script_lang_js,
|
|
56890
|
-
|
|
56891
|
-
|
|
56890
|
+
Attachmentvue_type_template_id_2c9f8b86_scoped_true_render,
|
|
56891
|
+
Attachmentvue_type_template_id_2c9f8b86_scoped_true_staticRenderFns,
|
|
56892
56892
|
false,
|
|
56893
56893
|
null,
|
|
56894
|
-
"
|
|
56894
|
+
"2c9f8b86",
|
|
56895
56895
|
null
|
|
56896
56896
|
|
|
56897
56897
|
)
|
|
56898
56898
|
|
|
56899
56899
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
56900
|
-
;// 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=
|
|
56901
|
-
var
|
|
56900
|
+
;// 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=050d799f&scoped=true
|
|
56901
|
+
var BodyFilevue_type_template_id_050d799f_scoped_true_render = function render() {
|
|
56902
56902
|
var _vm = this,
|
|
56903
56903
|
_c = _vm._self._c;
|
|
56904
56904
|
return _c('div', {
|
|
@@ -57262,7 +57262,7 @@ var BodyFilevue_type_template_id_38af2d59_scoped_true_render = function render()
|
|
|
57262
57262
|
})])]) : _vm._e()]) : _vm._e()];
|
|
57263
57263
|
})], 2)])], 1);
|
|
57264
57264
|
};
|
|
57265
|
-
var
|
|
57265
|
+
var BodyFilevue_type_template_id_050d799f_scoped_true_staticRenderFns = [];
|
|
57266
57266
|
|
|
57267
57267
|
;// 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
|
|
57268
57268
|
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); }
|
|
@@ -57403,44 +57403,13 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57403
57403
|
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
57404
57404
|
while (1) switch (_context.prev = _context.next) {
|
|
57405
57405
|
case 0:
|
|
57406
|
-
|
|
57407
|
-
|
|
57408
|
-
|
|
57409
|
-
|
|
57410
|
-
}
|
|
57411
|
-
// if (this.$vnode.context.wfInstance.passenger.onlineViewer === 'fuxin') {
|
|
57412
|
-
console.log('this.viewer', _this2);
|
|
57413
|
-
if (!(_this2.viewer === 'fuxin' && !_this2.fuxinBaseUrl)) {
|
|
57414
|
-
_context.next = 8;
|
|
57415
|
-
break;
|
|
57416
|
-
}
|
|
57417
|
-
_context.next = 6;
|
|
57418
|
-
return _this2.$http({
|
|
57419
|
-
method: 'get',
|
|
57420
|
-
contentType: 'application/x-www-form-urlencoded',
|
|
57421
|
-
url: 'base/paramConfig/findParamValueByName?orgCode=standard¶mName=fuxin.viewer.url'
|
|
57422
|
-
}).then(function (res) {
|
|
57423
|
-
if (res.code === 'success') {
|
|
57424
|
-
_this2.fuxinBaseUrl = res.body.value;
|
|
57425
|
-
_this2.onlineViewer = 'fuxin';
|
|
57426
|
-
} else {
|
|
57427
|
-
_this2.onlineViewer = 'pdfjs';
|
|
57428
|
-
}
|
|
57429
|
-
});
|
|
57430
|
-
case 6:
|
|
57431
|
-
_context.next = 9;
|
|
57432
|
-
break;
|
|
57433
|
-
case 8:
|
|
57434
|
-
if (_this2.viewer === 'fuxin' && _this2.fuxinBaseUrl) {
|
|
57435
|
-
_this2.onlineViewer = _this2.viewer;
|
|
57436
|
-
} else {
|
|
57437
|
-
_this2.onlineViewer = _this2.viewer || 'pdfjs';
|
|
57406
|
+
console.log('onTabChanged', tabActive);
|
|
57407
|
+
console.log('this.wflowNavbarList', _this2.wflowNavbarList);
|
|
57408
|
+
if (_this2.wflowNavbarList[tabActive] === 'BodyFile') {
|
|
57409
|
+
_this2.viewBodyFile();
|
|
57438
57410
|
}
|
|
57439
|
-
case 9:
|
|
57440
|
-
_this2.viewBodyFile();
|
|
57441
|
-
case 10:
|
|
57442
57411
|
_this2.setFooterBtns(tabActive);
|
|
57443
|
-
case
|
|
57412
|
+
case 4:
|
|
57444
57413
|
case "end":
|
|
57445
57414
|
return _context.stop();
|
|
57446
57415
|
}
|
|
@@ -57460,6 +57429,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57460
57429
|
}
|
|
57461
57430
|
return _context2.abrupt("return");
|
|
57462
57431
|
case 2:
|
|
57432
|
+
_this3.viewBodyFileShow = '';
|
|
57463
57433
|
_this3.downloadurl = null;
|
|
57464
57434
|
_this3.bodyFileUrl = '';
|
|
57465
57435
|
_this3.flBodyfileBak = _this3.flBodyfile;
|
|
@@ -57477,7 +57447,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57477
57447
|
_this3.sign = false;
|
|
57478
57448
|
}
|
|
57479
57449
|
_this = _this3;
|
|
57480
|
-
if (!(extName === '.ofd' && _this3.
|
|
57450
|
+
if (!(extName === '.ofd' && _this3.viewer === 'fuxin')) {
|
|
57481
57451
|
_context2.next = 28;
|
|
57482
57452
|
break;
|
|
57483
57453
|
}
|
|
@@ -57485,16 +57455,14 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57485
57455
|
if (appUrl.indexOf('/mindex.html') > -1) {
|
|
57486
57456
|
appUrl = appUrl.split('/mindex.html')[0];
|
|
57487
57457
|
}
|
|
57488
|
-
_context2.next =
|
|
57458
|
+
_context2.next = 17;
|
|
57489
57459
|
return _this3.getSessionId();
|
|
57490
|
-
case
|
|
57460
|
+
case 17:
|
|
57491
57461
|
tSessionId = _context2.sent;
|
|
57492
57462
|
downUrl = appUrl + "/apigw";
|
|
57493
57463
|
downUrl += _this3.wfAttachUrl.substring(0, 1) === '/' ? _this3.wfAttachUrl : '/' + _this3.wfAttachUrl;
|
|
57494
57464
|
downUrl += '/downloadById?attachIds=' + _this3.flBodyfile.id + '&topdf=true';
|
|
57495
|
-
// downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
|
|
57496
57465
|
downUrl += '&tSessionId=' + tSessionId;
|
|
57497
|
-
console.log(downUrl);
|
|
57498
57466
|
if (_this3.fuxinBaseUrl) {
|
|
57499
57467
|
_this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
|
|
57500
57468
|
_this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
|
|
@@ -57637,201 +57605,221 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57637
57605
|
},
|
|
57638
57606
|
setFooterBtns: function setFooterBtns(tabActive) {
|
|
57639
57607
|
var _this6 = this;
|
|
57640
|
-
|
|
57641
|
-
|
|
57642
|
-
|
|
57643
|
-
|
|
57644
|
-
|
|
57645
|
-
|
|
57646
|
-
|
|
57647
|
-
|
|
57648
|
-
|
|
57649
|
-
|
|
57650
|
-
|
|
57651
|
-
|
|
57652
|
-
|
|
57653
|
-
|
|
57654
|
-
|
|
57655
|
-
|
|
57656
|
-
|
|
57657
|
-
|
|
57658
|
-
|
|
57659
|
-
|
|
57660
|
-
|
|
57661
|
-
|
|
57662
|
-
|
|
57663
|
-
|
|
57664
|
-
|
|
57665
|
-
|
|
57666
|
-
|
|
57667
|
-
|
|
57668
|
-
|
|
57669
|
-
|
|
57670
|
-
|
|
57671
|
-
|
|
57672
|
-
|
|
57673
|
-
|
|
57608
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
57609
|
+
var footerBtns, i, btn, isSeal, bodyFileList, openDocBtn, _openDocBtn, downloadBtn, historyFilesBtn, otherAppBtn, uploadBtn, _uploadBtn, editdocBtn, RedTitleBtn, _openDocBtn2, attachmentsTitleBtn, moreBtns, _i;
|
|
57610
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
57611
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
57612
|
+
case 0:
|
|
57613
|
+
footerBtns = [];
|
|
57614
|
+
if (!(_this6.wflowNavbarList[tabActive] !== 'BodyFile')) {
|
|
57615
|
+
_context3.next = 5;
|
|
57616
|
+
break;
|
|
57617
|
+
}
|
|
57618
|
+
_this6.$vnode.context.setFooterBtns();
|
|
57619
|
+
_context3.next = 22;
|
|
57620
|
+
break;
|
|
57621
|
+
case 5:
|
|
57622
|
+
if (!_this6.pdfSealChange) {
|
|
57623
|
+
_context3.next = 8;
|
|
57624
|
+
break;
|
|
57625
|
+
}
|
|
57626
|
+
_this6.setBtnSealSave();
|
|
57627
|
+
return _context3.abrupt("return");
|
|
57628
|
+
case 8:
|
|
57629
|
+
if (!_this6.pdfSignChange) {
|
|
57630
|
+
_context3.next = 11;
|
|
57631
|
+
break;
|
|
57632
|
+
}
|
|
57633
|
+
_this6.setBtnSingSave();
|
|
57634
|
+
return _context3.abrupt("return");
|
|
57635
|
+
case 11:
|
|
57636
|
+
for (i = 0; i < footerBtns.length; i++) {
|
|
57637
|
+
btn = footerBtns[i];
|
|
57638
|
+
if (btn.id !== 'btn_submit') {
|
|
57639
|
+
footerBtns.splice(i--, 1);
|
|
57640
|
+
}
|
|
57641
|
+
}
|
|
57642
|
+
isSeal = false;
|
|
57643
|
+
if (_this6.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
57644
|
+
// 套红模式下需要先套红在盖章
|
|
57645
|
+
console.log(_this6.attachments, 'attachment');
|
|
57646
|
+
bodyFileList = _this6.attachments.filter(function (item) {
|
|
57647
|
+
return item.fileType === 'BODY';
|
|
57648
|
+
});
|
|
57649
|
+
if (bodyFileList && bodyFileList.length > 0) {
|
|
57650
|
+
if (bodyFileList.length === 1) {
|
|
57651
|
+
isSeal = true;
|
|
57652
|
+
} else {
|
|
57653
|
+
bodyFileList.forEach(function (item) {
|
|
57654
|
+
var fileName = item.fileName;
|
|
57655
|
+
var bodyFileName = item.bodyFileName ? item.bodyFileName : item.fileName;
|
|
57656
|
+
if (bodyFileName.includes('RedTitle_') || bodyFileName === _this6.$vnode.context.vo.flbodyfilename || fileName === _this6.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
|
|
57657
|
+
isSeal = true;
|
|
57658
|
+
}
|
|
57659
|
+
});
|
|
57660
|
+
}
|
|
57661
|
+
}
|
|
57662
|
+
} else {
|
|
57663
|
+
// 非套红模式下可直接盖章
|
|
57664
|
+
isSeal = true;
|
|
57665
|
+
}
|
|
57666
|
+
if (_this6.curTN.tnCanEdit === 1) {
|
|
57667
|
+
if (_this6.seal && isSeal) {
|
|
57668
|
+
openDocBtn = {
|
|
57669
|
+
id: 'btn_openDoc',
|
|
57670
|
+
btnName: '盖 章',
|
|
57671
|
+
btnIcon: 'upload',
|
|
57672
|
+
btnClick: _this6.openSeal,
|
|
57673
|
+
btnPermission: '',
|
|
57674
|
+
btnStyleType: 'default'
|
|
57675
|
+
};
|
|
57676
|
+
footerBtns.splice(0, 0, openDocBtn);
|
|
57677
|
+
}
|
|
57678
|
+
if (_this6.sign && isSeal) {
|
|
57679
|
+
_openDocBtn = {
|
|
57680
|
+
id: 'btn_openDoc',
|
|
57681
|
+
btnName: '签 名',
|
|
57682
|
+
btnIcon: 'upload',
|
|
57683
|
+
btnClick: _this6.pdfSign,
|
|
57684
|
+
btnPermission: '',
|
|
57685
|
+
btnStyleType: 'default'
|
|
57686
|
+
};
|
|
57687
|
+
footerBtns.splice(0, 0, _openDocBtn);
|
|
57688
|
+
}
|
|
57689
|
+
}
|
|
57690
|
+
if (_this6.flBodyfile) {
|
|
57691
|
+
downloadBtn = {
|
|
57692
|
+
id: 'btn_download',
|
|
57693
|
+
btnName: '下 载',
|
|
57694
|
+
btnIcon: 'download',
|
|
57695
|
+
btnClick: _this6.downLoadFile,
|
|
57696
|
+
btnPermission: '',
|
|
57697
|
+
btnStyleType: 'default'
|
|
57698
|
+
};
|
|
57699
|
+
footerBtns.splice(0, 0, downloadBtn);
|
|
57700
|
+
}
|
|
57701
|
+
if (_this6.flBodyfile && _this6.flBodyfile.fileId) {
|
|
57702
|
+
historyFilesBtn = {
|
|
57703
|
+
id: 'btn_historyFiles',
|
|
57704
|
+
btnName: '历史版本',
|
|
57705
|
+
btnIcon: 'upload',
|
|
57706
|
+
btnClick: _this6.btnViewHistoryFilesClick,
|
|
57707
|
+
btnPermission: '',
|
|
57708
|
+
btnStyleType: 'default'
|
|
57709
|
+
};
|
|
57710
|
+
footerBtns.splice(0, 0, historyFilesBtn);
|
|
57711
|
+
}
|
|
57712
|
+
if (window.mappType === 'ecinc') {
|
|
57713
|
+
otherAppBtn = {
|
|
57714
|
+
id: 'btn_otherApp',
|
|
57715
|
+
btnName: '其它应用打开',
|
|
57716
|
+
btnIcon: 'otherApp',
|
|
57717
|
+
btnClick: _this6.btnOtherAppOpenClick,
|
|
57718
|
+
btnPermission: '',
|
|
57719
|
+
btnStyleType: 'default'
|
|
57720
|
+
};
|
|
57721
|
+
footerBtns.splice(0, 0, otherAppBtn);
|
|
57722
|
+
}
|
|
57723
|
+
if (_this6.curTN.tnCanEdit === 1) {
|
|
57724
|
+
if (!_this6.flBodyfile || !_this6.flBodyfile.id) {
|
|
57725
|
+
uploadBtn = {
|
|
57726
|
+
id: 'btn_upload',
|
|
57727
|
+
btnName: '上传正文',
|
|
57728
|
+
btnIcon: 'upload',
|
|
57729
|
+
btnClick: _this6.btnUploadBodyfileClick,
|
|
57730
|
+
btnPermission: '',
|
|
57731
|
+
btnStyleType: 'default'
|
|
57732
|
+
};
|
|
57733
|
+
footerBtns.splice(0, 0, uploadBtn);
|
|
57734
|
+
} else {
|
|
57735
|
+
_uploadBtn = {
|
|
57736
|
+
id: 'btn_upload',
|
|
57737
|
+
btnName: '重新上传',
|
|
57738
|
+
btnIcon: 'upload',
|
|
57739
|
+
btnClick: _this6.btnUploadBodyfileClick,
|
|
57740
|
+
btnPermission: '',
|
|
57741
|
+
btnStyleType: 'default'
|
|
57742
|
+
};
|
|
57743
|
+
footerBtns.splice(0, 0, _uploadBtn);
|
|
57744
|
+
}
|
|
57745
|
+
editdocBtn = _this6.$vnode.context.commandBar.filter(function (btn) {
|
|
57746
|
+
if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnOpenWordClick') === 0) return true;
|
|
57747
|
+
});
|
|
57748
|
+
if (_this6.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
57749
|
+
// 套红按钮
|
|
57750
|
+
RedTitleBtn = _this6.$vnode.context.commandBar.filter(function (btn) {
|
|
57751
|
+
if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnNoTitleModifyFlTypeClick') === 0) return true;
|
|
57752
|
+
});
|
|
57753
|
+
RedTitleBtn.btnClick = _this6.btnNoTitleModifyFlTypeClick;
|
|
57754
|
+
if (_this6.$vnode.context.wfInstance.haveDoc === 2 && editdocBtn.length > 0) {
|
|
57755
|
+
RedTitleBtn.btnName = '重新套红';
|
|
57756
|
+
footerBtns.splice(0, 0, RedTitleBtn);
|
|
57757
|
+
} else if (_this6.$vnode.context.wfInstance.haveDoc === 1 && editdocBtn.length > 0) {
|
|
57758
|
+
RedTitleBtn.btnName = '套红';
|
|
57759
|
+
footerBtns.splice(0, 0, RedTitleBtn);
|
|
57760
|
+
}
|
|
57674
57761
|
}
|
|
57675
|
-
});
|
|
57676
|
-
}
|
|
57677
|
-
}
|
|
57678
|
-
} else {
|
|
57679
|
-
// 非套红模式下可直接盖章
|
|
57680
|
-
isSeal = true;
|
|
57681
|
-
}
|
|
57682
|
-
if (this.curTN.tnCanEdit === 1) {
|
|
57683
|
-
if (this.seal && isSeal) {
|
|
57684
|
-
var openDocBtn = {
|
|
57685
|
-
id: 'btn_openDoc',
|
|
57686
|
-
btnName: '盖 章',
|
|
57687
|
-
btnIcon: 'upload',
|
|
57688
|
-
btnClick: this.openSeal,
|
|
57689
|
-
btnPermission: '',
|
|
57690
|
-
btnStyleType: 'default'
|
|
57691
|
-
};
|
|
57692
|
-
footerBtns.splice(0, 0, openDocBtn);
|
|
57693
|
-
}
|
|
57694
|
-
if (this.sign && isSeal) {
|
|
57695
|
-
var _openDocBtn = {
|
|
57696
|
-
id: 'btn_openDoc',
|
|
57697
|
-
btnName: '签 名',
|
|
57698
|
-
btnIcon: 'upload',
|
|
57699
|
-
btnClick: this.pdfSign,
|
|
57700
|
-
btnPermission: '',
|
|
57701
|
-
btnStyleType: 'default'
|
|
57702
|
-
};
|
|
57703
|
-
footerBtns.splice(0, 0, _openDocBtn);
|
|
57704
|
-
}
|
|
57705
|
-
}
|
|
57706
|
-
if (this.flBodyfile) {
|
|
57707
|
-
var downloadBtn = {
|
|
57708
|
-
id: 'btn_download',
|
|
57709
|
-
btnName: '下 载',
|
|
57710
|
-
btnIcon: 'download',
|
|
57711
|
-
btnClick: this.downLoadFile,
|
|
57712
|
-
btnPermission: '',
|
|
57713
|
-
btnStyleType: 'default'
|
|
57714
|
-
};
|
|
57715
|
-
footerBtns.splice(0, 0, downloadBtn);
|
|
57716
|
-
}
|
|
57717
|
-
if (this.flBodyfile && this.flBodyfile.fileId) {
|
|
57718
|
-
var historyFilesBtn = {
|
|
57719
|
-
id: 'btn_historyFiles',
|
|
57720
|
-
btnName: '历史版本',
|
|
57721
|
-
btnIcon: 'upload',
|
|
57722
|
-
btnClick: this.btnViewHistoryFilesClick,
|
|
57723
|
-
btnPermission: '',
|
|
57724
|
-
btnStyleType: 'default'
|
|
57725
|
-
};
|
|
57726
|
-
footerBtns.splice(0, 0, historyFilesBtn);
|
|
57727
|
-
}
|
|
57728
|
-
if (window.mappType === 'ecinc') {
|
|
57729
|
-
var otherAppBtn = {
|
|
57730
|
-
id: 'btn_otherApp',
|
|
57731
|
-
btnName: '其它应用打开',
|
|
57732
|
-
btnIcon: 'otherApp',
|
|
57733
|
-
btnClick: this.btnOtherAppOpenClick,
|
|
57734
|
-
btnPermission: '',
|
|
57735
|
-
btnStyleType: 'default'
|
|
57736
|
-
};
|
|
57737
|
-
footerBtns.splice(0, 0, otherAppBtn);
|
|
57738
|
-
}
|
|
57739
|
-
if (this.curTN.tnCanEdit === 1) {
|
|
57740
|
-
if (!this.flBodyfile || !this.flBodyfile.id) {
|
|
57741
|
-
var uploadBtn = {
|
|
57742
|
-
id: 'btn_upload',
|
|
57743
|
-
btnName: '上传正文',
|
|
57744
|
-
btnIcon: 'upload',
|
|
57745
|
-
btnClick: this.btnUploadBodyfileClick,
|
|
57746
|
-
btnPermission: '',
|
|
57747
|
-
btnStyleType: 'default'
|
|
57748
|
-
};
|
|
57749
|
-
footerBtns.splice(0, 0, uploadBtn);
|
|
57750
|
-
} else {
|
|
57751
|
-
var _uploadBtn = {
|
|
57752
|
-
id: 'btn_upload',
|
|
57753
|
-
btnName: '重新上传',
|
|
57754
|
-
btnIcon: 'upload',
|
|
57755
|
-
btnClick: this.btnUploadBodyfileClick,
|
|
57756
|
-
btnPermission: '',
|
|
57757
|
-
btnStyleType: 'default'
|
|
57758
|
-
};
|
|
57759
|
-
footerBtns.splice(0, 0, _uploadBtn);
|
|
57760
|
-
}
|
|
57761
|
-
var editdocBtn = this.$vnode.context.commandBar.filter(function (btn) {
|
|
57762
|
-
if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnOpenWordClick') === 0) return true;
|
|
57763
|
-
});
|
|
57764
|
-
if (this.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
57765
|
-
// 套红按钮
|
|
57766
|
-
var RedTitleBtn = this.$vnode.context.commandBar.filter(function (btn) {
|
|
57767
|
-
if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnNoTitleModifyFlTypeClick') === 0) return true;
|
|
57768
|
-
});
|
|
57769
|
-
RedTitleBtn.btnClick = this.btnNoTitleModifyFlTypeClick;
|
|
57770
|
-
if (this.$vnode.context.wfInstance.haveDoc === 2 && editdocBtn.length > 0) {
|
|
57771
|
-
RedTitleBtn.btnName = '重新套红';
|
|
57772
|
-
footerBtns.splice(0, 0, RedTitleBtn);
|
|
57773
|
-
} else if (this.$vnode.context.wfInstance.haveDoc === 1 && editdocBtn.length > 0) {
|
|
57774
|
-
RedTitleBtn.btnName = '套红';
|
|
57775
|
-
footerBtns.splice(0, 0, RedTitleBtn);
|
|
57776
|
-
}
|
|
57777
|
-
}
|
|
57778
|
-
|
|
57779
|
-
// else { // RedTitle 模式 修改红头按钮
|
|
57780
|
-
// const RedTitleBtn = this.$vnode.context.commandBar.filter(btn => {
|
|
57781
|
-
// if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnModifyFlTypeClick') === 0) return true
|
|
57782
|
-
// })
|
|
57783
|
-
// if (this.$vnode.context.wfInstance.haveDoc === 2) {
|
|
57784
|
-
// footerBtns.splice(0, 0, RedTitleBtn)
|
|
57785
|
-
// }
|
|
57786
|
-
// }
|
|
57787
57762
|
|
|
57788
|
-
|
|
57789
|
-
|
|
57790
|
-
|
|
57791
|
-
|
|
57792
|
-
|
|
57793
|
-
|
|
57794
|
-
|
|
57795
|
-
|
|
57796
|
-
|
|
57797
|
-
|
|
57798
|
-
|
|
57799
|
-
|
|
57800
|
-
|
|
57801
|
-
|
|
57802
|
-
|
|
57803
|
-
|
|
57804
|
-
|
|
57805
|
-
|
|
57806
|
-
|
|
57807
|
-
|
|
57808
|
-
|
|
57809
|
-
|
|
57810
|
-
|
|
57811
|
-
|
|
57812
|
-
|
|
57813
|
-
|
|
57814
|
-
|
|
57815
|
-
|
|
57816
|
-
|
|
57817
|
-
|
|
57818
|
-
|
|
57819
|
-
|
|
57820
|
-
|
|
57821
|
-
|
|
57822
|
-
|
|
57823
|
-
|
|
57824
|
-
|
|
57825
|
-
|
|
57826
|
-
|
|
57827
|
-
|
|
57828
|
-
|
|
57763
|
+
// else { // RedTitle 模式 修改红头按钮
|
|
57764
|
+
// const RedTitleBtn = this.$vnode.context.commandBar.filter(btn => {
|
|
57765
|
+
// if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnModifyFlTypeClick') === 0) return true
|
|
57766
|
+
// })
|
|
57767
|
+
// if (this.$vnode.context.wfInstance.haveDoc === 2) {
|
|
57768
|
+
// footerBtns.splice(0, 0, RedTitleBtn)
|
|
57769
|
+
// }
|
|
57770
|
+
// }
|
|
57771
|
+
|
|
57772
|
+
if (editdocBtn.length > 0 && (_this6.officeType === 'wpsh5' || _this6.officeType === 'yzh5' || _this6.officeType === 'ech5')) {
|
|
57773
|
+
_openDocBtn2 = {
|
|
57774
|
+
id: 'btn_openDoc',
|
|
57775
|
+
btnName: '编辑正文',
|
|
57776
|
+
btnIcon: 'upload',
|
|
57777
|
+
btnClick: _this6.btnOpenWordClick,
|
|
57778
|
+
btnPermission: '',
|
|
57779
|
+
btnStyleType: 'default'
|
|
57780
|
+
};
|
|
57781
|
+
footerBtns.splice(0, 0, _openDocBtn2);
|
|
57782
|
+
}
|
|
57783
|
+
|
|
57784
|
+
// if (this.attachments.some(item => item.fileType !== 'BODY')) {
|
|
57785
|
+
_this6.attachmentsNum = _this6.attachments.filter(function (val) {
|
|
57786
|
+
return val.fileType !== 'BODY';
|
|
57787
|
+
}).length;
|
|
57788
|
+
attachmentsTitleBtn = {
|
|
57789
|
+
id: 'btn_attachment',
|
|
57790
|
+
btnName: "\u9644 \u4EF6(".concat(_this6.attachmentsNum, ")"),
|
|
57791
|
+
btnIcon: 'attachment',
|
|
57792
|
+
btnClick: _this6.attachmentFile,
|
|
57793
|
+
btnPermission: '',
|
|
57794
|
+
btnStyleType: 'default'
|
|
57795
|
+
};
|
|
57796
|
+
footerBtns.splice(0, 0, attachmentsTitleBtn);
|
|
57797
|
+
// }
|
|
57798
|
+
}
|
|
57799
|
+
if (footerBtns.length > 3) {
|
|
57800
|
+
moreBtns = {
|
|
57801
|
+
id: 'btn_upload',
|
|
57802
|
+
btnName: '更 多',
|
|
57803
|
+
btnIcon: 'upload',
|
|
57804
|
+
btnPermission: '',
|
|
57805
|
+
btnStyleType: 'default',
|
|
57806
|
+
children: []
|
|
57807
|
+
}; // 只显示第1个、最后一个,中间的显示在“更多”子按钮组中
|
|
57808
|
+
for (_i = 1; _i < footerBtns.length - 1; _i++) {
|
|
57809
|
+
footerBtns[_i].text = footerBtns[_i].btnName;
|
|
57810
|
+
moreBtns.children.push(footerBtns[_i]);
|
|
57811
|
+
footerBtns.splice(_i--, 1);
|
|
57812
|
+
}
|
|
57813
|
+
footerBtns.splice(1, 0, moreBtns);
|
|
57814
|
+
}
|
|
57815
|
+
console.log(footerBtns, 'footerBtns --- >363');
|
|
57816
|
+
_this6.$vnode.context.footerBtns = footerBtns;
|
|
57817
|
+
case 22:
|
|
57818
|
+
case "end":
|
|
57819
|
+
return _context3.stop();
|
|
57829
57820
|
}
|
|
57830
|
-
|
|
57831
|
-
|
|
57832
|
-
console.log(footerBtns, 'footerBtns --- >363');
|
|
57833
|
-
this.$vnode.context.footerBtns = footerBtns;
|
|
57834
|
-
}
|
|
57821
|
+
}, _callee3);
|
|
57822
|
+
}))();
|
|
57835
57823
|
},
|
|
57836
57824
|
// 选择印章
|
|
57837
57825
|
openSeal: function openSeal() {
|
|
@@ -57852,20 +57840,20 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57852
57840
|
// 保存印章
|
|
57853
57841
|
pdfSealSave: function pdfSealSave() {
|
|
57854
57842
|
var _this7 = this;
|
|
57855
|
-
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57856
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57857
|
-
while (1) switch (
|
|
57843
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
|
|
57844
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
57845
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
57858
57846
|
case 0:
|
|
57859
|
-
|
|
57847
|
+
_context4.next = 2;
|
|
57860
57848
|
return _this7.$refs.PdfTools.pdfStamp();
|
|
57861
57849
|
case 2:
|
|
57862
57850
|
_this7.pdfSealChange = false;
|
|
57863
57851
|
_this7.setFooterBtns(0);
|
|
57864
57852
|
case 4:
|
|
57865
57853
|
case "end":
|
|
57866
|
-
return
|
|
57854
|
+
return _context4.stop();
|
|
57867
57855
|
}
|
|
57868
|
-
},
|
|
57856
|
+
}, _callee4);
|
|
57869
57857
|
}))();
|
|
57870
57858
|
},
|
|
57871
57859
|
// 添加签名
|
|
@@ -57887,20 +57875,20 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57887
57875
|
// 保存签名
|
|
57888
57876
|
pdfSignSave: function pdfSignSave() {
|
|
57889
57877
|
var _this8 = this;
|
|
57890
|
-
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57891
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57892
|
-
while (1) switch (
|
|
57878
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
|
|
57879
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
57880
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
57893
57881
|
case 0:
|
|
57894
|
-
|
|
57882
|
+
_context5.next = 2;
|
|
57895
57883
|
return _this8.$refs.PdfTools.pdfSign();
|
|
57896
57884
|
case 2:
|
|
57897
57885
|
_this8.pdfSignChange = false;
|
|
57898
57886
|
_this8.setFooterBtns(0);
|
|
57899
57887
|
case 4:
|
|
57900
57888
|
case "end":
|
|
57901
|
-
return
|
|
57889
|
+
return _context5.stop();
|
|
57902
57890
|
}
|
|
57903
|
-
},
|
|
57891
|
+
}, _callee5);
|
|
57904
57892
|
}))();
|
|
57905
57893
|
},
|
|
57906
57894
|
attachmentDownloadClick: function attachmentDownloadClick(attachment) {
|
|
@@ -57925,16 +57913,16 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57925
57913
|
if (_this9.$vnode.context.wfInstance.haveDoc) {
|
|
57926
57914
|
_this9.$dialog.confirm({
|
|
57927
57915
|
message: _this9.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
|
|
57928
|
-
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57929
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57930
|
-
while (1) switch (
|
|
57916
|
+
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
|
|
57917
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
57918
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
57931
57919
|
case 0:
|
|
57932
57920
|
resolve(true);
|
|
57933
57921
|
case 1:
|
|
57934
57922
|
case "end":
|
|
57935
|
-
return
|
|
57923
|
+
return _context6.stop();
|
|
57936
57924
|
}
|
|
57937
|
-
},
|
|
57925
|
+
}, _callee6);
|
|
57938
57926
|
}))).catch(function () {
|
|
57939
57927
|
reject('cancel btnUploadBodyfileClick.');
|
|
57940
57928
|
});
|
|
@@ -58159,10 +58147,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
58159
58147
|
var _this = this;
|
|
58160
58148
|
this.$dialog.confirm({
|
|
58161
58149
|
message: confirmMsg
|
|
58162
|
-
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
58150
|
+
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
|
|
58163
58151
|
var deleteIds, originalName, i;
|
|
58164
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
58165
|
-
while (1) switch (
|
|
58152
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
58153
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
58166
58154
|
case 0:
|
|
58167
58155
|
deleteIds = flBodyfile.id;
|
|
58168
58156
|
originalName = flBodyfile.originalName.substring(0, flBodyfile.originalName.indexOf('.'));
|
|
@@ -58218,18 +58206,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
58218
58206
|
});
|
|
58219
58207
|
case 4:
|
|
58220
58208
|
case "end":
|
|
58221
|
-
return
|
|
58209
|
+
return _context7.stop();
|
|
58222
58210
|
}
|
|
58223
|
-
},
|
|
58211
|
+
}, _callee7);
|
|
58224
58212
|
})));
|
|
58225
58213
|
}
|
|
58226
58214
|
}
|
|
58227
58215
|
});
|
|
58228
58216
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
58229
58217
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
58230
|
-
// 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=
|
|
58231
|
-
var
|
|
58232
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
58218
|
+
// 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=050d799f&prod&scoped=true&lang=scss
|
|
58219
|
+
var BodyFilevue_type_style_index_0_id_050d799f_prod_scoped_true_lang_scss = __webpack_require__(6634);
|
|
58220
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=050d799f&prod&scoped=true&lang=scss
|
|
58233
58221
|
|
|
58234
58222
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
58235
58223
|
|
|
@@ -58242,11 +58230,11 @@ var BodyFilevue_type_style_index_0_id_38af2d59_prod_scoped_true_lang_scss = __we
|
|
|
58242
58230
|
|
|
58243
58231
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
58244
58232
|
src_BodyFilevue_type_script_lang_js,
|
|
58245
|
-
|
|
58246
|
-
|
|
58233
|
+
BodyFilevue_type_template_id_050d799f_scoped_true_render,
|
|
58234
|
+
BodyFilevue_type_template_id_050d799f_scoped_true_staticRenderFns,
|
|
58247
58235
|
false,
|
|
58248
58236
|
null,
|
|
58249
|
-
"
|
|
58237
|
+
"050d799f",
|
|
58250
58238
|
null
|
|
58251
58239
|
|
|
58252
58240
|
)
|