ecinc-cloud-wappaio 9.6.356 → 9.6.357
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/ecwappaio.common.js +89 -17
- package/lib/ecwappaio.umd.js +89 -17
- package/lib/ecwappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -42822,7 +42822,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2c4c5b9c] .el-dialog__body{min
|
|
|
42822
42822
|
|
|
42823
42823
|
/***/ }),
|
|
42824
42824
|
|
|
42825
|
-
/***/
|
|
42825
|
+
/***/ 23697:
|
|
42826
42826
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42827
42827
|
|
|
42828
42828
|
"use strict";
|
|
@@ -42836,7 +42836,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42836
42836
|
|
|
42837
42837
|
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()));
|
|
42838
42838
|
// Module
|
|
42839
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".organ-info[data-v-
|
|
42839
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".organ-info[data-v-061cf5d6]{width:100%;font-weight:600;text-align:right;margin:10px 0 5px 0}.organ-info .el-button[data-v-061cf5d6]{padding-right:0}", ""]);
|
|
42840
42840
|
// Exports
|
|
42841
42841
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
42842
42842
|
|
|
@@ -135402,19 +135402,19 @@ var update = add("1486038a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
135402
135402
|
|
|
135403
135403
|
/***/ }),
|
|
135404
135404
|
|
|
135405
|
-
/***/
|
|
135405
|
+
/***/ 38983:
|
|
135406
135406
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
135407
135407
|
|
|
135408
135408
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
135409
135409
|
|
|
135410
135410
|
// load the styles
|
|
135411
|
-
var content = __webpack_require__(
|
|
135411
|
+
var content = __webpack_require__(23697);
|
|
135412
135412
|
if(content.__esModule) content = content.default;
|
|
135413
135413
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
135414
135414
|
if(content.locals) module.exports = content.locals;
|
|
135415
135415
|
// add the styles to the DOM
|
|
135416
135416
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
135417
|
-
var update = add("
|
|
135417
|
+
var update = add("1c468a52", content, true, {"sourceMap":false,"shadowMode":false});
|
|
135418
135418
|
|
|
135419
135419
|
/***/ }),
|
|
135420
135420
|
|
|
@@ -203364,8 +203364,8 @@ WfDefine_src.install = function (Vue) {
|
|
|
203364
203364
|
Vue.component(WfDefine_src.name, WfDefine_src);
|
|
203365
203365
|
};
|
|
203366
203366
|
var WfdList = WfDefine_src;
|
|
203367
|
-
;// 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/ecwplat/EditorConfig/src/index.vue?vue&type=template&id=
|
|
203368
|
-
var
|
|
203367
|
+
;// 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/ecwplat/EditorConfig/src/index.vue?vue&type=template&id=061cf5d6&scoped=true
|
|
203368
|
+
var srcvue_type_template_id_061cf5d6_scoped_true_render = function render() {
|
|
203369
203369
|
var _vm = this,
|
|
203370
203370
|
_c = _vm._self._c;
|
|
203371
203371
|
return _c('PageContent', {
|
|
@@ -203455,6 +203455,65 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_render = function render() {
|
|
|
203455
203455
|
}
|
|
203456
203456
|
}, [_vm._v("不支持")])], 1)], 1)]), _c('tr', [_c('td', {
|
|
203457
203457
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
203458
|
+
}, [_vm._v("上传正文文件格式")]), _c('td', {
|
|
203459
|
+
staticClass: "el-table__cell tdcont tdw83"
|
|
203460
|
+
}, [_c('el-checkbox-group', {
|
|
203461
|
+
attrs: {
|
|
203462
|
+
"disabled": _vm.attachCanEdit === 0
|
|
203463
|
+
},
|
|
203464
|
+
model: {
|
|
203465
|
+
value: _vm.bodyuploadFile,
|
|
203466
|
+
callback: function callback($$v) {
|
|
203467
|
+
_vm.bodyuploadFile = $$v;
|
|
203468
|
+
},
|
|
203469
|
+
expression: "bodyuploadFile"
|
|
203470
|
+
}
|
|
203471
|
+
}, [_c('el-checkbox', {
|
|
203472
|
+
attrs: {
|
|
203473
|
+
"label": ".doc"
|
|
203474
|
+
}
|
|
203475
|
+
}, [_vm._v(".doc")]), _c('el-checkbox', {
|
|
203476
|
+
attrs: {
|
|
203477
|
+
"label": ".docx"
|
|
203478
|
+
}
|
|
203479
|
+
}, [_vm._v(".docx")]), _c('el-checkbox', {
|
|
203480
|
+
attrs: {
|
|
203481
|
+
"label": ".xls"
|
|
203482
|
+
}
|
|
203483
|
+
}, [_vm._v(".xls")]), _c('el-checkbox', {
|
|
203484
|
+
attrs: {
|
|
203485
|
+
"label": ".xlsx"
|
|
203486
|
+
}
|
|
203487
|
+
}, [_vm._v(".xlsx")]), _c('el-checkbox', {
|
|
203488
|
+
attrs: {
|
|
203489
|
+
"label": ".ppt"
|
|
203490
|
+
}
|
|
203491
|
+
}, [_vm._v(".ppt")]), _c('el-checkbox', {
|
|
203492
|
+
attrs: {
|
|
203493
|
+
"label": ".pptx"
|
|
203494
|
+
}
|
|
203495
|
+
}, [_vm._v(".pptx")]), _c('el-checkbox', {
|
|
203496
|
+
attrs: {
|
|
203497
|
+
"label": ".wps"
|
|
203498
|
+
}
|
|
203499
|
+
}, [_vm._v(".wps")]), _c('el-checkbox', {
|
|
203500
|
+
attrs: {
|
|
203501
|
+
"label": ".pdf"
|
|
203502
|
+
}
|
|
203503
|
+
}, [_vm._v(".pdf")]), _c('el-checkbox', {
|
|
203504
|
+
attrs: {
|
|
203505
|
+
"label": ".ofd"
|
|
203506
|
+
}
|
|
203507
|
+
}, [_vm._v(".ofd")]), _c('el-checkbox', {
|
|
203508
|
+
attrs: {
|
|
203509
|
+
"label": ".tif"
|
|
203510
|
+
}
|
|
203511
|
+
}, [_vm._v(".tif")]), _c('el-checkbox', {
|
|
203512
|
+
attrs: {
|
|
203513
|
+
"label": ".tiff"
|
|
203514
|
+
}
|
|
203515
|
+
}, [_vm._v(".tiff")])], 1)], 1)]), _c('tr', [_c('td', {
|
|
203516
|
+
staticClass: "el-table__cell tdlbl tdw17"
|
|
203458
203517
|
}, [_vm._v("附件是否可在线编辑")]), _c('td', {
|
|
203459
203518
|
staticClass: "el-table__cell tdcont tdw83"
|
|
203460
203519
|
}, [_c('el-radio-group', {
|
|
@@ -203585,7 +203644,7 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_render = function render() {
|
|
|
203585
203644
|
}
|
|
203586
203645
|
}, [_vm._v("保存到所有单位")]) : _vm._e()], 1)], 1);
|
|
203587
203646
|
};
|
|
203588
|
-
var
|
|
203647
|
+
var srcvue_type_template_id_061cf5d6_scoped_true_staticRenderFns = [];
|
|
203589
203648
|
|
|
203590
203649
|
;// 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/ecwplat/EditorConfig/src/index.vue?vue&type=script&lang=js
|
|
203591
203650
|
/* harmony default export */ var EditorConfig_srcvue_type_script_lang_js = ({
|
|
@@ -203601,6 +203660,8 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203601
203660
|
//PC端文档编辑器
|
|
203602
203661
|
onlineEditor: 'none',
|
|
203603
203662
|
//手机、平板、Linux端文档编辑器
|
|
203663
|
+
bodyuploadFile: '.doc,.docx,.pdf,.ofd'.split(','),
|
|
203664
|
+
//正文可上传文件格式
|
|
203604
203665
|
onlineFile: '.doc,.docx,.xls,.xlsx,.ppt,.pptx'.split(','),
|
|
203605
203666
|
//附件可在线编辑文件格式
|
|
203606
203667
|
attachCanEdit: 0,
|
|
@@ -203638,7 +203699,7 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203638
203699
|
contentType: 'application/x-www-form-urlencoded',
|
|
203639
203700
|
params: {
|
|
203640
203701
|
orgCode: orgCode,
|
|
203641
|
-
paramNames: 'bodyfile.editor.office,bodyfile.editor.h5office,attach.online.file,attach.online.viewer'
|
|
203702
|
+
paramNames: 'bodyfile.editor.office,bodyfile.editor.h5office,bodyfile.upload.file,attach.online.file,attach.online.viewer'
|
|
203642
203703
|
},
|
|
203643
203704
|
url: 'base/paramConfig/findParamConfigByParamNames'
|
|
203644
203705
|
}).then(function (res) {
|
|
@@ -203646,7 +203707,8 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203646
203707
|
_this2.officeType = res.body.params['bodyfile.editor.office'] || _this2.officeType;
|
|
203647
203708
|
_this2.onlineEditor = res.body.params['bodyfile.editor.h5office'] || _this2.onlineEditor;
|
|
203648
203709
|
_this2.attachViewer = res.body.params['attach.online.viewer'] || _this2.attachViewer;
|
|
203649
|
-
_this2.
|
|
203710
|
+
_this2.bodyuploadFile = (res.body.params['bodyfile.upload.file'] || '.doc,.docx,.pdf,.ofd').split(',');
|
|
203711
|
+
_this2.onlineFile = (res.body.params['attach.online.file'] || '.doc,.docx,.xls,.xlsx,.ppt,.pptx').split(',');
|
|
203650
203712
|
if (_this.onlineFile.indexOf('none') !== -1) {
|
|
203651
203713
|
_this.attachCanEdit = 0;
|
|
203652
203714
|
} else {
|
|
@@ -203675,6 +203737,16 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203675
203737
|
h5OfficeType.paramName = 'bodyfile.editor.h5office';
|
|
203676
203738
|
h5OfficeType.paramDesc = '手机端文档编辑器,易臣H5:ech5,永中H5:yzh5,WPSH5:wpsh5,不支持:none';
|
|
203677
203739
|
h5OfficeType.paramValue = this.onlineEditor;
|
|
203740
|
+
var bodyuploadFile = JSON.parse(JSON.stringify(param));
|
|
203741
|
+
bodyuploadFile.paramName = 'bodyfile.upload.file';
|
|
203742
|
+
bodyuploadFile.paramDesc = '正文可上传文件格式,默认为:.doc,.docx,.pdf,.ofd';
|
|
203743
|
+
bodyuploadFile.paramValue = this.bodyuploadFile.join(',');
|
|
203744
|
+
if (!bodyuploadFile.paramValue) {
|
|
203745
|
+
this.$alert('请选择正文可上传文件格式!', this.$tx('common.operationTip', '操作提示'), {
|
|
203746
|
+
type: 'warning'
|
|
203747
|
+
});
|
|
203748
|
+
return;
|
|
203749
|
+
}
|
|
203678
203750
|
var onlineFile = JSON.parse(JSON.stringify(param));
|
|
203679
203751
|
onlineFile.paramName = 'attach.online.file';
|
|
203680
203752
|
onlineFile.paramDesc = '附件可在线编辑文件格式:.doc,.docx,.xls,.xlsx,.ppt,.pptx,默认为none';
|
|
@@ -203688,7 +203760,7 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203688
203760
|
attachViewer.paramName = 'attach.online.viewer';
|
|
203689
203761
|
attachViewer.paramDesc = '附件在线预览阅读器,PdfJS:pdfjs,易臣H5:ech5,永中H5:yzh5,WPSH5:wpsh5,默认为:pdfjs';
|
|
203690
203762
|
attachViewer.paramValue = this.attachViewer;
|
|
203691
|
-
var paramConfigs = [officeType, h5OfficeType, onlineFile, attachViewer];
|
|
203763
|
+
var paramConfigs = [officeType, h5OfficeType, bodyuploadFile, onlineFile, attachViewer];
|
|
203692
203764
|
this.$http({
|
|
203693
203765
|
method: 'POST',
|
|
203694
203766
|
contentType: 'application/x-www-form-urlencoded',
|
|
@@ -203704,9 +203776,9 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203704
203776
|
});
|
|
203705
203777
|
;// CONCATENATED MODULE: ./packages/ecwplat/EditorConfig/src/index.vue?vue&type=script&lang=js
|
|
203706
203778
|
/* harmony default export */ var ecwplat_EditorConfig_srcvue_type_script_lang_js = (EditorConfig_srcvue_type_script_lang_js);
|
|
203707
|
-
// 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/ecwplat/EditorConfig/src/index.vue?vue&type=style&index=0&id=
|
|
203708
|
-
var
|
|
203709
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/EditorConfig/src/index.vue?vue&type=style&index=0&id=
|
|
203779
|
+
// 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/ecwplat/EditorConfig/src/index.vue?vue&type=style&index=0&id=061cf5d6&prod&scoped=true&lang=scss
|
|
203780
|
+
var srcvue_type_style_index_0_id_061cf5d6_prod_scoped_true_lang_scss = __webpack_require__(38983);
|
|
203781
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/EditorConfig/src/index.vue?vue&type=style&index=0&id=061cf5d6&prod&scoped=true&lang=scss
|
|
203710
203782
|
|
|
203711
203783
|
;// CONCATENATED MODULE: ./packages/ecwplat/EditorConfig/src/index.vue
|
|
203712
203784
|
|
|
@@ -203719,11 +203791,11 @@ var srcvue_type_style_index_0_id_b6cb3f66_prod_scoped_true_lang_scss = __webpack
|
|
|
203719
203791
|
|
|
203720
203792
|
var EditorConfig_src_component = (0,componentNormalizer/* default */.A)(
|
|
203721
203793
|
ecwplat_EditorConfig_srcvue_type_script_lang_js,
|
|
203722
|
-
|
|
203723
|
-
|
|
203794
|
+
srcvue_type_template_id_061cf5d6_scoped_true_render,
|
|
203795
|
+
srcvue_type_template_id_061cf5d6_scoped_true_staticRenderFns,
|
|
203724
203796
|
false,
|
|
203725
203797
|
null,
|
|
203726
|
-
"
|
|
203798
|
+
"061cf5d6",
|
|
203727
203799
|
null
|
|
203728
203800
|
|
|
203729
203801
|
)
|
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -42832,7 +42832,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2c4c5b9c] .el-dialog__body{min
|
|
|
42832
42832
|
|
|
42833
42833
|
/***/ }),
|
|
42834
42834
|
|
|
42835
|
-
/***/
|
|
42835
|
+
/***/ 60241:
|
|
42836
42836
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42837
42837
|
|
|
42838
42838
|
"use strict";
|
|
@@ -42846,7 +42846,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42846
42846
|
|
|
42847
42847
|
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()));
|
|
42848
42848
|
// Module
|
|
42849
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".organ-info[data-v-
|
|
42849
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".organ-info[data-v-061cf5d6]{width:100%;font-weight:600;text-align:right;margin:10px 0 5px 0}.organ-info .el-button[data-v-061cf5d6]{padding-right:0}", ""]);
|
|
42850
42850
|
// Exports
|
|
42851
42851
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
42852
42852
|
|
|
@@ -135412,19 +135412,19 @@ var update = add("b0acfd64", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
135412
135412
|
|
|
135413
135413
|
/***/ }),
|
|
135414
135414
|
|
|
135415
|
-
/***/
|
|
135415
|
+
/***/ 27349:
|
|
135416
135416
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
135417
135417
|
|
|
135418
135418
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
135419
135419
|
|
|
135420
135420
|
// load the styles
|
|
135421
|
-
var content = __webpack_require__(
|
|
135421
|
+
var content = __webpack_require__(60241);
|
|
135422
135422
|
if(content.__esModule) content = content.default;
|
|
135423
135423
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
135424
135424
|
if(content.locals) module.exports = content.locals;
|
|
135425
135425
|
// add the styles to the DOM
|
|
135426
135426
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
135427
|
-
var update = add("
|
|
135427
|
+
var update = add("0b061016", content, true, {"sourceMap":false,"shadowMode":false});
|
|
135428
135428
|
|
|
135429
135429
|
/***/ }),
|
|
135430
135430
|
|
|
@@ -203374,8 +203374,8 @@ WfDefine_src.install = function (Vue) {
|
|
|
203374
203374
|
Vue.component(WfDefine_src.name, WfDefine_src);
|
|
203375
203375
|
};
|
|
203376
203376
|
var WfdList = WfDefine_src;
|
|
203377
|
-
;// 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/ecwplat/EditorConfig/src/index.vue?vue&type=template&id=
|
|
203378
|
-
var
|
|
203377
|
+
;// 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/ecwplat/EditorConfig/src/index.vue?vue&type=template&id=061cf5d6&scoped=true
|
|
203378
|
+
var srcvue_type_template_id_061cf5d6_scoped_true_render = function render() {
|
|
203379
203379
|
var _vm = this,
|
|
203380
203380
|
_c = _vm._self._c;
|
|
203381
203381
|
return _c('PageContent', {
|
|
@@ -203465,6 +203465,65 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_render = function render() {
|
|
|
203465
203465
|
}
|
|
203466
203466
|
}, [_vm._v("不支持")])], 1)], 1)]), _c('tr', [_c('td', {
|
|
203467
203467
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
203468
|
+
}, [_vm._v("上传正文文件格式")]), _c('td', {
|
|
203469
|
+
staticClass: "el-table__cell tdcont tdw83"
|
|
203470
|
+
}, [_c('el-checkbox-group', {
|
|
203471
|
+
attrs: {
|
|
203472
|
+
"disabled": _vm.attachCanEdit === 0
|
|
203473
|
+
},
|
|
203474
|
+
model: {
|
|
203475
|
+
value: _vm.bodyuploadFile,
|
|
203476
|
+
callback: function callback($$v) {
|
|
203477
|
+
_vm.bodyuploadFile = $$v;
|
|
203478
|
+
},
|
|
203479
|
+
expression: "bodyuploadFile"
|
|
203480
|
+
}
|
|
203481
|
+
}, [_c('el-checkbox', {
|
|
203482
|
+
attrs: {
|
|
203483
|
+
"label": ".doc"
|
|
203484
|
+
}
|
|
203485
|
+
}, [_vm._v(".doc")]), _c('el-checkbox', {
|
|
203486
|
+
attrs: {
|
|
203487
|
+
"label": ".docx"
|
|
203488
|
+
}
|
|
203489
|
+
}, [_vm._v(".docx")]), _c('el-checkbox', {
|
|
203490
|
+
attrs: {
|
|
203491
|
+
"label": ".xls"
|
|
203492
|
+
}
|
|
203493
|
+
}, [_vm._v(".xls")]), _c('el-checkbox', {
|
|
203494
|
+
attrs: {
|
|
203495
|
+
"label": ".xlsx"
|
|
203496
|
+
}
|
|
203497
|
+
}, [_vm._v(".xlsx")]), _c('el-checkbox', {
|
|
203498
|
+
attrs: {
|
|
203499
|
+
"label": ".ppt"
|
|
203500
|
+
}
|
|
203501
|
+
}, [_vm._v(".ppt")]), _c('el-checkbox', {
|
|
203502
|
+
attrs: {
|
|
203503
|
+
"label": ".pptx"
|
|
203504
|
+
}
|
|
203505
|
+
}, [_vm._v(".pptx")]), _c('el-checkbox', {
|
|
203506
|
+
attrs: {
|
|
203507
|
+
"label": ".wps"
|
|
203508
|
+
}
|
|
203509
|
+
}, [_vm._v(".wps")]), _c('el-checkbox', {
|
|
203510
|
+
attrs: {
|
|
203511
|
+
"label": ".pdf"
|
|
203512
|
+
}
|
|
203513
|
+
}, [_vm._v(".pdf")]), _c('el-checkbox', {
|
|
203514
|
+
attrs: {
|
|
203515
|
+
"label": ".ofd"
|
|
203516
|
+
}
|
|
203517
|
+
}, [_vm._v(".ofd")]), _c('el-checkbox', {
|
|
203518
|
+
attrs: {
|
|
203519
|
+
"label": ".tif"
|
|
203520
|
+
}
|
|
203521
|
+
}, [_vm._v(".tif")]), _c('el-checkbox', {
|
|
203522
|
+
attrs: {
|
|
203523
|
+
"label": ".tiff"
|
|
203524
|
+
}
|
|
203525
|
+
}, [_vm._v(".tiff")])], 1)], 1)]), _c('tr', [_c('td', {
|
|
203526
|
+
staticClass: "el-table__cell tdlbl tdw17"
|
|
203468
203527
|
}, [_vm._v("附件是否可在线编辑")]), _c('td', {
|
|
203469
203528
|
staticClass: "el-table__cell tdcont tdw83"
|
|
203470
203529
|
}, [_c('el-radio-group', {
|
|
@@ -203595,7 +203654,7 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_render = function render() {
|
|
|
203595
203654
|
}
|
|
203596
203655
|
}, [_vm._v("保存到所有单位")]) : _vm._e()], 1)], 1);
|
|
203597
203656
|
};
|
|
203598
|
-
var
|
|
203657
|
+
var srcvue_type_template_id_061cf5d6_scoped_true_staticRenderFns = [];
|
|
203599
203658
|
|
|
203600
203659
|
;// 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/ecwplat/EditorConfig/src/index.vue?vue&type=script&lang=js
|
|
203601
203660
|
/* harmony default export */ var EditorConfig_srcvue_type_script_lang_js = ({
|
|
@@ -203611,6 +203670,8 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203611
203670
|
//PC端文档编辑器
|
|
203612
203671
|
onlineEditor: 'none',
|
|
203613
203672
|
//手机、平板、Linux端文档编辑器
|
|
203673
|
+
bodyuploadFile: '.doc,.docx,.pdf,.ofd'.split(','),
|
|
203674
|
+
//正文可上传文件格式
|
|
203614
203675
|
onlineFile: '.doc,.docx,.xls,.xlsx,.ppt,.pptx'.split(','),
|
|
203615
203676
|
//附件可在线编辑文件格式
|
|
203616
203677
|
attachCanEdit: 0,
|
|
@@ -203648,7 +203709,7 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203648
203709
|
contentType: 'application/x-www-form-urlencoded',
|
|
203649
203710
|
params: {
|
|
203650
203711
|
orgCode: orgCode,
|
|
203651
|
-
paramNames: 'bodyfile.editor.office,bodyfile.editor.h5office,attach.online.file,attach.online.viewer'
|
|
203712
|
+
paramNames: 'bodyfile.editor.office,bodyfile.editor.h5office,bodyfile.upload.file,attach.online.file,attach.online.viewer'
|
|
203652
203713
|
},
|
|
203653
203714
|
url: 'base/paramConfig/findParamConfigByParamNames'
|
|
203654
203715
|
}).then(function (res) {
|
|
@@ -203656,7 +203717,8 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203656
203717
|
_this2.officeType = res.body.params['bodyfile.editor.office'] || _this2.officeType;
|
|
203657
203718
|
_this2.onlineEditor = res.body.params['bodyfile.editor.h5office'] || _this2.onlineEditor;
|
|
203658
203719
|
_this2.attachViewer = res.body.params['attach.online.viewer'] || _this2.attachViewer;
|
|
203659
|
-
_this2.
|
|
203720
|
+
_this2.bodyuploadFile = (res.body.params['bodyfile.upload.file'] || '.doc,.docx,.pdf,.ofd').split(',');
|
|
203721
|
+
_this2.onlineFile = (res.body.params['attach.online.file'] || '.doc,.docx,.xls,.xlsx,.ppt,.pptx').split(',');
|
|
203660
203722
|
if (_this.onlineFile.indexOf('none') !== -1) {
|
|
203661
203723
|
_this.attachCanEdit = 0;
|
|
203662
203724
|
} else {
|
|
@@ -203685,6 +203747,16 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203685
203747
|
h5OfficeType.paramName = 'bodyfile.editor.h5office';
|
|
203686
203748
|
h5OfficeType.paramDesc = '手机端文档编辑器,易臣H5:ech5,永中H5:yzh5,WPSH5:wpsh5,不支持:none';
|
|
203687
203749
|
h5OfficeType.paramValue = this.onlineEditor;
|
|
203750
|
+
var bodyuploadFile = JSON.parse(JSON.stringify(param));
|
|
203751
|
+
bodyuploadFile.paramName = 'bodyfile.upload.file';
|
|
203752
|
+
bodyuploadFile.paramDesc = '正文可上传文件格式,默认为:.doc,.docx,.pdf,.ofd';
|
|
203753
|
+
bodyuploadFile.paramValue = this.bodyuploadFile.join(',');
|
|
203754
|
+
if (!bodyuploadFile.paramValue) {
|
|
203755
|
+
this.$alert('请选择正文可上传文件格式!', this.$tx('common.operationTip', '操作提示'), {
|
|
203756
|
+
type: 'warning'
|
|
203757
|
+
});
|
|
203758
|
+
return;
|
|
203759
|
+
}
|
|
203688
203760
|
var onlineFile = JSON.parse(JSON.stringify(param));
|
|
203689
203761
|
onlineFile.paramName = 'attach.online.file';
|
|
203690
203762
|
onlineFile.paramDesc = '附件可在线编辑文件格式:.doc,.docx,.xls,.xlsx,.ppt,.pptx,默认为none';
|
|
@@ -203698,7 +203770,7 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203698
203770
|
attachViewer.paramName = 'attach.online.viewer';
|
|
203699
203771
|
attachViewer.paramDesc = '附件在线预览阅读器,PdfJS:pdfjs,易臣H5:ech5,永中H5:yzh5,WPSH5:wpsh5,默认为:pdfjs';
|
|
203700
203772
|
attachViewer.paramValue = this.attachViewer;
|
|
203701
|
-
var paramConfigs = [officeType, h5OfficeType, onlineFile, attachViewer];
|
|
203773
|
+
var paramConfigs = [officeType, h5OfficeType, bodyuploadFile, onlineFile, attachViewer];
|
|
203702
203774
|
this.$http({
|
|
203703
203775
|
method: 'POST',
|
|
203704
203776
|
contentType: 'application/x-www-form-urlencoded',
|
|
@@ -203714,9 +203786,9 @@ var srcvue_type_template_id_b6cb3f66_scoped_true_staticRenderFns = [];
|
|
|
203714
203786
|
});
|
|
203715
203787
|
;// CONCATENATED MODULE: ./packages/ecwplat/EditorConfig/src/index.vue?vue&type=script&lang=js
|
|
203716
203788
|
/* harmony default export */ var ecwplat_EditorConfig_srcvue_type_script_lang_js = (EditorConfig_srcvue_type_script_lang_js);
|
|
203717
|
-
// 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/ecwplat/EditorConfig/src/index.vue?vue&type=style&index=0&id=
|
|
203718
|
-
var
|
|
203719
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/EditorConfig/src/index.vue?vue&type=style&index=0&id=
|
|
203789
|
+
// 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/ecwplat/EditorConfig/src/index.vue?vue&type=style&index=0&id=061cf5d6&prod&scoped=true&lang=scss
|
|
203790
|
+
var srcvue_type_style_index_0_id_061cf5d6_prod_scoped_true_lang_scss = __webpack_require__(27349);
|
|
203791
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/EditorConfig/src/index.vue?vue&type=style&index=0&id=061cf5d6&prod&scoped=true&lang=scss
|
|
203720
203792
|
|
|
203721
203793
|
;// CONCATENATED MODULE: ./packages/ecwplat/EditorConfig/src/index.vue
|
|
203722
203794
|
|
|
@@ -203729,11 +203801,11 @@ var srcvue_type_style_index_0_id_b6cb3f66_prod_scoped_true_lang_scss = __webpack
|
|
|
203729
203801
|
|
|
203730
203802
|
var EditorConfig_src_component = (0,componentNormalizer/* default */.A)(
|
|
203731
203803
|
ecwplat_EditorConfig_srcvue_type_script_lang_js,
|
|
203732
|
-
|
|
203733
|
-
|
|
203804
|
+
srcvue_type_template_id_061cf5d6_scoped_true_render,
|
|
203805
|
+
srcvue_type_template_id_061cf5d6_scoped_true_staticRenderFns,
|
|
203734
203806
|
false,
|
|
203735
203807
|
null,
|
|
203736
|
-
"
|
|
203808
|
+
"061cf5d6",
|
|
203737
203809
|
null
|
|
203738
203810
|
|
|
203739
203811
|
)
|