@morghulis/core 1.0.47 → 1.0.48
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.
|
@@ -13511,10 +13511,49 @@ const Or = /* @__PURE__ */ I({
|
|
|
13511
13511
|
}), j_ = /* @__PURE__ */ I({
|
|
13512
13512
|
__name: "UploadDictionary",
|
|
13513
13513
|
props: {
|
|
13514
|
-
frame: {}
|
|
13514
|
+
frame: {},
|
|
13515
|
+
view: {}
|
|
13515
13516
|
},
|
|
13516
13517
|
setup(e) {
|
|
13517
|
-
|
|
13518
|
+
const t = e, n = x(Object.keys(t.frame)[0]), o = O(() => {
|
|
13519
|
+
const s = t.view.$fields;
|
|
13520
|
+
return Object.keys(t.frame).map((a) => {
|
|
13521
|
+
const r = s[a], { prop: i, label: u } = r || {};
|
|
13522
|
+
return { label: u, value: i };
|
|
13523
|
+
});
|
|
13524
|
+
}), l = O(() => t.frame[n.value] || []);
|
|
13525
|
+
return (s, a) => {
|
|
13526
|
+
const r = w("el-segmented"), i = w("el-table-column"), u = w("el-table"), c = w("el-card");
|
|
13527
|
+
return b(), k(c, null, {
|
|
13528
|
+
header: f(() => [
|
|
13529
|
+
m(r, {
|
|
13530
|
+
modelValue: n.value,
|
|
13531
|
+
"onUpdate:modelValue": a[0] || (a[0] = (d) => n.value = d),
|
|
13532
|
+
options: o.value
|
|
13533
|
+
}, null, 8, ["modelValue", "options"])
|
|
13534
|
+
]),
|
|
13535
|
+
default: f(() => [
|
|
13536
|
+
m(u, {
|
|
13537
|
+
data: l.value,
|
|
13538
|
+
"header-cell-class-name": "m-table-header-cell",
|
|
13539
|
+
border: ""
|
|
13540
|
+
}, {
|
|
13541
|
+
default: f(() => [
|
|
13542
|
+
m(i, {
|
|
13543
|
+
prop: "value",
|
|
13544
|
+
label: "ID"
|
|
13545
|
+
}),
|
|
13546
|
+
m(i, {
|
|
13547
|
+
prop: "label",
|
|
13548
|
+
label: "值"
|
|
13549
|
+
})
|
|
13550
|
+
]),
|
|
13551
|
+
_: 1
|
|
13552
|
+
}, 8, ["data"])
|
|
13553
|
+
]),
|
|
13554
|
+
_: 1
|
|
13555
|
+
});
|
|
13556
|
+
};
|
|
13518
13557
|
}
|
|
13519
13558
|
}), q_ = /* @__PURE__ */ I({
|
|
13520
13559
|
__name: "UploadTableCell",
|
|
@@ -14316,7 +14355,10 @@ const G_ = /* @__PURE__ */ I({
|
|
|
14316
14355
|
title: "外键对照表"
|
|
14317
14356
|
}, {
|
|
14318
14357
|
default: f(() => [
|
|
14319
|
-
m(h(j_), {
|
|
14358
|
+
m(h(j_), {
|
|
14359
|
+
frame: h(v),
|
|
14360
|
+
view: e.view
|
|
14361
|
+
}, null, 8, ["frame", "view"])
|
|
14320
14362
|
]),
|
|
14321
14363
|
_: 1
|
|
14322
14364
|
}, 512)
|