diff --git a/src/api/modular/main/BookingLedger.js b/src/api/modular/main/BookingLedger.js index 47d310a..a5a0f14 100644 --- a/src/api/modular/main/BookingLedger.js +++ b/src/api/modular/main/BookingLedger.js @@ -103,7 +103,7 @@ export function BookingTemplate(parameter) { */ export function GetTemplateShare (parameter) { return axios({ - url: '/BookingTemplate/GetTemplateShare ', + url: '/BookingTemplate/GetTemplateShare', method: 'get', params: parameter }) @@ -1025,7 +1025,7 @@ export function BookingCustomerOrderDelete (parameter) { return axios({ url: 'BookingCustomerOrder/Delete', method: 'post', - params: parameter + data: parameter }) } diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 9d2e304..df9730a 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -100,6 +100,7 @@ const user = { } const result = response.data Vue.ls.set(ACCESS_TOKEN, result, 7 * 24 * 60 * 60 * 1000) + Vue.ls.set('FIRSTFLAG', true, 7 * 24 * 60 * 60 * 1000) commit('SET_TOKEN', result) resolve() // eslint-disable-next-line handle-callback-err @@ -122,6 +123,7 @@ const user = { const result = response.data console.log(response, 1111) Vue.ls.set(ACCESS_TOKEN, result, 7 * 24 * 60 * 60 * 1000) + Vue.ls.set('FIRSTFLAG', true, 7 * 24 * 60 * 60 * 1000) commit('SET_TOKEN', result) resolve() }) diff --git a/src/views/main/BookingCustomerLedger/detail/index.vue b/src/views/main/BookingCustomerLedger/detail/index.vue index 225d747..69890c6 100644 --- a/src/views/main/BookingCustomerLedger/detail/index.vue +++ b/src/views/main/BookingCustomerLedger/detail/index.vue @@ -1,8 +1,7 @@