import { ComboModel } from "@/components/hTable/hTable"; import { http } from "@/utils/http"; import type { Res } from "@/utils/http/types"; /** * @description 获取枚举下拉 * @param {string} type 枚举类型 type=StatusEnum * @return {object} */ export function getenum(type) { return http.request("get", `api/Public/enum/${type}`); } /** * @description 获取枚举对象 * @param {string} type 枚举类型 type=StatusEnum * @return {object} */ export function getenumDic(type) { return http.request("get", `api/Public/enum/${type}/Dic`); }