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.common.js
CHANGED
|
@@ -83148,7 +83148,7 @@ var AdminConsole_TableEntityMgr = TableEntityMgr;
|
|
|
83148
83148
|
|
|
83149
83149
|
/***/ }),
|
|
83150
83150
|
|
|
83151
|
-
/***/
|
|
83151
|
+
/***/ 91771:
|
|
83152
83152
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
83153
83153
|
|
|
83154
83154
|
"use strict";
|
|
@@ -83161,7 +83161,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
83161
83161
|
FromEventEdit: function() { return /* binding */ FromEventEdit; }
|
|
83162
83162
|
});
|
|
83163
83163
|
|
|
83164
|
-
;// 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/ecwplus/BusiformDesigner/src/index.vue?vue&type=template&id=
|
|
83164
|
+
;// 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/ecwplus/BusiformDesigner/src/index.vue?vue&type=template&id=791b1302&scoped=true
|
|
83165
83165
|
var render = function render() {
|
|
83166
83166
|
var _vm = this,
|
|
83167
83167
|
_c = _vm._self._c;
|
|
@@ -84268,8 +84268,8 @@ var attachment = __webpack_require__(27318);
|
|
|
84268
84268
|
var paperComponent = __webpack_require__(99594);
|
|
84269
84269
|
// EXTERNAL MODULE: ./packages/ecwplus/BusiformDesigner/template/FormNumber.vue + 4 modules
|
|
84270
84270
|
var FormNumber = __webpack_require__(73594);
|
|
84271
|
-
;// 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/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=template&id=
|
|
84272
|
-
var
|
|
84271
|
+
;// 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/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=template&id=947defde&scoped=true
|
|
84272
|
+
var widgetTableBodyvue_type_template_id_947defde_scoped_true_render = function render() {
|
|
84273
84273
|
var _vm = this,
|
|
84274
84274
|
_c = _vm._self._c;
|
|
84275
84275
|
return _c('div', {
|
|
@@ -84325,7 +84325,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84325
84325
|
}
|
|
84326
84326
|
}
|
|
84327
84327
|
}, [_vm._l(element.divide, function (col, colIndex) {
|
|
84328
|
-
return [col.list && col.list.length > 0 && col.list[0].type === 'ideaLables' ? [_vm._l(col.list[0].divide, function (ideaLable, ideaIndex) {
|
|
84328
|
+
return [!col.hidden && col.list && col.list.length > 0 && col.list[0].type === 'ideaLables' ? [_vm._l(col.list[0].divide, function (ideaLable, ideaIndex) {
|
|
84329
84329
|
return [ideaLable.options.lableTd == 0 || ideaLable.options.lableTd == 2 ? [_c('td', {
|
|
84330
84330
|
key: ideaIndex,
|
|
84331
84331
|
staticClass: "handle-drag",
|
|
@@ -84341,7 +84341,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84341
84341
|
"labelTd": ideaLable.options.lableTd,
|
|
84342
84342
|
"width": col.span * 100 / 24 + '%',
|
|
84343
84343
|
"colspan": col.span ? col.span : 1,
|
|
84344
|
-
"rowspan": col.
|
|
84344
|
+
"rowspan": col.rowspan ? col.rowspan : 1
|
|
84345
84345
|
},
|
|
84346
84346
|
on: {
|
|
84347
84347
|
"contextmenu": function contextmenu($event) {
|
|
@@ -84485,7 +84485,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84485
84485
|
attrs: {
|
|
84486
84486
|
"width": col.span * 100 / 24 + '%',
|
|
84487
84487
|
"colspan": col.span ? col.span : 1,
|
|
84488
|
-
"rowspan": col.
|
|
84488
|
+
"rowspan": col.rowspan ? col.rowspan : 1
|
|
84489
84489
|
},
|
|
84490
84490
|
on: {
|
|
84491
84491
|
"contextmenu": function contextmenu($event) {
|
|
@@ -84744,7 +84744,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84744
84744
|
}
|
|
84745
84745
|
})];
|
|
84746
84746
|
})], 2) : _vm._l(element.divide, function (col, colIndex) {
|
|
84747
|
-
return [col.label ? _c('td', {
|
|
84747
|
+
return [col.label && !col.hidden ? _c('td', {
|
|
84748
84748
|
key: col.key,
|
|
84749
84749
|
staticClass: "el-table__cell tdlbl",
|
|
84750
84750
|
class: {
|
|
@@ -84790,7 +84790,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84790
84790
|
animation: 200
|
|
84791
84791
|
}, false), [!col.list || col.list.length === 0 ? [_vm._v("放置字段")] : [col.list[0].isRequired ? _c('span', {
|
|
84792
84792
|
staticClass: "field-required"
|
|
84793
|
-
}, [_vm._v("*")]) : _vm._e(), _vm._v(" " + _vm._s(col.list[0].propComment) + " ")]], 2)], 1) : _c('td', {
|
|
84793
|
+
}, [_vm._v("*")]) : _vm._e(), _vm._v(" " + _vm._s(col.list[0].propComment) + " ")]], 2)], 1) : !col.hidden ? _c('td', {
|
|
84794
84794
|
key: colIndex,
|
|
84795
84795
|
staticClass: "el-table__cell tdcont",
|
|
84796
84796
|
class: {
|
|
@@ -84945,7 +84945,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
84945
84945
|
}
|
|
84946
84946
|
}, [_c('i', {
|
|
84947
84947
|
staticClass: "el-icon-edit"
|
|
84948
|
-
})]) : _vm._e()])]) : _vm._e()], 1)];
|
|
84948
|
+
})]) : _vm._e()])]) : _vm._e()], 1) : _vm._e()];
|
|
84949
84949
|
})], 2)] : element.type === 'area' ? [_c('tr', {
|
|
84950
84950
|
key: element.key,
|
|
84951
84951
|
staticClass: "widget-col widget-view",
|
|
@@ -85284,7 +85284,7 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_render = function r
|
|
|
85284
85284
|
}
|
|
85285
85285
|
}, [_vm._v("右侧插入单元格")]) : _vm._e()])])]);
|
|
85286
85286
|
};
|
|
85287
|
-
var
|
|
85287
|
+
var widgetTableBodyvue_type_template_id_947defde_scoped_true_staticRenderFns = [];
|
|
85288
85288
|
|
|
85289
85289
|
;// 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/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=script&lang=js
|
|
85290
85290
|
|
|
@@ -85573,6 +85573,11 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_staticRenderFns = [
|
|
|
85573
85573
|
var col = this.contextMenu.col;
|
|
85574
85574
|
var rowspan = (col.rowspan || 1) + 1;
|
|
85575
85575
|
this.$set(col, 'rowspan', rowspan);
|
|
85576
|
+
// 向下合并后rowspan单元格会占用后续行的列,立即检测修复视觉行超宽
|
|
85577
|
+
var designer = this.$vnode && this.$vnode.context && this.$vnode.context.$vnode && this.$vnode.context.$vnode.context;
|
|
85578
|
+
if (designer && designer.checkRowOverflow) {
|
|
85579
|
+
designer.checkRowOverflow(this.list, []);
|
|
85580
|
+
}
|
|
85576
85581
|
this.closeContextMenu();
|
|
85577
85582
|
},
|
|
85578
85583
|
mergeRight: function mergeRight() {
|
|
@@ -85647,9 +85652,9 @@ var widgetTableBodyvue_type_template_id_a83451b6_scoped_true_staticRenderFns = [
|
|
|
85647
85652
|
});
|
|
85648
85653
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=script&lang=js
|
|
85649
85654
|
/* harmony default export */ var src_widgetTableBodyvue_type_script_lang_js = (widgetTableBodyvue_type_script_lang_js);
|
|
85650
|
-
// 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/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=style&index=0&id=
|
|
85651
|
-
var
|
|
85652
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=style&index=0&id=
|
|
85655
|
+
// 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/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=style&index=0&id=947defde&prod&lang=scss&scoped=true
|
|
85656
|
+
var widgetTableBodyvue_type_style_index_0_id_947defde_prod_lang_scss_scoped_true = __webpack_require__(98326);
|
|
85657
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/widgetTableBody.vue?vue&type=style&index=0&id=947defde&prod&lang=scss&scoped=true
|
|
85653
85658
|
|
|
85654
85659
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
85655
85660
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -85664,11 +85669,11 @@ var componentNormalizer = __webpack_require__(81656);
|
|
|
85664
85669
|
|
|
85665
85670
|
var component = (0,componentNormalizer/* default */.A)(
|
|
85666
85671
|
src_widgetTableBodyvue_type_script_lang_js,
|
|
85667
|
-
|
|
85668
|
-
|
|
85672
|
+
widgetTableBodyvue_type_template_id_947defde_scoped_true_render,
|
|
85673
|
+
widgetTableBodyvue_type_template_id_947defde_scoped_true_staticRenderFns,
|
|
85669
85674
|
false,
|
|
85670
85675
|
null,
|
|
85671
|
-
"
|
|
85676
|
+
"947defde",
|
|
85672
85677
|
null
|
|
85673
85678
|
|
|
85674
85679
|
)
|
|
@@ -89523,8 +89528,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89523
89528
|
} else {
|
|
89524
89529
|
if (res.body.busiform.frmDesignView) {
|
|
89525
89530
|
var tableViewJson = JSON.parse(res.body.busiform.frmDesignView);
|
|
89526
|
-
//
|
|
89527
|
-
_this.repairDesignViewList(tableViewJson.list);
|
|
89531
|
+
// 修复历史脏数据;返回无法自动修复的超宽行
|
|
89532
|
+
var designProblems = _this.repairDesignViewList(tableViewJson.list) || [];
|
|
89528
89533
|
if (_this.$route.query.actionType === 'copy' && res.body.busiform.frmViewType !== _this.tableViewJson.frmViewType && _this.$route.query.frmViewType.indexOf('M_') === 0) {
|
|
89529
89534
|
//根据PC表单复制生成手机版H5表单
|
|
89530
89535
|
tableViewJson.config.frmViewType = _this7.$route.query.frmViewType;
|
|
@@ -89550,6 +89555,15 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89550
89555
|
}
|
|
89551
89556
|
_this.tableViewJsonOld = (0,utils/* deepClone */.Go)(_this.tableViewJson);
|
|
89552
89557
|
_this.defaultSelectedFirst(_this.tableViewJson.list);
|
|
89558
|
+
// 超宽行:选中第一个问题行并提示手动修复
|
|
89559
|
+
if (designProblems.length > 0) {
|
|
89560
|
+
_this.selected = designProblems[0];
|
|
89561
|
+
_this.$message({
|
|
89562
|
+
message: '检测到' + designProblems.length + '行单元格span之和超过该行可用宽度(24-上方rowspan单元格占用),已选中问题行,请在右侧面板检查各单元格span并手动调整',
|
|
89563
|
+
type: 'warning',
|
|
89564
|
+
duration: 6000
|
|
89565
|
+
});
|
|
89566
|
+
}
|
|
89553
89567
|
} else {
|
|
89554
89568
|
_this.defaultSelectedFirst([]);
|
|
89555
89569
|
}
|
|
@@ -89816,8 +89830,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89816
89830
|
this.selected = {};
|
|
89817
89831
|
}
|
|
89818
89832
|
},
|
|
89819
|
-
//
|
|
89820
|
-
//
|
|
89833
|
+
// 修复历史脏数据:清理删除字段残留的无options单元格、孤立的标签/空formField单元格等,
|
|
89834
|
+
// 末尾返回无法自动修复的超宽行,由调用方选中提示用户手动调整span
|
|
89821
89835
|
repairDesignViewList: function repairDesignViewList(list) {
|
|
89822
89836
|
var _this9 = this;
|
|
89823
89837
|
if (!list || !list.length) return;
|
|
@@ -89831,9 +89845,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89831
89845
|
}
|
|
89832
89846
|
if (!element.divide) continue;
|
|
89833
89847
|
var divide = element.divide;
|
|
89834
|
-
//
|
|
89848
|
+
// 意见行行宽在checkRowOverflow中统一处理
|
|
89835
89849
|
if (element.type === 'ideaLables') {
|
|
89836
|
-
this.normalizeIdeaRowSpan(divide);
|
|
89837
89850
|
continue;
|
|
89838
89851
|
}
|
|
89839
89852
|
for (var ci = 0; ci < divide.length; ci++) {
|
|
@@ -89891,24 +89904,138 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89891
89904
|
}
|
|
89892
89905
|
}
|
|
89893
89906
|
}
|
|
89907
|
+
this.repairShrunkFormFields(list);
|
|
89908
|
+
return this.checkRowOverflow(list, []);
|
|
89894
89909
|
},
|
|
89895
|
-
//
|
|
89896
|
-
|
|
89910
|
+
// 修复旧版误收缩的行内样式formField(只显示标签、内容区不可见):恢复span为24-行内其他可见单元格之和
|
|
89911
|
+
repairShrunkFormFields: function repairShrunkFormFields(list) {
|
|
89897
89912
|
var _this10 = this;
|
|
89898
89913
|
if (!list || !list.length) return;
|
|
89899
89914
|
list.forEach(function (element) {
|
|
89900
89915
|
if (element.type === 'tab' && element.content) {
|
|
89901
89916
|
element.content.forEach(function (tab) {
|
|
89902
|
-
return _this10.
|
|
89917
|
+
return _this10.repairShrunkFormFields(tab.list);
|
|
89918
|
+
});
|
|
89919
|
+
return;
|
|
89920
|
+
}
|
|
89921
|
+
if (element.divide && element.divide.length) {
|
|
89922
|
+
element.divide.forEach(function (cell) {
|
|
89923
|
+
if (cell.list && cell.list.length) _this10.repairShrunkFormFields(cell.list);
|
|
89924
|
+
});
|
|
89925
|
+
}
|
|
89926
|
+
if (element.type !== 'coloums' && element.type !== 'mergeRow' || !element.divide || !element.divide.length) return;
|
|
89927
|
+
var divide = element.divide;
|
|
89928
|
+
var _loop = function _loop(i) {
|
|
89929
|
+
var prev = divide[i - 1];
|
|
89930
|
+
var cell = divide[i];
|
|
89931
|
+
if (cell.type !== 'formField' || cell.staticStyle !== 'normal' || !prev || prev.type !== 'fieldLbl' || !prev.hidden) return 0; // continue
|
|
89932
|
+
var labelSpan = parseInt(prev.span) || 0;
|
|
89933
|
+
var span = parseInt(cell.span) || 0;
|
|
89934
|
+
if (span > labelSpan) return 0; // continue
|
|
89935
|
+
var other = 0;
|
|
89936
|
+
divide.forEach(function (c, j) {
|
|
89937
|
+
if (j !== i && !c.hidden) other += parseInt(c.span) || 0;
|
|
89938
|
+
});
|
|
89939
|
+
var restored = 24 - other;
|
|
89940
|
+
if (restored < labelSpan + 1) restored = labelSpan + 1;
|
|
89941
|
+
if (restored > 24) restored = 24;
|
|
89942
|
+
cell.span = restored;
|
|
89943
|
+
},
|
|
89944
|
+
_ret;
|
|
89945
|
+
for (var i = 1; i < divide.length; i++) {
|
|
89946
|
+
_ret = _loop(i);
|
|
89947
|
+
if (_ret === 0) continue;
|
|
89948
|
+
}
|
|
89949
|
+
});
|
|
89950
|
+
},
|
|
89951
|
+
// 检测并自动修复视觉行超宽(rowspan单元格跨行占列,每行约束:上方rowspan续行占用+本行
|
|
89952
|
+
// 可见单元格span之和<=24):先删span>24的垃圾空单元格,再从后往前删无type空单元格,
|
|
89953
|
+
// 仍超宽则等比收缩可见单元格span;无法修复的收集到problems由调用方提示用户手动修复
|
|
89954
|
+
checkRowOverflow: function checkRowOverflow(list, problems) {
|
|
89955
|
+
var _this11 = this;
|
|
89956
|
+
if (!list || !list.length) return problems;
|
|
89957
|
+
list.forEach(function (element) {
|
|
89958
|
+
if (element.type === 'tab' && element.content) {
|
|
89959
|
+
element.content.forEach(function (tab) {
|
|
89960
|
+
return _this11.checkRowOverflow(tab.list, problems);
|
|
89903
89961
|
});
|
|
89904
89962
|
return;
|
|
89905
89963
|
}
|
|
89906
|
-
if (element.
|
|
89907
|
-
|
|
89964
|
+
if (element.divide && element.divide.length) {
|
|
89965
|
+
element.divide.forEach(function (cell) {
|
|
89966
|
+
if (cell.list && cell.list.length) _this11.checkRowOverflow(cell.list, problems);
|
|
89967
|
+
});
|
|
89968
|
+
}
|
|
89969
|
+
});
|
|
89970
|
+
var row = 0;
|
|
89971
|
+
var carry = {};
|
|
89972
|
+
list.forEach(function (element) {
|
|
89973
|
+
if (element.type === 'tab') return;
|
|
89974
|
+
// 意见行按自身规则收缩行宽;独立全宽行不参与网格计算,重置网格段
|
|
89975
|
+
if (element.type === 'ideaLables') {
|
|
89976
|
+
if (element.divide && element.divide.length) _this11.normalizeIdeaRowSpan(element.divide);
|
|
89977
|
+
row = 0;
|
|
89978
|
+
carry = {};
|
|
89979
|
+
return;
|
|
89980
|
+
}
|
|
89981
|
+
if (element.type !== 'coloums' && element.type !== 'mergeRow') {
|
|
89982
|
+
row = 0;
|
|
89983
|
+
carry = {};
|
|
89984
|
+
return;
|
|
89985
|
+
}
|
|
89986
|
+
var occ = carry[row] || 0;
|
|
89987
|
+
if (element.divide && element.divide.length) {
|
|
89988
|
+
var budget = 24 - occ;
|
|
89989
|
+
var sumOf = function sumOf() {
|
|
89990
|
+
return element.divide.reduce(function (s, c) {
|
|
89991
|
+
return !c.hidden ? s + (parseInt(c.span) || 1) : s;
|
|
89992
|
+
}, 0);
|
|
89993
|
+
};
|
|
89994
|
+
if (sumOf() > budget) {
|
|
89995
|
+
// 阶段1:删垃圾及无内容空单元格(span>24的空单元格是历史坏数据)
|
|
89996
|
+
for (var i = element.divide.length - 1; i >= 0 && sumOf() > budget; i--) {
|
|
89997
|
+
var cell = element.divide[i];
|
|
89998
|
+
if (!cell.hidden && !cell.type && (!cell.list || cell.list.length === 0)) {
|
|
89999
|
+
element.divide.splice(i, 1);
|
|
90000
|
+
}
|
|
90001
|
+
}
|
|
90002
|
+
// 阶段2:等比收缩可见单元格span(只调宽度不丢字段)
|
|
90003
|
+
if (sumOf() > budget) {
|
|
90004
|
+
var sum = sumOf();
|
|
90005
|
+
element.divide.forEach(function (cell) {
|
|
90006
|
+
if (cell.hidden) return;
|
|
90007
|
+
var sp = parseInt(cell.span) || 1;
|
|
90008
|
+
var ns = Math.floor(sp * budget / sum);
|
|
90009
|
+
if (ns < 1) ns = 1;
|
|
90010
|
+
if (ns !== sp) cell.span = ns;
|
|
90011
|
+
});
|
|
90012
|
+
// 取整兜底:从后往前逐个减1列
|
|
90013
|
+
for (var _i = element.divide.length - 1; _i >= 0 && sumOf() > budget; _i--) {
|
|
90014
|
+
var _cell2 = element.divide[_i];
|
|
90015
|
+
if (!_cell2.hidden && (parseInt(_cell2.span) || 1) > 1) _cell2.span = (parseInt(_cell2.span) || 1) - 1;
|
|
90016
|
+
}
|
|
90017
|
+
}
|
|
90018
|
+
if (sumOf() > budget) problems.push(element);
|
|
90019
|
+
}
|
|
90020
|
+
}
|
|
90021
|
+
// 登记rowspan对后续视觉行的占列
|
|
90022
|
+
if (element.divide) {
|
|
90023
|
+
element.divide.forEach(function (cell) {
|
|
90024
|
+
if (cell.hidden) return;
|
|
90025
|
+
var rs = parseInt(cell.rowspan) || 1;
|
|
90026
|
+
if (rs > 1) {
|
|
90027
|
+
var sp = parseInt(cell.span) || 1;
|
|
90028
|
+
for (var k = 1; k < rs; k++) {
|
|
90029
|
+
carry[row + k] = (carry[row + k] || 0) + sp;
|
|
90030
|
+
}
|
|
90031
|
+
}
|
|
90032
|
+
});
|
|
89908
90033
|
}
|
|
90034
|
+
row += 1;
|
|
89909
90035
|
});
|
|
90036
|
+
return problems;
|
|
89910
90037
|
},
|
|
89911
|
-
//
|
|
90038
|
+
// 意见行行宽归一化:超24时按比例收缩
|
|
89912
90039
|
// (两行三栏:行1=前两个单元格等比收缩,行2=保持合并单元格宽度、压缩第三个单元格;其他:整行等比收缩)
|
|
89913
90040
|
normalizeIdeaRowSpan: function normalizeIdeaRowSpan(divide) {
|
|
89914
90041
|
if (!divide || !divide.length) return;
|
|
@@ -89974,7 +90101,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89974
90101
|
* 改变实体字段显示状态
|
|
89975
90102
|
*/
|
|
89976
90103
|
formShowState: function formShowState(data) {
|
|
89977
|
-
var
|
|
90104
|
+
var _this12 = this;
|
|
89978
90105
|
var eles = this.eles;
|
|
89979
90106
|
if (data.newVal.ele.tbEntityFieldId && data.newVal.ele.tbEntityFieldId.indexOf('udm_') === 0) {
|
|
89980
90107
|
eles = this.commonFields;
|
|
@@ -89990,19 +90117,19 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89990
90117
|
}
|
|
89991
90118
|
});
|
|
89992
90119
|
setTimeout(function () {
|
|
89993
|
-
|
|
90120
|
+
_this12.$refs.rightPanel.updateSelectFieldAttr();
|
|
89994
90121
|
}, 200);
|
|
89995
90122
|
},
|
|
89996
90123
|
/**
|
|
89997
90124
|
* 删除时改变实体字段状态
|
|
89998
90125
|
*/
|
|
89999
90126
|
deleteFields: function deleteFields(data) {
|
|
90000
|
-
var
|
|
90127
|
+
var _this13 = this;
|
|
90001
90128
|
if (false) {}
|
|
90002
90129
|
if (data.type === 'coloums') {
|
|
90003
90130
|
data.fields.forEach(function (v1, i1) {
|
|
90004
90131
|
if (i1 % 2 === 1 && v1.list.length > 0) {
|
|
90005
|
-
|
|
90132
|
+
_this13.eles.forEach(function (val) {
|
|
90006
90133
|
if (val.propName === v1.list[0].propName) {
|
|
90007
90134
|
val.formShow = 0;
|
|
90008
90135
|
}
|
|
@@ -90014,7 +90141,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90014
90141
|
v1.list.forEach(function (v2, i2) {
|
|
90015
90142
|
v2.divide.forEach(function (v3, i3) {
|
|
90016
90143
|
if (i3 % 2 === 1 && v3.list.length > 0) {
|
|
90017
|
-
|
|
90144
|
+
_this13.eles.forEach(function (val) {
|
|
90018
90145
|
if (val.propName === v3.list[0].propName) {
|
|
90019
90146
|
val.formShow = 0;
|
|
90020
90147
|
}
|
|
@@ -90032,7 +90159,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90032
90159
|
} else if (data.type === 'area' && this.tableViewJson.components) {
|
|
90033
90160
|
this.tableViewJson.components.forEach(function (v, i) {
|
|
90034
90161
|
if (v.name === data.fields.options.comName) {
|
|
90035
|
-
|
|
90162
|
+
_this13.tableViewJson.components.splice(i, 1);
|
|
90036
90163
|
}
|
|
90037
90164
|
});
|
|
90038
90165
|
}
|
|
@@ -90073,37 +90200,37 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90073
90200
|
* 重置表单配置数据
|
|
90074
90201
|
*/
|
|
90075
90202
|
handlClickReset: function handlClickReset() {
|
|
90076
|
-
var
|
|
90203
|
+
var _this14 = this;
|
|
90077
90204
|
this.$confirm('此操作将清除现有的配置,是否确定?', '提示', {
|
|
90078
90205
|
confirmButtonText: '确定',
|
|
90079
90206
|
cancelButtonText: '取消',
|
|
90080
90207
|
type: 'warning'
|
|
90081
90208
|
}).then(function () {
|
|
90082
|
-
|
|
90083
|
-
|
|
90209
|
+
_this14.tableViewJson = (0,utils/* deepClone */.Go)(_this14.tableViewJsonOld);
|
|
90210
|
+
_this14.eles = (0,utils/* deepClone */.Go)(_this14.elesBak);
|
|
90084
90211
|
}).catch(function () {
|
|
90085
90212
|
console.log('取消清除');
|
|
90086
|
-
console.log(
|
|
90213
|
+
console.log(_this14.tableViewJsonOld);
|
|
90087
90214
|
});
|
|
90088
90215
|
},
|
|
90089
90216
|
save2H5form: function save2H5form() {
|
|
90090
|
-
var
|
|
90217
|
+
var _this15 = this;
|
|
90091
90218
|
this.$confirm('您确定要另存为手机版H5表单吗?', '提示', {
|
|
90092
90219
|
confirmButtonText: '确定',
|
|
90093
90220
|
cancelButtonText: '取消',
|
|
90094
90221
|
type: 'warning'
|
|
90095
90222
|
}).then(function () {
|
|
90096
|
-
window.open('/#/designer/busiform?id=' +
|
|
90223
|
+
window.open('/#/designer/busiform?id=' + _this15.$route.query.id + '&actionType=copy&dwadmin=' + _this15.$route.query.dwadmin + '&frmViewType=' + _this15.$route.query.frmViewType.replace('W_', 'M_'));
|
|
90097
90224
|
});
|
|
90098
90225
|
},
|
|
90099
90226
|
/**
|
|
90100
90227
|
* 保存业务表单编辑
|
|
90101
90228
|
*/
|
|
90102
90229
|
saveBusiformData: function saveBusiformData(actionType, vwType) {
|
|
90103
|
-
var
|
|
90230
|
+
var _this16 = this;
|
|
90104
90231
|
var _this = this;
|
|
90105
|
-
//
|
|
90106
|
-
this.
|
|
90232
|
+
// 保存前清理垃圾单元格并修复超宽行
|
|
90233
|
+
this.checkRowOverflow(this.tableViewJson.list, []);
|
|
90107
90234
|
// 是否包含标题
|
|
90108
90235
|
var withTitle = _this.tableViewJson.list.some(function (item) {
|
|
90109
90236
|
return item.type === 'titleBox';
|
|
@@ -90153,7 +90280,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90153
90280
|
});
|
|
90154
90281
|
if (formfields.length === 0 && field.elementType !== 'datetimeRange') {
|
|
90155
90282
|
field.tbBusiformId = '';
|
|
90156
|
-
field.tbEntityId =
|
|
90283
|
+
field.tbEntityId = _this16.busiform.tbEntityId;
|
|
90157
90284
|
field.tbEntityFieldId = 'udm_hidden_' + index;
|
|
90158
90285
|
field.formElementIndex = 0;
|
|
90159
90286
|
field.formTdColspan = 0;
|
|
@@ -90170,7 +90297,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90170
90297
|
var btnRefresh = opener.document.querySelector('.el-icon-refresh');
|
|
90171
90298
|
if (btnRefresh !== null) btnRefresh.click();
|
|
90172
90299
|
}
|
|
90173
|
-
|
|
90300
|
+
_this16.$message({
|
|
90174
90301
|
message: res.message,
|
|
90175
90302
|
type: 'success'
|
|
90176
90303
|
});
|
|
@@ -90179,15 +90306,15 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90179
90306
|
_this.closeDialog();
|
|
90180
90307
|
}, 1000);
|
|
90181
90308
|
} else if (actionType === 'SaveAndPreview') {
|
|
90182
|
-
|
|
90309
|
+
_this16.$bus.emit('showPreview', {
|
|
90183
90310
|
flag: 'DOC',
|
|
90184
|
-
sysCode:
|
|
90185
|
-
frmViewUrl:
|
|
90311
|
+
sysCode: _this16.busiform.sysCode,
|
|
90312
|
+
frmViewUrl: _this16.busiform.frmViewUrl.substr(1).replaceAll('/', '.').replace('html', 'vue'),
|
|
90186
90313
|
vwType: vwType
|
|
90187
90314
|
});
|
|
90188
|
-
} else if (
|
|
90189
|
-
|
|
90190
|
-
|
|
90315
|
+
} else if (_this16.$route.query.actionType === 'addNew' || _this16.$route.query.actionType === 'copy' || res.body.busiformId !== _this16.busiform.id) {
|
|
90316
|
+
_this16.getBusiformInfo(res.body.busiformId, null, 'edit');
|
|
90317
|
+
_this16.$router.push({
|
|
90191
90318
|
path: '/designer/busiform',
|
|
90192
90319
|
query: {
|
|
90193
90320
|
id: res.body.busiformId,
|
|
@@ -90196,7 +90323,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90196
90323
|
});
|
|
90197
90324
|
}
|
|
90198
90325
|
} else {
|
|
90199
|
-
_this.$alert(res.message,
|
|
90326
|
+
_this.$alert(res.message, _this16.$tx('common.operationTip', '操作提示'), {
|
|
90200
90327
|
type: 'error'
|
|
90201
90328
|
});
|
|
90202
90329
|
}
|
|
@@ -90207,14 +90334,14 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90207
90334
|
});
|
|
90208
90335
|
},
|
|
90209
90336
|
setDocFormFields: function setDocFormFields(parent, tableFieldMap, fieldIndex) {
|
|
90210
|
-
var
|
|
90337
|
+
var _this17 = this;
|
|
90211
90338
|
if (parent.list) {
|
|
90212
90339
|
parent.list.forEach(function (item) {
|
|
90213
|
-
|
|
90340
|
+
_this17.setDocFormFields(item, tableFieldMap, fieldIndex++);
|
|
90214
90341
|
});
|
|
90215
90342
|
} else if (parent.content && parent.content.length > 0) {
|
|
90216
90343
|
parent.content.forEach(function (tab) {
|
|
90217
|
-
|
|
90344
|
+
_this17.setDocFormFields(tab, tableFieldMap, fieldIndex++);
|
|
90218
90345
|
});
|
|
90219
90346
|
} else if (parent.propName) {
|
|
90220
90347
|
var tableField = tableFieldMap[parent.propName];
|
|
@@ -90251,10 +90378,10 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90251
90378
|
}
|
|
90252
90379
|
},
|
|
90253
90380
|
setFormFields: function setFormFields(parent, tableFieldMap, fieldIndex) {
|
|
90254
|
-
var
|
|
90381
|
+
var _this18 = this;
|
|
90255
90382
|
if (parent.activeName && parent.content.length > 0) {
|
|
90256
90383
|
parent.content.forEach(function (tab) {
|
|
90257
|
-
|
|
90384
|
+
_this18.setFormFields(tab, tableFieldMap, fieldIndex++);
|
|
90258
90385
|
});
|
|
90259
90386
|
} else if (parent.list) {
|
|
90260
90387
|
parent.list.forEach(function (item) {
|
|
@@ -90277,7 +90404,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90277
90404
|
} else {
|
|
90278
90405
|
tableField.formTdColspan = 8;
|
|
90279
90406
|
}
|
|
90280
|
-
|
|
90407
|
+
_this18.copyFiledProperties(tableField, formField.list[0].options);
|
|
90281
90408
|
tableField.formShow = 1;
|
|
90282
90409
|
tableField.formElementIndex = fieldIndex++;
|
|
90283
90410
|
} else if (formField.list[0].tbEntityFieldId && formField.list[0].tbEntityFieldId.indexOf('udm_') === 0) {
|
|
@@ -90290,7 +90417,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90290
90417
|
}
|
|
90291
90418
|
formField.list[0].options.formShow = 1;
|
|
90292
90419
|
formField.list[0].options.formElementIndex = fieldIndex++;
|
|
90293
|
-
|
|
90420
|
+
_this18.busiform.formFields.push(formField.list[0].options);
|
|
90294
90421
|
}
|
|
90295
90422
|
if (formField.list[0].options.option && formField.list[0].options.option.length > 0) {
|
|
90296
90423
|
var elementFormatter = '';
|
|
@@ -90310,7 +90437,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90310
90437
|
}
|
|
90311
90438
|
});
|
|
90312
90439
|
} else if (item.content !== undefined) {
|
|
90313
|
-
|
|
90440
|
+
_this18.setFormFields(item, tableFieldMap, fieldIndex++);
|
|
90314
90441
|
}
|
|
90315
90442
|
});
|
|
90316
90443
|
}
|
|
@@ -90336,10 +90463,10 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90336
90463
|
tableField.tbFieldName = formField.tbFieldName;
|
|
90337
90464
|
},
|
|
90338
90465
|
formatViewContent: function formatViewContent(parent) {
|
|
90339
|
-
var
|
|
90466
|
+
var _this19 = this;
|
|
90340
90467
|
if (parent.activeName && parent.content.length > 0) {
|
|
90341
90468
|
parent.content.forEach(function (tab) {
|
|
90342
|
-
|
|
90469
|
+
_this19.formatViewContent(tab);
|
|
90343
90470
|
});
|
|
90344
90471
|
} else if (parent.list) {
|
|
90345
90472
|
var maxLength = 1;
|
|
@@ -90358,7 +90485,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90358
90485
|
if (formField.options && formField.options.className) {
|
|
90359
90486
|
formField.className += ' ' + formField.options.className;
|
|
90360
90487
|
}
|
|
90361
|
-
formField.width =
|
|
90488
|
+
formField.width = _this19.getCellWidth(formField.span);
|
|
90362
90489
|
} else {
|
|
90363
90490
|
formField.colspan = 1;
|
|
90364
90491
|
if (formField.span === 4) {
|
|
@@ -90375,7 +90502,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90375
90502
|
if (formField.options && formField.options.className) {
|
|
90376
90503
|
formField.className += ' ' + formField.options.className;
|
|
90377
90504
|
}
|
|
90378
|
-
formField.width =
|
|
90505
|
+
formField.width = _this19.getCellWidth(formField.span);
|
|
90379
90506
|
} else {
|
|
90380
90507
|
if (formField.span === 20) {
|
|
90381
90508
|
formField.colspan = 5;
|
|
@@ -90397,7 +90524,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90397
90524
|
if (formField.list && formField.list.length > 0) {
|
|
90398
90525
|
if (formField.list[0].options.elementType === 'file') {
|
|
90399
90526
|
formField.list[0].options.nameField = formField.list[0].options.defaultValue;
|
|
90400
|
-
var nameField =
|
|
90527
|
+
var nameField = _this19.tableFieldInfo.filter(function (item) {
|
|
90401
90528
|
if (item.propName === formField.list[0].options.defaultValue) return true;
|
|
90402
90529
|
});
|
|
90403
90530
|
if (nameField.length > 0) {
|
|
@@ -90433,7 +90560,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90433
90560
|
delete item.options.listdata;
|
|
90434
90561
|
}
|
|
90435
90562
|
} else if (item.content !== undefined) {
|
|
90436
|
-
|
|
90563
|
+
_this19.formatViewContent(item);
|
|
90437
90564
|
}
|
|
90438
90565
|
});
|
|
90439
90566
|
}
|
|
@@ -90455,11 +90582,11 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90455
90582
|
* 监听选择框 表单视图类型改变时
|
|
90456
90583
|
*/
|
|
90457
90584
|
formViewTypeChange: function formViewTypeChange() {
|
|
90458
|
-
var
|
|
90585
|
+
var _this20 = this;
|
|
90459
90586
|
jsonToMobile(this.tableViewJson).then(function (res) {
|
|
90460
90587
|
console.log('callback', res);
|
|
90461
|
-
|
|
90462
|
-
|
|
90588
|
+
_this20.tableViewJsonBak = _this20.tableViewJson;
|
|
90589
|
+
_this20.tableViewJson = res;
|
|
90463
90590
|
});
|
|
90464
90591
|
},
|
|
90465
90592
|
/**
|
|
@@ -90502,9 +90629,9 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90502
90629
|
});
|
|
90503
90630
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=script&lang=js
|
|
90504
90631
|
/* harmony default export */ var BusiformDesigner_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
90505
|
-
// 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/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=
|
|
90506
|
-
var
|
|
90507
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=
|
|
90632
|
+
// 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/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=791b1302&prod&scoped=true&lang=scss
|
|
90633
|
+
var srcvue_type_style_index_0_id_791b1302_prod_scoped_true_lang_scss = __webpack_require__(22929);
|
|
90634
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=791b1302&prod&scoped=true&lang=scss
|
|
90508
90635
|
|
|
90509
90636
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue
|
|
90510
90637
|
|
|
@@ -90521,7 +90648,7 @@ var src_component = (0,componentNormalizer/* default */.A)(
|
|
|
90521
90648
|
staticRenderFns,
|
|
90522
90649
|
false,
|
|
90523
90650
|
null,
|
|
90524
|
-
"
|
|
90651
|
+
"791b1302",
|
|
90525
90652
|
null
|
|
90526
90653
|
|
|
90527
90654
|
)
|
|
@@ -169583,7 +169710,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".custom-td-border,.custom-td-border td
|
|
|
169583
169710
|
|
|
169584
169711
|
/***/ }),
|
|
169585
169712
|
|
|
169586
|
-
/***/
|
|
169713
|
+
/***/ 93743:
|
|
169587
169714
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
169588
169715
|
|
|
169589
169716
|
"use strict";
|
|
@@ -169597,7 +169724,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169597
169724
|
|
|
169598
169725
|
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()));
|
|
169599
169726
|
// Module
|
|
169600
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
169727
|
+
___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)}", ""]);
|
|
169601
169728
|
// Exports
|
|
169602
169729
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
169603
169730
|
|
|
@@ -169688,7 +169815,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".attachment-container[data-v-10b41d3a]
|
|
|
169688
169815
|
|
|
169689
169816
|
/***/ }),
|
|
169690
169817
|
|
|
169691
|
-
/***/
|
|
169818
|
+
/***/ 97508:
|
|
169692
169819
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
169693
169820
|
|
|
169694
169821
|
"use strict";
|
|
@@ -169702,7 +169829,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169702
169829
|
|
|
169703
169830
|
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()));
|
|
169704
169831
|
// Module
|
|
169705
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".area-content[data-v-
|
|
169832
|
+
___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}", ""]);
|
|
169706
169833
|
// Exports
|
|
169707
169834
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
169708
169835
|
|
|
@@ -255748,19 +255875,19 @@ var update = add("6bf1c0c8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
255748
255875
|
|
|
255749
255876
|
/***/ }),
|
|
255750
255877
|
|
|
255751
|
-
/***/
|
|
255878
|
+
/***/ 22929:
|
|
255752
255879
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
255753
255880
|
|
|
255754
255881
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
255755
255882
|
|
|
255756
255883
|
// load the styles
|
|
255757
|
-
var content = __webpack_require__(
|
|
255884
|
+
var content = __webpack_require__(93743);
|
|
255758
255885
|
if(content.__esModule) content = content.default;
|
|
255759
255886
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
255760
255887
|
if(content.locals) module.exports = content.locals;
|
|
255761
255888
|
// add the styles to the DOM
|
|
255762
255889
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
255763
|
-
var update = add("
|
|
255890
|
+
var update = add("c1b2295c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
255764
255891
|
|
|
255765
255892
|
/***/ }),
|
|
255766
255893
|
|
|
@@ -255828,19 +255955,19 @@ var update = add("dfc5d796", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
255828
255955
|
|
|
255829
255956
|
/***/ }),
|
|
255830
255957
|
|
|
255831
|
-
/***/
|
|
255958
|
+
/***/ 98326:
|
|
255832
255959
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
255833
255960
|
|
|
255834
255961
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
255835
255962
|
|
|
255836
255963
|
// load the styles
|
|
255837
|
-
var content = __webpack_require__(
|
|
255964
|
+
var content = __webpack_require__(97508);
|
|
255838
255965
|
if(content.__esModule) content = content.default;
|
|
255839
255966
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
255840
255967
|
if(content.locals) module.exports = content.locals;
|
|
255841
255968
|
// add the styles to the DOM
|
|
255842
255969
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
255843
|
-
var update = add("
|
|
255970
|
+
var update = add("94d2da1a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
255844
255971
|
|
|
255845
255972
|
/***/ }),
|
|
255846
255973
|
|
|
@@ -277975,7 +278102,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
|
|
|
277975
278102
|
function txtLblI18nFunc(el, binding, vnode) {
|
|
277976
278103
|
var field = binding.value;
|
|
277977
278104
|
//非中文版、流程类文本标签,使用语言包中的配置
|
|
277978
|
-
|
|
278105
|
+
var moduleCode = (vnode.context.moduleCode || '').toLowerCase();
|
|
278106
|
+
if (field && (vnode.context.$i18n.locale !== 'zhCN' || moduleCode === 'wflowform' || moduleCode === 'ecoa')) {
|
|
277979
278107
|
var attrs = vnode.data.attrs || {};
|
|
277980
278108
|
var label = vnode.context.$i18n.generateTitle({
|
|
277981
278109
|
i18nCode: binding.value
|
|
@@ -279278,11 +279406,11 @@ var asyncComponents = [
|
|
|
279278
279406
|
}],
|
|
279279
279407
|
// ========== ecwplus 设计器系列 → chunk: devtool-* ==========
|
|
279280
279408
|
['BusiformDesigner', function () {
|
|
279281
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279409
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 91771)).then(function (m) {
|
|
279282
279410
|
return m.BusiformDesigner;
|
|
279283
279411
|
});
|
|
279284
279412
|
}], ['FromEventEdit', function () {
|
|
279285
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279413
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 91771)).then(function (m) {
|
|
279286
279414
|
return m.FromEventEdit;
|
|
279287
279415
|
});
|
|
279288
279416
|
}], ['ListPageDesigner', function () {
|
|
@@ -279480,7 +279608,7 @@ var EditorConfigModule = function EditorConfigModule() {
|
|
|
279480
279608
|
|
|
279481
279609
|
// ---------- 开发者工具(设计器系列) ----------
|
|
279482
279610
|
var BusiformDesignerModule = function BusiformDesignerModule() {
|
|
279483
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279611
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 91771));
|
|
279484
279612
|
};
|
|
279485
279613
|
var ListPageDesignerModule = function ListPageDesignerModule() {
|
|
279486
279614
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 89878));
|