flame-plus 0.4.14 → 0.4.15
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ke, computed as Se, createVNode as ie, resolveComponent as xe, mergeProps as Re, reactive as
|
|
1
|
+
import { defineComponent as ke, computed as Se, createVNode as ie, resolveComponent as xe, mergeProps as Re, reactive as Ze, watch as $n, ref as Be, onMounted as Zn, isVNode as bo, openBlock as He, createElementBlock as Ye, normalizeClass as af, normalizeStyle as Ol, toDisplayString as Kn, nextTick as sf, createElementVNode as un, createTextVNode as Vt, Fragment as Dn, renderList as _t, unref as le, withCtx as Te, createBlock as wr, getCurrentInstance as lf, useCssVars as cf, h as _r, createSlots as cn, renderSlot as qt, isRef as uf, createCommentVNode as yo, normalizeProps as ff, guardReactiveProps as df } from "vue";
|
|
2
2
|
import { ElLoading as pf, ElUpload as Fl, ElMessage as ut, ElButton as yi, ElDatePicker as hf, ElImage as Al, ElTable as gf, ElTableColumn as Ys, ElMessageBox as Zs } from "element-plus";
|
|
3
3
|
import { buildProps as _o, withInstall as Co } from "element-plus/lib/utils/index";
|
|
4
4
|
import mf from "tinymce/tinymce";
|
|
@@ -112,7 +112,7 @@ const Pl = /* @__PURE__ */ ke({
|
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
setup(n, o) {
|
|
115
|
-
const s = Se(() => qe(Ne.exports.cascaderDefaultConfig, n.config)), u =
|
|
115
|
+
const s = Se(() => qe(Ne.exports.cascaderDefaultConfig, n.config)), u = Ze({
|
|
116
116
|
onChange: (f) => o.emit("change", f),
|
|
117
117
|
onExpandChange: (f) => o.emit("expand-change", f),
|
|
118
118
|
onBlur: (f) => o.emit("blur", f),
|
|
@@ -131,7 +131,7 @@ const Pl = /* @__PURE__ */ ke({
|
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
setup(n, o) {
|
|
134
|
-
const s = Se(() => qe(Ne.exports.checkboxDefaultConfig, n.config)), u =
|
|
134
|
+
const s = Se(() => qe(Ne.exports.checkboxDefaultConfig, n.config)), u = Ze({
|
|
135
135
|
onChange: (f) => o.emit("change", f)
|
|
136
136
|
});
|
|
137
137
|
return () => ie(xe("el-checkbox"), Re(s.value, u), null);
|
|
@@ -145,7 +145,7 @@ const Pl = /* @__PURE__ */ ke({
|
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
setup(n, o) {
|
|
148
|
-
const s = Se(() => qe(Ne.exports.colorPickerDefaultConfig, n.config)), u =
|
|
148
|
+
const s = Se(() => qe(Ne.exports.colorPickerDefaultConfig, n.config)), u = Ze({
|
|
149
149
|
onChange: (f) => o.emit("change", f)
|
|
150
150
|
});
|
|
151
151
|
return () => ie(xe("el-colorPicker"), Re(s.value, u), null);
|
|
@@ -198,7 +198,7 @@ const Pl = /* @__PURE__ */ ke({
|
|
|
198
198
|
var h, m, g, p;
|
|
199
199
|
o.slots.hasOwnProperty("append") && (s.value.append = (m = (h = o.slots).append) == null ? void 0 : m.call(h)), o.slots.hasOwnProperty("prepend") && (s.value.prepend = (p = (g = o.slots).prepend) == null ? void 0 : p.call(g));
|
|
200
200
|
});
|
|
201
|
-
const u = Se(() => qe(Ne.exports.inputDefaultConfig, n.config)), f =
|
|
201
|
+
const u = Se(() => qe(Ne.exports.inputDefaultConfig, n.config)), f = Ze({
|
|
202
202
|
onBlur: () => o.emit("blur"),
|
|
203
203
|
onFocus: () => o.emit("focus"),
|
|
204
204
|
onChange: (h) => o.emit("change", h),
|
|
@@ -218,7 +218,7 @@ const Pl = /* @__PURE__ */ ke({
|
|
|
218
218
|
}
|
|
219
219
|
},
|
|
220
220
|
setup(n, o) {
|
|
221
|
-
const s = Se(() => qe(Ne.exports.inputNumberDefaultConfig, n.config)), u =
|
|
221
|
+
const s = Se(() => qe(Ne.exports.inputNumberDefaultConfig, n.config)), u = Ze({
|
|
222
222
|
onChange: (f) => o.emit("change", f),
|
|
223
223
|
onBlur: () => o.emit("blur"),
|
|
224
224
|
onFocus: () => o.emit("focus")
|
|
@@ -238,7 +238,7 @@ const Pl = /* @__PURE__ */ ke({
|
|
|
238
238
|
emit: s,
|
|
239
239
|
slots: u
|
|
240
240
|
}) {
|
|
241
|
-
const f = Se(() => qe(Ne.exports.paginationDefaultConfig, n.config)), h =
|
|
241
|
+
const f = Se(() => qe(Ne.exports.paginationDefaultConfig, n.config)), h = Ze({
|
|
242
242
|
onSizeChange: (m) => s("size-change", m),
|
|
243
243
|
onCurrentChange: (m) => s("current-change", m),
|
|
244
244
|
onPrevClick: (m) => s("prev-click", m),
|
|
@@ -259,7 +259,7 @@ const Bl = /* @__PURE__ */ ke({
|
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
261
|
setup(n, o) {
|
|
262
|
-
const s = Se(() => qe(Ne.exports.radioGroupDefaultConfig, n.config)), u =
|
|
262
|
+
const s = Se(() => qe(Ne.exports.radioGroupDefaultConfig, n.config)), u = Ze({
|
|
263
263
|
onChange: (h) => o.emit("change", h)
|
|
264
264
|
}), f = () => {
|
|
265
265
|
let h;
|
|
@@ -283,7 +283,7 @@ const Bl = /* @__PURE__ */ ke({
|
|
|
283
283
|
}
|
|
284
284
|
},
|
|
285
285
|
setup(n, o) {
|
|
286
|
-
const s = Se(() => qe(Ne.exports.rateDefaultConfig, n.config)), u =
|
|
286
|
+
const s = Se(() => qe(Ne.exports.rateDefaultConfig, n.config)), u = Ze({
|
|
287
287
|
onChange: (f) => o.emit("change", f)
|
|
288
288
|
});
|
|
289
289
|
return () => ie(xe("el-rate"), Re(s.value, u), null);
|
|
@@ -299,7 +299,7 @@ const Bl = /* @__PURE__ */ ke({
|
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
301
|
setup(n) {
|
|
302
|
-
return (o, s) => (He(),
|
|
302
|
+
return (o, s) => (He(), Ye("div", {
|
|
303
303
|
class: af(n.config.class),
|
|
304
304
|
style: Ol(n.config.style)
|
|
305
305
|
}, Kn(n.config["model-value"]), 7));
|
|
@@ -317,7 +317,7 @@ const Nl = /* @__PURE__ */ ke({
|
|
|
317
317
|
}
|
|
318
318
|
},
|
|
319
319
|
setup(n, o) {
|
|
320
|
-
const s = Se(() => qe(Ne.exports.selectDefaultConfig, n.config)), u =
|
|
320
|
+
const s = Se(() => qe(Ne.exports.selectDefaultConfig, n.config)), u = Ze({
|
|
321
321
|
onChange: (h) => o.emit("change", h),
|
|
322
322
|
onVisibleChange: (h) => o.emit("visible-change", h),
|
|
323
323
|
onRemoveTag: (h) => o.emit("remove-tag", h),
|
|
@@ -357,7 +357,7 @@ const Nl = /* @__PURE__ */ ke({
|
|
|
357
357
|
}
|
|
358
358
|
},
|
|
359
359
|
setup(n, o) {
|
|
360
|
-
const s = Se(() => qe(Ne.exports.sliderDefaultConfig, n.config)), u =
|
|
360
|
+
const s = Se(() => qe(Ne.exports.sliderDefaultConfig, n.config)), u = Ze({
|
|
361
361
|
onChange: (f) => o.emit("change", f),
|
|
362
362
|
onInput: (f) => o.emit("input", f)
|
|
363
363
|
});
|
|
@@ -386,7 +386,7 @@ const Nl = /* @__PURE__ */ ke({
|
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
388
|
setup(n, o) {
|
|
389
|
-
const s = Se(() => qe(Ne.exports.timePickerDefaultConfig, n.config)), u =
|
|
389
|
+
const s = Se(() => qe(Ne.exports.timePickerDefaultConfig, n.config)), u = Ze({
|
|
390
390
|
"onUpdate:modelValue": (f) => o.emit("change", f),
|
|
391
391
|
onBlur: (f) => o.emit("blur", f),
|
|
392
392
|
onFocus: (f) => o.emit("focus", f),
|
|
@@ -403,7 +403,7 @@ const Nl = /* @__PURE__ */ ke({
|
|
|
403
403
|
}
|
|
404
404
|
},
|
|
405
405
|
setup(n, o) {
|
|
406
|
-
const s = Se(() => qe(Ne.exports.timeSelectDefaultConfig, n.config)), u =
|
|
406
|
+
const s = Se(() => qe(Ne.exports.timeSelectDefaultConfig, n.config)), u = Ze({
|
|
407
407
|
onChange: (f) => o.emit("change", f),
|
|
408
408
|
onBlur: () => o.emit("blur"),
|
|
409
409
|
onFocus: () => o.emit("focus")
|
|
@@ -419,7 +419,7 @@ const Nl = /* @__PURE__ */ ke({
|
|
|
419
419
|
}
|
|
420
420
|
},
|
|
421
421
|
setup(n, o) {
|
|
422
|
-
const s = Se(() => qe(Ne.exports.transferDefaultConfig, n.config)), u =
|
|
422
|
+
const s = Se(() => qe(Ne.exports.transferDefaultConfig, n.config)), u = Ze({
|
|
423
423
|
onChange: (f) => o.emit("change", f),
|
|
424
424
|
onLeftCheckChange: (f) => o.emit("left-check-change", f),
|
|
425
425
|
onRightCheckChange: (f) => o.emit("right-check-change", f)
|
|
@@ -452,7 +452,7 @@ const Nl = /* @__PURE__ */ ke({
|
|
|
452
452
|
}
|
|
453
453
|
},
|
|
454
454
|
setup(n, o) {
|
|
455
|
-
const s = Se(() => qe(Ne.exports.dialogDefaultConfig, n.config)), u =
|
|
455
|
+
const s = Se(() => qe(Ne.exports.dialogDefaultConfig, n.config)), u = Ze({
|
|
456
456
|
onOpen: () => o.emit("open"),
|
|
457
457
|
onOpened: () => o.emit("opened"),
|
|
458
458
|
onClose: () => o.emit("close"),
|
|
@@ -1625,7 +1625,7 @@ const Qn = (n, o) => {
|
|
|
1625
1625
|
...Vg,
|
|
1626
1626
|
props: Sf,
|
|
1627
1627
|
setup(n) {
|
|
1628
|
-
const o = n, s = Be(""), u = Be(""), f =
|
|
1628
|
+
const o = n, s = Be(""), u = Be(""), f = Ze([]), h = () => {
|
|
1629
1629
|
let m = {}, g = [];
|
|
1630
1630
|
s.value = o.content.header.sheet_no, u.value = o.content.header.sheet_name, o.content.tables.forEach((_) => {
|
|
1631
1631
|
_.col_span == "10" && _.value == "" && g.push(parseInt(_.row)), Object.keys(m).includes(_.row) ? m[_.row].push(_) : m[_.row] = [_];
|
|
@@ -1665,16 +1665,16 @@ const Qn = (n, o) => {
|
|
|
1665
1665
|
});
|
|
1666
1666
|
});
|
|
1667
1667
|
}
|
|
1668
|
-
), (m, g) => (He(),
|
|
1668
|
+
), (m, g) => (He(), Ye("div", Lg, [
|
|
1669
1669
|
un("div", Mg, [
|
|
1670
1670
|
un("h2", null, [
|
|
1671
1671
|
Vt(Kn(u.value) + " ", 1),
|
|
1672
1672
|
un("span", Ug, Kn(s.value), 1)
|
|
1673
1673
|
]),
|
|
1674
|
-
(He(!0),
|
|
1674
|
+
(He(!0), Ye(Dn, null, _t(f, (p) => (He(), Ye("table", zg, [
|
|
1675
1675
|
un("tbody", null, [
|
|
1676
|
-
(He(!0),
|
|
1677
|
-
(He(!0),
|
|
1676
|
+
(He(!0), Ye(Dn, null, _t(p, (b, x) => (He(), Ye("tr", Hg, [
|
|
1677
|
+
(He(!0), Ye(Dn, null, _t(b, (_) => (He(), Ye("td", {
|
|
1678
1678
|
colspan: _.col_span,
|
|
1679
1679
|
style: Ol(`text-align:${_.align}`)
|
|
1680
1680
|
}, Kn(_.value ? _.value.toString() : _.value), 13, qg))), 256))
|
|
@@ -4798,7 +4798,7 @@ var lc = { exports: {} };
|
|
|
4798
4798
|
})(), h;
|
|
4799
4799
|
})());
|
|
4800
4800
|
})(lc);
|
|
4801
|
-
const Yg = /* @__PURE__ */ bf(lc.exports),
|
|
4801
|
+
const Yg = /* @__PURE__ */ bf(lc.exports), Je = new Yg({
|
|
4802
4802
|
projectName: "tenant",
|
|
4803
4803
|
service: "/spark-openapi-service",
|
|
4804
4804
|
whiteList: ["login", "/UserRegistration"]
|
|
@@ -4826,11 +4826,11 @@ const Zg = { class: "component" }, Xg = ke({
|
|
|
4826
4826
|
};
|
|
4827
4827
|
return (p, b) => {
|
|
4828
4828
|
const x = xe("el-button"), _ = xe("el-image"), E = xe("CircleClose");
|
|
4829
|
-
return He(),
|
|
4829
|
+
return He(), Ye("div", Zg, [
|
|
4830
4830
|
ie(le(Fl), {
|
|
4831
4831
|
ref_key: "componentUploader",
|
|
4832
4832
|
ref: u,
|
|
4833
|
-
action: `https://resource.cfdigit.cn/spark-resource-service/upload_file?source=tencent&token=${le(
|
|
4833
|
+
action: `https://resource.cfdigit.cn/spark-resource-service/upload_file?source=tencent&token=${le(Je).token}`,
|
|
4834
4834
|
"show-file-list": !1,
|
|
4835
4835
|
"on-success": m
|
|
4836
4836
|
}, {
|
|
@@ -4876,7 +4876,7 @@ const Zg = { class: "component" }, Xg = ke({
|
|
|
4876
4876
|
setup(n, { emit: o }) {
|
|
4877
4877
|
const s = Be(0);
|
|
4878
4878
|
Be("");
|
|
4879
|
-
const u =
|
|
4879
|
+
const u = Ze({
|
|
4880
4880
|
selector: "#textarea",
|
|
4881
4881
|
height: 300,
|
|
4882
4882
|
promotion: !1,
|
|
@@ -4915,7 +4915,7 @@ const Zg = { class: "component" }, Xg = ke({
|
|
|
4915
4915
|
};
|
|
4916
4916
|
return (h, m) => {
|
|
4917
4917
|
const g = xe("el-button"), p = xe("el-upload");
|
|
4918
|
-
return He(),
|
|
4918
|
+
return He(), Ye("div", null, [
|
|
4919
4919
|
(He(), wr(le(vf), {
|
|
4920
4920
|
id: "tinymce",
|
|
4921
4921
|
init: u,
|
|
@@ -4925,7 +4925,7 @@ const Zg = { class: "component" }, Xg = ke({
|
|
|
4925
4925
|
}, null, 8, ["init", "model-value"])),
|
|
4926
4926
|
ie(p, {
|
|
4927
4927
|
id: "tinymce-id",
|
|
4928
|
-
action: `https://resource.cfdigit.cn/spark-resource-service/upload_file?source=tencent&token=${le(
|
|
4928
|
+
action: `https://resource.cfdigit.cn/spark-resource-service/upload_file?source=tencent&token=${le(Je).token}`,
|
|
4929
4929
|
"show-file-list": !1,
|
|
4930
4930
|
"on-success": f,
|
|
4931
4931
|
style: { display: "none" }
|
|
@@ -5006,7 +5006,7 @@ const Zg = { class: "component" }, Xg = ke({
|
|
|
5006
5006
|
}
|
|
5007
5007
|
);
|
|
5008
5008
|
const g = () => {
|
|
5009
|
-
|
|
5009
|
+
Je.flameRequest({
|
|
5010
5010
|
projectName: "tenant",
|
|
5011
5011
|
tableName: "Webflametableinfoitem",
|
|
5012
5012
|
flameMethod: "allSearch",
|
|
@@ -5061,7 +5061,7 @@ const Zg = { class: "component" }, Xg = ke({
|
|
|
5061
5061
|
}, b = (x) => {
|
|
5062
5062
|
m.value["model-value"] = !1;
|
|
5063
5063
|
};
|
|
5064
|
-
return (x, _) => (He(),
|
|
5064
|
+
return (x, _) => (He(), Ye("div", om, [
|
|
5065
5065
|
ie(le(Ti), {
|
|
5066
5066
|
onClick: _[1] || (_[1] = (E) => m.value["model-value"] = !0),
|
|
5067
5067
|
value: f.value,
|
|
@@ -5182,7 +5182,7 @@ const am = {
|
|
|
5182
5182
|
emit: s,
|
|
5183
5183
|
expose: u
|
|
5184
5184
|
}) {
|
|
5185
|
-
const f = lf(), h =
|
|
5185
|
+
const f = lf(), h = Ze({});
|
|
5186
5186
|
$n(() => n.config.model, (v) => g(v)), $n(h, (v) => m(v)), Zn(() => {
|
|
5187
5187
|
var v, G;
|
|
5188
5188
|
((v = n.config) == null ? void 0 : v.model) && Object.keys((G = n.config) == null ? void 0 : G.model).length && (m(n.config.model), g(n.config.model));
|
|
@@ -5225,7 +5225,7 @@ const am = {
|
|
|
5225
5225
|
s("cancel", h);
|
|
5226
5226
|
}, E = () => {
|
|
5227
5227
|
const v = f == null ? void 0 : f.refs.formRef;
|
|
5228
|
-
!v || (v.resetFields(), h
|
|
5228
|
+
!v || (v.resetFields(), Object.assign(h, {}), s("reset", h));
|
|
5229
5229
|
}, B = (v = []) => {
|
|
5230
5230
|
const G = (O, $, P) => {
|
|
5231
5231
|
const Z = {
|
|
@@ -5326,11 +5326,11 @@ function xl(n) {
|
|
|
5326
5326
|
}
|
|
5327
5327
|
const Sl = () => {
|
|
5328
5328
|
cf((n) => ({
|
|
5329
|
-
|
|
5329
|
+
cffb19a6: n.columnNumber
|
|
5330
5330
|
}));
|
|
5331
5331
|
}, El = Ui.setup;
|
|
5332
5332
|
Ui.setup = El ? (n, o) => (Sl(), El(n, o)) : Sl;
|
|
5333
|
-
const Jn = /* @__PURE__ */ Qn(Ui, [["__scopeId", "data-v-
|
|
5333
|
+
const Jn = /* @__PURE__ */ Qn(Ui, [["__scopeId", "data-v-5e3db9ff"]]);
|
|
5334
5334
|
function kl(n) {
|
|
5335
5335
|
return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !bo(n);
|
|
5336
5336
|
}
|
|
@@ -5346,7 +5346,7 @@ const zi = /* @__PURE__ */ ke({
|
|
|
5346
5346
|
slots: o,
|
|
5347
5347
|
emit: s
|
|
5348
5348
|
}) {
|
|
5349
|
-
const u =
|
|
5349
|
+
const u = Ze({
|
|
5350
5350
|
onSelect: (p, b) => s("select", {
|
|
5351
5351
|
selection: p,
|
|
5352
5352
|
row: b
|
|
@@ -5553,7 +5553,7 @@ const zi = /* @__PURE__ */ ke({
|
|
|
5553
5553
|
};
|
|
5554
5554
|
return ($, P) => {
|
|
5555
5555
|
const Z = xe("el-drawer");
|
|
5556
|
-
return He(),
|
|
5556
|
+
return He(), Ye("div", null, [
|
|
5557
5557
|
ie(le(Jn), {
|
|
5558
5558
|
class: "search-default",
|
|
5559
5559
|
ref_key: "searchDefaultRef",
|
|
@@ -5631,8 +5631,8 @@ const cm = { class: "toolbar" }, um = ke({
|
|
|
5631
5631
|
};
|
|
5632
5632
|
return (g, p) => {
|
|
5633
5633
|
const b = xe("el-button"), x = xe("el-dropdown-item"), _ = xe("el-dropdown-menu"), E = xe("el-dropdown");
|
|
5634
|
-
return He(),
|
|
5635
|
-
(He(!0),
|
|
5634
|
+
return He(), Ye("div", cm, [
|
|
5635
|
+
(He(!0), Ye(Dn, null, _t(le(f), (B) => (He(), wr(b, Re({ ...g.config.publicConfig, ...B }, {
|
|
5636
5636
|
key: B.event,
|
|
5637
5637
|
onClick: (T) => m(B.event)
|
|
5638
5638
|
}), {
|
|
@@ -5650,7 +5650,7 @@ const cm = { class: "toolbar" }, um = ke({
|
|
|
5650
5650
|
dropdown: Te(() => [
|
|
5651
5651
|
ie(_, null, {
|
|
5652
5652
|
default: Te(() => [
|
|
5653
|
-
(He(!0),
|
|
5653
|
+
(He(!0), Ye(Dn, null, _t(le(h), (B) => (He(), wr(x, Re({ ...g.config.publicConfig, ...B }, {
|
|
5654
5654
|
key: B.event,
|
|
5655
5655
|
command: { ...B }
|
|
5656
5656
|
}), {
|
|
@@ -5741,12 +5741,12 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5741
5741
|
console.log(
|
|
5742
5742
|
"%c [ request ]-161",
|
|
5743
5743
|
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
5744
|
-
|
|
5744
|
+
Je
|
|
5745
5745
|
), console.log(
|
|
5746
5746
|
"%c [ props.menuId ]-161",
|
|
5747
5747
|
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
5748
5748
|
u.menuId
|
|
5749
|
-
),
|
|
5749
|
+
), Je.flameRequest({
|
|
5750
5750
|
tableName: "Webflametableinfo",
|
|
5751
5751
|
flameMethod: "webgetpagesetting",
|
|
5752
5752
|
data: { table_name: u.tableName, menu_id: u.menuId }
|
|
@@ -5770,7 +5770,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5770
5770
|
g.value.search.defaultSearchParams,
|
|
5771
5771
|
p.value
|
|
5772
5772
|
);
|
|
5773
|
-
|
|
5773
|
+
Je.flameApi.pageSearch({
|
|
5774
5774
|
tableName: h.value,
|
|
5775
5775
|
projectName: u.projectName,
|
|
5776
5776
|
data: {
|
|
@@ -5810,7 +5810,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5810
5810
|
}
|
|
5811
5811
|
}, O = {
|
|
5812
5812
|
openReadDialog: (K) => {
|
|
5813
|
-
s("defaultEvent", K.row),
|
|
5813
|
+
s("defaultEvent", K.row), Je.flameApi.singleSearch({
|
|
5814
5814
|
tableName: h.value,
|
|
5815
5815
|
projectName: u.projectName,
|
|
5816
5816
|
data: { key: K.row.flame_id }
|
|
@@ -5822,7 +5822,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5822
5822
|
g.value.readDialog["model-value"] = !1;
|
|
5823
5823
|
},
|
|
5824
5824
|
pageRead: (K) => {
|
|
5825
|
-
|
|
5825
|
+
Je.flameApi.singleSearch({
|
|
5826
5826
|
tableName: h.value,
|
|
5827
5827
|
projectName: u.projectName,
|
|
5828
5828
|
data: { key: K.row.flame_id }
|
|
@@ -5837,7 +5837,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5837
5837
|
g.value.addDialog["model-value"] = !1;
|
|
5838
5838
|
},
|
|
5839
5839
|
pageAdd: (K) => {
|
|
5840
|
-
|
|
5840
|
+
Je.flameApi.singleAdd({
|
|
5841
5841
|
projectName: u.projectName,
|
|
5842
5842
|
tableName: h.value,
|
|
5843
5843
|
data: { data: K }
|
|
@@ -5851,7 +5851,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5851
5851
|
cancelButtonText: "\u53D6\u6D88",
|
|
5852
5852
|
type: "warning"
|
|
5853
5853
|
}).then(() => {
|
|
5854
|
-
|
|
5854
|
+
Je.flameApi.singleDelete({
|
|
5855
5855
|
projectName: u.projectName,
|
|
5856
5856
|
tableName: h.value,
|
|
5857
5857
|
data: { key: K.row.flame_id }
|
|
@@ -5863,7 +5863,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5863
5863
|
});
|
|
5864
5864
|
},
|
|
5865
5865
|
openEditDialog: (K) => {
|
|
5866
|
-
s("defaultEvent", K.row),
|
|
5866
|
+
s("defaultEvent", K.row), Je.flameApi.singleSearch({
|
|
5867
5867
|
projectName: u.projectName,
|
|
5868
5868
|
tableName: h.value,
|
|
5869
5869
|
data: { key: K.row.flame_id }
|
|
@@ -5875,7 +5875,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5875
5875
|
g.value.editDialog["model-value"] = !1;
|
|
5876
5876
|
},
|
|
5877
5877
|
pageEdit: (K) => {
|
|
5878
|
-
|
|
5878
|
+
Je.flameApi.singleUpdate({
|
|
5879
5879
|
tableName: h.value,
|
|
5880
5880
|
projectName: u.projectName,
|
|
5881
5881
|
data: {
|
|
@@ -5894,13 +5894,13 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5894
5894
|
if (!["xls", "xlsx", "et"].includes(ye))
|
|
5895
5895
|
return ut.warning("\u8BF7\u4E0A\u4F20 xls\u3001xlsx\u3001et \u683C\u5F0F\u7684\u6587\u4EF6\uFF01"), document.body.removeChild(K), !1;
|
|
5896
5896
|
const ee = new FormData();
|
|
5897
|
-
ee.append("file", pe),
|
|
5897
|
+
ee.append("file", pe), Je.flameAxios({
|
|
5898
5898
|
headers: { "Content-Type": "multipart/form-data" },
|
|
5899
5899
|
method: "post",
|
|
5900
|
-
url: `https://resource.cfdigit.cn/spark-resource-service/upload_file?source=tencent&token=${
|
|
5900
|
+
url: `https://resource.cfdigit.cn/spark-resource-service/upload_file?source=tencent&token=${Je.token}`,
|
|
5901
5901
|
data: ee
|
|
5902
5902
|
}).then((re) => {
|
|
5903
|
-
re.result || ut.success("\u4E0A\u4F20\u5931\u8D25\uFF01"),
|
|
5903
|
+
re.result || ut.success("\u4E0A\u4F20\u5931\u8D25\uFF01"), Je.flameRequest({
|
|
5904
5904
|
tableName: h.value,
|
|
5905
5905
|
projectName: u.projectName,
|
|
5906
5906
|
flameMethod: "importfile",
|
|
@@ -5912,7 +5912,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5912
5912
|
});
|
|
5913
5913
|
},
|
|
5914
5914
|
pageExport: () => {
|
|
5915
|
-
|
|
5915
|
+
Je.flameApi.exportFile({
|
|
5916
5916
|
tableName: h.value,
|
|
5917
5917
|
projectName: u.projectName,
|
|
5918
5918
|
data: {
|
|
@@ -5933,7 +5933,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5933
5933
|
cancelButtonText: "\u53D6\u6D88",
|
|
5934
5934
|
type: "warning"
|
|
5935
5935
|
}).then(() => {
|
|
5936
|
-
|
|
5936
|
+
Je.flameApi.batchDelete({
|
|
5937
5937
|
tableName: h.value,
|
|
5938
5938
|
projectName: u.projectName,
|
|
5939
5939
|
data: {
|
|
@@ -5948,7 +5948,7 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5948
5948
|
ut.info("\u53D6\u6D88\u5220\u9664");
|
|
5949
5949
|
}) : ut.warning("\u672A\u52FE\u9009\u5220\u9664\u9879\uFF01");
|
|
5950
5950
|
},
|
|
5951
|
-
downloadHandle: () =>
|
|
5951
|
+
downloadHandle: () => Je.flameRequest({
|
|
5952
5952
|
projectName: u.projectName,
|
|
5953
5953
|
tableName: h.value,
|
|
5954
5954
|
flameMethod: "exportfiletemplate",
|
|
@@ -5989,12 +5989,12 @@ const pm = { class: "page-header" }, hm = /* @__PURE__ */ ke({
|
|
|
5989
5989
|
), Ve = Se(
|
|
5990
5990
|
() => P(g.value.editForm.items)
|
|
5991
5991
|
);
|
|
5992
|
-
return (K, pe) => (He(),
|
|
5992
|
+
return (K, pe) => (He(), Ye("div", {
|
|
5993
5993
|
class: "report-page",
|
|
5994
5994
|
ref_key: "reportPageRef",
|
|
5995
5995
|
ref: f
|
|
5996
5996
|
}, [
|
|
5997
|
-
le(m) ? (He(),
|
|
5997
|
+
le(m) ? (He(), Ye(Dn, { key: 0 }, [
|
|
5998
5998
|
un("div", pm, [
|
|
5999
5999
|
ie(le(uc), {
|
|
6000
6000
|
class: "page-search",
|
|
@@ -6179,7 +6179,7 @@ const gm = { class: "page-header" }, mm = { class: "page-search" }, vm = ke({
|
|
|
6179
6179
|
g.value.pagination["current-page"] = 1, _();
|
|
6180
6180
|
}, B = (O) => {
|
|
6181
6181
|
p.value = O, E();
|
|
6182
|
-
}, T =
|
|
6182
|
+
}, T = Ze({
|
|
6183
6183
|
buttons: [
|
|
6184
6184
|
{
|
|
6185
6185
|
type: Ne.exports.ButtonType.success,
|
|
@@ -6227,12 +6227,12 @@ const gm = { class: "page-header" }, mm = { class: "page-search" }, vm = ke({
|
|
|
6227
6227
|
return P(O), $;
|
|
6228
6228
|
}
|
|
6229
6229
|
);
|
|
6230
|
-
return (O, $) => (He(),
|
|
6230
|
+
return (O, $) => (He(), Ye("div", {
|
|
6231
6231
|
class: "export-page",
|
|
6232
6232
|
ref_key: "exportPageRef",
|
|
6233
6233
|
ref: f
|
|
6234
6234
|
}, [
|
|
6235
|
-
le(m) ? (He(),
|
|
6235
|
+
le(m) ? (He(), Ye(Dn, { key: 0 }, [
|
|
6236
6236
|
un("div", gm, [
|
|
6237
6237
|
un("div", mm, [
|
|
6238
6238
|
qt(O.$slots, "default", {}, void 0, !0)
|
|
@@ -6346,7 +6346,7 @@ const gm = { class: "page-header" }, mm = { class: "page-search" }, vm = ke({
|
|
|
6346
6346
|
Object.entries(dc).forEach(([o, s]) => n.component(o, s));
|
|
6347
6347
|
}, jm = {
|
|
6348
6348
|
install: _m,
|
|
6349
|
-
request:
|
|
6349
|
+
request: Je,
|
|
6350
6350
|
...dc
|
|
6351
6351
|
};
|
|
6352
6352
|
export {
|