diff --git a/src/components/app-vuero/VUserSap.vue b/src/components/app-vuero/VUserSap.vue new file mode 100644 index 0000000..94beffb --- /dev/null +++ b/src/components/app-vuero/VUserSap.vue @@ -0,0 +1,95 @@ + + + + + \ No newline at end of file diff --git a/src/service/UserApi.ts b/src/service/UserApi.ts index 5b0e3f8..0345b85 100644 --- a/src/service/UserApi.ts +++ b/src/service/UserApi.ts @@ -1,5 +1,21 @@ import axios from 'axios' +/** + * 사용자관리 > (sap 결재용) 직원검색 + * @property {string} name - 이름 + * @returns + * @param name + */ +export async function getUserSapList(params = {}) { + try { + const result = await axios.get('/api/sap/user',params) + console.log("result",result.data) + return result.data + } catch (e) { + throw new Error(e) + } +} + /** * 사용자관리 > 직원검색 * @property {string} name - 이름 @@ -9,7 +25,6 @@ import axios from 'axios' export async function getUserList(params = {}) { try { const result = await axios.get('/api/user',params) - console.log("result",result.data) return result.data } catch (e) { throw new Error(e)