|
@@ -1,3 +1,11 @@
|
|
|
|
+/*
|
|
|
|
+ * @Author: zhanghaifeng
|
|
|
|
+ * @Date: 2024-11-04 16:39:08
|
|
|
|
+ * @LastEditors: zhanghaifeng
|
|
|
|
+ * @LastEditTime: 2024-11-07 11:18:09
|
|
|
|
+ * @Description:
|
|
|
|
+ * @FilePath: /hospital-project/src/api/select.ts
|
|
|
|
+ */
|
|
import { http } from "@/utils/http";
|
|
import { http } from "@/utils/http";
|
|
import { ref } from "vue";
|
|
import { ref } from "vue";
|
|
export const select = ref<any>([]);
|
|
export const select = ref<any>([]);
|
|
@@ -9,9 +17,9 @@ type QuotaPageList = {
|
|
msg: string;
|
|
msg: string;
|
|
data: Array<any>;
|
|
data: Array<any>;
|
|
};
|
|
};
|
|
-export const selectDictList = data => {
|
|
|
|
|
|
+export const selectDictList = params => {
|
|
return http.request<QuotaPageList>("get", "/commonDict/selectDictList", {
|
|
return http.request<QuotaPageList>("get", "/commonDict/selectDictList", {
|
|
- data
|
|
|
|
|
|
+ params
|
|
});
|
|
});
|
|
};
|
|
};
|
|
export const getSelectDictListtApi = async () => {
|
|
export const getSelectDictListtApi = async () => {
|