ecinc-cloud-mappaio 9.6.44 → 9.6.45
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 +20 -24
- package/lib/ecmappaio.umd.js +20 -24
- package/lib/ecmappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -7223,7 +7223,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
|
|
|
7223
7223
|
|
|
7224
7224
|
/***/ }),
|
|
7225
7225
|
|
|
7226
|
-
/***/
|
|
7226
|
+
/***/ 683:
|
|
7227
7227
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7228
7228
|
|
|
7229
7229
|
"use strict";
|
|
@@ -7237,7 +7237,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7237
7237
|
|
|
7238
7238
|
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()));
|
|
7239
7239
|
// Module
|
|
7240
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7240
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-c6bd8876],.wfattach-container[data-v-c6bd8876] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-c6bd8876] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-c6bd8876] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-c6bd8876] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-c6bd8876] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-c6bd8876] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-c6bd8876] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-c6bd8876]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]: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-c6bd8876]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-c6bd8876]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-c6bd8876]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-c6bd8876]{position:relative}.van-attachment-field[data-v-c6bd8876]: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)}", ""]);
|
|
7241
7241
|
// Exports
|
|
7242
7242
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7243
7243
|
|
|
@@ -32421,19 +32421,19 @@ var update = add("a502c74c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32421
32421
|
|
|
32422
32422
|
/***/ }),
|
|
32423
32423
|
|
|
32424
|
-
/***/
|
|
32424
|
+
/***/ 8353:
|
|
32425
32425
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32426
32426
|
|
|
32427
32427
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32428
32428
|
|
|
32429
32429
|
// load the styles
|
|
32430
|
-
var content = __webpack_require__(
|
|
32430
|
+
var content = __webpack_require__(683);
|
|
32431
32431
|
if(content.__esModule) content = content.default;
|
|
32432
32432
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32433
32433
|
if(content.locals) module.exports = content.locals;
|
|
32434
32434
|
// add the styles to the DOM
|
|
32435
32435
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32436
|
-
var update = add("
|
|
32436
|
+
var update = add("593b10d2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32437
32437
|
|
|
32438
32438
|
/***/ }),
|
|
32439
32439
|
|
|
@@ -56229,8 +56229,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
56229
56229
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
56230
56230
|
};
|
|
56231
56231
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
56232
|
-
;// 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=
|
|
56233
|
-
var
|
|
56232
|
+
;// 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=c6bd8876&scoped=true
|
|
56233
|
+
var Attachmentvue_type_template_id_c6bd8876_scoped_true_render = function render() {
|
|
56234
56234
|
var _vm = this,
|
|
56235
56235
|
_c = _vm._self._c;
|
|
56236
56236
|
return _c('div', {
|
|
@@ -56491,7 +56491,7 @@ var Attachmentvue_type_template_id_14ce1160_scoped_true_render = function render
|
|
|
56491
56491
|
}
|
|
56492
56492
|
})], 1) : _vm._e()], 1);
|
|
56493
56493
|
};
|
|
56494
|
-
var
|
|
56494
|
+
var Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns = [];
|
|
56495
56495
|
|
|
56496
56496
|
;// 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
|
|
56497
56497
|
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); }
|
|
@@ -56550,7 +56550,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56550
56550
|
type: String,
|
|
56551
56551
|
default: ''
|
|
56552
56552
|
},
|
|
56553
|
-
//
|
|
56553
|
+
// 附件在线编辑文件格式
|
|
56554
56554
|
viewer: {
|
|
56555
56555
|
type: String,
|
|
56556
56556
|
default: 'pdfjs'
|
|
@@ -56641,7 +56641,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56641
56641
|
rename: ''
|
|
56642
56642
|
},
|
|
56643
56643
|
licExpiredAlert: null,
|
|
56644
|
-
loginUser: this.$store.getters.loginUser
|
|
56644
|
+
loginUser: this.$store.getters.loginUser,
|
|
56645
|
+
topdfFile: '.doc,.docx,.xls,.xlsx,.ppt,.pptx' //pdfjs在线预览支持转pdf的文件格式
|
|
56645
56646
|
};
|
|
56646
56647
|
},
|
|
56647
56648
|
computed: Attachmentvue_type_script_lang_js_objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
|
|
@@ -56694,6 +56695,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56694
56695
|
},
|
|
56695
56696
|
created: function created() {
|
|
56696
56697
|
if (!this.limitCount) this.limitCount = 100;
|
|
56698
|
+
if (!this.onlineFile) this.onlineEditor = '';
|
|
56697
56699
|
if (this.curTN.tnCanEdit === undefined) {
|
|
56698
56700
|
// 非流程表单
|
|
56699
56701
|
var $scope = this.$vnode.context;
|
|
@@ -56721,9 +56723,6 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56721
56723
|
_this3.$forceUpdate();
|
|
56722
56724
|
}
|
|
56723
56725
|
}, 500);
|
|
56724
|
-
if (!this.onlineFile) {
|
|
56725
|
-
this.onlineFile = '.doc,.docx,.xls,.xlsx,.ppt,.pptx';
|
|
56726
|
-
}
|
|
56727
56726
|
|
|
56728
56727
|
// 添加到basicform组件管理的附件组件数组中,实现一个表单多个附件组件可正常上传功能
|
|
56729
56728
|
var refsAttachments = this.$vnode.context.refsAttachments || this.$vnode.context.$parent.refsAttachments || this.$vnode.context.$parent.$vnode.context.refsAttachments;
|
|
@@ -56769,7 +56768,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56769
56768
|
var extName = '';
|
|
56770
56769
|
if (attach.fileName.indexOf('.') !== -1) {
|
|
56771
56770
|
extName = attach.fileName.substring(attach.fileName.lastIndexOf('.')).toLowerCase();
|
|
56772
|
-
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (this.
|
|
56771
|
+
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (this.topdfFile + ',').indexOf(extName + ',') !== -1) {
|
|
56773
56772
|
topdf = true;
|
|
56774
56773
|
}
|
|
56775
56774
|
}
|
|
@@ -56882,12 +56881,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56882
56881
|
}
|
|
56883
56882
|
if (device !== 'qywx' && device !== 'zwwx') {
|
|
56884
56883
|
// 企业微信、粤政易支持文档在线预览,不需要转pdf
|
|
56885
|
-
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.
|
|
56884
|
+
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.topdfFile + ',').indexOf(extName + ',') !== -1) {
|
|
56886
56885
|
topdf = true;
|
|
56887
56886
|
}
|
|
56888
|
-
} else if ((_this6.onlineFile + ',').indexOf('.ofd,') !== -1 && extName === '.ofd') {
|
|
56889
|
-
// 后端支持ofd转pdf
|
|
56890
|
-
topdf = true;
|
|
56891
56887
|
}
|
|
56892
56888
|
if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
|
|
56893
56889
|
_context.next = 22;
|
|
@@ -57504,9 +57500,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57504
57500
|
});
|
|
57505
57501
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
57506
57502
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
57507
|
-
// 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=
|
|
57508
|
-
var
|
|
57509
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
57503
|
+
// 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=c6bd8876&prod&scoped=true&lang=scss
|
|
57504
|
+
var Attachmentvue_type_style_index_0_id_c6bd8876_prod_scoped_true_lang_scss = __webpack_require__(8353);
|
|
57505
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=c6bd8876&prod&scoped=true&lang=scss
|
|
57510
57506
|
|
|
57511
57507
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
57512
57508
|
|
|
@@ -57519,11 +57515,11 @@ var Attachmentvue_type_style_index_0_id_14ce1160_prod_scoped_true_lang_scss = __
|
|
|
57519
57515
|
|
|
57520
57516
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
57521
57517
|
src_Attachmentvue_type_script_lang_js,
|
|
57522
|
-
|
|
57523
|
-
|
|
57518
|
+
Attachmentvue_type_template_id_c6bd8876_scoped_true_render,
|
|
57519
|
+
Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns,
|
|
57524
57520
|
false,
|
|
57525
57521
|
null,
|
|
57526
|
-
"
|
|
57522
|
+
"c6bd8876",
|
|
57527
57523
|
null
|
|
57528
57524
|
|
|
57529
57525
|
)
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -7233,7 +7233,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
|
|
|
7233
7233
|
|
|
7234
7234
|
/***/ }),
|
|
7235
7235
|
|
|
7236
|
-
/***/
|
|
7236
|
+
/***/ 4139:
|
|
7237
7237
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7238
7238
|
|
|
7239
7239
|
"use strict";
|
|
@@ -7247,7 +7247,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7247
7247
|
|
|
7248
7248
|
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()));
|
|
7249
7249
|
// Module
|
|
7250
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7250
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-c6bd8876],.wfattach-container[data-v-c6bd8876] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-c6bd8876] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-c6bd8876] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-c6bd8876] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-c6bd8876] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-c6bd8876] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-c6bd8876] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-c6bd8876]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]: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-c6bd8876]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-c6bd8876]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-c6bd8876]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-c6bd8876]{position:relative}.van-attachment-field[data-v-c6bd8876]: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)}", ""]);
|
|
7251
7251
|
// Exports
|
|
7252
7252
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7253
7253
|
|
|
@@ -32431,19 +32431,19 @@ var update = add("04d25616", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32431
32431
|
|
|
32432
32432
|
/***/ }),
|
|
32433
32433
|
|
|
32434
|
-
/***/
|
|
32434
|
+
/***/ 247:
|
|
32435
32435
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32436
32436
|
|
|
32437
32437
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32438
32438
|
|
|
32439
32439
|
// load the styles
|
|
32440
|
-
var content = __webpack_require__(
|
|
32440
|
+
var content = __webpack_require__(4139);
|
|
32441
32441
|
if(content.__esModule) content = content.default;
|
|
32442
32442
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32443
32443
|
if(content.locals) module.exports = content.locals;
|
|
32444
32444
|
// add the styles to the DOM
|
|
32445
32445
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32446
|
-
var update = add("
|
|
32446
|
+
var update = add("d820cb4a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32447
32447
|
|
|
32448
32448
|
/***/ }),
|
|
32449
32449
|
|
|
@@ -56239,8 +56239,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
56239
56239
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
56240
56240
|
};
|
|
56241
56241
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
56242
|
-
;// 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=
|
|
56243
|
-
var
|
|
56242
|
+
;// 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=c6bd8876&scoped=true
|
|
56243
|
+
var Attachmentvue_type_template_id_c6bd8876_scoped_true_render = function render() {
|
|
56244
56244
|
var _vm = this,
|
|
56245
56245
|
_c = _vm._self._c;
|
|
56246
56246
|
return _c('div', {
|
|
@@ -56501,7 +56501,7 @@ var Attachmentvue_type_template_id_14ce1160_scoped_true_render = function render
|
|
|
56501
56501
|
}
|
|
56502
56502
|
})], 1) : _vm._e()], 1);
|
|
56503
56503
|
};
|
|
56504
|
-
var
|
|
56504
|
+
var Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns = [];
|
|
56505
56505
|
|
|
56506
56506
|
;// 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
|
|
56507
56507
|
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); }
|
|
@@ -56560,7 +56560,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56560
56560
|
type: String,
|
|
56561
56561
|
default: ''
|
|
56562
56562
|
},
|
|
56563
|
-
//
|
|
56563
|
+
// 附件在线编辑文件格式
|
|
56564
56564
|
viewer: {
|
|
56565
56565
|
type: String,
|
|
56566
56566
|
default: 'pdfjs'
|
|
@@ -56651,7 +56651,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56651
56651
|
rename: ''
|
|
56652
56652
|
},
|
|
56653
56653
|
licExpiredAlert: null,
|
|
56654
|
-
loginUser: this.$store.getters.loginUser
|
|
56654
|
+
loginUser: this.$store.getters.loginUser,
|
|
56655
|
+
topdfFile: '.doc,.docx,.xls,.xlsx,.ppt,.pptx' //pdfjs在线预览支持转pdf的文件格式
|
|
56655
56656
|
};
|
|
56656
56657
|
},
|
|
56657
56658
|
computed: Attachmentvue_type_script_lang_js_objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
|
|
@@ -56704,6 +56705,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56704
56705
|
},
|
|
56705
56706
|
created: function created() {
|
|
56706
56707
|
if (!this.limitCount) this.limitCount = 100;
|
|
56708
|
+
if (!this.onlineFile) this.onlineEditor = '';
|
|
56707
56709
|
if (this.curTN.tnCanEdit === undefined) {
|
|
56708
56710
|
// 非流程表单
|
|
56709
56711
|
var $scope = this.$vnode.context;
|
|
@@ -56731,9 +56733,6 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56731
56733
|
_this3.$forceUpdate();
|
|
56732
56734
|
}
|
|
56733
56735
|
}, 500);
|
|
56734
|
-
if (!this.onlineFile) {
|
|
56735
|
-
this.onlineFile = '.doc,.docx,.xls,.xlsx,.ppt,.pptx';
|
|
56736
|
-
}
|
|
56737
56736
|
|
|
56738
56737
|
// 添加到basicform组件管理的附件组件数组中,实现一个表单多个附件组件可正常上传功能
|
|
56739
56738
|
var refsAttachments = this.$vnode.context.refsAttachments || this.$vnode.context.$parent.refsAttachments || this.$vnode.context.$parent.$vnode.context.refsAttachments;
|
|
@@ -56779,7 +56778,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56779
56778
|
var extName = '';
|
|
56780
56779
|
if (attach.fileName.indexOf('.') !== -1) {
|
|
56781
56780
|
extName = attach.fileName.substring(attach.fileName.lastIndexOf('.')).toLowerCase();
|
|
56782
|
-
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (this.
|
|
56781
|
+
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (this.topdfFile + ',').indexOf(extName + ',') !== -1) {
|
|
56783
56782
|
topdf = true;
|
|
56784
56783
|
}
|
|
56785
56784
|
}
|
|
@@ -56892,12 +56891,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56892
56891
|
}
|
|
56893
56892
|
if (device !== 'qywx' && device !== 'zwwx') {
|
|
56894
56893
|
// 企业微信、粤政易支持文档在线预览,不需要转pdf
|
|
56895
|
-
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.
|
|
56894
|
+
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.topdfFile + ',').indexOf(extName + ',') !== -1) {
|
|
56896
56895
|
topdf = true;
|
|
56897
56896
|
}
|
|
56898
|
-
} else if ((_this6.onlineFile + ',').indexOf('.ofd,') !== -1 && extName === '.ofd') {
|
|
56899
|
-
// 后端支持ofd转pdf
|
|
56900
|
-
topdf = true;
|
|
56901
56897
|
}
|
|
56902
56898
|
if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
|
|
56903
56899
|
_context.next = 22;
|
|
@@ -57514,9 +57510,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57514
57510
|
});
|
|
57515
57511
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
57516
57512
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
57517
|
-
// 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=
|
|
57518
|
-
var
|
|
57519
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
57513
|
+
// 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=c6bd8876&prod&scoped=true&lang=scss
|
|
57514
|
+
var Attachmentvue_type_style_index_0_id_c6bd8876_prod_scoped_true_lang_scss = __webpack_require__(247);
|
|
57515
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=c6bd8876&prod&scoped=true&lang=scss
|
|
57520
57516
|
|
|
57521
57517
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
57522
57518
|
|
|
@@ -57529,11 +57525,11 @@ var Attachmentvue_type_style_index_0_id_14ce1160_prod_scoped_true_lang_scss = __
|
|
|
57529
57525
|
|
|
57530
57526
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
57531
57527
|
src_Attachmentvue_type_script_lang_js,
|
|
57532
|
-
|
|
57533
|
-
|
|
57528
|
+
Attachmentvue_type_template_id_c6bd8876_scoped_true_render,
|
|
57529
|
+
Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns,
|
|
57534
57530
|
false,
|
|
57535
57531
|
null,
|
|
57536
|
-
"
|
|
57532
|
+
"c6bd8876",
|
|
57537
57533
|
null
|
|
57538
57534
|
|
|
57539
57535
|
)
|