formula.ts 537 B

123456789101112131415161718192021222324252627
  1. import { http } from "@/utils/http";
  2. // 指标列表
  3. type templateInfo = {
  4. code: number;
  5. msg: string;
  6. data: boolean;
  7. };
  8. // type templateInfoList = {
  9. // code: number;
  10. // msg: string;
  11. // data: Array<any>;
  12. // };
  13. // type templateInfoData = {
  14. // code: number;
  15. // msg: string;
  16. // data: addTemplate;
  17. // };
  18. // type addTemplate = {
  19. // tpName: string;
  20. // id: string;
  21. // };
  22. // 公式验证
  23. export const conditionVerify = data => {
  24. return http.request<templateInfo>("post", "/assessment/conditionVerify", {
  25. data
  26. });
  27. };