import { HcApi } from "../../request/index";

export default {
    async getList(form) {
        return HcApi({
            url: "/api/blade-manager/trial/param/temperature-density/page",
            method: "get",
            params: form,
        });
    },

    async getDetail(form) {
        return HcApi({
            url: "/api/blade-manager/trial/param/temperature-density/detail",
            method: "get",
            params: form,
        });
    },

    async remove(form) {
        return HcApi({
            url: "/api/blade-manager/trial/param/temperature-density/remove",
            method: "post",
            params: form,
        });
    },
    async submit(form) {
        return HcApi({
            url: "/api/blade-manager/trial/param/temperature-density/submit",
            method: "post",
            data: form,
        });
    },
    async importParam(form) {
        return HcApi({
            url: "'/api/blade-manager/trial/param/temperature-density/import-excel",
            method: "post",
            data: form,
        });
    },
};
