diff --git a/src/api/mes/workstation/index.ts b/src/api/mes/workstation/index.ts index 1e8e44a8f..d426cd3f4 100644 --- a/src/api/mes/workstation/index.ts +++ b/src/api/mes/workstation/index.ts @@ -46,4 +46,14 @@ export const exportWorkstation = async (params) => { // 下载用户导入模板 export const importTemplate = () => { return request.download({ url: '/mes/workstation/get-import-template' }) -} \ No newline at end of file +} +// 查询班组列表 +export const getTeamPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/team/senior', data }) + } else { + return await request.get({ url: `/wms/team/page`, params }) + } +} diff --git a/src/components/workstationBind/index.ts b/src/components/workstationBind/index.ts index bbab7d7c3..e7d199c89 100644 --- a/src/components/workstationBind/index.ts +++ b/src/components/workstationBind/index.ts @@ -1,3 +1,2 @@ -import workstationBind from './src/workstationBind.vue' import detail from './src/Detail.vue' -export { workstationBind,detail } +export {detail } diff --git a/src/components/workstationBind/src/workstationBind.vue b/src/components/workstationBind/src/Detail.vue similarity index 89% rename from src/components/workstationBind/src/workstationBind.vue rename to src/components/workstationBind/src/Detail.vue index df08c7e94..5b39f255b 100644 --- a/src/components/workstationBind/src/workstationBind.vue +++ b/src/components/workstationBind/src/Detail.vue @@ -15,7 +15,6 @@