From f74166b3ed257a5e7f463019de3a7a90dae69c2b Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 22 十一月 2022 10:33:45 +0800 Subject: [PATCH] 调整比对库代码,处理选中bug --- src/api/baseLibrary.ts | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/api/baseLibrary.ts b/src/api/baseLibrary.ts index 4faf772..3beb2f1 100644 --- a/src/api/baseLibrary.ts +++ b/src/api/baseLibrary.ts @@ -37,7 +37,7 @@ export const addBase = (query: any) => { return request({ url: "/data/api-v/dbtable/addDbTableInfo", - method: "put", + method: "post", data: query }) } @@ -211,7 +211,7 @@ export const addBaseCar = (query: any) => { return request({ url: "/data/api-v/dbperson/addDbPerson", - method: "put", + method: "post", data: query }) } @@ -252,8 +252,16 @@ // 鍒犻櫎鍗曚釜浜哄憳 export const deleteDbPersonById = (query: any) => { return request({ - url: "/data/api-v/dbtable/deleteDbPersonById", + url: "/data/api-v/dbperson/deleteDbPersonById", method: "get", params: query }) } + +// 杞﹁締鐩稿叧鐨勫瓧鍏� +export const dicByType = () => { + return request({ + url: "/data/api-v/dbperson/dicByType", + method: "get" + }) +} -- Gitblit v1.8.0