sctj-components 1.0.41 → 1.0.42
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/sctj-components.es.js +11 -9
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1424,7 +1424,7 @@ const _sfc_main$k = {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
};
|
|
1426
1426
|
const SCTJTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-a2fe1763"]]);
|
|
1427
|
-
const
|
|
1427
|
+
const index_vue_vue_type_style_index_0_scoped_4caca352_lang = "";
|
|
1428
1428
|
const _hoisted_1$e = { class: "table-container" };
|
|
1429
1429
|
const _sfc_main$j = {
|
|
1430
1430
|
__name: "index",
|
|
@@ -1640,14 +1640,15 @@ const _sfc_main$j = {
|
|
|
1640
1640
|
...props.requestParams
|
|
1641
1641
|
});
|
|
1642
1642
|
} else {
|
|
1643
|
-
let
|
|
1643
|
+
let response = await fetch(
|
|
1644
1644
|
`${props.request}${props.request.includes("?") ? "&" : "?"}${new URLSearchParams({ ...page, ...props.requestParams }).toString()}`,
|
|
1645
1645
|
{
|
|
1646
1646
|
method: "GET",
|
|
1647
1647
|
headers: props.headers || {}
|
|
1648
1648
|
}
|
|
1649
1649
|
);
|
|
1650
|
-
|
|
1650
|
+
console.log("response------", response);
|
|
1651
|
+
res = response.data;
|
|
1651
1652
|
}
|
|
1652
1653
|
baseData.value = res == null ? void 0 : res[realResponseConfig.value.list];
|
|
1653
1654
|
tableData.value = props.handleList ? props.handleList(res == null ? void 0 : res[realResponseConfig.value.list]) : res == null ? void 0 : res[realResponseConfig.value.list];
|
|
@@ -1762,7 +1763,7 @@ const _sfc_main$j = {
|
|
|
1762
1763
|
};
|
|
1763
1764
|
}
|
|
1764
1765
|
};
|
|
1765
|
-
const SCTJTable = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
1766
|
+
const SCTJTable = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4caca352"]]);
|
|
1766
1767
|
const index_vue_vue_type_style_index_0_scoped_45fb95db_lang = "";
|
|
1767
1768
|
const _sfc_main$i = {};
|
|
1768
1769
|
const _hoisted_1$d = { class: "table-container" };
|
|
@@ -1962,8 +1963,8 @@ const _sfc_main$g = {
|
|
|
1962
1963
|
}
|
|
1963
1964
|
};
|
|
1964
1965
|
const SCTJTableTopActionContainer = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-056cfdde"]]);
|
|
1965
|
-
const
|
|
1966
|
-
const _withScopeId$4 = (n) => (pushScopeId("data-v-
|
|
1966
|
+
const index_vue_vue_type_style_index_0_scoped_5eae5310_lang = "";
|
|
1967
|
+
const _withScopeId$4 = (n) => (pushScopeId("data-v-5eae5310"), n = n(), popScopeId(), n);
|
|
1967
1968
|
const _hoisted_1$b = {
|
|
1968
1969
|
key: 0,
|
|
1969
1970
|
class: "search-container"
|
|
@@ -2125,14 +2126,15 @@ const _sfc_main$f = {
|
|
|
2125
2126
|
if (typeof props.request == "function") {
|
|
2126
2127
|
res = await props.request(queryParams.value);
|
|
2127
2128
|
} else {
|
|
2128
|
-
let
|
|
2129
|
+
let response = await fetch(
|
|
2129
2130
|
`${props.request}${props.request.includes("?") ? "&" : "?"}${new URLSearchParams(queryParams.value).toString()}`,
|
|
2130
2131
|
{
|
|
2131
2132
|
method: "GET",
|
|
2132
2133
|
headers: props.headers || {}
|
|
2133
2134
|
}
|
|
2134
2135
|
);
|
|
2135
|
-
|
|
2136
|
+
console.log("response------", response);
|
|
2137
|
+
res = response.data;
|
|
2136
2138
|
}
|
|
2137
2139
|
if (res.code !== 200)
|
|
2138
2140
|
return;
|
|
@@ -2488,7 +2490,7 @@ const _sfc_main$f = {
|
|
|
2488
2490
|
};
|
|
2489
2491
|
}
|
|
2490
2492
|
};
|
|
2491
|
-
const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
2493
|
+
const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-5eae5310"]]);
|
|
2492
2494
|
const index_vue_vue_type_style_index_0_scoped_80cb4921_lang = "";
|
|
2493
2495
|
const _hoisted_1$a = { style: { "background": "#fff" } };
|
|
2494
2496
|
const _sfc_main$e = {
|