From cf2f12ffcb2cd0d98801341b7f4e83bebc4605de Mon Sep 17 00:00:00 2001 From: sunzehua Date: Wed, 28 Jun 2023 16:10:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modular/main/BookingLedger.js | 4 +- src/store/modules/user.js | 2 + .../BookingCustomerLedger/detail/index.vue | 194 +++++++++--------- .../main/BookingCustomerLedger/list/index.vue | 17 +- 4 files changed, 109 insertions(+), 108 deletions(-) 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 @@