dfs-page-config 0.0.93 → 0.0.95
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/dist/dfs-page-config.js +11 -9
- package/dist/dfs-page-config.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dfs-page-config.js
CHANGED
|
@@ -21170,6 +21170,7 @@ const fY = (r) => {
|
|
|
21170
21170
|
// 页面配置数据
|
|
21171
21171
|
_CONFIG_DATA: {},
|
|
21172
21172
|
_BASE_URL: "https://gateway-c1.doublefs.com",
|
|
21173
|
+
loading: !1,
|
|
21173
21174
|
baseState: {}
|
|
21174
21175
|
},
|
|
21175
21176
|
getters: {
|
|
@@ -21220,16 +21221,17 @@ const fY = (r) => {
|
|
|
21220
21221
|
if (a.dependencies && (f = ir(r, l, a.dependencies), d = fY(f)), a.formData = d, a.searchBefore && a.searchBefore(a, c) === !1)
|
|
21221
21222
|
return;
|
|
21222
21223
|
const h = vY(a, f);
|
|
21223
|
-
a.formData = { ...d, ...h }
|
|
21224
|
+
a.formData = { ...d, ...h };
|
|
21224
21225
|
const v = gY(a);
|
|
21225
21226
|
let g = a.method == "GET" ? "params" : "data";
|
|
21226
|
-
ws({
|
|
21227
|
+
r.state.baseState.loading = !0, ws({
|
|
21227
21228
|
url: r.state._BASE_URL + a.url,
|
|
21228
21229
|
[g]: v || {},
|
|
21229
21230
|
method: a.method || "POST"
|
|
21230
21231
|
}).then((y) => {
|
|
21231
21232
|
y = mY(y, a), a.searchAfter && a.searchAfter(y), r.commit("updateRowData", { tableComp: a, res: y });
|
|
21232
21233
|
}).finally(() => {
|
|
21234
|
+
r.state.baseState.loading = !1;
|
|
21233
21235
|
});
|
|
21234
21236
|
}
|
|
21235
21237
|
}
|
|
@@ -23759,9 +23761,7 @@ const Lq = /* @__PURE__ */ RE(UO), xq = _e({
|
|
|
23759
23761
|
}
|
|
23760
23762
|
},
|
|
23761
23763
|
setup(r) {
|
|
23762
|
-
const a = xi()
|
|
23763
|
-
console.log(a);
|
|
23764
|
-
const l = te(), c = r.componentOption, d = Sn({
|
|
23764
|
+
const a = xi(), l = te(), c = r.componentOption, d = Sn({
|
|
23765
23765
|
open: !0,
|
|
23766
23766
|
fileUrlUploadImg: a.state._BASE_URL + "/media-management-service/v2/image/upload/",
|
|
23767
23767
|
labelWidth: c.labelWidth || "110px",
|
|
@@ -23809,6 +23809,7 @@ const Lq = /* @__PURE__ */ RE(UO), xq = _e({
|
|
|
23809
23809
|
return !0;
|
|
23810
23810
|
}
|
|
23811
23811
|
function y(b) {
|
|
23812
|
+
a.state.loading = !0;
|
|
23812
23813
|
let _ = c.method == "GET" ? "params" : "data";
|
|
23813
23814
|
ws({
|
|
23814
23815
|
url: a.state._BASE_URL + c.url,
|
|
@@ -23819,6 +23820,7 @@ const Lq = /* @__PURE__ */ RE(UO), xq = _e({
|
|
|
23819
23820
|
}).catch((R) => {
|
|
23820
23821
|
console.log(R);
|
|
23821
23822
|
}).finally(() => {
|
|
23823
|
+
a.state.loading = !0;
|
|
23822
23824
|
});
|
|
23823
23825
|
}
|
|
23824
23826
|
function E() {
|
|
@@ -24080,7 +24082,7 @@ function Vq(r, a, l, c, d, f) {
|
|
|
24080
24082
|
_: 3
|
|
24081
24083
|
}, 8, ["locale"]);
|
|
24082
24084
|
}
|
|
24083
|
-
const Hq = /* @__PURE__ */ co(xq, [["render", Vq], ["__scopeId", "data-v-
|
|
24085
|
+
const Hq = /* @__PURE__ */ co(xq, [["render", Vq], ["__scopeId", "data-v-db11dcec"]]), kq = _e({
|
|
24084
24086
|
props: {
|
|
24085
24087
|
url: String,
|
|
24086
24088
|
text: {
|
|
@@ -24279,7 +24281,7 @@ const zO = /* @__PURE__ */ co(kq, [["render", Bq]]), $q = _e({
|
|
|
24279
24281
|
}
|
|
24280
24282
|
function b(_) {
|
|
24281
24283
|
ir(a, r.pageKey, _.target).submit((S) => {
|
|
24282
|
-
|
|
24284
|
+
E(_.target), rr.success("操作成功"), _.queryTarget && f(_.queryTarget);
|
|
24283
24285
|
});
|
|
24284
24286
|
}
|
|
24285
24287
|
return {
|
|
@@ -24372,7 +24374,7 @@ function zq(r, a, l, c, d, f) {
|
|
|
24372
24374
|
Be(r.$slots, "default", {}, void 0, !0)
|
|
24373
24375
|
], 4);
|
|
24374
24376
|
}
|
|
24375
|
-
const Kq = /* @__PURE__ */ co($q, [["render", zq], ["__scopeId", "data-v-
|
|
24377
|
+
const Kq = /* @__PURE__ */ co($q, [["render", zq], ["__scopeId", "data-v-48ffa9f2"]]), Yq = _e({
|
|
24376
24378
|
props: {
|
|
24377
24379
|
gridApi: {
|
|
24378
24380
|
type: Object,
|
|
@@ -56866,7 +56868,7 @@ const MX = /* @__PURE__ */ co(FX, [["render", IX]]), LX = (r) => {
|
|
|
56866
56868
|
r.component(l.name, l);
|
|
56867
56869
|
});
|
|
56868
56870
|
}, VX = (r, a) => {
|
|
56869
|
-
["
|
|
56871
|
+
["getters", "_actions"].forEach((c) => {
|
|
56870
56872
|
Object.keys(rs[c]).forEach((d) => {
|
|
56871
56873
|
a.store[c][d] = rs[c][d];
|
|
56872
56874
|
});
|