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.umd.js
CHANGED
|
@@ -7198,7 +7198,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
|
|
|
7198
7198
|
|
|
7199
7199
|
/***/ }),
|
|
7200
7200
|
|
|
7201
|
-
/***/
|
|
7201
|
+
/***/ 5577:
|
|
7202
7202
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7203
7203
|
|
|
7204
7204
|
"use strict";
|
|
@@ -7212,14 +7212,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7212
7212
|
|
|
7213
7213
|
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()));
|
|
7214
7214
|
// Module
|
|
7215
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7215
|
+
___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)}", ""]);
|
|
7216
7216
|
// Exports
|
|
7217
7217
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7218
7218
|
|
|
7219
7219
|
|
|
7220
7220
|
/***/ }),
|
|
7221
7221
|
|
|
7222
|
-
/***/
|
|
7222
|
+
/***/ 5284:
|
|
7223
7223
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7224
7224
|
|
|
7225
7225
|
"use strict";
|
|
@@ -7233,7 +7233,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7233
7233
|
|
|
7234
7234
|
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()));
|
|
7235
7235
|
// Module
|
|
7236
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-
|
|
7236
|
+
___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}", ""]);
|
|
7237
7237
|
// Exports
|
|
7238
7238
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7239
7239
|
|
|
@@ -32396,35 +32396,35 @@ var update = add("04d25616", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32396
32396
|
|
|
32397
32397
|
/***/ }),
|
|
32398
32398
|
|
|
32399
|
-
/***/
|
|
32399
|
+
/***/ 4645:
|
|
32400
32400
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32401
32401
|
|
|
32402
32402
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32403
32403
|
|
|
32404
32404
|
// load the styles
|
|
32405
|
-
var content = __webpack_require__(
|
|
32405
|
+
var content = __webpack_require__(5577);
|
|
32406
32406
|
if(content.__esModule) content = content.default;
|
|
32407
32407
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32408
32408
|
if(content.locals) module.exports = content.locals;
|
|
32409
32409
|
// add the styles to the DOM
|
|
32410
32410
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32411
|
-
var update = add("
|
|
32411
|
+
var update = add("0d8e31ed", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32412
32412
|
|
|
32413
32413
|
/***/ }),
|
|
32414
32414
|
|
|
32415
|
-
/***/
|
|
32415
|
+
/***/ 5160:
|
|
32416
32416
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32417
32417
|
|
|
32418
32418
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32419
32419
|
|
|
32420
32420
|
// load the styles
|
|
32421
|
-
var content = __webpack_require__(
|
|
32421
|
+
var content = __webpack_require__(5284);
|
|
32422
32422
|
if(content.__esModule) content = content.default;
|
|
32423
32423
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32424
32424
|
if(content.locals) module.exports = content.locals;
|
|
32425
32425
|
// add the styles to the DOM
|
|
32426
32426
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32427
|
-
var update = add("
|
|
32427
|
+
var update = add("6f7f8b0f", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32428
32428
|
|
|
32429
32429
|
/***/ }),
|
|
32430
32430
|
|
|
@@ -55759,8 +55759,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
55759
55759
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
55760
55760
|
};
|
|
55761
55761
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
55762
|
-
;// 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=
|
|
55763
|
-
var
|
|
55762
|
+
;// 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=2c9f8b86&scoped=true
|
|
55763
|
+
var Attachmentvue_type_template_id_2c9f8b86_scoped_true_render = function render() {
|
|
55764
55764
|
var _vm = this,
|
|
55765
55765
|
_c = _vm._self._c;
|
|
55766
55766
|
return _c('div', {
|
|
@@ -56021,7 +56021,7 @@ var Attachmentvue_type_template_id_25aa7e12_scoped_true_render = function render
|
|
|
56021
56021
|
}
|
|
56022
56022
|
})], 1) : _vm._e()], 1);
|
|
56023
56023
|
};
|
|
56024
|
-
var
|
|
56024
|
+
var Attachmentvue_type_template_id_2c9f8b86_scoped_true_staticRenderFns = [];
|
|
56025
56025
|
|
|
56026
56026
|
;// 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
|
|
56027
56027
|
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); }
|
|
@@ -56746,7 +56746,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56746
56746
|
_this.$set($scope, 'bodyfile', attach);
|
|
56747
56747
|
if (typeof $scope.vo.flBodyFilename !== 'undefined') $scope.vo.flBodyFilename = attach.fileName;
|
|
56748
56748
|
}
|
|
56749
|
-
if (attach.fileName && attach.fileName.substring(attach.fileName.length - 4) === '.pdf') {
|
|
56749
|
+
if (attach.fileName && (attach.fileName.substring(attach.fileName.length - 4) === '.pdf' || attach.fileName.substring(attach.fileName.length - 4) === '.ofd')) {
|
|
56750
56750
|
_this.$bus.emit('onUploadProgress', attach);
|
|
56751
56751
|
}
|
|
56752
56752
|
});
|
|
@@ -56882,9 +56882,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56882
56882
|
});
|
|
56883
56883
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
56884
56884
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
56885
|
-
// 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=
|
|
56886
|
-
var
|
|
56887
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
56885
|
+
// 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=2c9f8b86&prod&scoped=true&lang=scss
|
|
56886
|
+
var Attachmentvue_type_style_index_0_id_2c9f8b86_prod_scoped_true_lang_scss = __webpack_require__(4645);
|
|
56887
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=2c9f8b86&prod&scoped=true&lang=scss
|
|
56888
56888
|
|
|
56889
56889
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
56890
56890
|
|
|
@@ -56897,18 +56897,18 @@ var Attachmentvue_type_style_index_0_id_25aa7e12_prod_scoped_true_lang_scss = __
|
|
|
56897
56897
|
|
|
56898
56898
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
56899
56899
|
src_Attachmentvue_type_script_lang_js,
|
|
56900
|
-
|
|
56901
|
-
|
|
56900
|
+
Attachmentvue_type_template_id_2c9f8b86_scoped_true_render,
|
|
56901
|
+
Attachmentvue_type_template_id_2c9f8b86_scoped_true_staticRenderFns,
|
|
56902
56902
|
false,
|
|
56903
56903
|
null,
|
|
56904
|
-
"
|
|
56904
|
+
"2c9f8b86",
|
|
56905
56905
|
null
|
|
56906
56906
|
|
|
56907
56907
|
)
|
|
56908
56908
|
|
|
56909
56909
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
56910
|
-
;// 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=
|
|
56911
|
-
var
|
|
56910
|
+
;// 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=050d799f&scoped=true
|
|
56911
|
+
var BodyFilevue_type_template_id_050d799f_scoped_true_render = function render() {
|
|
56912
56912
|
var _vm = this,
|
|
56913
56913
|
_c = _vm._self._c;
|
|
56914
56914
|
return _c('div', {
|
|
@@ -57272,7 +57272,7 @@ var BodyFilevue_type_template_id_38af2d59_scoped_true_render = function render()
|
|
|
57272
57272
|
})])]) : _vm._e()]) : _vm._e()];
|
|
57273
57273
|
})], 2)])], 1);
|
|
57274
57274
|
};
|
|
57275
|
-
var
|
|
57275
|
+
var BodyFilevue_type_template_id_050d799f_scoped_true_staticRenderFns = [];
|
|
57276
57276
|
|
|
57277
57277
|
;// 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
|
|
57278
57278
|
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); }
|
|
@@ -57413,44 +57413,13 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57413
57413
|
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
57414
57414
|
while (1) switch (_context.prev = _context.next) {
|
|
57415
57415
|
case 0:
|
|
57416
|
-
|
|
57417
|
-
|
|
57418
|
-
|
|
57419
|
-
|
|
57420
|
-
}
|
|
57421
|
-
// if (this.$vnode.context.wfInstance.passenger.onlineViewer === 'fuxin') {
|
|
57422
|
-
console.log('this.viewer', _this2);
|
|
57423
|
-
if (!(_this2.viewer === 'fuxin' && !_this2.fuxinBaseUrl)) {
|
|
57424
|
-
_context.next = 8;
|
|
57425
|
-
break;
|
|
57426
|
-
}
|
|
57427
|
-
_context.next = 6;
|
|
57428
|
-
return _this2.$http({
|
|
57429
|
-
method: 'get',
|
|
57430
|
-
contentType: 'application/x-www-form-urlencoded',
|
|
57431
|
-
url: 'base/paramConfig/findParamValueByName?orgCode=standard¶mName=fuxin.viewer.url'
|
|
57432
|
-
}).then(function (res) {
|
|
57433
|
-
if (res.code === 'success') {
|
|
57434
|
-
_this2.fuxinBaseUrl = res.body.value;
|
|
57435
|
-
_this2.onlineViewer = 'fuxin';
|
|
57436
|
-
} else {
|
|
57437
|
-
_this2.onlineViewer = 'pdfjs';
|
|
57438
|
-
}
|
|
57439
|
-
});
|
|
57440
|
-
case 6:
|
|
57441
|
-
_context.next = 9;
|
|
57442
|
-
break;
|
|
57443
|
-
case 8:
|
|
57444
|
-
if (_this2.viewer === 'fuxin' && _this2.fuxinBaseUrl) {
|
|
57445
|
-
_this2.onlineViewer = _this2.viewer;
|
|
57446
|
-
} else {
|
|
57447
|
-
_this2.onlineViewer = _this2.viewer || 'pdfjs';
|
|
57416
|
+
console.log('onTabChanged', tabActive);
|
|
57417
|
+
console.log('this.wflowNavbarList', _this2.wflowNavbarList);
|
|
57418
|
+
if (_this2.wflowNavbarList[tabActive] === 'BodyFile') {
|
|
57419
|
+
_this2.viewBodyFile();
|
|
57448
57420
|
}
|
|
57449
|
-
case 9:
|
|
57450
|
-
_this2.viewBodyFile();
|
|
57451
|
-
case 10:
|
|
57452
57421
|
_this2.setFooterBtns(tabActive);
|
|
57453
|
-
case
|
|
57422
|
+
case 4:
|
|
57454
57423
|
case "end":
|
|
57455
57424
|
return _context.stop();
|
|
57456
57425
|
}
|
|
@@ -57470,6 +57439,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57470
57439
|
}
|
|
57471
57440
|
return _context2.abrupt("return");
|
|
57472
57441
|
case 2:
|
|
57442
|
+
_this3.viewBodyFileShow = '';
|
|
57473
57443
|
_this3.downloadurl = null;
|
|
57474
57444
|
_this3.bodyFileUrl = '';
|
|
57475
57445
|
_this3.flBodyfileBak = _this3.flBodyfile;
|
|
@@ -57487,7 +57457,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57487
57457
|
_this3.sign = false;
|
|
57488
57458
|
}
|
|
57489
57459
|
_this = _this3;
|
|
57490
|
-
if (!(extName === '.ofd' && _this3.
|
|
57460
|
+
if (!(extName === '.ofd' && _this3.viewer === 'fuxin')) {
|
|
57491
57461
|
_context2.next = 28;
|
|
57492
57462
|
break;
|
|
57493
57463
|
}
|
|
@@ -57495,16 +57465,14 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57495
57465
|
if (appUrl.indexOf('/mindex.html') > -1) {
|
|
57496
57466
|
appUrl = appUrl.split('/mindex.html')[0];
|
|
57497
57467
|
}
|
|
57498
|
-
_context2.next =
|
|
57468
|
+
_context2.next = 17;
|
|
57499
57469
|
return _this3.getSessionId();
|
|
57500
|
-
case
|
|
57470
|
+
case 17:
|
|
57501
57471
|
tSessionId = _context2.sent;
|
|
57502
57472
|
downUrl = appUrl + "/apigw";
|
|
57503
57473
|
downUrl += _this3.wfAttachUrl.substring(0, 1) === '/' ? _this3.wfAttachUrl : '/' + _this3.wfAttachUrl;
|
|
57504
57474
|
downUrl += '/downloadById?attachIds=' + _this3.flBodyfile.id + '&topdf=true';
|
|
57505
|
-
// downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
|
|
57506
57475
|
downUrl += '&tSessionId=' + tSessionId;
|
|
57507
|
-
console.log(downUrl);
|
|
57508
57476
|
if (_this3.fuxinBaseUrl) {
|
|
57509
57477
|
_this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
|
|
57510
57478
|
_this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
|
|
@@ -57647,201 +57615,221 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57647
57615
|
},
|
|
57648
57616
|
setFooterBtns: function setFooterBtns(tabActive) {
|
|
57649
57617
|
var _this6 = this;
|
|
57650
|
-
|
|
57651
|
-
|
|
57652
|
-
|
|
57653
|
-
|
|
57654
|
-
|
|
57655
|
-
|
|
57656
|
-
|
|
57657
|
-
|
|
57658
|
-
|
|
57659
|
-
|
|
57660
|
-
|
|
57661
|
-
|
|
57662
|
-
|
|
57663
|
-
|
|
57664
|
-
|
|
57665
|
-
|
|
57666
|
-
|
|
57667
|
-
|
|
57668
|
-
|
|
57669
|
-
|
|
57670
|
-
|
|
57671
|
-
|
|
57672
|
-
|
|
57673
|
-
|
|
57674
|
-
|
|
57675
|
-
|
|
57676
|
-
|
|
57677
|
-
|
|
57678
|
-
|
|
57679
|
-
|
|
57680
|
-
|
|
57681
|
-
|
|
57682
|
-
|
|
57683
|
-
|
|
57618
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
57619
|
+
var footerBtns, i, btn, isSeal, bodyFileList, openDocBtn, _openDocBtn, downloadBtn, historyFilesBtn, otherAppBtn, uploadBtn, _uploadBtn, editdocBtn, RedTitleBtn, _openDocBtn2, attachmentsTitleBtn, moreBtns, _i;
|
|
57620
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
57621
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
57622
|
+
case 0:
|
|
57623
|
+
footerBtns = [];
|
|
57624
|
+
if (!(_this6.wflowNavbarList[tabActive] !== 'BodyFile')) {
|
|
57625
|
+
_context3.next = 5;
|
|
57626
|
+
break;
|
|
57627
|
+
}
|
|
57628
|
+
_this6.$vnode.context.setFooterBtns();
|
|
57629
|
+
_context3.next = 22;
|
|
57630
|
+
break;
|
|
57631
|
+
case 5:
|
|
57632
|
+
if (!_this6.pdfSealChange) {
|
|
57633
|
+
_context3.next = 8;
|
|
57634
|
+
break;
|
|
57635
|
+
}
|
|
57636
|
+
_this6.setBtnSealSave();
|
|
57637
|
+
return _context3.abrupt("return");
|
|
57638
|
+
case 8:
|
|
57639
|
+
if (!_this6.pdfSignChange) {
|
|
57640
|
+
_context3.next = 11;
|
|
57641
|
+
break;
|
|
57642
|
+
}
|
|
57643
|
+
_this6.setBtnSingSave();
|
|
57644
|
+
return _context3.abrupt("return");
|
|
57645
|
+
case 11:
|
|
57646
|
+
for (i = 0; i < footerBtns.length; i++) {
|
|
57647
|
+
btn = footerBtns[i];
|
|
57648
|
+
if (btn.id !== 'btn_submit') {
|
|
57649
|
+
footerBtns.splice(i--, 1);
|
|
57650
|
+
}
|
|
57651
|
+
}
|
|
57652
|
+
isSeal = false;
|
|
57653
|
+
if (_this6.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
57654
|
+
// 套红模式下需要先套红在盖章
|
|
57655
|
+
console.log(_this6.attachments, 'attachment');
|
|
57656
|
+
bodyFileList = _this6.attachments.filter(function (item) {
|
|
57657
|
+
return item.fileType === 'BODY';
|
|
57658
|
+
});
|
|
57659
|
+
if (bodyFileList && bodyFileList.length > 0) {
|
|
57660
|
+
if (bodyFileList.length === 1) {
|
|
57661
|
+
isSeal = true;
|
|
57662
|
+
} else {
|
|
57663
|
+
bodyFileList.forEach(function (item) {
|
|
57664
|
+
var fileName = item.fileName;
|
|
57665
|
+
var bodyFileName = item.bodyFileName ? item.bodyFileName : item.fileName;
|
|
57666
|
+
if (bodyFileName.includes('RedTitle_') || bodyFileName === _this6.$vnode.context.vo.flbodyfilename || fileName === _this6.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
|
|
57667
|
+
isSeal = true;
|
|
57668
|
+
}
|
|
57669
|
+
});
|
|
57670
|
+
}
|
|
57671
|
+
}
|
|
57672
|
+
} else {
|
|
57673
|
+
// 非套红模式下可直接盖章
|
|
57674
|
+
isSeal = true;
|
|
57675
|
+
}
|
|
57676
|
+
if (_this6.curTN.tnCanEdit === 1) {
|
|
57677
|
+
if (_this6.seal && isSeal) {
|
|
57678
|
+
openDocBtn = {
|
|
57679
|
+
id: 'btn_openDoc',
|
|
57680
|
+
btnName: '盖 章',
|
|
57681
|
+
btnIcon: 'upload',
|
|
57682
|
+
btnClick: _this6.openSeal,
|
|
57683
|
+
btnPermission: '',
|
|
57684
|
+
btnStyleType: 'default'
|
|
57685
|
+
};
|
|
57686
|
+
footerBtns.splice(0, 0, openDocBtn);
|
|
57687
|
+
}
|
|
57688
|
+
if (_this6.sign && isSeal) {
|
|
57689
|
+
_openDocBtn = {
|
|
57690
|
+
id: 'btn_openDoc',
|
|
57691
|
+
btnName: '签 名',
|
|
57692
|
+
btnIcon: 'upload',
|
|
57693
|
+
btnClick: _this6.pdfSign,
|
|
57694
|
+
btnPermission: '',
|
|
57695
|
+
btnStyleType: 'default'
|
|
57696
|
+
};
|
|
57697
|
+
footerBtns.splice(0, 0, _openDocBtn);
|
|
57698
|
+
}
|
|
57699
|
+
}
|
|
57700
|
+
if (_this6.flBodyfile) {
|
|
57701
|
+
downloadBtn = {
|
|
57702
|
+
id: 'btn_download',
|
|
57703
|
+
btnName: '下 载',
|
|
57704
|
+
btnIcon: 'download',
|
|
57705
|
+
btnClick: _this6.downLoadFile,
|
|
57706
|
+
btnPermission: '',
|
|
57707
|
+
btnStyleType: 'default'
|
|
57708
|
+
};
|
|
57709
|
+
footerBtns.splice(0, 0, downloadBtn);
|
|
57710
|
+
}
|
|
57711
|
+
if (_this6.flBodyfile && _this6.flBodyfile.fileId) {
|
|
57712
|
+
historyFilesBtn = {
|
|
57713
|
+
id: 'btn_historyFiles',
|
|
57714
|
+
btnName: '历史版本',
|
|
57715
|
+
btnIcon: 'upload',
|
|
57716
|
+
btnClick: _this6.btnViewHistoryFilesClick,
|
|
57717
|
+
btnPermission: '',
|
|
57718
|
+
btnStyleType: 'default'
|
|
57719
|
+
};
|
|
57720
|
+
footerBtns.splice(0, 0, historyFilesBtn);
|
|
57721
|
+
}
|
|
57722
|
+
if (window.mappType === 'ecinc') {
|
|
57723
|
+
otherAppBtn = {
|
|
57724
|
+
id: 'btn_otherApp',
|
|
57725
|
+
btnName: '其它应用打开',
|
|
57726
|
+
btnIcon: 'otherApp',
|
|
57727
|
+
btnClick: _this6.btnOtherAppOpenClick,
|
|
57728
|
+
btnPermission: '',
|
|
57729
|
+
btnStyleType: 'default'
|
|
57730
|
+
};
|
|
57731
|
+
footerBtns.splice(0, 0, otherAppBtn);
|
|
57732
|
+
}
|
|
57733
|
+
if (_this6.curTN.tnCanEdit === 1) {
|
|
57734
|
+
if (!_this6.flBodyfile || !_this6.flBodyfile.id) {
|
|
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
|
+
} else {
|
|
57745
|
+
_uploadBtn = {
|
|
57746
|
+
id: 'btn_upload',
|
|
57747
|
+
btnName: '重新上传',
|
|
57748
|
+
btnIcon: 'upload',
|
|
57749
|
+
btnClick: _this6.btnUploadBodyfileClick,
|
|
57750
|
+
btnPermission: '',
|
|
57751
|
+
btnStyleType: 'default'
|
|
57752
|
+
};
|
|
57753
|
+
footerBtns.splice(0, 0, _uploadBtn);
|
|
57754
|
+
}
|
|
57755
|
+
editdocBtn = _this6.$vnode.context.commandBar.filter(function (btn) {
|
|
57756
|
+
if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnOpenWordClick') === 0) return true;
|
|
57757
|
+
});
|
|
57758
|
+
if (_this6.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
57759
|
+
// 套红按钮
|
|
57760
|
+
RedTitleBtn = _this6.$vnode.context.commandBar.filter(function (btn) {
|
|
57761
|
+
if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnNoTitleModifyFlTypeClick') === 0) return true;
|
|
57762
|
+
});
|
|
57763
|
+
RedTitleBtn.btnClick = _this6.btnNoTitleModifyFlTypeClick;
|
|
57764
|
+
if (_this6.$vnode.context.wfInstance.haveDoc === 2 && editdocBtn.length > 0) {
|
|
57765
|
+
RedTitleBtn.btnName = '重新套红';
|
|
57766
|
+
footerBtns.splice(0, 0, RedTitleBtn);
|
|
57767
|
+
} else if (_this6.$vnode.context.wfInstance.haveDoc === 1 && editdocBtn.length > 0) {
|
|
57768
|
+
RedTitleBtn.btnName = '套红';
|
|
57769
|
+
footerBtns.splice(0, 0, RedTitleBtn);
|
|
57770
|
+
}
|
|
57684
57771
|
}
|
|
57685
|
-
});
|
|
57686
|
-
}
|
|
57687
|
-
}
|
|
57688
|
-
} else {
|
|
57689
|
-
// 非套红模式下可直接盖章
|
|
57690
|
-
isSeal = true;
|
|
57691
|
-
}
|
|
57692
|
-
if (this.curTN.tnCanEdit === 1) {
|
|
57693
|
-
if (this.seal && isSeal) {
|
|
57694
|
-
var openDocBtn = {
|
|
57695
|
-
id: 'btn_openDoc',
|
|
57696
|
-
btnName: '盖 章',
|
|
57697
|
-
btnIcon: 'upload',
|
|
57698
|
-
btnClick: this.openSeal,
|
|
57699
|
-
btnPermission: '',
|
|
57700
|
-
btnStyleType: 'default'
|
|
57701
|
-
};
|
|
57702
|
-
footerBtns.splice(0, 0, openDocBtn);
|
|
57703
|
-
}
|
|
57704
|
-
if (this.sign && isSeal) {
|
|
57705
|
-
var _openDocBtn = {
|
|
57706
|
-
id: 'btn_openDoc',
|
|
57707
|
-
btnName: '签 名',
|
|
57708
|
-
btnIcon: 'upload',
|
|
57709
|
-
btnClick: this.pdfSign,
|
|
57710
|
-
btnPermission: '',
|
|
57711
|
-
btnStyleType: 'default'
|
|
57712
|
-
};
|
|
57713
|
-
footerBtns.splice(0, 0, _openDocBtn);
|
|
57714
|
-
}
|
|
57715
|
-
}
|
|
57716
|
-
if (this.flBodyfile) {
|
|
57717
|
-
var downloadBtn = {
|
|
57718
|
-
id: 'btn_download',
|
|
57719
|
-
btnName: '下 载',
|
|
57720
|
-
btnIcon: 'download',
|
|
57721
|
-
btnClick: this.downLoadFile,
|
|
57722
|
-
btnPermission: '',
|
|
57723
|
-
btnStyleType: 'default'
|
|
57724
|
-
};
|
|
57725
|
-
footerBtns.splice(0, 0, downloadBtn);
|
|
57726
|
-
}
|
|
57727
|
-
if (this.flBodyfile && this.flBodyfile.fileId) {
|
|
57728
|
-
var historyFilesBtn = {
|
|
57729
|
-
id: 'btn_historyFiles',
|
|
57730
|
-
btnName: '历史版本',
|
|
57731
|
-
btnIcon: 'upload',
|
|
57732
|
-
btnClick: this.btnViewHistoryFilesClick,
|
|
57733
|
-
btnPermission: '',
|
|
57734
|
-
btnStyleType: 'default'
|
|
57735
|
-
};
|
|
57736
|
-
footerBtns.splice(0, 0, historyFilesBtn);
|
|
57737
|
-
}
|
|
57738
|
-
if (window.mappType === 'ecinc') {
|
|
57739
|
-
var otherAppBtn = {
|
|
57740
|
-
id: 'btn_otherApp',
|
|
57741
|
-
btnName: '其它应用打开',
|
|
57742
|
-
btnIcon: 'otherApp',
|
|
57743
|
-
btnClick: this.btnOtherAppOpenClick,
|
|
57744
|
-
btnPermission: '',
|
|
57745
|
-
btnStyleType: 'default'
|
|
57746
|
-
};
|
|
57747
|
-
footerBtns.splice(0, 0, otherAppBtn);
|
|
57748
|
-
}
|
|
57749
|
-
if (this.curTN.tnCanEdit === 1) {
|
|
57750
|
-
if (!this.flBodyfile || !this.flBodyfile.id) {
|
|
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
|
-
} else {
|
|
57761
|
-
var _uploadBtn = {
|
|
57762
|
-
id: 'btn_upload',
|
|
57763
|
-
btnName: '重新上传',
|
|
57764
|
-
btnIcon: 'upload',
|
|
57765
|
-
btnClick: this.btnUploadBodyfileClick,
|
|
57766
|
-
btnPermission: '',
|
|
57767
|
-
btnStyleType: 'default'
|
|
57768
|
-
};
|
|
57769
|
-
footerBtns.splice(0, 0, _uploadBtn);
|
|
57770
|
-
}
|
|
57771
|
-
var editdocBtn = this.$vnode.context.commandBar.filter(function (btn) {
|
|
57772
|
-
if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnOpenWordClick') === 0) return true;
|
|
57773
|
-
});
|
|
57774
|
-
if (this.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
57775
|
-
// 套红按钮
|
|
57776
|
-
var RedTitleBtn = this.$vnode.context.commandBar.filter(function (btn) {
|
|
57777
|
-
if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnNoTitleModifyFlTypeClick') === 0) return true;
|
|
57778
|
-
});
|
|
57779
|
-
RedTitleBtn.btnClick = this.btnNoTitleModifyFlTypeClick;
|
|
57780
|
-
if (this.$vnode.context.wfInstance.haveDoc === 2 && editdocBtn.length > 0) {
|
|
57781
|
-
RedTitleBtn.btnName = '重新套红';
|
|
57782
|
-
footerBtns.splice(0, 0, RedTitleBtn);
|
|
57783
|
-
} else if (this.$vnode.context.wfInstance.haveDoc === 1 && editdocBtn.length > 0) {
|
|
57784
|
-
RedTitleBtn.btnName = '套红';
|
|
57785
|
-
footerBtns.splice(0, 0, RedTitleBtn);
|
|
57786
|
-
}
|
|
57787
|
-
}
|
|
57788
|
-
|
|
57789
|
-
// else { // RedTitle 模式 修改红头按钮
|
|
57790
|
-
// const RedTitleBtn = this.$vnode.context.commandBar.filter(btn => {
|
|
57791
|
-
// if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnModifyFlTypeClick') === 0) return true
|
|
57792
|
-
// })
|
|
57793
|
-
// if (this.$vnode.context.wfInstance.haveDoc === 2) {
|
|
57794
|
-
// footerBtns.splice(0, 0, RedTitleBtn)
|
|
57795
|
-
// }
|
|
57796
|
-
// }
|
|
57797
57772
|
|
|
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
|
-
|
|
57829
|
-
|
|
57830
|
-
|
|
57831
|
-
|
|
57832
|
-
|
|
57833
|
-
|
|
57834
|
-
|
|
57835
|
-
|
|
57836
|
-
|
|
57837
|
-
|
|
57838
|
-
|
|
57773
|
+
// else { // RedTitle 模式 修改红头按钮
|
|
57774
|
+
// const RedTitleBtn = this.$vnode.context.commandBar.filter(btn => {
|
|
57775
|
+
// if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnModifyFlTypeClick') === 0) return true
|
|
57776
|
+
// })
|
|
57777
|
+
// if (this.$vnode.context.wfInstance.haveDoc === 2) {
|
|
57778
|
+
// footerBtns.splice(0, 0, RedTitleBtn)
|
|
57779
|
+
// }
|
|
57780
|
+
// }
|
|
57781
|
+
|
|
57782
|
+
if (editdocBtn.length > 0 && (_this6.officeType === 'wpsh5' || _this6.officeType === 'yzh5' || _this6.officeType === 'ech5')) {
|
|
57783
|
+
_openDocBtn2 = {
|
|
57784
|
+
id: 'btn_openDoc',
|
|
57785
|
+
btnName: '编辑正文',
|
|
57786
|
+
btnIcon: 'upload',
|
|
57787
|
+
btnClick: _this6.btnOpenWordClick,
|
|
57788
|
+
btnPermission: '',
|
|
57789
|
+
btnStyleType: 'default'
|
|
57790
|
+
};
|
|
57791
|
+
footerBtns.splice(0, 0, _openDocBtn2);
|
|
57792
|
+
}
|
|
57793
|
+
|
|
57794
|
+
// if (this.attachments.some(item => item.fileType !== 'BODY')) {
|
|
57795
|
+
_this6.attachmentsNum = _this6.attachments.filter(function (val) {
|
|
57796
|
+
return val.fileType !== 'BODY';
|
|
57797
|
+
}).length;
|
|
57798
|
+
attachmentsTitleBtn = {
|
|
57799
|
+
id: 'btn_attachment',
|
|
57800
|
+
btnName: "\u9644 \u4EF6(".concat(_this6.attachmentsNum, ")"),
|
|
57801
|
+
btnIcon: 'attachment',
|
|
57802
|
+
btnClick: _this6.attachmentFile,
|
|
57803
|
+
btnPermission: '',
|
|
57804
|
+
btnStyleType: 'default'
|
|
57805
|
+
};
|
|
57806
|
+
footerBtns.splice(0, 0, attachmentsTitleBtn);
|
|
57807
|
+
// }
|
|
57808
|
+
}
|
|
57809
|
+
if (footerBtns.length > 3) {
|
|
57810
|
+
moreBtns = {
|
|
57811
|
+
id: 'btn_upload',
|
|
57812
|
+
btnName: '更 多',
|
|
57813
|
+
btnIcon: 'upload',
|
|
57814
|
+
btnPermission: '',
|
|
57815
|
+
btnStyleType: 'default',
|
|
57816
|
+
children: []
|
|
57817
|
+
}; // 只显示第1个、最后一个,中间的显示在“更多”子按钮组中
|
|
57818
|
+
for (_i = 1; _i < footerBtns.length - 1; _i++) {
|
|
57819
|
+
footerBtns[_i].text = footerBtns[_i].btnName;
|
|
57820
|
+
moreBtns.children.push(footerBtns[_i]);
|
|
57821
|
+
footerBtns.splice(_i--, 1);
|
|
57822
|
+
}
|
|
57823
|
+
footerBtns.splice(1, 0, moreBtns);
|
|
57824
|
+
}
|
|
57825
|
+
console.log(footerBtns, 'footerBtns --- >363');
|
|
57826
|
+
_this6.$vnode.context.footerBtns = footerBtns;
|
|
57827
|
+
case 22:
|
|
57828
|
+
case "end":
|
|
57829
|
+
return _context3.stop();
|
|
57839
57830
|
}
|
|
57840
|
-
|
|
57841
|
-
|
|
57842
|
-
console.log(footerBtns, 'footerBtns --- >363');
|
|
57843
|
-
this.$vnode.context.footerBtns = footerBtns;
|
|
57844
|
-
}
|
|
57831
|
+
}, _callee3);
|
|
57832
|
+
}))();
|
|
57845
57833
|
},
|
|
57846
57834
|
// 选择印章
|
|
57847
57835
|
openSeal: function openSeal() {
|
|
@@ -57862,20 +57850,20 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57862
57850
|
// 保存印章
|
|
57863
57851
|
pdfSealSave: function pdfSealSave() {
|
|
57864
57852
|
var _this7 = this;
|
|
57865
|
-
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57866
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57867
|
-
while (1) switch (
|
|
57853
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
|
|
57854
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
57855
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
57868
57856
|
case 0:
|
|
57869
|
-
|
|
57857
|
+
_context4.next = 2;
|
|
57870
57858
|
return _this7.$refs.PdfTools.pdfStamp();
|
|
57871
57859
|
case 2:
|
|
57872
57860
|
_this7.pdfSealChange = false;
|
|
57873
57861
|
_this7.setFooterBtns(0);
|
|
57874
57862
|
case 4:
|
|
57875
57863
|
case "end":
|
|
57876
|
-
return
|
|
57864
|
+
return _context4.stop();
|
|
57877
57865
|
}
|
|
57878
|
-
},
|
|
57866
|
+
}, _callee4);
|
|
57879
57867
|
}))();
|
|
57880
57868
|
},
|
|
57881
57869
|
// 添加签名
|
|
@@ -57897,20 +57885,20 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57897
57885
|
// 保存签名
|
|
57898
57886
|
pdfSignSave: function pdfSignSave() {
|
|
57899
57887
|
var _this8 = this;
|
|
57900
|
-
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57901
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57902
|
-
while (1) switch (
|
|
57888
|
+
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
|
|
57889
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
57890
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
57903
57891
|
case 0:
|
|
57904
|
-
|
|
57892
|
+
_context5.next = 2;
|
|
57905
57893
|
return _this8.$refs.PdfTools.pdfSign();
|
|
57906
57894
|
case 2:
|
|
57907
57895
|
_this8.pdfSignChange = false;
|
|
57908
57896
|
_this8.setFooterBtns(0);
|
|
57909
57897
|
case 4:
|
|
57910
57898
|
case "end":
|
|
57911
|
-
return
|
|
57899
|
+
return _context5.stop();
|
|
57912
57900
|
}
|
|
57913
|
-
},
|
|
57901
|
+
}, _callee5);
|
|
57914
57902
|
}))();
|
|
57915
57903
|
},
|
|
57916
57904
|
attachmentDownloadClick: function attachmentDownloadClick(attachment) {
|
|
@@ -57935,16 +57923,16 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
57935
57923
|
if (_this9.$vnode.context.wfInstance.haveDoc) {
|
|
57936
57924
|
_this9.$dialog.confirm({
|
|
57937
57925
|
message: _this9.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
|
|
57938
|
-
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57939
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57940
|
-
while (1) switch (
|
|
57926
|
+
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
|
|
57927
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
57928
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
57941
57929
|
case 0:
|
|
57942
57930
|
resolve(true);
|
|
57943
57931
|
case 1:
|
|
57944
57932
|
case "end":
|
|
57945
|
-
return
|
|
57933
|
+
return _context6.stop();
|
|
57946
57934
|
}
|
|
57947
|
-
},
|
|
57935
|
+
}, _callee6);
|
|
57948
57936
|
}))).catch(function () {
|
|
57949
57937
|
reject('cancel btnUploadBodyfileClick.');
|
|
57950
57938
|
});
|
|
@@ -58169,10 +58157,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
58169
58157
|
var _this = this;
|
|
58170
58158
|
this.$dialog.confirm({
|
|
58171
58159
|
message: confirmMsg
|
|
58172
|
-
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
58160
|
+
}).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
|
|
58173
58161
|
var deleteIds, originalName, i;
|
|
58174
|
-
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
58175
|
-
while (1) switch (
|
|
58162
|
+
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
58163
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
58176
58164
|
case 0:
|
|
58177
58165
|
deleteIds = flBodyfile.id;
|
|
58178
58166
|
originalName = flBodyfile.originalName.substring(0, flBodyfile.originalName.indexOf('.'));
|
|
@@ -58228,18 +58216,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
|
|
|
58228
58216
|
});
|
|
58229
58217
|
case 4:
|
|
58230
58218
|
case "end":
|
|
58231
|
-
return
|
|
58219
|
+
return _context7.stop();
|
|
58232
58220
|
}
|
|
58233
|
-
},
|
|
58221
|
+
}, _callee7);
|
|
58234
58222
|
})));
|
|
58235
58223
|
}
|
|
58236
58224
|
}
|
|
58237
58225
|
});
|
|
58238
58226
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
58239
58227
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
58240
|
-
// 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=
|
|
58241
|
-
var
|
|
58242
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
58228
|
+
// 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=050d799f&prod&scoped=true&lang=scss
|
|
58229
|
+
var BodyFilevue_type_style_index_0_id_050d799f_prod_scoped_true_lang_scss = __webpack_require__(5160);
|
|
58230
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=050d799f&prod&scoped=true&lang=scss
|
|
58243
58231
|
|
|
58244
58232
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
58245
58233
|
|
|
@@ -58252,11 +58240,11 @@ var BodyFilevue_type_style_index_0_id_38af2d59_prod_scoped_true_lang_scss = __we
|
|
|
58252
58240
|
|
|
58253
58241
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
58254
58242
|
src_BodyFilevue_type_script_lang_js,
|
|
58255
|
-
|
|
58256
|
-
|
|
58243
|
+
BodyFilevue_type_template_id_050d799f_scoped_true_render,
|
|
58244
|
+
BodyFilevue_type_template_id_050d799f_scoped_true_staticRenderFns,
|
|
58257
58245
|
false,
|
|
58258
58246
|
null,
|
|
58259
|
-
"
|
|
58247
|
+
"050d799f",
|
|
58260
58248
|
null
|
|
58261
58249
|
|
|
58262
58250
|
)
|