ecinc-cloud-wappaio 9.7.60 → 9.7.61
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 +268 -78
- package/lib/ecwappaio.umd.js +268 -78
- package/lib/ecwappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -4331,7 +4331,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
4331
4331
|
|
|
4332
4332
|
/***/ }),
|
|
4333
4333
|
|
|
4334
|
-
/***/
|
|
4334
|
+
/***/ 65843:
|
|
4335
4335
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4336
4336
|
|
|
4337
4337
|
"use strict";
|
|
@@ -8946,8 +8946,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
8946
8946
|
)
|
|
8947
8947
|
|
|
8948
8948
|
/* harmony default export */ var selectWfNode = (component.exports);
|
|
8949
|
-
;// 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/trConfig.vue?vue&type=template&id=
|
|
8950
|
-
var
|
|
8949
|
+
;// 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/trConfig.vue?vue&type=template&id=7da0c682&scoped=true
|
|
8950
|
+
var trConfigvue_type_template_id_7da0c682_scoped_true_render = function render() {
|
|
8951
8951
|
var _vm = this,
|
|
8952
8952
|
_c = _vm._self._c;
|
|
8953
8953
|
return _vm.selectedField.type === 'mergeRow' || _vm.selectedField.type === 'coloums' ? _c('div', [_c('draggable', {
|
|
@@ -9374,7 +9374,7 @@ var trConfigvue_type_template_id_1b59dacb_scoped_true_render = function render()
|
|
|
9374
9374
|
}
|
|
9375
9375
|
})], 1)], 1)], 1)], 1) : _vm._e();
|
|
9376
9376
|
};
|
|
9377
|
-
var
|
|
9377
|
+
var trConfigvue_type_template_id_7da0c682_scoped_true_staticRenderFns = [];
|
|
9378
9378
|
|
|
9379
9379
|
// EXTERNAL MODULE: ./packages/ecwplus/BusiformDesigner/src/formDataConfig.js
|
|
9380
9380
|
var formDataConfig = __webpack_require__(36475);
|
|
@@ -9519,9 +9519,110 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
9519
9519
|
td.options.contentSpan = td.span - td.options.labelSpan;
|
|
9520
9520
|
}
|
|
9521
9521
|
});
|
|
9522
|
+
// 一行最多24个span:选中时修复历史坏数据(如lableTd切换后残留的span=24导致一行48span)
|
|
9523
|
+
this.clampIdeaRowSpan();
|
|
9522
9524
|
this.tds = JSON.parse(JSON.stringify(this.selectedField.divide));
|
|
9523
9525
|
}
|
|
9524
9526
|
},
|
|
9527
|
+
// 意见行行宽约束:一行最多24个span。传changedKey时把该单元格压到所在行剩余宽度并提示;
|
|
9528
|
+
// 不传时按运行端生成规则等比收缩修复历史坏数据(两行三栏:行1=前两个单元格,行2=合并单元格+第三个单元格)
|
|
9529
|
+
clampIdeaRowSpan: function clampIdeaRowSpan(changedKey) {
|
|
9530
|
+
var _this2 = this;
|
|
9531
|
+
var divide = this.selectedField.divide;
|
|
9532
|
+
if (!divide || !divide.length) return;
|
|
9533
|
+
var widthOf = function widthOf(td) {
|
|
9534
|
+
if (td.options && td.options.lableTd == 1) {
|
|
9535
|
+
return parseInt(td.options.labelSpan || 0) + parseInt(td.options.contentSpan || 0);
|
|
9536
|
+
}
|
|
9537
|
+
return parseInt(td.span || 0);
|
|
9538
|
+
};
|
|
9539
|
+
var setWidth = function setWidth(td, w) {
|
|
9540
|
+
w = parseInt(w);
|
|
9541
|
+
if (!w || w < 1) w = 1;
|
|
9542
|
+
if (w > 24) w = 24;
|
|
9543
|
+
if (td.options && td.options.lableTd == 1) {
|
|
9544
|
+
var lbl = parseInt(td.options.labelSpan || 0);
|
|
9545
|
+
if (lbl >= w) lbl = w > 1 ? w - 1 : 1;
|
|
9546
|
+
_this2.$set(td.options, 'labelSpan', lbl);
|
|
9547
|
+
_this2.$set(td.options, 'contentSpan', w - lbl);
|
|
9548
|
+
}
|
|
9549
|
+
_this2.$set(td, 'span', w);
|
|
9550
|
+
};
|
|
9551
|
+
var is23 = divide.length === 3 && (parseInt(divide[0].rowspan) === 2 || parseInt(divide[1].rowspan) === 2);
|
|
9552
|
+
var adjusted = false;
|
|
9553
|
+
if (changedKey) {
|
|
9554
|
+
var ci = divide.findIndex(function (td) {
|
|
9555
|
+
return td.key === changedKey;
|
|
9556
|
+
});
|
|
9557
|
+
if (ci > -1) {
|
|
9558
|
+
var rows = is23 ? parseInt(divide[0].rowspan) === 2 ? [[0, 1], [0, 2]] : [[0, 1], [1, 2]] : [divide.map(function (td, i) {
|
|
9559
|
+
return i;
|
|
9560
|
+
})];
|
|
9561
|
+
rows.forEach(function (row) {
|
|
9562
|
+
if (row.indexOf(ci) === -1) return;
|
|
9563
|
+
var others = row.filter(function (i) {
|
|
9564
|
+
return i !== ci;
|
|
9565
|
+
}).reduce(function (s, i) {
|
|
9566
|
+
return s + widthOf(divide[i]);
|
|
9567
|
+
}, 0);
|
|
9568
|
+
if (others + widthOf(divide[ci]) > 24) {
|
|
9569
|
+
setWidth(divide[ci], 24 - others);
|
|
9570
|
+
adjusted = true;
|
|
9571
|
+
}
|
|
9572
|
+
});
|
|
9573
|
+
}
|
|
9574
|
+
}
|
|
9575
|
+
if (is23) {
|
|
9576
|
+
// 行1:等比收缩
|
|
9577
|
+
var w0 = widthOf(divide[0]);
|
|
9578
|
+
var w1 = widthOf(divide[1]);
|
|
9579
|
+
if (w0 + w1 > 24) {
|
|
9580
|
+
var n0 = Math.floor(w0 * 24 / (w0 + w1));
|
|
9581
|
+
if (n0 < 1) n0 = 1;
|
|
9582
|
+
setWidth(divide[0], n0);
|
|
9583
|
+
setWidth(divide[1], 24 - n0);
|
|
9584
|
+
adjusted = true;
|
|
9585
|
+
}
|
|
9586
|
+
// 行2:保持合并单元格宽度、压缩第三个单元格(与运行端生成模板规则一致)
|
|
9587
|
+
var mergedIndex = parseInt(divide[0].rowspan) === 2 ? 0 : 1;
|
|
9588
|
+
var wm = widthOf(divide[mergedIndex]);
|
|
9589
|
+
var w2 = widthOf(divide[2]);
|
|
9590
|
+
if (wm + w2 > 24) {
|
|
9591
|
+
if (wm < 24) {
|
|
9592
|
+
setWidth(divide[2], 24 - wm);
|
|
9593
|
+
} else {
|
|
9594
|
+
setWidth(divide[mergedIndex], 12);
|
|
9595
|
+
setWidth(divide[2], 12);
|
|
9596
|
+
}
|
|
9597
|
+
adjusted = true;
|
|
9598
|
+
}
|
|
9599
|
+
} else {
|
|
9600
|
+
var total = divide.reduce(function (s, td) {
|
|
9601
|
+
return s + widthOf(td);
|
|
9602
|
+
}, 0);
|
|
9603
|
+
if (total > 24) {
|
|
9604
|
+
var used = 0;
|
|
9605
|
+
divide.forEach(function (td, i) {
|
|
9606
|
+
if (i === divide.length - 1) {
|
|
9607
|
+
setWidth(td, 24 - used);
|
|
9608
|
+
} else {
|
|
9609
|
+
var w = Math.floor(widthOf(td) * 24 / total);
|
|
9610
|
+
if (w < 1) w = 1;
|
|
9611
|
+
setWidth(td, w);
|
|
9612
|
+
used += widthOf(td);
|
|
9613
|
+
}
|
|
9614
|
+
});
|
|
9615
|
+
adjusted = true;
|
|
9616
|
+
}
|
|
9617
|
+
}
|
|
9618
|
+
if (adjusted) {
|
|
9619
|
+
this.tds = JSON.parse(JSON.stringify(this.selectedField.divide));
|
|
9620
|
+
this.$forceUpdate();
|
|
9621
|
+
if (changedKey) {
|
|
9622
|
+
this.$message.warning('意见栏一行最多24个span,已自动调整');
|
|
9623
|
+
}
|
|
9624
|
+
}
|
|
9625
|
+
},
|
|
9525
9626
|
handleAddBlankTd: function handleAddBlankTd() {
|
|
9526
9627
|
var row = formDataConfig/* coloumsList */.$h.find(function (td) {
|
|
9527
9628
|
return td.type === 'mergeRow';
|
|
@@ -9572,26 +9673,26 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
9572
9673
|
this.initTds();
|
|
9573
9674
|
},
|
|
9574
9675
|
handleDelCol: function handleDelCol(index) {
|
|
9575
|
-
var
|
|
9676
|
+
var _this3 = this;
|
|
9576
9677
|
this.$confirm('确定要删除单元格吗?', this.$tx('common.confirmOperate', '确认操作'), {
|
|
9577
9678
|
type: 'warning'
|
|
9578
9679
|
}).then(function () {
|
|
9579
|
-
if (
|
|
9580
|
-
|
|
9581
|
-
fields:
|
|
9680
|
+
if (_this3.tds[index].field && _this3.tds[index].field.list.length > 0) {
|
|
9681
|
+
_this3.designer.deleteFields({
|
|
9682
|
+
fields: _this3.tds[index].field.list[0],
|
|
9582
9683
|
type: 'ele'
|
|
9583
9684
|
});
|
|
9584
9685
|
}
|
|
9585
|
-
|
|
9686
|
+
_this3.tds.splice(index, 1);
|
|
9586
9687
|
var divides = [];
|
|
9587
|
-
for (var i = 0; i <
|
|
9588
|
-
var td = JSON.parse(JSON.stringify(
|
|
9688
|
+
for (var i = 0; i < _this3.tds.length; i++) {
|
|
9689
|
+
var td = JSON.parse(JSON.stringify(_this3.tds[i]));
|
|
9589
9690
|
divides.push(td);
|
|
9590
9691
|
if (td.field) {
|
|
9591
9692
|
delete td.field;
|
|
9592
9693
|
}
|
|
9593
9694
|
}
|
|
9594
|
-
|
|
9695
|
+
_this3.$set(_this3.selectedField, 'divide', _this3.rebuildDivideWithHidden(divides));
|
|
9595
9696
|
});
|
|
9596
9697
|
},
|
|
9597
9698
|
handleMoveEnd: function handleMoveEnd() {
|
|
@@ -9670,6 +9771,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
9670
9771
|
} else {
|
|
9671
9772
|
this.$set(divide, 'span', ideaLabel.span);
|
|
9672
9773
|
}
|
|
9774
|
+
// 一行最多24个span:超出时把该单元格压到所在行剩余宽度
|
|
9775
|
+
this.clampIdeaRowSpan(ideaLabel.key);
|
|
9673
9776
|
this.$forceUpdate();
|
|
9674
9777
|
var divides = [];
|
|
9675
9778
|
this.selectedField.divide.forEach(function (td) {
|
|
@@ -9683,6 +9786,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
9683
9786
|
});
|
|
9684
9787
|
this.$set(divide.options, 'contentSpan', ideaLabel.options.contentSpan);
|
|
9685
9788
|
this.$set(divide, 'span', parseInt(ideaLabel.options.labelSpan) + parseInt(ideaLabel.options.contentSpan));
|
|
9789
|
+
// 一行最多24个span:超出时把该单元格压到所在行剩余宽度
|
|
9790
|
+
this.clampIdeaRowSpan(ideaLabel.key);
|
|
9686
9791
|
this.$forceUpdate();
|
|
9687
9792
|
var divides = [];
|
|
9688
9793
|
this.selectedField.divide.forEach(function (td) {
|
|
@@ -9725,9 +9830,9 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
9725
9830
|
});
|
|
9726
9831
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/trConfig.vue?vue&type=script&lang=js
|
|
9727
9832
|
/* harmony default export */ var src_trConfigvue_type_script_lang_js = (trConfigvue_type_script_lang_js);
|
|
9728
|
-
// 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/trConfig.vue?vue&type=style&index=0&id=
|
|
9729
|
-
var
|
|
9730
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/trConfig.vue?vue&type=style&index=0&id=
|
|
9833
|
+
// 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/trConfig.vue?vue&type=style&index=0&id=7da0c682&prod&scoped=true&lang=scss
|
|
9834
|
+
var trConfigvue_type_style_index_0_id_7da0c682_prod_scoped_true_lang_scss = __webpack_require__(68651);
|
|
9835
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/trConfig.vue?vue&type=style&index=0&id=7da0c682&prod&scoped=true&lang=scss
|
|
9731
9836
|
|
|
9732
9837
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/trConfig.vue
|
|
9733
9838
|
|
|
@@ -9740,11 +9845,11 @@ var trConfigvue_type_style_index_0_id_1b59dacb_prod_scoped_true_lang_scss = __we
|
|
|
9740
9845
|
|
|
9741
9846
|
var trConfig_component = (0,componentNormalizer/* default */.A)(
|
|
9742
9847
|
src_trConfigvue_type_script_lang_js,
|
|
9743
|
-
|
|
9744
|
-
|
|
9848
|
+
trConfigvue_type_template_id_7da0c682_scoped_true_render,
|
|
9849
|
+
trConfigvue_type_template_id_7da0c682_scoped_true_staticRenderFns,
|
|
9745
9850
|
false,
|
|
9746
9851
|
null,
|
|
9747
|
-
"
|
|
9852
|
+
"7da0c682",
|
|
9748
9853
|
null
|
|
9749
9854
|
|
|
9750
9855
|
)
|
|
@@ -83043,7 +83148,7 @@ var AdminConsole_TableEntityMgr = TableEntityMgr;
|
|
|
83043
83148
|
|
|
83044
83149
|
/***/ }),
|
|
83045
83150
|
|
|
83046
|
-
/***/
|
|
83151
|
+
/***/ 20060:
|
|
83047
83152
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
83048
83153
|
|
|
83049
83154
|
"use strict";
|
|
@@ -83056,7 +83161,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
83056
83161
|
FromEventEdit: function() { return /* binding */ FromEventEdit; }
|
|
83057
83162
|
});
|
|
83058
83163
|
|
|
83059
|
-
;// 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=86273300&scoped=true
|
|
83060
83165
|
var render = function render() {
|
|
83061
83166
|
var _vm = this,
|
|
83062
83167
|
_c = _vm._self._c;
|
|
@@ -87681,7 +87786,7 @@ var rightPanel_component = (0,componentNormalizer/* default */.A)(
|
|
|
87681
87786
|
|
|
87682
87787
|
/* harmony default export */ var rightPanel = (rightPanel_component.exports);
|
|
87683
87788
|
// EXTERNAL MODULE: ./packages/ecwplus/BusiformDesigner/src/fieldConfig.vue + 15 modules
|
|
87684
|
-
var fieldConfig = __webpack_require__(
|
|
87789
|
+
var fieldConfig = __webpack_require__(65843);
|
|
87685
87790
|
;// 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/formPreview.vue?vue&type=template&id=a5c2246e&scoped=true
|
|
87686
87791
|
var formPreviewvue_type_template_id_a5c2246e_scoped_true_render = function render() {
|
|
87687
87792
|
var _vm = this,
|
|
@@ -89726,6 +89831,11 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89726
89831
|
}
|
|
89727
89832
|
if (!element.divide) continue;
|
|
89728
89833
|
var divide = element.divide;
|
|
89834
|
+
// 意见行行宽修复:一行最多24个span,修复lableTd切换后残留span=24导致一行48span的历史坏数据
|
|
89835
|
+
if (element.type === 'ideaLables') {
|
|
89836
|
+
this.normalizeIdeaRowSpan(divide);
|
|
89837
|
+
continue;
|
|
89838
|
+
}
|
|
89729
89839
|
for (var ci = 0; ci < divide.length; ci++) {
|
|
89730
89840
|
var cell = divide[ci];
|
|
89731
89841
|
if (!cell.list) continue;
|
|
@@ -89782,11 +89892,89 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89782
89892
|
}
|
|
89783
89893
|
}
|
|
89784
89894
|
},
|
|
89895
|
+
// 保存前遍历所有意见行(含tab嵌套)归一化行宽:一行最多24个span
|
|
89896
|
+
normalizeAllIdeaRowSpan: function normalizeAllIdeaRowSpan(list) {
|
|
89897
|
+
var _this10 = this;
|
|
89898
|
+
if (!list || !list.length) return;
|
|
89899
|
+
list.forEach(function (element) {
|
|
89900
|
+
if (element.type === 'tab' && element.content) {
|
|
89901
|
+
element.content.forEach(function (tab) {
|
|
89902
|
+
return _this10.normalizeAllIdeaRowSpan(tab.list);
|
|
89903
|
+
});
|
|
89904
|
+
return;
|
|
89905
|
+
}
|
|
89906
|
+
if (element.type === 'ideaLables' && element.divide) {
|
|
89907
|
+
_this10.normalizeIdeaRowSpan(element.divide);
|
|
89908
|
+
}
|
|
89909
|
+
});
|
|
89910
|
+
},
|
|
89911
|
+
// 意见行行宽归一化:一行最多24个span,超出时按比例收缩
|
|
89912
|
+
// (两行三栏:行1=前两个单元格等比收缩,行2=保持合并单元格宽度、压缩第三个单元格;其他:整行等比收缩)
|
|
89913
|
+
normalizeIdeaRowSpan: function normalizeIdeaRowSpan(divide) {
|
|
89914
|
+
if (!divide || !divide.length) return;
|
|
89915
|
+
var widthOf = function widthOf(td) {
|
|
89916
|
+
if (td.options && td.options.lableTd == 1) {
|
|
89917
|
+
return parseInt(td.options.labelSpan || 0) + parseInt(td.options.contentSpan || 0);
|
|
89918
|
+
}
|
|
89919
|
+
return parseInt(td.span || 0);
|
|
89920
|
+
};
|
|
89921
|
+
var setWidth = function setWidth(td, w) {
|
|
89922
|
+
w = parseInt(w);
|
|
89923
|
+
if (!w || w < 1) w = 1;
|
|
89924
|
+
if (w > 24) w = 24;
|
|
89925
|
+
if (td.options && td.options.lableTd == 1) {
|
|
89926
|
+
var lbl = parseInt(td.options.labelSpan || 0);
|
|
89927
|
+
if (lbl >= w) lbl = w > 1 ? w - 1 : 1;
|
|
89928
|
+
td.options.labelSpan = lbl;
|
|
89929
|
+
td.options.contentSpan = w - lbl;
|
|
89930
|
+
}
|
|
89931
|
+
td.span = w;
|
|
89932
|
+
};
|
|
89933
|
+
var is23 = divide.length === 3 && (parseInt(divide[0].rowspan) === 2 || parseInt(divide[1].rowspan) === 2);
|
|
89934
|
+
if (is23) {
|
|
89935
|
+
var w0 = widthOf(divide[0]);
|
|
89936
|
+
var w1 = widthOf(divide[1]);
|
|
89937
|
+
if (w0 + w1 > 24) {
|
|
89938
|
+
var n0 = Math.floor(w0 * 24 / (w0 + w1));
|
|
89939
|
+
if (n0 < 1) n0 = 1;
|
|
89940
|
+
setWidth(divide[0], n0);
|
|
89941
|
+
setWidth(divide[1], 24 - n0);
|
|
89942
|
+
}
|
|
89943
|
+
var mergedIndex = parseInt(divide[0].rowspan) === 2 ? 0 : 1;
|
|
89944
|
+
var wm = widthOf(divide[mergedIndex]);
|
|
89945
|
+
var w2 = widthOf(divide[2]);
|
|
89946
|
+
if (wm + w2 > 24) {
|
|
89947
|
+
if (wm < 24) {
|
|
89948
|
+
setWidth(divide[2], 24 - wm);
|
|
89949
|
+
} else {
|
|
89950
|
+
setWidth(divide[mergedIndex], 12);
|
|
89951
|
+
setWidth(divide[2], 12);
|
|
89952
|
+
}
|
|
89953
|
+
}
|
|
89954
|
+
} else {
|
|
89955
|
+
var total = divide.reduce(function (s, td) {
|
|
89956
|
+
return s + widthOf(td);
|
|
89957
|
+
}, 0);
|
|
89958
|
+
if (total > 24) {
|
|
89959
|
+
var used = 0;
|
|
89960
|
+
divide.forEach(function (td, i) {
|
|
89961
|
+
if (i === divide.length - 1) {
|
|
89962
|
+
setWidth(td, 24 - used);
|
|
89963
|
+
} else {
|
|
89964
|
+
var w = Math.floor(widthOf(td) * 24 / total);
|
|
89965
|
+
if (w < 1) w = 1;
|
|
89966
|
+
setWidth(td, w);
|
|
89967
|
+
used += widthOf(td);
|
|
89968
|
+
}
|
|
89969
|
+
});
|
|
89970
|
+
}
|
|
89971
|
+
}
|
|
89972
|
+
},
|
|
89785
89973
|
/**
|
|
89786
89974
|
* 改变实体字段显示状态
|
|
89787
89975
|
*/
|
|
89788
89976
|
formShowState: function formShowState(data) {
|
|
89789
|
-
var
|
|
89977
|
+
var _this11 = this;
|
|
89790
89978
|
var eles = this.eles;
|
|
89791
89979
|
if (data.newVal.ele.tbEntityFieldId && data.newVal.ele.tbEntityFieldId.indexOf('udm_') === 0) {
|
|
89792
89980
|
eles = this.commonFields;
|
|
@@ -89802,19 +89990,19 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89802
89990
|
}
|
|
89803
89991
|
});
|
|
89804
89992
|
setTimeout(function () {
|
|
89805
|
-
|
|
89993
|
+
_this11.$refs.rightPanel.updateSelectFieldAttr();
|
|
89806
89994
|
}, 200);
|
|
89807
89995
|
},
|
|
89808
89996
|
/**
|
|
89809
89997
|
* 删除时改变实体字段状态
|
|
89810
89998
|
*/
|
|
89811
89999
|
deleteFields: function deleteFields(data) {
|
|
89812
|
-
var
|
|
90000
|
+
var _this12 = this;
|
|
89813
90001
|
if (false) {}
|
|
89814
90002
|
if (data.type === 'coloums') {
|
|
89815
90003
|
data.fields.forEach(function (v1, i1) {
|
|
89816
90004
|
if (i1 % 2 === 1 && v1.list.length > 0) {
|
|
89817
|
-
|
|
90005
|
+
_this12.eles.forEach(function (val) {
|
|
89818
90006
|
if (val.propName === v1.list[0].propName) {
|
|
89819
90007
|
val.formShow = 0;
|
|
89820
90008
|
}
|
|
@@ -89826,7 +90014,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89826
90014
|
v1.list.forEach(function (v2, i2) {
|
|
89827
90015
|
v2.divide.forEach(function (v3, i3) {
|
|
89828
90016
|
if (i3 % 2 === 1 && v3.list.length > 0) {
|
|
89829
|
-
|
|
90017
|
+
_this12.eles.forEach(function (val) {
|
|
89830
90018
|
if (val.propName === v3.list[0].propName) {
|
|
89831
90019
|
val.formShow = 0;
|
|
89832
90020
|
}
|
|
@@ -89844,7 +90032,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89844
90032
|
} else if (data.type === 'area' && this.tableViewJson.components) {
|
|
89845
90033
|
this.tableViewJson.components.forEach(function (v, i) {
|
|
89846
90034
|
if (v.name === data.fields.options.comName) {
|
|
89847
|
-
|
|
90035
|
+
_this12.tableViewJson.components.splice(i, 1);
|
|
89848
90036
|
}
|
|
89849
90037
|
});
|
|
89850
90038
|
}
|
|
@@ -89885,35 +90073,37 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89885
90073
|
* 重置表单配置数据
|
|
89886
90074
|
*/
|
|
89887
90075
|
handlClickReset: function handlClickReset() {
|
|
89888
|
-
var
|
|
90076
|
+
var _this13 = this;
|
|
89889
90077
|
this.$confirm('此操作将清除现有的配置,是否确定?', '提示', {
|
|
89890
90078
|
confirmButtonText: '确定',
|
|
89891
90079
|
cancelButtonText: '取消',
|
|
89892
90080
|
type: 'warning'
|
|
89893
90081
|
}).then(function () {
|
|
89894
|
-
|
|
89895
|
-
|
|
90082
|
+
_this13.tableViewJson = (0,utils/* deepClone */.Go)(_this13.tableViewJsonOld);
|
|
90083
|
+
_this13.eles = (0,utils/* deepClone */.Go)(_this13.elesBak);
|
|
89896
90084
|
}).catch(function () {
|
|
89897
90085
|
console.log('取消清除');
|
|
89898
|
-
console.log(
|
|
90086
|
+
console.log(_this13.tableViewJsonOld);
|
|
89899
90087
|
});
|
|
89900
90088
|
},
|
|
89901
90089
|
save2H5form: function save2H5form() {
|
|
89902
|
-
var
|
|
90090
|
+
var _this14 = this;
|
|
89903
90091
|
this.$confirm('您确定要另存为手机版H5表单吗?', '提示', {
|
|
89904
90092
|
confirmButtonText: '确定',
|
|
89905
90093
|
cancelButtonText: '取消',
|
|
89906
90094
|
type: 'warning'
|
|
89907
90095
|
}).then(function () {
|
|
89908
|
-
window.open('/#/designer/busiform?id=' +
|
|
90096
|
+
window.open('/#/designer/busiform?id=' + _this14.$route.query.id + '&actionType=copy&dwadmin=' + _this14.$route.query.dwadmin + '&frmViewType=' + _this14.$route.query.frmViewType.replace('W_', 'M_'));
|
|
89909
90097
|
});
|
|
89910
90098
|
},
|
|
89911
90099
|
/**
|
|
89912
90100
|
* 保存业务表单编辑
|
|
89913
90101
|
*/
|
|
89914
90102
|
saveBusiformData: function saveBusiformData(actionType, vwType) {
|
|
89915
|
-
var
|
|
90103
|
+
var _this15 = this;
|
|
89916
90104
|
var _this = this;
|
|
90105
|
+
// 保存前归一化意见行行宽:一行最多24个span,确保后端生成的运行时组件布局正确
|
|
90106
|
+
this.normalizeAllIdeaRowSpan(this.tableViewJson.list);
|
|
89917
90107
|
// 是否包含标题
|
|
89918
90108
|
var withTitle = _this.tableViewJson.list.some(function (item) {
|
|
89919
90109
|
return item.type === 'titleBox';
|
|
@@ -89963,7 +90153,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89963
90153
|
});
|
|
89964
90154
|
if (formfields.length === 0 && field.elementType !== 'datetimeRange') {
|
|
89965
90155
|
field.tbBusiformId = '';
|
|
89966
|
-
field.tbEntityId =
|
|
90156
|
+
field.tbEntityId = _this15.busiform.tbEntityId;
|
|
89967
90157
|
field.tbEntityFieldId = 'udm_hidden_' + index;
|
|
89968
90158
|
field.formElementIndex = 0;
|
|
89969
90159
|
field.formTdColspan = 0;
|
|
@@ -89980,7 +90170,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89980
90170
|
var btnRefresh = opener.document.querySelector('.el-icon-refresh');
|
|
89981
90171
|
if (btnRefresh !== null) btnRefresh.click();
|
|
89982
90172
|
}
|
|
89983
|
-
|
|
90173
|
+
_this15.$message({
|
|
89984
90174
|
message: res.message,
|
|
89985
90175
|
type: 'success'
|
|
89986
90176
|
});
|
|
@@ -89989,15 +90179,15 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
89989
90179
|
_this.closeDialog();
|
|
89990
90180
|
}, 1000);
|
|
89991
90181
|
} else if (actionType === 'SaveAndPreview') {
|
|
89992
|
-
|
|
90182
|
+
_this15.$bus.emit('showPreview', {
|
|
89993
90183
|
flag: 'DOC',
|
|
89994
|
-
sysCode:
|
|
89995
|
-
frmViewUrl:
|
|
90184
|
+
sysCode: _this15.busiform.sysCode,
|
|
90185
|
+
frmViewUrl: _this15.busiform.frmViewUrl.substr(1).replaceAll('/', '.').replace('html', 'vue'),
|
|
89996
90186
|
vwType: vwType
|
|
89997
90187
|
});
|
|
89998
|
-
} else if (
|
|
89999
|
-
|
|
90000
|
-
|
|
90188
|
+
} else if (_this15.$route.query.actionType === 'addNew' || _this15.$route.query.actionType === 'copy' || res.body.busiformId !== _this15.busiform.id) {
|
|
90189
|
+
_this15.getBusiformInfo(res.body.busiformId, null, 'edit');
|
|
90190
|
+
_this15.$router.push({
|
|
90001
90191
|
path: '/designer/busiform',
|
|
90002
90192
|
query: {
|
|
90003
90193
|
id: res.body.busiformId,
|
|
@@ -90006,7 +90196,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90006
90196
|
});
|
|
90007
90197
|
}
|
|
90008
90198
|
} else {
|
|
90009
|
-
_this.$alert(res.message,
|
|
90199
|
+
_this.$alert(res.message, _this15.$tx('common.operationTip', '操作提示'), {
|
|
90010
90200
|
type: 'error'
|
|
90011
90201
|
});
|
|
90012
90202
|
}
|
|
@@ -90017,14 +90207,14 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90017
90207
|
});
|
|
90018
90208
|
},
|
|
90019
90209
|
setDocFormFields: function setDocFormFields(parent, tableFieldMap, fieldIndex) {
|
|
90020
|
-
var
|
|
90210
|
+
var _this16 = this;
|
|
90021
90211
|
if (parent.list) {
|
|
90022
90212
|
parent.list.forEach(function (item) {
|
|
90023
|
-
|
|
90213
|
+
_this16.setDocFormFields(item, tableFieldMap, fieldIndex++);
|
|
90024
90214
|
});
|
|
90025
90215
|
} else if (parent.content && parent.content.length > 0) {
|
|
90026
90216
|
parent.content.forEach(function (tab) {
|
|
90027
|
-
|
|
90217
|
+
_this16.setDocFormFields(tab, tableFieldMap, fieldIndex++);
|
|
90028
90218
|
});
|
|
90029
90219
|
} else if (parent.propName) {
|
|
90030
90220
|
var tableField = tableFieldMap[parent.propName];
|
|
@@ -90061,10 +90251,10 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90061
90251
|
}
|
|
90062
90252
|
},
|
|
90063
90253
|
setFormFields: function setFormFields(parent, tableFieldMap, fieldIndex) {
|
|
90064
|
-
var
|
|
90254
|
+
var _this17 = this;
|
|
90065
90255
|
if (parent.activeName && parent.content.length > 0) {
|
|
90066
90256
|
parent.content.forEach(function (tab) {
|
|
90067
|
-
|
|
90257
|
+
_this17.setFormFields(tab, tableFieldMap, fieldIndex++);
|
|
90068
90258
|
});
|
|
90069
90259
|
} else if (parent.list) {
|
|
90070
90260
|
parent.list.forEach(function (item) {
|
|
@@ -90087,7 +90277,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90087
90277
|
} else {
|
|
90088
90278
|
tableField.formTdColspan = 8;
|
|
90089
90279
|
}
|
|
90090
|
-
|
|
90280
|
+
_this17.copyFiledProperties(tableField, formField.list[0].options);
|
|
90091
90281
|
tableField.formShow = 1;
|
|
90092
90282
|
tableField.formElementIndex = fieldIndex++;
|
|
90093
90283
|
} else if (formField.list[0].tbEntityFieldId && formField.list[0].tbEntityFieldId.indexOf('udm_') === 0) {
|
|
@@ -90100,7 +90290,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90100
90290
|
}
|
|
90101
90291
|
formField.list[0].options.formShow = 1;
|
|
90102
90292
|
formField.list[0].options.formElementIndex = fieldIndex++;
|
|
90103
|
-
|
|
90293
|
+
_this17.busiform.formFields.push(formField.list[0].options);
|
|
90104
90294
|
}
|
|
90105
90295
|
if (formField.list[0].options.option && formField.list[0].options.option.length > 0) {
|
|
90106
90296
|
var elementFormatter = '';
|
|
@@ -90120,7 +90310,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90120
90310
|
}
|
|
90121
90311
|
});
|
|
90122
90312
|
} else if (item.content !== undefined) {
|
|
90123
|
-
|
|
90313
|
+
_this17.setFormFields(item, tableFieldMap, fieldIndex++);
|
|
90124
90314
|
}
|
|
90125
90315
|
});
|
|
90126
90316
|
}
|
|
@@ -90146,10 +90336,10 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90146
90336
|
tableField.tbFieldName = formField.tbFieldName;
|
|
90147
90337
|
},
|
|
90148
90338
|
formatViewContent: function formatViewContent(parent) {
|
|
90149
|
-
var
|
|
90339
|
+
var _this18 = this;
|
|
90150
90340
|
if (parent.activeName && parent.content.length > 0) {
|
|
90151
90341
|
parent.content.forEach(function (tab) {
|
|
90152
|
-
|
|
90342
|
+
_this18.formatViewContent(tab);
|
|
90153
90343
|
});
|
|
90154
90344
|
} else if (parent.list) {
|
|
90155
90345
|
var maxLength = 1;
|
|
@@ -90168,7 +90358,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90168
90358
|
if (formField.options && formField.options.className) {
|
|
90169
90359
|
formField.className += ' ' + formField.options.className;
|
|
90170
90360
|
}
|
|
90171
|
-
formField.width =
|
|
90361
|
+
formField.width = _this18.getCellWidth(formField.span);
|
|
90172
90362
|
} else {
|
|
90173
90363
|
formField.colspan = 1;
|
|
90174
90364
|
if (formField.span === 4) {
|
|
@@ -90185,7 +90375,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90185
90375
|
if (formField.options && formField.options.className) {
|
|
90186
90376
|
formField.className += ' ' + formField.options.className;
|
|
90187
90377
|
}
|
|
90188
|
-
formField.width =
|
|
90378
|
+
formField.width = _this18.getCellWidth(formField.span);
|
|
90189
90379
|
} else {
|
|
90190
90380
|
if (formField.span === 20) {
|
|
90191
90381
|
formField.colspan = 5;
|
|
@@ -90207,7 +90397,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90207
90397
|
if (formField.list && formField.list.length > 0) {
|
|
90208
90398
|
if (formField.list[0].options.elementType === 'file') {
|
|
90209
90399
|
formField.list[0].options.nameField = formField.list[0].options.defaultValue;
|
|
90210
|
-
var nameField =
|
|
90400
|
+
var nameField = _this18.tableFieldInfo.filter(function (item) {
|
|
90211
90401
|
if (item.propName === formField.list[0].options.defaultValue) return true;
|
|
90212
90402
|
});
|
|
90213
90403
|
if (nameField.length > 0) {
|
|
@@ -90243,7 +90433,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90243
90433
|
delete item.options.listdata;
|
|
90244
90434
|
}
|
|
90245
90435
|
} else if (item.content !== undefined) {
|
|
90246
|
-
|
|
90436
|
+
_this18.formatViewContent(item);
|
|
90247
90437
|
}
|
|
90248
90438
|
});
|
|
90249
90439
|
}
|
|
@@ -90265,11 +90455,11 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90265
90455
|
* 监听选择框 表单视图类型改变时
|
|
90266
90456
|
*/
|
|
90267
90457
|
formViewTypeChange: function formViewTypeChange() {
|
|
90268
|
-
var
|
|
90458
|
+
var _this19 = this;
|
|
90269
90459
|
jsonToMobile(this.tableViewJson).then(function (res) {
|
|
90270
90460
|
console.log('callback', res);
|
|
90271
|
-
|
|
90272
|
-
|
|
90461
|
+
_this19.tableViewJsonBak = _this19.tableViewJson;
|
|
90462
|
+
_this19.tableViewJson = res;
|
|
90273
90463
|
});
|
|
90274
90464
|
},
|
|
90275
90465
|
/**
|
|
@@ -90312,9 +90502,9 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
90312
90502
|
});
|
|
90313
90503
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=script&lang=js
|
|
90314
90504
|
/* harmony default export */ var BusiformDesigner_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
90315
|
-
// 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=
|
|
90316
|
-
var
|
|
90317
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=
|
|
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=86273300&prod&scoped=true&lang=scss
|
|
90506
|
+
var srcvue_type_style_index_0_id_86273300_prod_scoped_true_lang_scss = __webpack_require__(65719);
|
|
90507
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue?vue&type=style&index=0&id=86273300&prod&scoped=true&lang=scss
|
|
90318
90508
|
|
|
90319
90509
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/index.vue
|
|
90320
90510
|
|
|
@@ -90331,7 +90521,7 @@ var src_component = (0,componentNormalizer/* default */.A)(
|
|
|
90331
90521
|
staticRenderFns,
|
|
90332
90522
|
false,
|
|
90333
90523
|
null,
|
|
90334
|
-
"
|
|
90524
|
+
"86273300",
|
|
90335
90525
|
null
|
|
90336
90526
|
|
|
90337
90527
|
)
|
|
@@ -105742,7 +105932,7 @@ var formDataConfig = __webpack_require__(36475);
|
|
|
105742
105932
|
// EXTERNAL MODULE: ./packages/ecwplus/BusiformDesigner/src/widgetDivForm.vue + 4 modules
|
|
105743
105933
|
var widgetDivForm = __webpack_require__(66016);
|
|
105744
105934
|
// EXTERNAL MODULE: ./packages/ecwplus/BusiformDesigner/src/fieldConfig.vue + 15 modules
|
|
105745
|
-
var fieldConfig = __webpack_require__(
|
|
105935
|
+
var fieldConfig = __webpack_require__(65843);
|
|
105746
105936
|
;// 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/PortalPageDesigner/src/FormDesigner.vue?vue&type=script&lang=js
|
|
105747
105937
|
function FormDesignervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return FormDesignervue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, FormDesignervue_type_script_lang_js_typeof(o); }
|
|
105748
105938
|
function FormDesignervue_type_script_lang_js_defineProperty(e, r, t) { return (r = FormDesignervue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -169393,7 +169583,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".custom-td-border,.custom-td-border td
|
|
|
169393
169583
|
|
|
169394
169584
|
/***/ }),
|
|
169395
169585
|
|
|
169396
|
-
/***/
|
|
169586
|
+
/***/ 98569:
|
|
169397
169587
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
169398
169588
|
|
|
169399
169589
|
"use strict";
|
|
@@ -169407,7 +169597,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169407
169597
|
|
|
169408
169598
|
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()));
|
|
169409
169599
|
// Module
|
|
169410
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
169600
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-86273300]: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-86273300]{height:calc(100vh - 60px);overflow-y:hidden;padding:0}.designer-container[data-v-86273300] .el-loading-mask{margin-top:50px}.designer-container .bf-main-container[data-v-86273300],.designer-container .bf-main-container .el-scrollbar[data-v-86273300]{width:100%;height:100%}.designer-container .bf-main-container .el-scrollbar[data-v-86273300] .el-scrollbar__wrap{overflow-x:auto}.designer-container .bf-main-container .el-scrollbar .scrollbar-inner[data-v-86273300]{padding:0 12px}.designer-container .bf-main-container .bf-main[data-v-86273300]{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-86273300]{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-86273300]{text-align:left;min-height:1px}.designer-container .bf-main-container .bf-main .bf-main-header .fv-l>div[data-v-86273300]{width:100%}.designer-container .bf-main-container .bf-main .bf-main-header .fv-r[data-v-86273300]{text-align:right}.designer-container .bf-main-container .bf-main .bf-main-header .fv-r .el-link[data-v-86273300]{margin-left:13px}.designer-container .bf-main-container .bf-main .view-edit-area[data-v-86273300]{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-86273300]{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-86273300]{width:100%;height:100%}.designer-container .bf-main-container .bf-main .view-edit-area .ghost[data-v-86273300]{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-86273300]{height:calc(100% - 96px)}.designer-container .bf-main-container .bf-lside[data-v-86273300]{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-86273300]{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-86273300]{height:calc(100% - 46px)}.designer-container .bf-main-container .bf-lside .el-collapse[data-v-86273300]{border-top:none}.designer-container .bf-main-container .bf-lside .layout-el-lists[data-v-86273300]{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-86273300]{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-86273300]{width:12px;margin-right:8px}.designer-container .bf-main-container .bf-lside .layout-el-lists li .el-image[data-v-86273300]{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-86273300]{line-height:14px}.designer-container .bf-main-container .bf-lside .layout-el-lists li[data-v-86273300]:hover{background-color:#e6e7f1}.designer-container .bf-main-container .bf-rside[data-v-86273300]{width:300px;height:100%;overflow:hidden;float:left;margin-left:-300px;background-color:#fff;border-left:1px solid #e1e1e1}.formTapBtn[data-v-86273300]{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-86273300]{position:relative;margin-right:15px}.formTapBtn .active[data-v-86273300]{position:relative;color:var(--subjectColor);font-weight:700}.formTapBtn .active[data-v-86273300]:after{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--subjectColor)}.formTapBtn .tapItemBtn[data-v-86273300]:hover{cursor:pointer;color:var(--subjectColor)}", ""]);
|
|
169411
169601
|
// Exports
|
|
169412
169602
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
169413
169603
|
|
|
@@ -169456,7 +169646,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-24bb83a0]:export{stdMenuBgcolo
|
|
|
169456
169646
|
|
|
169457
169647
|
/***/ }),
|
|
169458
169648
|
|
|
169459
|
-
/***/
|
|
169649
|
+
/***/ 17705:
|
|
169460
169650
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
169461
169651
|
|
|
169462
169652
|
"use strict";
|
|
@@ -169470,7 +169660,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169470
169660
|
|
|
169471
169661
|
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()));
|
|
169472
169662
|
// Module
|
|
169473
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
169663
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-7da0c682] .el-form-item__label{width:100%!important}[data-v-7da0c682] .el-form-item__label .el-link{float:right!important;font-size:16px!important}", ""]);
|
|
169474
169664
|
// Exports
|
|
169475
169665
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
169476
169666
|
|
|
@@ -255558,19 +255748,19 @@ var update = add("6bf1c0c8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
255558
255748
|
|
|
255559
255749
|
/***/ }),
|
|
255560
255750
|
|
|
255561
|
-
/***/
|
|
255751
|
+
/***/ 65719:
|
|
255562
255752
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
255563
255753
|
|
|
255564
255754
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
255565
255755
|
|
|
255566
255756
|
// load the styles
|
|
255567
|
-
var content = __webpack_require__(
|
|
255757
|
+
var content = __webpack_require__(98569);
|
|
255568
255758
|
if(content.__esModule) content = content.default;
|
|
255569
255759
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
255570
255760
|
if(content.locals) module.exports = content.locals;
|
|
255571
255761
|
// add the styles to the DOM
|
|
255572
255762
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
255573
|
-
var update = add("
|
|
255763
|
+
var update = add("30045306", content, true, {"sourceMap":false,"shadowMode":false});
|
|
255574
255764
|
|
|
255575
255765
|
/***/ }),
|
|
255576
255766
|
|
|
@@ -255606,19 +255796,19 @@ var update = add("5109cc32", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
255606
255796
|
|
|
255607
255797
|
/***/ }),
|
|
255608
255798
|
|
|
255609
|
-
/***/
|
|
255799
|
+
/***/ 68651:
|
|
255610
255800
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
255611
255801
|
|
|
255612
255802
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
255613
255803
|
|
|
255614
255804
|
// load the styles
|
|
255615
|
-
var content = __webpack_require__(
|
|
255805
|
+
var content = __webpack_require__(17705);
|
|
255616
255806
|
if(content.__esModule) content = content.default;
|
|
255617
255807
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
255618
255808
|
if(content.locals) module.exports = content.locals;
|
|
255619
255809
|
// add the styles to the DOM
|
|
255620
255810
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
255621
|
-
var update = add("
|
|
255811
|
+
var update = add("6ad11404", content, true, {"sourceMap":false,"shadowMode":false});
|
|
255622
255812
|
|
|
255623
255813
|
/***/ }),
|
|
255624
255814
|
|
|
@@ -279088,11 +279278,11 @@ var asyncComponents = [
|
|
|
279088
279278
|
}],
|
|
279089
279279
|
// ========== ecwplus 设计器系列 → chunk: devtool-* ==========
|
|
279090
279280
|
['BusiformDesigner', function () {
|
|
279091
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279281
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 20060)).then(function (m) {
|
|
279092
279282
|
return m.BusiformDesigner;
|
|
279093
279283
|
});
|
|
279094
279284
|
}], ['FromEventEdit', function () {
|
|
279095
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279285
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 20060)).then(function (m) {
|
|
279096
279286
|
return m.FromEventEdit;
|
|
279097
279287
|
});
|
|
279098
279288
|
}], ['ListPageDesigner', function () {
|
|
@@ -279290,7 +279480,7 @@ var EditorConfigModule = function EditorConfigModule() {
|
|
|
279290
279480
|
|
|
279291
279481
|
// ---------- 开发者工具(设计器系列) ----------
|
|
279292
279482
|
var BusiformDesignerModule = function BusiformDesignerModule() {
|
|
279293
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
279483
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 20060));
|
|
279294
279484
|
};
|
|
279295
279485
|
var ListPageDesignerModule = function ListPageDesignerModule() {
|
|
279296
279486
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 89878));
|