diff --git a/src/api/work/work.js b/src/api/work/work.js index 360e396c..b5a971bc 100644 --- a/src/api/work/work.js +++ b/src/api/work/work.js @@ -77,3 +77,19 @@ export const completeTask = data => { data, }); }; + +export const getMyWarehouseList = data => { + return request({ + url: '/api/logpm-basicdata/warehouse/getMyWarehouseList', + method: 'get', + data, + }); +}; + +export const preserveCurrentWarehouse = data => { + return request({ + url: '/api/logpm-basicdata/warehouse/preserveCurrentWarehouse', + method: 'post', + data, + }); +}; \ No newline at end of file diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue index 3f2773c3..c5e61c32 100644 --- a/src/page/index/top/index.vue +++ b/src/page/index/top/index.vue @@ -43,6 +43,11 @@ {{ $t('navbar.dashboard') }} + +
+ 切换仓库 +
+
{{ $t('navbar.userinfo') }} @@ -56,6 +61,22 @@ + +
+ + + +
+ 取消 + 确认 +
+
+
- +