ecinc-cloud-mappaio 9.0.78 → 9.0.79
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 +77 -56
- package/lib/ecmappaio.umd.js +77 -56
- package/lib/ecmappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -6572,20 +6572,6 @@ __webpack_require__("8d33")(String, 'String', function (iterated) {
|
|
|
6572
6572
|
});
|
|
6573
6573
|
|
|
6574
6574
|
|
|
6575
|
-
/***/ }),
|
|
6576
|
-
|
|
6577
|
-
/***/ "352e":
|
|
6578
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6579
|
-
|
|
6580
|
-
// Imports
|
|
6581
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6582
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6583
|
-
// Module
|
|
6584
|
-
exports.push([module.i, ".wfattach-container .van-cell__value[data-v-4d11836c],.wfattach-container[data-v-4d11836c] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-4d11836c] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-4d11836c] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-4d11836c] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-4d11836c] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-4d11836c] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-4d11836c] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-4d11836c]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4d11836c]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4d11836c]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4d11836c]: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-4d11836c]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-4d11836c]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-4d11836c]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-4d11836c]{position:relative}.van-attachment-field[data-v-4d11836c]: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)}", ""]);
|
|
6585
|
-
// Exports
|
|
6586
|
-
module.exports = exports;
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
6575
|
/***/ }),
|
|
6590
6576
|
|
|
6591
6577
|
/***/ "3557":
|
|
@@ -7715,22 +7701,6 @@ module.exports = function (it) {
|
|
|
7715
7701
|
/* unused harmony reexport * */
|
|
7716
7702
|
|
|
7717
7703
|
|
|
7718
|
-
/***/ }),
|
|
7719
|
-
|
|
7720
|
-
/***/ "3c7b":
|
|
7721
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7722
|
-
|
|
7723
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
7724
|
-
|
|
7725
|
-
// load the styles
|
|
7726
|
-
var content = __webpack_require__("352e");
|
|
7727
|
-
if(content.__esModule) content = content.default;
|
|
7728
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
7729
|
-
if(content.locals) module.exports = content.locals;
|
|
7730
|
-
// add the styles to the DOM
|
|
7731
|
-
var add = __webpack_require__("499e").default
|
|
7732
|
-
var update = add("344d3d12", content, true, {"sourceMap":false,"shadowMode":false});
|
|
7733
|
-
|
|
7734
7704
|
/***/ }),
|
|
7735
7705
|
|
|
7736
7706
|
/***/ "3cb2":
|
|
@@ -14529,6 +14499,17 @@ var $export = __webpack_require__("0d63");
|
|
|
14529
14499
|
$export($export.S + $export.F * !__webpack_require__("6739"), 'Object', { defineProperty: __webpack_require__("0f26").f });
|
|
14530
14500
|
|
|
14531
14501
|
|
|
14502
|
+
/***/ }),
|
|
14503
|
+
|
|
14504
|
+
/***/ "762b":
|
|
14505
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14506
|
+
|
|
14507
|
+
"use strict";
|
|
14508
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_c998ce86_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7d25");
|
|
14509
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_c998ce86_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_c998ce86_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
14510
|
+
/* unused harmony reexport * */
|
|
14511
|
+
|
|
14512
|
+
|
|
14532
14513
|
/***/ }),
|
|
14533
14514
|
|
|
14534
14515
|
/***/ "7634":
|
|
@@ -15009,6 +14990,22 @@ module.exports = function(str) {
|
|
|
15009
14990
|
/* unused harmony reexport * */
|
|
15010
14991
|
|
|
15011
14992
|
|
|
14993
|
+
/***/ }),
|
|
14994
|
+
|
|
14995
|
+
/***/ "7d25":
|
|
14996
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14997
|
+
|
|
14998
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14999
|
+
|
|
15000
|
+
// load the styles
|
|
15001
|
+
var content = __webpack_require__("b43a");
|
|
15002
|
+
if(content.__esModule) content = content.default;
|
|
15003
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
15004
|
+
if(content.locals) module.exports = content.locals;
|
|
15005
|
+
// add the styles to the DOM
|
|
15006
|
+
var add = __webpack_require__("499e").default
|
|
15007
|
+
var update = add("338c6d9a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
15008
|
+
|
|
15012
15009
|
/***/ }),
|
|
15013
15010
|
|
|
15014
15011
|
/***/ "7e33":
|
|
@@ -22049,6 +22046,20 @@ module.exports = {
|
|
|
22049
22046
|
})));
|
|
22050
22047
|
|
|
22051
22048
|
|
|
22049
|
+
/***/ }),
|
|
22050
|
+
|
|
22051
|
+
/***/ "b43a":
|
|
22052
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
22053
|
+
|
|
22054
|
+
// Imports
|
|
22055
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
22056
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
22057
|
+
// Module
|
|
22058
|
+
exports.push([module.i, ".wfattach-container .van-cell__value[data-v-c998ce86],.wfattach-container[data-v-c998ce86] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-c998ce86] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-c998ce86] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-c998ce86] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-c998ce86] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-c998ce86] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-c998ce86] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-c998ce86]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c998ce86]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c998ce86]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c998ce86]: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-c998ce86]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-c998ce86]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-c998ce86]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-c998ce86]{position:relative}.van-attachment-field[data-v-c998ce86]: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)}", ""]);
|
|
22059
|
+
// Exports
|
|
22060
|
+
module.exports = exports;
|
|
22061
|
+
|
|
22062
|
+
|
|
22052
22063
|
/***/ }),
|
|
22053
22064
|
|
|
22054
22065
|
/***/ "b460":
|
|
@@ -31863,17 +31874,6 @@ module.exports = function (it) {
|
|
|
31863
31874
|
};
|
|
31864
31875
|
|
|
31865
31876
|
|
|
31866
|
-
/***/ }),
|
|
31867
|
-
|
|
31868
|
-
/***/ "dfdb":
|
|
31869
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31870
|
-
|
|
31871
|
-
"use strict";
|
|
31872
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_4d11836c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3c7b");
|
|
31873
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_4d11836c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_4d11836c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
31874
|
-
/* unused harmony reexport * */
|
|
31875
|
-
|
|
31876
|
-
|
|
31877
31877
|
/***/ }),
|
|
31878
31878
|
|
|
31879
31879
|
/***/ "e038":
|
|
@@ -54519,8 +54519,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
54519
54519
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
54520
54520
|
};
|
|
54521
54521
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
54522
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d615e54-vue-loader-template"}!./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=
|
|
54523
|
-
var
|
|
54522
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d615e54-vue-loader-template"}!./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=c998ce86&scoped=true&
|
|
54523
|
+
var Attachmentvue_type_template_id_c998ce86_scoped_true_render = function render() {
|
|
54524
54524
|
var _vm = this,
|
|
54525
54525
|
_c = _vm._self._c;
|
|
54526
54526
|
return _c('div', {
|
|
@@ -54778,9 +54778,9 @@ var Attachmentvue_type_template_id_4d11836c_scoped_true_render = function render
|
|
|
54778
54778
|
}
|
|
54779
54779
|
})], 1) : _vm._e()], 1);
|
|
54780
54780
|
};
|
|
54781
|
-
var
|
|
54781
|
+
var Attachmentvue_type_template_id_c998ce86_scoped_true_staticRenderFns = [];
|
|
54782
54782
|
|
|
54783
|
-
// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=
|
|
54783
|
+
// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=c998ce86&scoped=true&
|
|
54784
54784
|
|
|
54785
54785
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js&
|
|
54786
54786
|
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); }
|
|
@@ -55134,12 +55134,12 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55134
55134
|
extName = attach.fileName.substring(attach.fileName.lastIndexOf('.')).toLowerCase();
|
|
55135
55135
|
}
|
|
55136
55136
|
if (device !== 'qywx' && device !== 'zwwx') {
|
|
55137
|
-
|
|
55137
|
+
// 企业微信、粤政易支持文档在线预览,不需要转pdf
|
|
55138
55138
|
if (extName !== '.pdf' && extName !== '.pdfx' && (this.onlineFile + ',').indexOf(extName + ',') !== -1) {
|
|
55139
55139
|
topdf = true;
|
|
55140
55140
|
}
|
|
55141
55141
|
} else if ((this.onlineFile + ',').indexOf('.ofd,') !== -1 && extName === '.ofd') {
|
|
55142
|
-
|
|
55142
|
+
// 后端支持ofd转pdf
|
|
55143
55143
|
topdf = true;
|
|
55144
55144
|
}
|
|
55145
55145
|
if (this.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.pdf' || extName === '.pdfx' || extName === '.ofd')) {
|
|
@@ -55394,7 +55394,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55394
55394
|
var _this9 = this;
|
|
55395
55395
|
return new Promise( /*#__PURE__*/function () {
|
|
55396
55396
|
var _ref2 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4(resole) {
|
|
55397
|
-
var uploadAttach, _this, uploadAttachFile, _uploadAttachFile, bodyfile, resp;
|
|
55397
|
+
var uploadAttach, _this, uploadAttachFile, _uploadAttachFile, bodyfile, resp, fileName, extName, docEditMode;
|
|
55398
55398
|
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
55399
55399
|
while (1) switch (_context4.prev = _context4.next) {
|
|
55400
55400
|
case 0:
|
|
@@ -55498,7 +55498,27 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55498
55498
|
_this.$bus.emit('onUploadProgress', attach);
|
|
55499
55499
|
}
|
|
55500
55500
|
});
|
|
55501
|
-
|
|
55501
|
+
// 判断当前上传文件以决定 haveDoc 状态
|
|
55502
|
+
fileName = bodyfile.file.name;
|
|
55503
|
+
extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
|
|
55504
|
+
docEditMode = '';
|
|
55505
|
+
if (_this9.$vnode.context.wfInstance.passenger.docEditMode) {
|
|
55506
|
+
// 当前模式获取
|
|
55507
|
+
docEditMode = _this9.$vnode.context.wfInstance.passenger.docEditMode;
|
|
55508
|
+
}
|
|
55509
|
+
if (docEditMode === 'RedTitle') {
|
|
55510
|
+
// 红头模式默认上传 红头文件
|
|
55511
|
+
$scope.wfInstance.haveDoc = 2;
|
|
55512
|
+
} else if (docEditMode === 'NoTitle') {
|
|
55513
|
+
// 无红头模式 上传 pdf 的话 默认为红头文件 其他则认为无红头文件 (doc,docx)
|
|
55514
|
+
if (extName === '.pdf') {
|
|
55515
|
+
$scope.wfInstance.haveDoc = 2;
|
|
55516
|
+
} else {
|
|
55517
|
+
$scope.wfInstance.haveDoc = 1;
|
|
55518
|
+
}
|
|
55519
|
+
} else {
|
|
55520
|
+
$scope.wfInstance.haveDoc = 2;
|
|
55521
|
+
}
|
|
55502
55522
|
if ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId) === -1) {
|
|
55503
55523
|
$scope.wfInstance.bodyDocId = $scope.bodyfile.originalName.split('\.')[0];
|
|
55504
55524
|
}
|
|
@@ -55509,6 +55529,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55509
55529
|
code: 'success',
|
|
55510
55530
|
message: '文件正文上传成功!'
|
|
55511
55531
|
});
|
|
55532
|
+
_this9.$nextTick(function () {
|
|
55533
|
+
_this9.$bus.emit('onTabChanged', 0);
|
|
55534
|
+
});
|
|
55512
55535
|
} else {
|
|
55513
55536
|
bodyfile.file.status = 'failure';
|
|
55514
55537
|
bodyfile.file.message = resp.message;
|
|
@@ -55551,10 +55574,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55551
55574
|
_this.attachments.forEach(function (iattach, iindex) {
|
|
55552
55575
|
if (file === iattach.file) {
|
|
55553
55576
|
if (uploadRst.body.uploadAttachList.length === 2) {
|
|
55554
|
-
;
|
|
55555
55577
|
($scope.attachments || $scope.vo.passenger.attachments || _this9.attachments).splice(iindex, 1, uploadRst.body.uploadAttachList[0], uploadRst.body.uploadAttachList[1]);
|
|
55556
55578
|
} else {
|
|
55557
|
-
;
|
|
55558
55579
|
($scope.attachments || $scope.vo.passenger.attachments || _this9.attachments).splice(iindex, 1, uploadRst.body.uploadAttachList[0]);
|
|
55559
55580
|
}
|
|
55560
55581
|
}
|
|
@@ -55608,8 +55629,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55608
55629
|
});
|
|
55609
55630
|
// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js&
|
|
55610
55631
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js_ = (Attachmentvue_type_script_lang_js_);
|
|
55611
|
-
// EXTERNAL MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
55612
|
-
var
|
|
55632
|
+
// EXTERNAL MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=c998ce86&prod&scoped=true&lang=scss&
|
|
55633
|
+
var Attachmentvue_type_style_index_0_id_c998ce86_prod_scoped_true_lang_scss_ = __webpack_require__("762b");
|
|
55613
55634
|
|
|
55614
55635
|
// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
55615
55636
|
|
|
@@ -55622,11 +55643,11 @@ var Attachmentvue_type_style_index_0_id_4d11836c_prod_scoped_true_lang_scss_ = _
|
|
|
55622
55643
|
|
|
55623
55644
|
var Attachment_component = Object(componentNormalizer["a" /* default */])(
|
|
55624
55645
|
src_Attachmentvue_type_script_lang_js_,
|
|
55625
|
-
|
|
55626
|
-
|
|
55646
|
+
Attachmentvue_type_template_id_c998ce86_scoped_true_render,
|
|
55647
|
+
Attachmentvue_type_template_id_c998ce86_scoped_true_staticRenderFns,
|
|
55627
55648
|
false,
|
|
55628
55649
|
null,
|
|
55629
|
-
"
|
|
55650
|
+
"c998ce86",
|
|
55630
55651
|
null
|
|
55631
55652
|
|
|
55632
55653
|
)
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -6581,20 +6581,6 @@ __webpack_require__("8d33")(String, 'String', function (iterated) {
|
|
|
6581
6581
|
});
|
|
6582
6582
|
|
|
6583
6583
|
|
|
6584
|
-
/***/ }),
|
|
6585
|
-
|
|
6586
|
-
/***/ "352e":
|
|
6587
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6588
|
-
|
|
6589
|
-
// Imports
|
|
6590
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6591
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6592
|
-
// Module
|
|
6593
|
-
exports.push([module.i, ".wfattach-container .van-cell__value[data-v-4d11836c],.wfattach-container[data-v-4d11836c] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-4d11836c] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-4d11836c] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-4d11836c] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-4d11836c] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-4d11836c] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-4d11836c] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-4d11836c]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4d11836c]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4d11836c]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4d11836c]: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-4d11836c]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-4d11836c]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-4d11836c]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-4d11836c]{position:relative}.van-attachment-field[data-v-4d11836c]: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)}", ""]);
|
|
6594
|
-
// Exports
|
|
6595
|
-
module.exports = exports;
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
6584
|
/***/ }),
|
|
6599
6585
|
|
|
6600
6586
|
/***/ "3557":
|
|
@@ -7724,22 +7710,6 @@ module.exports = function (it) {
|
|
|
7724
7710
|
/* unused harmony reexport * */
|
|
7725
7711
|
|
|
7726
7712
|
|
|
7727
|
-
/***/ }),
|
|
7728
|
-
|
|
7729
|
-
/***/ "3c7b":
|
|
7730
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7731
|
-
|
|
7732
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
7733
|
-
|
|
7734
|
-
// load the styles
|
|
7735
|
-
var content = __webpack_require__("352e");
|
|
7736
|
-
if(content.__esModule) content = content.default;
|
|
7737
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
7738
|
-
if(content.locals) module.exports = content.locals;
|
|
7739
|
-
// add the styles to the DOM
|
|
7740
|
-
var add = __webpack_require__("499e").default
|
|
7741
|
-
var update = add("344d3d12", content, true, {"sourceMap":false,"shadowMode":false});
|
|
7742
|
-
|
|
7743
7713
|
/***/ }),
|
|
7744
7714
|
|
|
7745
7715
|
/***/ "3cb2":
|
|
@@ -14538,6 +14508,17 @@ var $export = __webpack_require__("0d63");
|
|
|
14538
14508
|
$export($export.S + $export.F * !__webpack_require__("6739"), 'Object', { defineProperty: __webpack_require__("0f26").f });
|
|
14539
14509
|
|
|
14540
14510
|
|
|
14511
|
+
/***/ }),
|
|
14512
|
+
|
|
14513
|
+
/***/ "762b":
|
|
14514
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14515
|
+
|
|
14516
|
+
"use strict";
|
|
14517
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_c998ce86_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7d25");
|
|
14518
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_c998ce86_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_c998ce86_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
14519
|
+
/* unused harmony reexport * */
|
|
14520
|
+
|
|
14521
|
+
|
|
14541
14522
|
/***/ }),
|
|
14542
14523
|
|
|
14543
14524
|
/***/ "7634":
|
|
@@ -15018,6 +14999,22 @@ module.exports = function(str) {
|
|
|
15018
14999
|
/* unused harmony reexport * */
|
|
15019
15000
|
|
|
15020
15001
|
|
|
15002
|
+
/***/ }),
|
|
15003
|
+
|
|
15004
|
+
/***/ "7d25":
|
|
15005
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
15006
|
+
|
|
15007
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
15008
|
+
|
|
15009
|
+
// load the styles
|
|
15010
|
+
var content = __webpack_require__("b43a");
|
|
15011
|
+
if(content.__esModule) content = content.default;
|
|
15012
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
15013
|
+
if(content.locals) module.exports = content.locals;
|
|
15014
|
+
// add the styles to the DOM
|
|
15015
|
+
var add = __webpack_require__("499e").default
|
|
15016
|
+
var update = add("338c6d9a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
15017
|
+
|
|
15021
15018
|
/***/ }),
|
|
15022
15019
|
|
|
15023
15020
|
/***/ "7e33":
|
|
@@ -22058,6 +22055,20 @@ module.exports = {
|
|
|
22058
22055
|
})));
|
|
22059
22056
|
|
|
22060
22057
|
|
|
22058
|
+
/***/ }),
|
|
22059
|
+
|
|
22060
|
+
/***/ "b43a":
|
|
22061
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
22062
|
+
|
|
22063
|
+
// Imports
|
|
22064
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
22065
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
22066
|
+
// Module
|
|
22067
|
+
exports.push([module.i, ".wfattach-container .van-cell__value[data-v-c998ce86],.wfattach-container[data-v-c998ce86] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-c998ce86] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-c998ce86] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-c998ce86] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-c998ce86] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-c998ce86] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-c998ce86] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-c998ce86]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c998ce86]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c998ce86]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c998ce86]: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-c998ce86]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-c998ce86]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-c998ce86]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-c998ce86]{position:relative}.van-attachment-field[data-v-c998ce86]: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)}", ""]);
|
|
22068
|
+
// Exports
|
|
22069
|
+
module.exports = exports;
|
|
22070
|
+
|
|
22071
|
+
|
|
22061
22072
|
/***/ }),
|
|
22062
22073
|
|
|
22063
22074
|
/***/ "b460":
|
|
@@ -31872,17 +31883,6 @@ module.exports = function (it) {
|
|
|
31872
31883
|
};
|
|
31873
31884
|
|
|
31874
31885
|
|
|
31875
|
-
/***/ }),
|
|
31876
|
-
|
|
31877
|
-
/***/ "dfdb":
|
|
31878
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31879
|
-
|
|
31880
|
-
"use strict";
|
|
31881
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_4d11836c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3c7b");
|
|
31882
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_4d11836c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Attachment_vue_vue_type_style_index_0_id_4d11836c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
31883
|
-
/* unused harmony reexport * */
|
|
31884
|
-
|
|
31885
|
-
|
|
31886
31886
|
/***/ }),
|
|
31887
31887
|
|
|
31888
31888
|
/***/ "e038":
|
|
@@ -54528,8 +54528,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
54528
54528
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
54529
54529
|
};
|
|
54530
54530
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
54531
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d615e54-vue-loader-template"}!./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=
|
|
54532
|
-
var
|
|
54531
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d615e54-vue-loader-template"}!./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=c998ce86&scoped=true&
|
|
54532
|
+
var Attachmentvue_type_template_id_c998ce86_scoped_true_render = function render() {
|
|
54533
54533
|
var _vm = this,
|
|
54534
54534
|
_c = _vm._self._c;
|
|
54535
54535
|
return _c('div', {
|
|
@@ -54787,9 +54787,9 @@ var Attachmentvue_type_template_id_4d11836c_scoped_true_render = function render
|
|
|
54787
54787
|
}
|
|
54788
54788
|
})], 1) : _vm._e()], 1);
|
|
54789
54789
|
};
|
|
54790
|
-
var
|
|
54790
|
+
var Attachmentvue_type_template_id_c998ce86_scoped_true_staticRenderFns = [];
|
|
54791
54791
|
|
|
54792
|
-
// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=
|
|
54792
|
+
// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=c998ce86&scoped=true&
|
|
54793
54793
|
|
|
54794
54794
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js&
|
|
54795
54795
|
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); }
|
|
@@ -55143,12 +55143,12 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55143
55143
|
extName = attach.fileName.substring(attach.fileName.lastIndexOf('.')).toLowerCase();
|
|
55144
55144
|
}
|
|
55145
55145
|
if (device !== 'qywx' && device !== 'zwwx') {
|
|
55146
|
-
|
|
55146
|
+
// 企业微信、粤政易支持文档在线预览,不需要转pdf
|
|
55147
55147
|
if (extName !== '.pdf' && extName !== '.pdfx' && (this.onlineFile + ',').indexOf(extName + ',') !== -1) {
|
|
55148
55148
|
topdf = true;
|
|
55149
55149
|
}
|
|
55150
55150
|
} else if ((this.onlineFile + ',').indexOf('.ofd,') !== -1 && extName === '.ofd') {
|
|
55151
|
-
|
|
55151
|
+
// 后端支持ofd转pdf
|
|
55152
55152
|
topdf = true;
|
|
55153
55153
|
}
|
|
55154
55154
|
if (this.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.pdf' || extName === '.pdfx' || extName === '.ofd')) {
|
|
@@ -55403,7 +55403,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55403
55403
|
var _this9 = this;
|
|
55404
55404
|
return new Promise( /*#__PURE__*/function () {
|
|
55405
55405
|
var _ref2 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4(resole) {
|
|
55406
|
-
var uploadAttach, _this, uploadAttachFile, _uploadAttachFile, bodyfile, resp;
|
|
55406
|
+
var uploadAttach, _this, uploadAttachFile, _uploadAttachFile, bodyfile, resp, fileName, extName, docEditMode;
|
|
55407
55407
|
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
55408
55408
|
while (1) switch (_context4.prev = _context4.next) {
|
|
55409
55409
|
case 0:
|
|
@@ -55507,7 +55507,27 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55507
55507
|
_this.$bus.emit('onUploadProgress', attach);
|
|
55508
55508
|
}
|
|
55509
55509
|
});
|
|
55510
|
-
|
|
55510
|
+
// 判断当前上传文件以决定 haveDoc 状态
|
|
55511
|
+
fileName = bodyfile.file.name;
|
|
55512
|
+
extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
|
|
55513
|
+
docEditMode = '';
|
|
55514
|
+
if (_this9.$vnode.context.wfInstance.passenger.docEditMode) {
|
|
55515
|
+
// 当前模式获取
|
|
55516
|
+
docEditMode = _this9.$vnode.context.wfInstance.passenger.docEditMode;
|
|
55517
|
+
}
|
|
55518
|
+
if (docEditMode === 'RedTitle') {
|
|
55519
|
+
// 红头模式默认上传 红头文件
|
|
55520
|
+
$scope.wfInstance.haveDoc = 2;
|
|
55521
|
+
} else if (docEditMode === 'NoTitle') {
|
|
55522
|
+
// 无红头模式 上传 pdf 的话 默认为红头文件 其他则认为无红头文件 (doc,docx)
|
|
55523
|
+
if (extName === '.pdf') {
|
|
55524
|
+
$scope.wfInstance.haveDoc = 2;
|
|
55525
|
+
} else {
|
|
55526
|
+
$scope.wfInstance.haveDoc = 1;
|
|
55527
|
+
}
|
|
55528
|
+
} else {
|
|
55529
|
+
$scope.wfInstance.haveDoc = 2;
|
|
55530
|
+
}
|
|
55511
55531
|
if ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId) === -1) {
|
|
55512
55532
|
$scope.wfInstance.bodyDocId = $scope.bodyfile.originalName.split('\.')[0];
|
|
55513
55533
|
}
|
|
@@ -55518,6 +55538,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55518
55538
|
code: 'success',
|
|
55519
55539
|
message: '文件正文上传成功!'
|
|
55520
55540
|
});
|
|
55541
|
+
_this9.$nextTick(function () {
|
|
55542
|
+
_this9.$bus.emit('onTabChanged', 0);
|
|
55543
|
+
});
|
|
55521
55544
|
} else {
|
|
55522
55545
|
bodyfile.file.status = 'failure';
|
|
55523
55546
|
bodyfile.file.message = resp.message;
|
|
@@ -55560,10 +55583,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55560
55583
|
_this.attachments.forEach(function (iattach, iindex) {
|
|
55561
55584
|
if (file === iattach.file) {
|
|
55562
55585
|
if (uploadRst.body.uploadAttachList.length === 2) {
|
|
55563
|
-
;
|
|
55564
55586
|
($scope.attachments || $scope.vo.passenger.attachments || _this9.attachments).splice(iindex, 1, uploadRst.body.uploadAttachList[0], uploadRst.body.uploadAttachList[1]);
|
|
55565
55587
|
} else {
|
|
55566
|
-
;
|
|
55567
55588
|
($scope.attachments || $scope.vo.passenger.attachments || _this9.attachments).splice(iindex, 1, uploadRst.body.uploadAttachList[0]);
|
|
55568
55589
|
}
|
|
55569
55590
|
}
|
|
@@ -55617,8 +55638,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
55617
55638
|
});
|
|
55618
55639
|
// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js&
|
|
55619
55640
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js_ = (Attachmentvue_type_script_lang_js_);
|
|
55620
|
-
// EXTERNAL MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
55621
|
-
var
|
|
55641
|
+
// EXTERNAL MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=c998ce86&prod&scoped=true&lang=scss&
|
|
55642
|
+
var Attachmentvue_type_style_index_0_id_c998ce86_prod_scoped_true_lang_scss_ = __webpack_require__("762b");
|
|
55622
55643
|
|
|
55623
55644
|
// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
55624
55645
|
|
|
@@ -55631,11 +55652,11 @@ var Attachmentvue_type_style_index_0_id_4d11836c_prod_scoped_true_lang_scss_ = _
|
|
|
55631
55652
|
|
|
55632
55653
|
var Attachment_component = Object(componentNormalizer["a" /* default */])(
|
|
55633
55654
|
src_Attachmentvue_type_script_lang_js_,
|
|
55634
|
-
|
|
55635
|
-
|
|
55655
|
+
Attachmentvue_type_template_id_c998ce86_scoped_true_render,
|
|
55656
|
+
Attachmentvue_type_template_id_c998ce86_scoped_true_staticRenderFns,
|
|
55636
55657
|
false,
|
|
55637
55658
|
null,
|
|
55638
|
-
"
|
|
55659
|
+
"c998ce86",
|
|
55639
55660
|
null
|
|
55640
55661
|
|
|
55641
55662
|
)
|