diff --git a/src/assets/icons/ConfirmOrder.vue b/src/assets/icons/ConfirmOrder.vue new file mode 100644 index 0000000..055b709 --- /dev/null +++ b/src/assets/icons/ConfirmOrder.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/assets/icons/MaintenanceSetup.vue b/src/assets/icons/MaintenanceSetup.vue new file mode 100644 index 0000000..9771a3d --- /dev/null +++ b/src/assets/icons/MaintenanceSetup.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/assets/icons/index.js b/src/assets/icons/index.js index 823c507..fd884db 100644 --- a/src/assets/icons/index.js +++ b/src/assets/icons/index.js @@ -28,6 +28,8 @@ export { default as AgentMaintenance } from './AgentMaintenance.vue' export { default as CostAllocation } from './CostAllocation.vue' export { default as K3Api } from './K3Api.vue' export { default as CostSetup } from './CostSetup.vue' +export { default as MaintenanceSetup } from './MaintenanceSetup.vue' +export { default as ConfirmOrder } from './ConfirmOrder.vue' export { default as DataSource } from './DataSource.vue' export { default as MachineRoom } from './MachineRoom.vue' export { default as CreateFolder } from './CreateFolder.vue' diff --git a/src/views/login/index.vue b/src/views/login/index.vue index b09e705..c4cfdc2 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -177,16 +177,13 @@ async setLoginData(user) { this.$TOOL.cookie.set("TOKEN", user.data.token, { - expires: this.form.autologin ? 24 * 60 * 60 : 0 + expires: 0 }) this.$TOOL.data.set("USER_INFO", user.data.user) if(user.data.user.avatar!=''){ this.$store.commit("SET_LOGIN_AVATAR", user.data.user.avatar); } this.$store.commit("SET_LOGIN_NAME", user.data.user.name); - // 创建WebSocket连接 - // let global_callback = function () {}; - // this.$socketApi.createWebSocket(global_callback, user.data.token); //获取菜单 let menu = null; @@ -243,9 +240,9 @@ userHandle:this.bufferToBase64URL(assertion.response.userHandle), } } - const res = await this.$API.system.user.verifyAuthentication.post(params); - if(res.code == 200){ - await this.setLoginData(res); + const user = await this.$API.system.user.verifyAuthentication.post(params); + if(user.code == 200){ + await this.setLoginData(user); } }, bufferToBase64URL(buffer) { diff --git a/src/views/order/orderPlan/index.vue b/src/views/order/orderPlan/index.vue index 959a5c7..99f8ccd 100644 --- a/src/views/order/orderPlan/index.vue +++ b/src/views/order/orderPlan/index.vue @@ -1,25 +1,7 @@