From 3fc9258d99a08763f8ed202b5fb2bd32e8cb6872 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Mon, 23 Sep 2024 17:00:32 +0700 Subject: [PATCH] check --- src/api/18_command/api.command.ts | 3 + .../18_command/components/Step/1_Detail.vue | 152 ++++++++++++------ .../components/Step/2_ListPersons.vue | 54 +++++-- .../18_command/interface/request/Main.ts | 7 +- src/modules/18_command/views/detail.vue | 66 +++++++- 5 files changed, 222 insertions(+), 60 deletions(-) diff --git a/src/api/18_command/api.command.ts b/src/api/18_command/api.command.ts index c9e8621b6..5ac4d9740 100644 --- a/src/api/18_command/api.command.ts +++ b/src/api/18_command/api.command.ts @@ -1,6 +1,7 @@ import env from "../index"; const command = `${env.API_URI}/org/command`; +const commandSalary = `${env.API_URI}/org/commandSalary`; export default { commandType: `${command}Type/list`, //ประเภทคำสั่ง @@ -8,4 +9,6 @@ export default { command, //สร้างคำสั่ง commandAction: (commandId: string, type: string) => `${command}/${type}/${commandId}`, + + commandSalaryList:(command:string)=>`${commandSalary}/list&commandSysId=${command}` }; diff --git a/src/modules/18_command/components/Step/1_Detail.vue b/src/modules/18_command/components/Step/1_Detail.vue index 10a453642..6bcdc97b3 100644 --- a/src/modules/18_command/components/Step/1_Detail.vue +++ b/src/modules/18_command/components/Step/1_Detail.vue @@ -1,8 +1,8 @@