agilebuilder-ui 1.0.90-tmp2 → 1.0.90-tmp21
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/super-ui.css +1 -1
- package/lib/super-ui.js +117 -88
- package/lib/super-ui.umd.cjs +5 -5
- package/package.json +1 -1
- package/packages/fs-upload-list/src/fs-upload-list.vue +2 -2
- package/packages/super-grid/src/apis.js +47 -9
- package/packages/super-grid/src/dynamic-input.vue +12 -17
- package/packages/super-grid/src/formValidatorUtil.js +74 -15
- package/packages/super-grid/src/normal-column-content.vue +24 -21
- package/packages/super-grid/src/normal-column.vue +3 -22
- package/packages/super-grid/src/super-grid-service.js +1 -0
- package/packages/super-grid/src/super-grid.vue +0 -3
- package/packages/super-grid/src/utils.js +2 -2
- package/src/i18n/langs/cn.js +2 -1
- package/src/i18n/langs/en.js +2 -1
package/lib/super-ui.js
CHANGED
|
@@ -9230,7 +9230,8 @@ const en = {
|
|
|
9230
9230
|
forbiddenExceptionLinkUrl: "please click to apply",
|
|
9231
9231
|
forbiddenExceptionLinkUser: "if you have any questions,please contact",
|
|
9232
9232
|
uploadFileTip: "The file size should lower {fileSize}M",
|
|
9233
|
-
asyncExportJumpMsg: "Or click me to jump to download page."
|
|
9233
|
+
asyncExportJumpMsg: "Or click me to jump to download page.",
|
|
9234
|
+
mustFill: "{label} must fill"
|
|
9234
9235
|
},
|
|
9235
9236
|
superGrid: {
|
|
9236
9237
|
columnConfig: "Column Config",
|
|
@@ -9512,7 +9513,8 @@ const en = {
|
|
|
9512
9513
|
forbiddenExceptionLinkUrl: "请点击进行权限申请",
|
|
9513
9514
|
forbiddenExceptionLinkUser: "如有疑问请联系",
|
|
9514
9515
|
uploadFileTip: "上传的文件不超过{fileSize}M",
|
|
9515
|
-
asyncExportJumpMsg: "或点击我跳转到下载页面"
|
|
9516
|
+
asyncExportJumpMsg: "或点击我跳转到下载页面",
|
|
9517
|
+
mustFill: "{label} 必须填写"
|
|
9516
9518
|
},
|
|
9517
9519
|
// 列表组件
|
|
9518
9520
|
superGrid: {
|
|
@@ -15509,8 +15511,8 @@ function isDisableEdit(e, t, n) {
|
|
|
15509
15511
|
const _ = l.options.actionPermission;
|
|
15510
15512
|
isRowCanUpdate(_, d) === !1 && (o = !0);
|
|
15511
15513
|
}
|
|
15512
|
-
if (o === !1 && l.options.customRules && l.options.customRules[e]) {
|
|
15513
|
-
const _ = l.options.customRules[e];
|
|
15514
|
+
if (o === !1 && l.options.customRules && (l.options.customRules[e] || l.options.customRules._all_fields)) {
|
|
15515
|
+
const _ = l.options.customRules[e] ? l.options.customRules[e] : l.options.customRules._all_fields;
|
|
15514
15516
|
_ && _.disabled && (o = !0);
|
|
15515
15517
|
}
|
|
15516
15518
|
}
|
|
@@ -16508,24 +16510,50 @@ function getEndObjectRule(e, t, n) {
|
|
|
16508
16510
|
}
|
|
16509
16511
|
function getValidator(e) {
|
|
16510
16512
|
e || (e = store$1.get("_list_code"));
|
|
16511
|
-
const
|
|
16512
|
-
return n && n.forEach((
|
|
16513
|
-
setRules(
|
|
16514
|
-
}),
|
|
16513
|
+
const t = store$1.get(e), n = t.columns, o = t.options.customRules, l = {};
|
|
16514
|
+
return n && n.forEach((u) => {
|
|
16515
|
+
setRules(l, u, e, o);
|
|
16516
|
+
}), l;
|
|
16515
16517
|
}
|
|
16516
|
-
function setRules(e, t, n) {
|
|
16517
|
-
const
|
|
16518
|
+
function setRules(e, t, n, o) {
|
|
16519
|
+
const l = t.prop;
|
|
16518
16520
|
if (t.groupHeader && t.children && t.children.length > 0)
|
|
16519
|
-
t.children.forEach((
|
|
16520
|
-
setRules(e,
|
|
16521
|
+
t.children.forEach((u) => {
|
|
16522
|
+
setRules(e, u, n, o);
|
|
16521
16523
|
});
|
|
16522
|
-
else if (
|
|
16523
|
-
const
|
|
16524
|
-
|
|
16525
|
-
|
|
16526
|
-
|
|
16524
|
+
else if (l) {
|
|
16525
|
+
const u = getColumnCustomRules(t, o);
|
|
16526
|
+
if ((u || t.validations) && !isDisableEdit(l, n)) {
|
|
16527
|
+
let d = t.validations ? JSON.parse(t.validations) : [];
|
|
16528
|
+
d.forEach((v) => {
|
|
16529
|
+
v.pattern && (v.pattern = new RegExp(v.pattern));
|
|
16530
|
+
}), d = d.concat(u), l.indexOf(".") > 0 ? setObjectPropRule(t, e, d) : d && d.length > 0 && (e[l] = [...d]);
|
|
16531
|
+
}
|
|
16527
16532
|
}
|
|
16528
16533
|
}
|
|
16534
|
+
function getColumnCustomRules(e, t) {
|
|
16535
|
+
const n = e.prop;
|
|
16536
|
+
let o = [], l;
|
|
16537
|
+
const u = "_all_fields";
|
|
16538
|
+
let d;
|
|
16539
|
+
if (t && (d = t[n] ? t[n] : t[u]), d && (d.required || d.rules)) {
|
|
16540
|
+
const v = getI18n().t("imatrixUIMessage.mustFill", {
|
|
16541
|
+
label: e.label
|
|
16542
|
+
});
|
|
16543
|
+
if (o = d.rules ? JSON.parse(JSON.stringify(d.rules)) : null, o && o.length > 0) {
|
|
16544
|
+
const _ = o.filter((E) => E.required);
|
|
16545
|
+
_ && _.length > 0 && (l = _[0]);
|
|
16546
|
+
}
|
|
16547
|
+
d.name === u && o && o.forEach((_) => {
|
|
16548
|
+
_.message = e.label + _.message;
|
|
16549
|
+
}), !l && d.required && (o || (o = []), l = {
|
|
16550
|
+
required: !0,
|
|
16551
|
+
message: v,
|
|
16552
|
+
trigger: "blur"
|
|
16553
|
+
}, o.push(l)), l && !l.message && (l.message = v);
|
|
16554
|
+
}
|
|
16555
|
+
return o;
|
|
16556
|
+
}
|
|
16529
16557
|
function validator(e, t, n, o, l, u, d) {
|
|
16530
16558
|
return validatorEntity(e, t, n, o, !0, l, u, d);
|
|
16531
16559
|
}
|
|
@@ -17680,15 +17708,28 @@ const apis$2 = {
|
|
|
17680
17708
|
}
|
|
17681
17709
|
]
|
|
17682
17710
|
*/
|
|
17683
|
-
dynamicControlTableEdit(e, t) {
|
|
17684
|
-
|
|
17711
|
+
dynamicControlTableEdit(e, t, n) {
|
|
17712
|
+
const o = store$1.get(n);
|
|
17713
|
+
if (!t)
|
|
17685
17714
|
return;
|
|
17686
|
-
let
|
|
17687
|
-
|
|
17688
|
-
const
|
|
17689
|
-
let
|
|
17690
|
-
|
|
17691
|
-
})
|
|
17715
|
+
let l = {};
|
|
17716
|
+
o.options.customRules && (l = JSON.parse(JSON.stringify(o.options.customRules))), t.forEach((u) => {
|
|
17717
|
+
const d = JSON.parse(JSON.stringify(u)), v = u.name;
|
|
17718
|
+
let _;
|
|
17719
|
+
l[v] || (l[v] = {}), _ = l[v].rules, d.rules && (_ || (_ = []), _ = _.concat(d.rules)), d.rules = _, o.options.customRules || (o.options.customRules = {}), o.options.customRules[v] = d;
|
|
17720
|
+
});
|
|
17721
|
+
},
|
|
17722
|
+
doLayout(e, t) {
|
|
17723
|
+
t || (t = this.code);
|
|
17724
|
+
const o = store$1.get(t).hiddenColumns;
|
|
17725
|
+
if (console.log("doLayout----orgHiddenColumns=", o), e && e.length > 0) {
|
|
17726
|
+
let l = o;
|
|
17727
|
+
l || (l = []), l.length === 0 ? l = e : e.forEach((u) => {
|
|
17728
|
+
l.indexOf(u) < 0 && l.push(u);
|
|
17729
|
+
}), console.log("doLayout----hiddenColumnsResult=", l), this.options.hiddenColumns = l;
|
|
17730
|
+
} else
|
|
17731
|
+
this.options.hiddenColumns = o;
|
|
17732
|
+
this.$refs && this.$refs.superGrid && this.$refs.superGrid.doLayout();
|
|
17692
17733
|
}
|
|
17693
17734
|
}, _sfc_main$1n = {
|
|
17694
17735
|
components: {
|
|
@@ -18137,19 +18178,19 @@ const _sfc_main$1m = {
|
|
|
18137
18178
|
const t = JSON.parse(this.column.orgTreeSet);
|
|
18138
18179
|
this.type.indexOf("DeptTree") > 0 && t.checkStrictly && (this.isCheckStrictly = t.checkStrictly), t.length ? this.fields = t : t.orgTreeSetArr && (this.fields = t.orgTreeSetArr);
|
|
18139
18180
|
}
|
|
18140
|
-
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this
|
|
18181
|
+
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch(
|
|
18141
18182
|
"gridOptions.customRules." + this.column.prop,
|
|
18142
18183
|
(t, n) => {
|
|
18143
|
-
this.packageCustomRules();
|
|
18184
|
+
this.packageCustomRules(t);
|
|
18144
18185
|
},
|
|
18145
18186
|
{
|
|
18146
18187
|
immediate: !0,
|
|
18147
18188
|
deep: !0
|
|
18148
18189
|
}
|
|
18149
|
-
), this
|
|
18190
|
+
), this.$watch(
|
|
18150
18191
|
"gridOptions.customRules._all_fields",
|
|
18151
18192
|
(t, n) => {
|
|
18152
|
-
this.packageCustomRules();
|
|
18193
|
+
this.packageCustomRules(t);
|
|
18153
18194
|
},
|
|
18154
18195
|
{
|
|
18155
18196
|
immediate: !0,
|
|
@@ -18700,15 +18741,8 @@ const _sfc_main$1m = {
|
|
|
18700
18741
|
closeBrowserScan(e) {
|
|
18701
18742
|
this.isShowBrowserScan = !1, this.innerValue = e, this.blurEvent();
|
|
18702
18743
|
},
|
|
18703
|
-
packageCustomRules() {
|
|
18704
|
-
|
|
18705
|
-
return;
|
|
18706
|
-
const e = this.options.customRules.filter((t) => t.name === this.column.prop || t.name === "_all_fields");
|
|
18707
|
-
if (e && e.length > 0)
|
|
18708
|
-
for (let t = 0; t < e.length; t++) {
|
|
18709
|
-
const n = e[t];
|
|
18710
|
-
n.disabled !== void 0 && this.$emit("change-disabled", n.disabled), n.required !== void 0 && this.$emit("change-required", n.required);
|
|
18711
|
-
}
|
|
18744
|
+
packageCustomRules(e) {
|
|
18745
|
+
console.log("packageCustomRules---columnRule=", e), e && (e.disabled !== void 0 && this.$emit("change-disabled", e.disabled), e.required !== void 0 && this.$emit("change-required", e.required));
|
|
18712
18746
|
}
|
|
18713
18747
|
}
|
|
18714
18748
|
};
|
|
@@ -20713,7 +20747,7 @@ function _sfc_render$W(e, t, n, o, l, u) {
|
|
|
20713
20747
|
], 4))
|
|
20714
20748
|
]);
|
|
20715
20749
|
}
|
|
20716
|
-
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]),
|
|
20750
|
+
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_bdebf40d_lang = "", _sfc_main$1h = {
|
|
20717
20751
|
components: {
|
|
20718
20752
|
DynamicInput,
|
|
20719
20753
|
RowOperation,
|
|
@@ -20792,24 +20826,20 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
20792
20826
|
isShowForm: {
|
|
20793
20827
|
type: Boolean,
|
|
20794
20828
|
default: !1
|
|
20795
|
-
},
|
|
20796
|
-
// 列表配置信息
|
|
20797
|
-
options: {
|
|
20798
|
-
type: Object,
|
|
20799
|
-
default: null
|
|
20800
20829
|
}
|
|
20801
20830
|
},
|
|
20802
20831
|
data() {
|
|
20803
20832
|
let e;
|
|
20804
|
-
const t = store$1.get(this.listCode);
|
|
20833
|
+
const t = store$1.get(this.listCode), n = t.options;
|
|
20805
20834
|
t.options.extraParam && t.options.extraParam.entityMap && (e = t.options.extraParam.entityMap);
|
|
20806
|
-
const
|
|
20807
|
-
let
|
|
20808
|
-
this.column.controlConfig && (
|
|
20809
|
-
let
|
|
20810
|
-
|
|
20811
|
-
const
|
|
20812
|
-
|
|
20835
|
+
const o = getAdditionalParamMap(t);
|
|
20836
|
+
let l = {};
|
|
20837
|
+
this.column.controlConfig && (l = JSON.parse(this.column.controlConfig));
|
|
20838
|
+
let u = !1;
|
|
20839
|
+
l.scanEnable && (u = !0);
|
|
20840
|
+
const d = this.listCode + "_" + this.column.prop;
|
|
20841
|
+
let v;
|
|
20842
|
+
return t.lineEdit !== null && t.lineEdit !== void 0 && (v = t.lineEdit), {
|
|
20813
20843
|
selectRow: null,
|
|
20814
20844
|
that: this,
|
|
20815
20845
|
align: "left",
|
|
@@ -20837,25 +20867,31 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
20837
20867
|
showRichEditorViewer: !1,
|
|
20838
20868
|
getFormData: t.options.getFormData,
|
|
20839
20869
|
getTableGridData: t.options.getGridData,
|
|
20840
|
-
additionalParamMap:
|
|
20870
|
+
additionalParamMap: o,
|
|
20841
20871
|
disabled: !1,
|
|
20842
20872
|
additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter),
|
|
20843
|
-
scanEnable:
|
|
20844
|
-
componentId:
|
|
20845
|
-
controlConfig:
|
|
20873
|
+
scanEnable: u,
|
|
20874
|
+
componentId: d,
|
|
20875
|
+
controlConfig: l,
|
|
20846
20876
|
rowLinkConfigMapping: {},
|
|
20847
|
-
requiredClass:
|
|
20877
|
+
requiredClass: "",
|
|
20878
|
+
lineEdit: v,
|
|
20879
|
+
options: n
|
|
20848
20880
|
};
|
|
20849
20881
|
},
|
|
20850
20882
|
computed: {
|
|
20851
|
-
lineEdit() {
|
|
20852
|
-
|
|
20853
|
-
|
|
20854
|
-
|
|
20855
|
-
|
|
20856
|
-
|
|
20857
|
-
|
|
20858
|
-
|
|
20883
|
+
// lineEdit() {
|
|
20884
|
+
// let isLineEdit = false
|
|
20885
|
+
// if (this.listCode) {
|
|
20886
|
+
// const gridParams = store.get(this.listCode)
|
|
20887
|
+
// if (gridParams.lineEdit !== null && gridParams.lineEdit !== undefined) {
|
|
20888
|
+
// isLineEdit = gridParams.lineEdit
|
|
20889
|
+
// } else {
|
|
20890
|
+
// isLineEdit = false
|
|
20891
|
+
// }
|
|
20892
|
+
// }
|
|
20893
|
+
// return isLineEdit
|
|
20894
|
+
// },
|
|
20859
20895
|
...mapGetters(["preventReclick"])
|
|
20860
20896
|
},
|
|
20861
20897
|
watch: {
|
|
@@ -20881,7 +20917,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
20881
20917
|
const o = JSON.parse(this.column.fileSet);
|
|
20882
20918
|
o && o.multiple && (this.fileMultiple = !0);
|
|
20883
20919
|
}
|
|
20884
|
-
this.setScanRuleSets();
|
|
20920
|
+
this.setScanRuleSets(), this.requiredClass = this.isRequired(this.row.$editing) ? "m-requried" : "";
|
|
20885
20921
|
},
|
|
20886
20922
|
mounted() {
|
|
20887
20923
|
$on(bus, "un-edit", (t) => {
|
|
@@ -21095,7 +21131,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
21095
21131
|
return this.controlConfig;
|
|
21096
21132
|
},
|
|
21097
21133
|
isRequired(e) {
|
|
21098
|
-
return !!(!this.isFormSubTable && this.lineEdit.editable && this.isEditable && e && this.column.validations && this.column.validations.indexOf('"required":true') > 0);
|
|
21134
|
+
return console.log("isRequired---this.lineEdit=", this.lineEdit), !!(!this.isFormSubTable && this.lineEdit && this.lineEdit.editable && this.isEditable && e && this.column.validations && this.column.validations.indexOf('"required":true') > 0);
|
|
21099
21135
|
},
|
|
21100
21136
|
getFormatIconSetting(e) {
|
|
21101
21137
|
this.transferColumnDataToUpperCase(e);
|
|
@@ -21150,18 +21186,18 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
21150
21186
|
function _sfc_render$V(e, t, n, o, l, u) {
|
|
21151
21187
|
const d = resolveComponent("dynamic-input"), v = resolveComponent("el-dropdown-item"), _ = resolveComponent("el-dropdown-menu"), E = resolveComponent("el-dropdown"), S = resolveComponent("row-operation"), k = resolveComponent("secret-info"), O = resolveComponent("FsPreview"), B = resolveComponent("el-icon"), R = resolveComponent("el-link"), H = resolveComponent("el-tooltip"), j = resolveComponent("GridIcon"), X = resolveComponent("view-image-dialog"), $ = resolveComponent("rich-editor-viewer"), L = resolveDirective("permission");
|
|
21152
21188
|
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
21153
|
-
|
|
21189
|
+
l.lineEdit.editable && l.isEditable && n.row.$editing || n.isShowForm ? (openBlock(), createBlock(d, {
|
|
21154
21190
|
key: 0,
|
|
21155
21191
|
value: n.row[n.column.prop],
|
|
21156
21192
|
"onUpdate:value": t[0] || (t[0] = (ne) => n.row[n.column.prop] = ne),
|
|
21157
21193
|
class: normalizeClass(l.requiredClass),
|
|
21158
21194
|
column: n.column,
|
|
21159
21195
|
"is-sql": n.isSql,
|
|
21160
|
-
"line-edit":
|
|
21196
|
+
"line-edit": l.lineEdit,
|
|
21161
21197
|
"list-code": n.listCode,
|
|
21162
21198
|
"list-toolbar-form-data": n.listToolbarFormData,
|
|
21163
21199
|
options: n.column.valueSet,
|
|
21164
|
-
"grid-options":
|
|
21200
|
+
"grid-options": l.options,
|
|
21165
21201
|
position: {
|
|
21166
21202
|
row: n.rowIndex,
|
|
21167
21203
|
prop: n.column.prop
|
|
@@ -21494,7 +21530,7 @@ function _sfc_render$V(e, t, n, o, l, u) {
|
|
|
21494
21530
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
21495
21531
|
]);
|
|
21496
21532
|
}
|
|
21497
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
21533
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-bdebf40d"]]), _sfc_main$1g = {
|
|
21498
21534
|
components: {
|
|
21499
21535
|
DynamicInput,
|
|
21500
21536
|
RowOperation,
|
|
@@ -21559,16 +21595,11 @@ const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["rende
|
|
|
21559
21595
|
listToolbarFormData: {
|
|
21560
21596
|
type: Object,
|
|
21561
21597
|
default: null
|
|
21562
|
-
},
|
|
21563
|
-
// 列表配置信息
|
|
21564
|
-
options: {
|
|
21565
|
-
type: Object,
|
|
21566
|
-
default: null
|
|
21567
21598
|
}
|
|
21568
21599
|
},
|
|
21569
21600
|
data() {
|
|
21570
21601
|
let e;
|
|
21571
|
-
const t = store$1.get(this.listCode);
|
|
21602
|
+
const t = store$1.get(this.listCode), n = t.options;
|
|
21572
21603
|
return t.options.extraParam && t.options.extraParam.entityMap && (e = t.options.extraParam.entityMap), {
|
|
21573
21604
|
selectRow: null,
|
|
21574
21605
|
that: this,
|
|
@@ -21583,7 +21614,8 @@ const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["rende
|
|
|
21583
21614
|
isShowAdd: !1,
|
|
21584
21615
|
// 是否显示表头的新增按钮
|
|
21585
21616
|
cellWidth: null,
|
|
21586
|
-
parentFormData: e
|
|
21617
|
+
parentFormData: e,
|
|
21618
|
+
options: n
|
|
21587
21619
|
};
|
|
21588
21620
|
},
|
|
21589
21621
|
computed: {
|
|
@@ -21745,12 +21777,12 @@ function _sfc_render$U(e, t, n, o, l, u) {
|
|
|
21745
21777
|
"list-code": n.listCode,
|
|
21746
21778
|
"new-width": n.newWidth,
|
|
21747
21779
|
"drag-column-prop": n.dragColumnProp,
|
|
21748
|
-
"right-click-menu-arr":
|
|
21780
|
+
"right-click-menu-arr": l.options.rightClickMenuArr,
|
|
21749
21781
|
"table-name": n.tableName,
|
|
21750
21782
|
"page-code": n.pageCode,
|
|
21751
21783
|
"list-toolbar-form-data": n.listToolbarFormData,
|
|
21752
21784
|
"list-name": n.listName,
|
|
21753
|
-
options:
|
|
21785
|
+
options: l.options,
|
|
21754
21786
|
"current-page": n.currentPage,
|
|
21755
21787
|
"grid-data": n.gridData,
|
|
21756
21788
|
"page-grid-data": n.pageGridData,
|
|
@@ -21770,7 +21802,7 @@ function _sfc_render$U(e, t, n, o, l, u) {
|
|
|
21770
21802
|
_: 1
|
|
21771
21803
|
}, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "width"]);
|
|
21772
21804
|
}
|
|
21773
|
-
const NormalColumn = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$U]
|
|
21805
|
+
const NormalColumn = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$U]]), _sfc_main$1f = {
|
|
21774
21806
|
name: "GroupColumn",
|
|
21775
21807
|
components: {
|
|
21776
21808
|
NormalColumn
|
|
@@ -26360,7 +26392,7 @@ const superGridService$1 = {
|
|
|
26360
26392
|
(R, H) => R.displayOrder - H.displayOrder
|
|
26361
26393
|
);
|
|
26362
26394
|
}
|
|
26363
|
-
Object.assign(this, v), this.options && typeof isSqlSetting > "u" && (this.isSql = this.basicInfo.sql), o.isSql = this.isSql, o.allColumns = _, o.columns = this.columns, this.packageColumnOptionMap(o), this.judgeIsFormSubTable(), o.colSetting = this.colSetting, o.lineEdit = this.lineEdit, o.basicInfo = this.basicInfo, o.pagination = this.pagination, o.pageContext = this.pageContext, o.configureObj = this.configureObj, this.pagination && (this.pageSize = this.pagination.pageSize), o.query = this.query, o.dynamicColumnInfo = this.dynamicColumnInfo, o.mainDefaultValueColumns = this.mainDefaultValueColumns, o.contextParameter = this.contextParameter, this.isShowPage = this.isShowPageArea(), this.isSubTableShowPage = this.isFormSubTable ? this.isShowPage : !1, o.isSubTableShowPage = this.isSubTableShowPage, this.getDetailColumn(), this.hasLoadedColumns = !0;
|
|
26395
|
+
Object.assign(this, v), this.options && typeof isSqlSetting > "u" && (this.isSql = this.basicInfo.sql), o.isSql = this.isSql, o.allColumns = _, o.columns = this.columns, this.packageColumnOptionMap(o), this.judgeIsFormSubTable(), o.colSetting = this.colSetting, o.lineEdit = this.lineEdit, o.basicInfo = this.basicInfo, o.pagination = this.pagination, o.pageContext = this.pageContext, o.configureObj = this.configureObj, o.hiddenColumns = this.options.hiddenColumns ? JSON.parse(JSON.stringify(this.options.hiddenColumns)) : [], this.pagination && (this.pageSize = this.pagination.pageSize), o.query = this.query, o.dynamicColumnInfo = this.dynamicColumnInfo, o.mainDefaultValueColumns = this.mainDefaultValueColumns, o.contextParameter = this.contextParameter, this.isShowPage = this.isShowPageArea(), this.isSubTableShowPage = this.isFormSubTable ? this.isShowPage : !1, o.isSubTableShowPage = this.isSubTableShowPage, this.getDetailColumn(), this.hasLoadedColumns = !0;
|
|
26364
26396
|
let B = !0;
|
|
26365
26397
|
isHasOptionFunction$1("loadBeforeSend", this.code) && (B = o.options.loadBeforeSend.call(this, {
|
|
26366
26398
|
columns: this.columns,
|
|
@@ -26720,7 +26752,7 @@ function isHasPermission(e, t) {
|
|
|
26720
26752
|
if (o !== void 0 && o === !0)
|
|
26721
26753
|
return !0;
|
|
26722
26754
|
}
|
|
26723
|
-
const
|
|
26755
|
+
const superGrid_vue_vue_type_style_index_0_scoped_d065edc0_rel_stylesheet_2Fscss_lang = "", _sfc_main$10 = {
|
|
26724
26756
|
components: {
|
|
26725
26757
|
IndexColumn,
|
|
26726
26758
|
SelectionColumn,
|
|
@@ -28239,9 +28271,6 @@ const superGrid_vue_vue_type_style_index_0_scoped_43dedc59_rel_stylesheet_2Fscss
|
|
|
28239
28271
|
},
|
|
28240
28272
|
closeRowForm() {
|
|
28241
28273
|
this.showRowForm = !1;
|
|
28242
|
-
},
|
|
28243
|
-
testFunc(e) {
|
|
28244
|
-
console.log("testFunc-----------------params=", e);
|
|
28245
28274
|
}
|
|
28246
28275
|
},
|
|
28247
28276
|
emits: [
|
|
@@ -28497,7 +28526,7 @@ function _sfc_render$E(e, t, n, o, l, u) {
|
|
|
28497
28526
|
}, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit"])) : createCommentVNode("", !0)
|
|
28498
28527
|
], 4);
|
|
28499
28528
|
}
|
|
28500
|
-
const SuperGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$E], ["__scopeId", "data-v-
|
|
28529
|
+
const SuperGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$E], ["__scopeId", "data-v-d065edc0"]]);
|
|
28501
28530
|
SuperGrid.install = function(e) {
|
|
28502
28531
|
e.component(SuperGrid.name, SuperGrid);
|
|
28503
28532
|
};
|
|
@@ -61699,7 +61728,7 @@ const _hoisted_1$7 = ["accept"], _hoisted_2$4 = ["accept"], _hoisted_3$4 = ["acc
|
|
|
61699
61728
|
};
|
|
61700
61729
|
function _sfc_render$7(e, t, n, o, l, u) {
|
|
61701
61730
|
const d = resolveComponent("el-button"), v = resolveComponent("el-input"), _ = resolveComponent("el-upload"), E = resolveComponent("el-dialog"), S = resolveComponent("el-image"), k = resolveComponent("el-table-column"), O = resolveComponent("el-icon-view"), B = resolveComponent("el-icon"), R = resolveComponent("el-tooltip"), H = resolveComponent("el-icon-delete"), j = resolveComponent("el-table"), X = resolveComponent("FileUploadInputMobile"), $ = resolveComponent("fs-preview");
|
|
61702
|
-
return openBlock(), createElementBlock("
|
|
61731
|
+
return openBlock(), createElementBlock("span", null, [
|
|
61703
61732
|
n.disabled ? (openBlock(), createBlock($, {
|
|
61704
61733
|
key: 1,
|
|
61705
61734
|
entity: n.row,
|