ecinc-cloud-wappaio 9.7.61 → 9.7.63
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 +216 -88
- package/lib/ecwappaio.umd.js +216 -88
- package/lib/ecwappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -83158,7 +83158,7 @@ var AdminConsole_TableEntityMgr = TableEntityMgr;
|
|
|
83158
83158
|
|
|
83159
83159
|
/***/ }),
|
|
83160
83160
|
|
|
83161
|
-
/***/
|
|
83161
|
+
/***/ 3901:
|
|
83162
83162
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
83163
83163
|
|
|
83164
83164
|
"use strict";
|
|
@@ -83171,7 +83171,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
83171
83171
|
FromEventEdit: function() { return /* binding */ FromEventEdit; }
|
|
83172
83172
|
});
|
|
83173
83173
|
|
|
83174
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/ecwplus/BusiformDesigner/src/index.vue?vue&type=template&id=
|
|
83174
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/ecwplus/BusiformDesigner/src/index.vue?vue&type=template&id=791b1302&scoped=true
|
|
83175
83175
|
var render = function render() {
|
|
83176
83176
|
var _vm = this,
|
|
83177
83177
|
_c = _vm._self._c;
|
|
@@ -84278,8 +84278,8 @@ var attachment = __webpack_require__(31885);
|
|
|
84278
84278
|
var paperComponent = __webpack_require__(67907);
|
|
84279
84279
|
// EXTERNAL MODULE: ./packages/ecwplus/BusiformDesigner/template/FormNumber.vue + 4 modules
|
|
84280
84280
|
var FormNumber = __webpack_require__(8900);
|
|
84281
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=template&id=
|
|
84282
|
-
var
|
|
84281
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=template&id=947defde&scoped=true
|
|
84282
|
+
var widgetTableBodyvue_type_template_id_947defde_scoped_true_render = function render() {
|
|
84283
84283
|
var _vm = this,
|
|
84284
84284
|
_c = _vm._self._c;
|
|
84285
84285
|
return _c('div', {
|
|
@@ -84335,7 +84335,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84335
84335
|
}
|
|
84336
84336
|
}
|
|
84337
84337
|
}, [_vm._l(element.divide, function (col, colIndex) {
|
|
84338
|
-
return [col.list && col.list.length > 0 && col.list[0].type === 'ideaLables' ? [_vm._l(col.list[0].divide, function (ideaLable, ideaIndex) {
|
|
84338
|
+
return [!col.hidden && col.list && col.list.length > 0 && col.list[0].type === 'ideaLables' ? [_vm._l(col.list[0].divide, function (ideaLable, ideaIndex) {
|
|
84339
84339
|
return [ideaLable.options.lableTd == 0 || ideaLable.options.lableTd == 2 ? [_c('td', {
|
|
84340
84340
|
key: ideaIndex,
|
|
84341
84341
|
staticClass: "handle-drag",
|
|
@@ -84351,7 +84351,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84351
84351
|
"labelTd": ideaLable.options.lableTd,
|
|
84352
84352
|
"width": col.span * 100 / 24 + '%',
|
|
84353
84353
|
"colspan": col.span ? col.span : 1,
|
|
84354
|
-
"rowspan": col.
|
|
84354
|
+
"rowspan": col.rowspan ? col.rowspan : 1
|
|
84355
84355
|
},
|
|
84356
84356
|
on: {
|
|
84357
84357
|
"contextmenu": function contextmenu($event) {
|
|
@@ -84495,7 +84495,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84495
84495
|
attrs: {
|
|
84496
84496
|
"width": col.span * 100 / 24 + '%',
|
|
84497
84497
|
"colspan": col.span ? col.span : 1,
|
|
84498
|
-
"rowspan": col.
|
|
84498
|
+
"rowspan": col.rowspan ? col.rowspan : 1
|
|
84499
84499
|
},
|
|
84500
84500
|
on: {
|
|
84501
84501
|
"contextmenu": function contextmenu($event) {
|
|
@@ -84754,7 +84754,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84754
84754
|
}
|
|
84755
84755
|
})];
|
|
84756
84756
|
})], 2) : _vm._l(element.divide, function (col, colIndex) {
|
|
84757
|
-
return [col.label ? _c('td', {
|
|
84757
|
+
return [col.label && !col.hidden ? _c('td', {
|
|
84758
84758
|
key: col.key,
|
|
84759
84759
|
staticClass: "el-table__cell tdlbl",
|
|
84760
84760
|
class: {
|
|
@@ -84800,7 +84800,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84800
84800
|
animation: 200
|
|
84801
84801
|
}, false), [!col.list || col.list.length === 0 ? [_vm._v("放置字段")] : [col.list[0].isRequired ? _c('span', {
|
|
84802
84802
|
staticClass: "field-required"
|
|
84803
|
-
}, [_vm._v("*")]) : _vm._e(), _vm._v(" " + _vm._s(col.list[0].propComment) + " ")]], 2)], 1) : _c('td', {
|
|
84803
|
+
}, [_vm._v("*")]) : _vm._e(), _vm._v(" " + _vm._s(col.list[0].propComment) + " ")]], 2)], 1) : !col.hidden ? _c('td', {
|
|
84804
84804
|
key: colIndex,
|
|
84805
84805
|
staticClass: "el-table__cell tdcont",
|
|
84806
84806
|
class: {
|
|
@@ -84955,7 +84955,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84955
84955
|
}
|
|
84956
84956
|
}, [_c('i', {
|
|
84957
84957
|
staticClass: "el-icon-edit"
|
|
84958
|
-
})]) : _vm._e()])]) : _vm._e()], 1)];
|
|
84958
|
+
})]) : _vm._e()])]) : _vm._e()], 1) : _vm._e()];
|
|
84959
84959
|
})], 2)] : element.type === 'area' ? [_c('tr', {
|
|
84960
84960
|
key: element.key,
|
|
84961
84961
|
staticClass: "widget-col widget-view",
|
|
@@ -85294,7 +85294,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
85294
85294
|
}
|
|
85295
85295
|
}, [_vm._v("右侧插入单元格")]) : _vm._e()])])]);
|
|
85296
85296
|
};
|
|
85297
|
-
var
|
|
85297
|
+
var widgetTableBodyvue_type_template_id_947defde_scoped_true_staticRenderFns = [];
|
|
85298
85298
|
|
|
85299
85299
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=script&lang=js
|
|
85300
85300
|
|
|
@@ -85583,6 +85583,11 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_staticRenderFns = [
|
|
|
85583
85583
|
var col = this.contextMenu.col;
|
|
85584
85584
|
var rowspan = (col.rowspan || 1) + 1;
|
|
85585
85585
|
this.$set(col, 'rowspan', rowspan);
|
|
85586
|
+
// 向下合并后rowspan单元格会占用后续行的列,立即检测修复视觉行超宽
|
|
85587
|
+
var designer = this.$vnode && this.$vnode.context && this.$vnode.context.$vnode && this.$vnode.context.$vnode.context;
|
|
85588
|
+
if (designer && designer.checkRowOverflow) {
|
|
85589
|
+
designer.checkRowOverflow(this.list, []);
|
|
85590
|
+
}
|
|
85586
85591
|
this.closeContextMenu();
|
|
85587
85592
|
},
|
|
85588
85593
|
mergeRight: function mergeRight() {
|
|
@@ -85657,9 +85662,9 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_staticRenderFns = [
|
|
|
85657
85662
|
});
|
|
85658
85663
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=script&lang=js
|
|
85659
85664
|
/* harmony default export */ var src_widgetTableBodyvue_type_script_lang_js = (widgetTableBodyvue_type_script_lang_js);
|
|
85660
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=style&index=0&id=
|
|
85661
|
-
var
|
|
85662
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=style&index=0&id=
|
|
85665
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=style&index=0&id=947defde&prod&lang=scss&scoped=true
|
|
85666
|
+
var widgetTableBodyvue_type_style_index_0_id_947defde_prod_lang_scss_scoped_true = __webpack_require__(80643);
|
|
85667
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=style&index=0&id=947defde&prod&lang=scss&scoped=true
|
|
85663
85668
|
|
|
85664
85669
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
85665
85670
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -85674,11 +85679,11 @@ var componentNormalizer = __webpack_require__(81656);
|
|
|
85674
85679
|
|
|
85675
85680
|
var component = (0,componentNormalizer/* default */.A)(
|
|
85676
85681
|
src_widgetTableBodyvue_type_script_lang_js,
|
|
85677
|
-
|
|
85678
|
-
|
|
85682
|
+
widgetTableBodyvue_type_template_id_947defde_scoped_true_render,
|
|
85683
|
+
widgetTableBodyvue_type_template_id_947defde_scoped_true_staticRenderFns,
|
|
85679
85684
|
false,
|
|
85680
85685
|
null,
|
|
85681
|
-
"
|
|
85686
|
+
"947defde",
|
|
85682
85687
|
null
|
|
85683
85688
|
|
|
85684
85689
|
)
|
|
@@ -89533,8 +89538,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89533
89538
|
} else {
|
|
89534
89539
|
if (res.body.busiform.frmDesignView) {
|
|
89535
89540
|
var tableViewJson = JSON.parse(res.body.busiform.frmDesignView);
|
|
89536
|
-
//
|
|
89537
|
-
_this.repairDesignViewList(tableViewJson.list);
|
|
89541
|
+
// 修复历史脏数据;返回无法自动修复的超宽行
|
|
89542
|
+
var designProblems = _this.repairDesignViewList(tableViewJson.list) || [];
|
|
89538
89543
|
if (_this.$route.query.actionType === 'copy' && res.body.busiform.frmViewType !== _this.tableViewJson.frmViewType && _this.$route.query.frmViewType.indexOf('M_') === 0) {
|
|
89539
89544
|
//根据PC表单复制生成手机版H5表单
|
|
89540
89545
|
tableViewJson.config.frmViewType = _this7.$route.query.frmViewType;
|
|
@@ -89560,6 +89565,15 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89560
89565
|
}
|
|
89561
89566
|
_this.tableViewJsonOld = (0,utils/* deepClone */.Go)(_this.tableViewJson);
|
|
89562
89567
|
_this.defaultSelectedFirst(_this.tableViewJson.list);
|
|
89568
|
+
// 超宽行:选中第一个问题行并提示手动修复
|
|
89569
|
+
if (designProblems.length > 0) {
|
|
89570
|
+
_this.selected = designProblems[0];
|
|
89571
|
+
_this.$message({
|
|
89572
|
+
message: '检测到' + designProblems.length + '行单元格span之和超过该行可用宽度(24-上方rowspan单元格占用),已选中问题行,请在右侧面板检查各单元格span并手动调整',
|
|
89573
|
+
type: 'warning',
|
|
89574
|
+
duration: 6000
|
|
89575
|
+
});
|
|
89576
|
+
}
|
|
89563
89577
|
} else {
|
|
89564
89578
|
_this.defaultSelectedFirst([]);
|
|
89565
89579
|
}
|
|
@@ -89826,8 +89840,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89826
89840
|
this.selected = {};
|
|
89827
89841
|
}
|
|
89828
89842
|
},
|
|
89829
|
-
//
|
|
89830
|
-
//
|
|
89843
|
+
// 修复历史脏数据:清理删除字段残留的无options单元格、孤立的标签/空formField单元格等,
|
|
89844
|
+
// 末尾返回无法自动修复的超宽行,由调用方选中提示用户手动调整span
|
|
89831
89845
|
repairDesignViewList: function repairDesignViewList(list) {
|
|
89832
89846
|
var _this9 = this;
|
|
89833
89847
|
if (!list || !list.length) return;
|
|
@@ -89841,9 +89855,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89841
89855
|
}
|
|
89842
89856
|
if (!element.divide) continue;
|
|
89843
89857
|
var divide = element.divide;
|
|
89844
|
-
//
|
|
89858
|
+
// 意见行行宽在checkRowOverflow中统一处理
|
|
89845
89859
|
if (element.type === 'ideaLables') {
|
|
89846
|
-
this.normalizeIdeaRowSpan(divide);
|
|
89847
89860
|
continue;
|
|
89848
89861
|
}
|
|
89849
89862
|
for (var ci = 0; ci < divide.length; ci++) {
|
|
@@ -89901,24 +89914,138 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89901
89914
|
}
|
|
89902
89915
|
}
|
|
89903
89916
|
}
|
|
89917
|
+
this.repairShrunkFormFields(list);
|
|
89918
|
+
return this.checkRowOverflow(list, []);
|
|
89904
89919
|
},
|
|
89905
|
-
//
|
|
89906
|
-
|
|
89920
|
+
// 修复旧版误收缩的行内样式formField(只显示标签、内容区不可见):恢复span为24-行内其他可见单元格之和
|
|
89921
|
+
repairShrunkFormFields: function repairShrunkFormFields(list) {
|
|
89907
89922
|
var _this10 = this;
|
|
89908
89923
|
if (!list || !list.length) return;
|
|
89909
89924
|
list.forEach(function (element) {
|
|
89910
89925
|
if (element.type === 'tab' && element.content) {
|
|
89911
89926
|
element.content.forEach(function (tab) {
|
|
89912
|
-
return _this10.
|
|
89927
|
+
return _this10.repairShrunkFormFields(tab.list);
|
|
89928
|
+
});
|
|
89929
|
+
return;
|
|
89930
|
+
}
|
|
89931
|
+
if (element.divide && element.divide.length) {
|
|
89932
|
+
element.divide.forEach(function (cell) {
|
|
89933
|
+
if (cell.list && cell.list.length) _this10.repairShrunkFormFields(cell.list);
|
|
89934
|
+
});
|
|
89935
|
+
}
|
|
89936
|
+
if (element.type !== 'coloums' && element.type !== 'mergeRow' || !element.divide || !element.divide.length) return;
|
|
89937
|
+
var divide = element.divide;
|
|
89938
|
+
var _loop = function _loop(i) {
|
|
89939
|
+
var prev = divide[i - 1];
|
|
89940
|
+
var cell = divide[i];
|
|
89941
|
+
if (cell.type !== 'formField' || cell.staticStyle !== 'normal' || !prev || prev.type !== 'fieldLbl' || !prev.hidden) return 0; // continue
|
|
89942
|
+
var labelSpan = parseInt(prev.span) || 0;
|
|
89943
|
+
var span = parseInt(cell.span) || 0;
|
|
89944
|
+
if (span > labelSpan) return 0; // continue
|
|
89945
|
+
var other = 0;
|
|
89946
|
+
divide.forEach(function (c, j) {
|
|
89947
|
+
if (j !== i && !c.hidden) other += parseInt(c.span) || 0;
|
|
89948
|
+
});
|
|
89949
|
+
var restored = 24 - other;
|
|
89950
|
+
if (restored < labelSpan + 1) restored = labelSpan + 1;
|
|
89951
|
+
if (restored > 24) restored = 24;
|
|
89952
|
+
cell.span = restored;
|
|
89953
|
+
},
|
|
89954
|
+
_ret;
|
|
89955
|
+
for (var i = 1; i < divide.length; i++) {
|
|
89956
|
+
_ret = _loop(i);
|
|
89957
|
+
if (_ret === 0) continue;
|
|
89958
|
+
}
|
|
89959
|
+
});
|
|
89960
|
+
},
|
|
89961
|
+
// 检测并自动修复视觉行超宽(rowspan单元格跨行占列,每行约束:上方rowspan续行占用+本行
|
|
89962
|
+
// 可见单元格span之和<=24):先删span>24的垃圾空单元格,再从后往前删无type空单元格,
|
|
89963
|
+
// 仍超宽则等比收缩可见单元格span;无法修复的收集到problems由调用方提示用户手动修复
|
|
89964
|
+
checkRowOverflow: function checkRowOverflow(list, problems) {
|
|
89965
|
+
var _this11 = this;
|
|
89966
|
+
if (!list || !list.length) return problems;
|
|
89967
|
+
list.forEach(function (element) {
|
|
89968
|
+
if (element.type === 'tab' && element.content) {
|
|
89969
|
+
element.content.forEach(function (tab) {
|
|
89970
|
+
return _this11.checkRowOverflow(tab.list, problems);
|
|
89913
89971
|
});
|
|
89914
89972
|
return;
|
|
89915
89973
|
}
|
|
89916
|
-
if (element.
|
|
89917
|
-
|
|
89974
|
+
if (element.divide && element.divide.length) {
|
|
89975
|
+
element.divide.forEach(function (cell) {
|
|
89976
|
+
if (cell.list && cell.list.length) _this11.checkRowOverflow(cell.list, problems);
|
|
89977
|
+
});
|
|
89978
|
+
}
|
|
89979
|
+
});
|
|
89980
|
+
var row = 0;
|
|
89981
|
+
var carry = {};
|
|
89982
|
+
list.forEach(function (element) {
|
|
89983
|
+
if (element.type === 'tab') return;
|
|
89984
|
+
// 意见行按自身规则收缩行宽;独立全宽行不参与网格计算,重置网格段
|
|
89985
|
+
if (element.type === 'ideaLables') {
|
|
89986
|
+
if (element.divide && element.divide.length) _this11.normalizeIdeaRowSpan(element.divide);
|
|
89987
|
+
row = 0;
|
|
89988
|
+
carry = {};
|
|
89989
|
+
return;
|
|
89990
|
+
}
|
|
89991
|
+
if (element.type !== 'coloums' && element.type !== 'mergeRow') {
|
|
89992
|
+
row = 0;
|
|
89993
|
+
carry = {};
|
|
89994
|
+
return;
|
|
89995
|
+
}
|
|
89996
|
+
var occ = carry[row] || 0;
|
|
89997
|
+
if (element.divide && element.divide.length) {
|
|
89998
|
+
var budget = 24 - occ;
|
|
89999
|
+
var sumOf = function sumOf() {
|
|
90000
|
+
return element.divide.reduce(function (s, c) {
|
|
90001
|
+
return !c.hidden ? s + (parseInt(c.span) || 1) : s;
|
|
90002
|
+
}, 0);
|
|
90003
|
+
};
|
|
90004
|
+
if (sumOf() > budget) {
|
|
90005
|
+
// 阶段1:删垃圾及无内容空单元格(span>24的空单元格是历史坏数据)
|
|
90006
|
+
for (var i = element.divide.length - 1; i >= 0 && sumOf() > budget; i--) {
|
|
90007
|
+
var cell = element.divide[i];
|
|
90008
|
+
if (!cell.hidden && !cell.type && (!cell.list || cell.list.length === 0)) {
|
|
90009
|
+
element.divide.splice(i, 1);
|
|
90010
|
+
}
|
|
90011
|
+
}
|
|
90012
|
+
// 阶段2:等比收缩可见单元格span(只调宽度不丢字段)
|
|
90013
|
+
if (sumOf() > budget) {
|
|
90014
|
+
var sum = sumOf();
|
|
90015
|
+
element.divide.forEach(function (cell) {
|
|
90016
|
+
if (cell.hidden) return;
|
|
90017
|
+
var sp = parseInt(cell.span) || 1;
|
|
90018
|
+
var ns = Math.floor(sp * budget / sum);
|
|
90019
|
+
if (ns < 1) ns = 1;
|
|
90020
|
+
if (ns !== sp) cell.span = ns;
|
|
90021
|
+
});
|
|
90022
|
+
// 取整兜底:从后往前逐个减1列
|
|
90023
|
+
for (var _i = element.divide.length - 1; _i >= 0 && sumOf() > budget; _i--) {
|
|
90024
|
+
var _cell2 = element.divide[_i];
|
|
90025
|
+
if (!_cell2.hidden && (parseInt(_cell2.span) || 1) > 1) _cell2.span = (parseInt(_cell2.span) || 1) - 1;
|
|
90026
|
+
}
|
|
90027
|
+
}
|
|
90028
|
+
if (sumOf() > budget) problems.push(element);
|
|
90029
|
+
}
|
|
90030
|
+
}
|
|
90031
|
+
// 登记rowspan对后续视觉行的占列
|
|
90032
|
+
if (element.divide) {
|
|
90033
|
+
element.divide.forEach(function (cell) {
|
|
90034
|
+
if (cell.hidden) return;
|
|
90035
|
+
var rs = parseInt(cell.rowspan) || 1;
|
|
90036
|
+
if (rs > 1) {
|
|
90037
|
+
var sp = parseInt(cell.span) || 1;
|
|
90038
|
+
for (var k = 1; k < rs; k++) {
|
|
90039
|
+
carry[row + k] = (carry[row + k] || 0) + sp;
|
|
90040
|
+
}
|
|
90041
|
+
}
|
|
90042
|
+
});
|
|
89918
90043
|
}
|
|
90044
|
+
row += 1;
|
|
89919
90045
|
});
|
|
90046
|
+
return problems;
|
|
89920
90047
|
},
|
|
89921
|
-
//
|
|
90048
|
+
// 意见行行宽归一化:超24时按比例收缩
|
|
89922
90049
|
// (两行三栏:行1=前两个单元格等比收缩,行2=保持合并单元格宽度、压缩第三个单元格;其他:整行等比收缩)
|
|
89923
90050
|
normalizeIdeaRowSpan: function normalizeIdeaRowSpan(divide) {
|
|
89924
90051
|
if (!divide || !divide.length) return;
|
|
@@ -89984,7 +90111,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89984
90111
|
* 改变实体字段显示状态
|
|
89985
90112
|
*/
|
|
89986
90113
|
formShowState: function formShowState(data) {
|
|
89987
|
-
var
|
|
90114
|
+
var _this12 = this;
|
|
89988
90115
|
var eles = this.eles;
|
|
89989
90116
|
if (data.newVal.ele.tbEntityFieldId && data.newVal.ele.tbEntityFieldId.indexOf('udm_') === 0) {
|
|
89990
90117
|
eles = this.commonFields;
|
|
@@ -90000,19 +90127,19 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90000
90127
|
}
|
|
90001
90128
|
});
|
|
90002
90129
|
setTimeout(function () {
|
|
90003
|
-
|
|
90130
|
+
_this12.$refs.rightPanel.updateSelectFieldAttr();
|
|
90004
90131
|
}, 200);
|
|
90005
90132
|
},
|
|
90006
90133
|
/**
|
|
90007
90134
|
* 删除时改变实体字段状态
|
|
90008
90135
|
*/
|
|
90009
90136
|
deleteFields: function deleteFields(data) {
|
|
90010
|
-
var
|
|
90137
|
+
var _this13 = this;
|
|
90011
90138
|
if (false) {}
|
|
90012
90139
|
if (data.type === 'coloums') {
|
|
90013
90140
|
data.fields.forEach(function (v1, i1) {
|
|
90014
90141
|
if (i1 % 2 === 1 && v1.list.length > 0) {
|
|
90015
|
-
|
|
90142
|
+
_this13.eles.forEach(function (val) {
|
|
90016
90143
|
if (val.propName === v1.list[0].propName) {
|
|
90017
90144
|
val.formShow = 0;
|
|
90018
90145
|
}
|
|
@@ -90024,7 +90151,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90024
90151
|
v1.list.forEach(function (v2, i2) {
|
|
90025
90152
|
v2.divide.forEach(function (v3, i3) {
|
|
90026
90153
|
if (i3 % 2 === 1 && v3.list.length > 0) {
|
|
90027
|
-
|
|
90154
|
+
_this13.eles.forEach(function (val) {
|
|
90028
90155
|
if (val.propName === v3.list[0].propName) {
|
|
90029
90156
|
val.formShow = 0;
|
|
90030
90157
|
}
|
|
@@ -90042,7 +90169,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90042
90169
|
} else if (data.type === 'area' && this.tableViewJson.components) {
|
|
90043
90170
|
this.tableViewJson.components.forEach(function (v, i) {
|
|
90044
90171
|
if (v.name === data.fields.options.comName) {
|
|
90045
|
-
|
|
90172
|
+
_this13.tableViewJson.components.splice(i, 1);
|
|
90046
90173
|
}
|
|
90047
90174
|
});
|
|
90048
90175
|
}
|
|
@@ -90083,37 +90210,37 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90083
90210
|
* 重置表单配置数据
|
|
90084
90211
|
*/
|
|
90085
90212
|
handlClickReset: function handlClickReset() {
|
|
90086
|
-
var
|
|
90213
|
+
var _this14 = this;
|
|
90087
90214
|
this.$confirm('此操作将清除现有的配置,是否确定?', '提示', {
|
|
90088
90215
|
confirmButtonText: '确定',
|
|
90089
90216
|
cancelButtonText: '取消',
|
|
90090
90217
|
type: 'warning'
|
|
90091
90218
|
}).then(function () {
|
|
90092
|
-
|
|
90093
|
-
|
|
90219
|
+
_this14.tableViewJson = (0,utils/* deepClone */.Go)(_this14.tableViewJsonOld);
|
|
90220
|
+
_this14.eles = (0,utils/* deepClone */.Go)(_this14.elesBak);
|
|
90094
90221
|
}).catch(function () {
|
|
90095
90222
|
console.log('取消清除');
|
|
90096
|
-
console.log(
|
|
90223
|
+
console.log(_this14.tableViewJsonOld);
|
|
90097
90224
|
});
|
|
90098
90225
|
},
|
|
90099
90226
|
save2H5form: function save2H5form() {
|
|
90100
|
-
var
|
|
90227
|
+
var _this15 = this;
|
|
90101
90228
|
this.$confirm('您确定要另存为手机版H5表单吗?', '提示', {
|
|
90102
90229
|
confirmButtonText: '确定',
|
|
90103
90230
|
cancelButtonText: '取消',
|
|
90104
90231
|
type: 'warning'
|
|
90105
90232
|
}).then(function () {
|
|
90106
|
-
window.open('/#/designer/busiform?id=' +
|
|
90233
|
+
window.open('/#/designer/busiform?id=' + _this15.$route.query.id + '&actionType=copy&dwadmin=' + _this15.$route.query.dwadmin + '&frmViewType=' + _this15.$route.query.frmViewType.replace('W_', 'M_'));
|
|
90107
90234
|
});
|
|
90108
90235
|
},
|
|
90109
90236
|
/**
|
|
90110
90237
|
* 保存业务表单编辑
|
|
90111
90238
|
*/
|
|
90112
90239
|
saveBusiformData: function saveBusiformData(actionType, vwType) {
|
|
90113
|
-
var
|
|
90240
|
+
var _this16 = this;
|
|
90114
90241
|
var _this = this;
|
|
90115
|
-
//
|
|
90116
|
-
this.
|
|
90242
|
+
// 保存前清理垃圾单元格并修复超宽行
|
|
90243
|
+
this.checkRowOverflow(this.tableViewJson.list, []);
|
|
90117
90244
|
// 是否包含标题
|
|
90118
90245
|
var withTitle = _this.tableViewJson.list.some(function (item) {
|
|
90119
90246
|
return item.type === 'titleBox';
|
|
@@ -90163,7 +90290,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90163
90290
|
});
|
|
90164
90291
|
if (formfields.length === 0 && field.elementType !== 'datetimeRange') {
|
|
90165
90292
|
field.tbBusiformId = '';
|
|
90166
|
-
field.tbEntityId =
|
|
90293
|
+
field.tbEntityId = _this16.busiform.tbEntityId;
|
|
90167
90294
|
field.tbEntityFieldId = 'udm_hidden_' + index;
|
|
90168
90295
|
field.formElementIndex = 0;
|
|
90169
90296
|
field.formTdColspan = 0;
|
|
@@ -90180,7 +90307,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90180
90307
|
var btnRefresh = opener.document.querySelector('.el-icon-refresh');
|
|
90181
90308
|
if (btnRefresh !== null) btnRefresh.click();
|
|
90182
90309
|
}
|
|
90183
|
-
|
|
90310
|
+
_this16.$message({
|
|
90184
90311
|
message: res.message,
|
|
90185
90312
|
type: 'success'
|
|
90186
90313
|
});
|
|
@@ -90189,15 +90316,15 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90189
90316
|
_this.closeDialog();
|
|
90190
90317
|
}, 1000);
|
|
90191
90318
|
} else if (actionType === 'SaveAndPreview') {
|
|
90192
|
-
|
|
90319
|
+
_this16.$bus.emit('showPreview', {
|
|
90193
90320
|
flag: 'DOC',
|
|
90194
|
-
sysCode:
|
|
90195
|
-
frmViewUrl:
|
|
90321
|
+
sysCode: _this16.busiform.sysCode,
|
|
90322
|
+
frmViewUrl: _this16.busiform.frmViewUrl.substr(1).replaceAll('/', '.').replace('html', 'vue'),
|
|
90196
90323
|
vwType: vwType
|
|
90197
90324
|
});
|
|
90198
|
-
} else if (
|
|
90199
|
-
|
|
90200
|
-
|
|
90325
|
+
} else if (_this16.$route.query.actionType === 'addNew' || _this16.$route.query.actionType === 'copy' || res.body.busiformId !== _this16.busiform.id) {
|
|
90326
|
+
_this16.getBusiformInfo(res.body.busiformId, null, 'edit');
|
|
90327
|
+
_this16.$router.push({
|
|
90201
90328
|
path: '/designer/busiform',
|
|
90202
90329
|
query: {
|
|
90203
90330
|
id: res.body.busiformId,
|
|
@@ -90206,7 +90333,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90206
90333
|
});
|
|
90207
90334
|
}
|
|
90208
90335
|
} else {
|
|
90209
|
-
_this.$alert(res.message,
|
|
90336
|
+
_this.$alert(res.message, _this16.$tx('common.operationTip', '操作提示'), {
|
|
90210
90337
|
type: 'error'
|
|
90211
90338
|
});
|
|
90212
90339
|
}
|
|
@@ -90217,14 +90344,14 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90217
90344
|
});
|
|
90218
90345
|
},
|
|
90219
90346
|
setDocFormFields: function setDocFormFields(parent, tableFieldMap, fieldIndex) {
|
|
90220
|
-
var
|
|
90347
|
+
var _this17 = this;
|
|
90221
90348
|
if (parent.list) {
|
|
90222
90349
|
parent.list.forEach(function (item) {
|
|
90223
|
-
|
|
90350
|
+
_this17.setDocFormFields(item, tableFieldMap, fieldIndex++);
|
|
90224
90351
|
});
|
|
90225
90352
|
} else if (parent.content && parent.content.length > 0) {
|
|
90226
90353
|
parent.content.forEach(function (tab) {
|
|
90227
|
-
|
|
90354
|
+
_this17.setDocFormFields(tab, tableFieldMap, fieldIndex++);
|
|
90228
90355
|
});
|
|
90229
90356
|
} else if (parent.propName) {
|
|
90230
90357
|
var tableField = tableFieldMap[parent.propName];
|
|
@@ -90261,10 +90388,10 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90261
90388
|
}
|
|
90262
90389
|
},
|
|
90263
90390
|
setFormFields: function setFormFields(parent, tableFieldMap, fieldIndex) {
|
|
90264
|
-
var
|
|
90391
|
+
var _this18 = this;
|
|
90265
90392
|
if (parent.activeName && parent.content.length > 0) {
|
|
90266
90393
|
parent.content.forEach(function (tab) {
|
|
90267
|
-
|
|
90394
|
+
_this18.setFormFields(tab, tableFieldMap, fieldIndex++);
|
|
90268
90395
|
});
|
|
90269
90396
|
} else if (parent.list) {
|
|
90270
90397
|
parent.list.forEach(function (item) {
|
|
@@ -90287,7 +90414,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90287
90414
|
} else {
|
|
90288
90415
|
tableField.formTdColspan = 8;
|
|
90289
90416
|
}
|
|
90290
|
-
|
|
90417
|
+
_this18.copyFiledProperties(tableField, formField.list[0].options);
|
|
90291
90418
|
tableField.formShow = 1;
|
|
90292
90419
|
tableField.formElementIndex = fieldIndex++;
|
|
90293
90420
|
} else if (formField.list[0].tbEntityFieldId && formField.list[0].tbEntityFieldId.indexOf('udm_') === 0) {
|
|
@@ -90300,7 +90427,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90300
90427
|
}
|
|
90301
90428
|
formField.list[0].options.formShow = 1;
|
|
90302
90429
|
formField.list[0].options.formElementIndex = fieldIndex++;
|
|
90303
|
-
|
|
90430
|
+
_this18.busiform.formFields.push(formField.list[0].options);
|
|
90304
90431
|
}
|
|
90305
90432
|
if (formField.list[0].options.option && formField.list[0].options.option.length > 0) {
|
|
90306
90433
|
var elementFormatter = '';
|
|
@@ -90320,7 +90447,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90320
90447
|
}
|
|
90321
90448
|
});
|
|
90322
90449
|
} else if (item.content !== undefined) {
|
|
90323
|
-
|
|
90450
|
+
_this18.setFormFields(item, tableFieldMap, fieldIndex++);
|
|
90324
90451
|
}
|
|
90325
90452
|
});
|
|
90326
90453
|
}
|
|
@@ -90346,10 +90473,10 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90346
90473
|
tableField.tbFieldName = formField.tbFieldName;
|
|
90347
90474
|
},
|
|
90348
90475
|
formatViewContent: function formatViewContent(parent) {
|
|
90349
|
-
var
|
|
90476
|
+
var _this19 = this;
|
|
90350
90477
|
if (parent.activeName && parent.content.length > 0) {
|
|
90351
90478
|
parent.content.forEach(function (tab) {
|
|
90352
|
-
|
|
90479
|
+
_this19.formatViewContent(tab);
|
|
90353
90480
|
});
|
|
90354
90481
|
} else if (parent.list) {
|
|
90355
90482
|
var maxLength = 1;
|
|
@@ -90368,7 +90495,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90368
90495
|
if (formField.options && formField.options.className) {
|
|
90369
90496
|
formField.className += ' ' + formField.options.className;
|
|
90370
90497
|
}
|
|
90371
|
-
formField.width =
|
|
90498
|
+
formField.width = _this19.getCellWidth(formField.span);
|
|
90372
90499
|
} else {
|
|
90373
90500
|
formField.colspan = 1;
|
|
90374
90501
|
if (formField.span === 4) {
|
|
@@ -90385,7 +90512,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90385
90512
|
if (formField.options && formField.options.className) {
|
|
90386
90513
|
formField.className += ' ' + formField.options.className;
|
|
90387
90514
|
}
|
|
90388
|
-
formField.width =
|
|
90515
|
+
formField.width = _this19.getCellWidth(formField.span);
|
|
90389
90516
|
} else {
|
|
90390
90517
|
if (formField.span === 20) {
|
|
90391
90518
|
formField.colspan = 5;
|
|
@@ -90407,7 +90534,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90407
90534
|
if (formField.list && formField.list.length > 0) {
|
|
90408
90535
|
if (formField.list[0].options.elementType === 'file') {
|
|
90409
90536
|
formField.list[0].options.nameField = formField.list[0].options.defaultValue;
|
|
90410
|
-
var nameField =
|
|
90537
|
+
var nameField = _this19.tableFieldInfo.filter(function (item) {
|
|
90411
90538
|
if (item.propName === formField.list[0].options.defaultValue) return true;
|
|
90412
90539
|
});
|
|
90413
90540
|
if (nameField.length > 0) {
|
|
@@ -90443,7 +90570,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90443
90570
|
delete item.options.listdata;
|
|
90444
90571
|
}
|
|
90445
90572
|
} else if (item.content !== undefined) {
|
|
90446
|
-
|
|
90573
|
+
_this19.formatViewContent(item);
|
|
90447
90574
|
}
|
|
90448
90575
|
});
|
|
90449
90576
|
}
|
|
@@ -90465,11 +90592,11 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90465
90592
|
* 监听选择框 表单视图类型改变时
|
|
90466
90593
|
*/
|
|
90467
90594
|
formViewTypeChange: function formViewTypeChange() {
|
|
90468
|
-
var
|
|
90595
|
+
var _this20 = this;
|
|
90469
90596
|
jsonToMobile(this.tableViewJson).then(function (res) {
|
|
90470
90597
|
console.log('callback', res);
|
|
90471
|
-
|
|
90472
|
-
|
|
90598
|
+
_this20.tableViewJsonBak = _this20.tableViewJson;
|
|
90599
|
+
_this20.tableViewJson = res;
|
|
90473
90600
|
});
|
|
90474
90601
|
},
|
|
90475
90602
|
/**
|
|
@@ -90512,9 +90639,9 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90512
90639
|
});
|
|
90513
90640
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=script&lang=js
|
|
90514
90641
|
/* harmony default export */ var BusiformDesigner_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
90515
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=
|
|
90516
|
-
var
|
|
90517
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=
|
|
90642
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=791b1302&prod&scoped=true&lang=scss
|
|
90643
|
+
var srcvue_type_style_index_0_id_791b1302_prod_scoped_true_lang_scss = __webpack_require__(11308);
|
|
90644
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=791b1302&prod&scoped=true&lang=scss
|
|
90518
90645
|
|
|
90519
90646
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue
|
|
90520
90647
|
|
|
@@ -90531,7 +90658,7 @@ var src_component = (0,componentNormalizer/* default */.A)(
|
|
|
90531
90658
|
staticRenderFns,
|
|
90532
90659
|
false,
|
|
90533
90660
|
null,
|
|
90534
|
-
"
|
|
90661
|
+
"791b1302",
|
|
90535
90662
|
null
|
|
90536
90663
|
|
|
90537
90664
|
)
|
|
@@ -169593,7 +169720,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".custom-td-border,.custom-td-border td
|
|
|
169593
169720
|
|
|
169594
169721
|
/***/ }),
|
|
169595
169722
|
|
|
169596
|
-
/***/
|
|
169723
|
+
/***/ 63309:
|
|
169597
169724
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
169598
169725
|
|
|
169599
169726
|
"use strict";
|
|
@@ -169607,7 +169734,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169607
169734
|
|
|
169608
169735
|
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()));
|
|
169609
169736
|
// Module
|
|
169610
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
169737
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-791b1302]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.designer-container .designer-body-container[data-v-791b1302]{height:calc(100vh - 60px);overflow-y:hidden;padding:0}.designer-container[data-v-791b1302] .el-loading-mask{margin-top:50px}.designer-container .bf-main-container[data-v-791b1302],.designer-container .bf-main-container .el-scrollbar[data-v-791b1302]{width:100%;height:100%}.designer-container .bf-main-container .el-scrollbar[data-v-791b1302] .el-scrollbar__wrap{overflow-x:auto}.designer-container .bf-main-container .el-scrollbar .scrollbar-inner[data-v-791b1302]{padding:0 12px}.designer-container .bf-main-container .bf-main[data-v-791b1302]{width:100%;height:100%;padding-left:300px;padding-right:300px;float:left;background-color:#eef1f6}.designer-container .bf-main-container .bf-main .bf-main-header[data-v-791b1302]{width:100%;height:46px;padding:0 15px;line-height:46px;background-color:#fff;border-bottom:2px solid #e4e7ed}.designer-container .bf-main-container .bf-main .bf-main-header .fv-l[data-v-791b1302]{text-align:left;min-height:1px}.designer-container .bf-main-container .bf-main .bf-main-header .fv-l>div[data-v-791b1302]{width:100%}.designer-container .bf-main-container .bf-main .bf-main-header .fv-r[data-v-791b1302]{text-align:right}.designer-container .bf-main-container .bf-main .bf-main-header .fv-r .el-link[data-v-791b1302]{margin-left:13px}.designer-container .bf-main-container .bf-main .view-edit-area[data-v-791b1302]{width:100%;height:calc(100% - 46px);padding:15px;border-radius:0;position:relative;overflow-x:auto}.designer-container .bf-main-container .bf-main .view-edit-area .view-edit-area-inner[data-v-791b1302]{height:100%;margin:0 auto;background-color:#fff;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.designer-container .bf-main-container .bf-main .view-edit-area .view-edit-area-scroll[data-v-791b1302]{width:100%;height:100%}.designer-container .bf-main-container .bf-main .view-edit-area .ghost[data-v-791b1302]{background:hsla(0,87%,69%,.3);border:1px dashed #f56c6c;outline-width:0;height:10px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:0;content:\"\";overflow:hidden;padding:0}.designer-container .bf-main-container .bf-main .openFormView.view-edit-area[data-v-791b1302]{height:calc(100% - 96px)}.designer-container .bf-main-container .bf-lside[data-v-791b1302]{width:300px;height:100%;overflow:hidden;float:left;margin-left:-100%;background-color:#fff;border-right:1px solid #e1e1e1}.designer-container .bf-main-container .bf-lside .wrap-title[data-v-791b1302]{text-align:center;margin:0;height:46px;padding:0 15px;line-height:46px;background-color:#fff;border-bottom:2px solid #e4e7ed}.designer-container .bf-main-container .bf-lside .el-scrollbar[data-v-791b1302]{height:calc(100% - 46px)}.designer-container .bf-main-container .bf-lside .el-collapse[data-v-791b1302]{border-top:none}.designer-container .bf-main-container .bf-lside .layout-el-lists[data-v-791b1302]{list-style:none;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.designer-container .bf-main-container .bf-lside .layout-el-lists li[data-v-791b1302]{font-size:12px;list-style:none;padding:12px 10px;background-color:#f6f7ff;color:#333;margin-top:6px;cursor:pointer;-webkit-box-flex:0;-ms-flex:0 0 49%;flex:0 0 49%;text-wrap:nowrap;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.designer-container .bf-main-container .bf-lside .layout-el-lists li img[data-v-791b1302]{width:12px;margin-right:8px}.designer-container .bf-main-container .bf-lside .layout-el-lists li .el-image[data-v-791b1302]{width:12px;margin-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex}.designer-container .bf-main-container .bf-lside .layout-el-lists li span[data-v-791b1302]{line-height:14px}.designer-container .bf-main-container .bf-lside .layout-el-lists li[data-v-791b1302]:hover{background-color:#e6e7f1}.designer-container .bf-main-container .bf-rside[data-v-791b1302]{width:300px;height:100%;overflow:hidden;float:left;margin-left:-300px;background-color:#fff;border-left:1px solid #e1e1e1}.formTapBtn[data-v-791b1302]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;font-family:MicrosoftYaHei;color:#000;font-size:14px;background:#fff;height:40px;line-height:40px;padding:0 20px}.formTapBtn .tapItemBtn[data-v-791b1302]{position:relative;margin-right:15px}.formTapBtn .active[data-v-791b1302]{position:relative;color:var(--subjectColor);font-weight:700}.formTapBtn .active[data-v-791b1302]:after{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--subjectColor)}.formTapBtn .tapItemBtn[data-v-791b1302]:hover{cursor:pointer;color:var(--subjectColor)}", ""]);
|
|
169611
169738
|
// Exports
|
|
169612
169739
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
169613
169740
|
|
|
@@ -169698,7 +169825,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".attachment-container[data-v-10b41d3a]
|
|
|
169698
169825
|
|
|
169699
169826
|
/***/ }),
|
|
169700
169827
|
|
|
169701
|
-
/***/
|
|
169828
|
+
/***/ 54746:
|
|
169702
169829
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
169703
169830
|
|
|
169704
169831
|
"use strict";
|
|
@@ -169712,7 +169839,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169712
169839
|
|
|
169713
169840
|
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()));
|
|
169714
169841
|
// Module
|
|
169715
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".area-content[data-v-
|
|
169842
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".area-content[data-v-947defde]{color:#a1a1a1;font-size:13px;text-align:center;max-height:50px;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.text-box-container[data-v-947defde],.text-box-container div[data-v-947defde]{width:100%;height:100%}.tools-select[data-v-947defde]{color:#dddee0;position:absolute;top:5px;right:3px;font-size:16px;cursor:move}.invisibleBlock[data-v-947defde]{display:none}.idea-handle-btn[data-v-947defde]{color:#a1a1a1;font-size:13px;text-align:right;max-height:50px;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:-25px;cursor:pointer;color:#409eff}.field-required[data-v-947defde]{color:red}.custom-td-border .el-table__body td.tdlbl[data-v-947defde]{border-color:var(--td-border-color)!important}.el-form .custom-td-border .el-table__body .tdlbl-no-bg .field-label.tdlbl[data-v-947defde]{border-color:transparent!important}.context-menu[data-v-947defde]{position:fixed;z-index:99999;min-width:160px}.context-menu .context-menu-list[data-v-947defde]{position:static;display:block;margin:5px 0;padding:5px 0;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1);list-style:none}.context-menu .context-menu-list .el-dropdown-menu__item[data-v-947defde]{white-space:nowrap;padding:0 20px;height:34px;line-height:34px;font-size:13px;color:#606266;cursor:pointer;outline:none;list-style:none;-webkit-transition:background-color .2s;transition:background-color .2s}.context-menu .context-menu-list .el-dropdown-menu__item[data-v-947defde]:hover{background-color:#ecf5ff;color:#409eff}.context-menu .context-menu-list .el-dropdown-menu__item--divided[data-v-947defde]{margin-top:6px;border-top:1px solid #ebeef5}", ""]);
|
|
169716
169843
|
// Exports
|
|
169717
169844
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
169718
169845
|
|
|
@@ -255758,19 +255885,19 @@ var update = add("5fc4282a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
255758
255885
|
|
|
255759
255886
|
/***/ }),
|
|
255760
255887
|
|
|
255761
|
-
/***/
|
|
255888
|
+
/***/ 11308:
|
|
255762
255889
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
255763
255890
|
|
|
255764
255891
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
255765
255892
|
|
|
255766
255893
|
// load the styles
|
|
255767
|
-
var content = __webpack_require__(
|
|
255894
|
+
var content = __webpack_require__(63309);
|
|
255768
255895
|
if(content.__esModule) content = content.default;
|
|
255769
255896
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
255770
255897
|
if(content.locals) module.exports = content.locals;
|
|
255771
255898
|
// add the styles to the DOM
|
|
255772
255899
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
255773
|
-
var update = add("
|
|
255900
|
+
var update = add("c0805698", content, true, {"sourceMap":false,"shadowMode":false});
|
|
255774
255901
|
|
|
255775
255902
|
/***/ }),
|
|
255776
255903
|
|
|
@@ -255838,19 +255965,19 @@ var update = add("466a0cd2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
255838
255965
|
|
|
255839
255966
|
/***/ }),
|
|
255840
255967
|
|
|
255841
|
-
/***/
|
|
255968
|
+
/***/ 80643:
|
|
255842
255969
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
255843
255970
|
|
|
255844
255971
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
255845
255972
|
|
|
255846
255973
|
// load the styles
|
|
255847
|
-
var content = __webpack_require__(
|
|
255974
|
+
var content = __webpack_require__(54746);
|
|
255848
255975
|
if(content.__esModule) content = content.default;
|
|
255849
255976
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
255850
255977
|
if(content.locals) module.exports = content.locals;
|
|
255851
255978
|
// add the styles to the DOM
|
|
255852
255979
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
255853
|
-
var update = add("
|
|
255980
|
+
var update = add("f7a21156", content, true, {"sourceMap":false,"shadowMode":false});
|
|
255854
255981
|
|
|
255855
255982
|
/***/ }),
|
|
255856
255983
|
|
|
@@ -277993,7 +278120,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
|
|
|
277993
278120
|
function txtLblI18nFunc(el, binding, vnode) {
|
|
277994
278121
|
var field = binding.value;
|
|
277995
278122
|
//非中文版、流程类文本标签,使用语言包中的配置
|
|
277996
|
-
|
|
278123
|
+
var moduleCode = (vnode.context.moduleCode || '').toLowerCase();
|
|
278124
|
+
if (field && (vnode.context.$i18n.locale !== 'zhCN' || moduleCode === 'wflowform' || moduleCode === 'ecoa')) {
|
|
277997
278125
|
var attrs = vnode.data.attrs || {};
|
|
277998
278126
|
var label = vnode.context.$i18n.generateTitle({
|
|
277999
278127
|
i18nCode: binding.value
|
|
@@ -279296,11 +279424,11 @@ var asyncComponents = [
|
|
|
279296
279424
|
}],
|
|
279297
279425
|
// ========== ecwplus 设计器系列 → chunk: devtool-* ==========
|
|
279298
279426
|
['BusiformDesigner', function () {
|
|
279299
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279427
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3901)).then(function (m) {
|
|
279300
279428
|
return m.BusiformDesigner;
|
|
279301
279429
|
});
|
|
279302
279430
|
}], ['FromEventEdit', function () {
|
|
279303
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279431
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3901)).then(function (m) {
|
|
279304
279432
|
return m.FromEventEdit;
|
|
279305
279433
|
});
|
|
279306
279434
|
}], ['ListPageDesigner', function () {
|
|
@@ -279498,7 +279626,7 @@ var EditorConfigModule = function EditorConfigModule() {
|
|
|
279498
279626
|
|
|
279499
279627
|
// ---------- 开发者工具(设计器系列) ----------
|
|
279500
279628
|
var BusiformDesignerModule = function BusiformDesignerModule() {
|
|
279501
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279629
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 3901));
|
|
279502
279630
|
};
|
|
279503
279631
|
var ListPageDesignerModule = function ListPageDesignerModule() {
|
|
279504
279632
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 20696));
|