diff --git a/front/src/api/user.js b/front/src/api/user.js index 734cf298..a39992be 100644 --- a/front/src/api/user.js +++ b/front/src/api/user.js @@ -1,8 +1,8 @@ /* * @Author: hisense.wuhongjian * @Date: 2022-03-29 17:48:03 - * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-04-12 10:07:15 + * @LastEditors: hisense.liangjunhua + * @LastEditTime: 2022-07-15 16:42:22 * @Description: 告诉大家这是什么 */ import request from '@/utils/request' @@ -30,6 +30,13 @@ export function getUserInfo() { method: 'get', }) } +export function getDeptAll() { + //此处为了兼容mock.js使用data传递accessToken,如果使用mock可以走headers + return request({ + url: '/sys/dept/all', + method: 'get', + }) +} export function logout() { return request({ diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index f585d36a..f4be3412 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-17 14:11:08 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-15 16:21:41 + * @LastEditTime: 2022-07-15 16:56:49 * @Description: 上架 -->