diff --git a/.env b/.env index 3dc03de..875a894 100644 --- a/.env +++ b/.env @@ -2,5 +2,6 @@ NODE_ENV=production VUE_APP_PREVIEW=true //VUE_APP_API_BASE_URL=http://192.168.1.205:25800 //VUE_APP_API_BASE_URL=http://127.0.0.1:5000 -VUE_APP_API_BASE_URL=http://60.209.125.238:35220 -# VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api \ No newline at end of file +# VUE_APP_API_BASE_URL=http://60.209.125.238:35220 +# VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api +VUE_APP_API_BASE_URL=http://localhost:5020 \ No newline at end of file diff --git a/.env.development b/.env.development index 1848b7d..04b09c4 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,9 @@ NODE_ENV=development VUE_APP_PREVIEW=true -VUE_APP_API_BASE_URL=http://60.209.125.238:35220 -VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35220 - +# VUE_APP_API_BASE_URL=http://60.209.125.238:35220 +# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35220 +VUE_APP_API_BASE_URL=http://localhost:5020 +VUE_APP_SOCKET_BASE_URL=http://localhost:5020 # process.env.VUE_APP_API_BASE_URL # VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api diff --git a/.env.preview b/.env.preview index d4f378b..f244fde 100644 --- a/.env.preview +++ b/.env.preview @@ -1,7 +1,9 @@ NODE_ENV=production VUE_APP_PREVIEW=true -VUE_APP_API_BASE_URL=http://60.209.125.238:35220 -VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35220 +# VUE_APP_API_BASE_URL=http://60.209.125.238:35220 +# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35220 +VUE_APP_API_BASE_URL=http://localhost:5020 +VUE_APP_SOCKET_BASE_URL=http://localhost:5020 # VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api # VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345/api \ No newline at end of file diff --git a/src/api/modular/main/BookingLedger.js b/src/api/modular/main/BookingLedger.js index f38c32f..47d310a 100644 --- a/src/api/modular/main/BookingLedger.js +++ b/src/api/modular/main/BookingLedger.js @@ -1028,3 +1028,19 @@ export function BookingCustomerOrderDelete (parameter) { params: parameter }) } + +export function BookingCustomerOrderSubmit (parameter) { + return axios({ + url: 'BookingCustomerOrder/Submit', + method: 'post', + data: parameter + }) +} + +export function BookingCustomerOrderCancelSubmit (parameter) { + return axios({ + url: 'BookingCustomerOrder/CancelSubmit', + method: 'post', + data: parameter + }) +} diff --git a/src/views/main/BookingCustomerLedger/detail/index.vue b/src/views/main/BookingCustomerLedger/detail/index.vue index 5c5ab3b..2f64b53 100644 --- a/src/views/main/BookingCustomerLedger/detail/index.vue +++ b/src/views/main/BookingCustomerLedger/detail/index.vue @@ -1,16 +1,16 @@