|
@@ -1,11 +1,12 @@
|
|
|
import { http } from '@/utils/http/axios';
|
|
import { http } from '@/utils/http/axios';
|
|
|
import { ViewType } from '@/types/scene/constant.ts';
|
|
import { ViewType } from '@/types/scene/constant.ts';
|
|
|
import * as SceneTypes from '@/types/scene/type.ts';
|
|
import * as SceneTypes from '@/types/scene/type.ts';
|
|
|
|
|
+import { CompanyInfoItem } from '@/types/scene/type';
|
|
|
|
|
|
|
|
/** 获取公司-工厂-工位数据 */
|
|
/** 获取公司-工厂-工位数据 */
|
|
|
export const getShopSpaceList = () => {
|
|
export const getShopSpaceList = () => {
|
|
|
- return http.request<SceneTypes.CompanyInfoItem[]>({
|
|
|
|
|
- url: '/scene/getList',
|
|
|
|
|
|
|
+ return http.request<CompanyInfoItem[]>({
|
|
|
|
|
+ url: '/admin/workshop/queryCompanyShopSpaceList',
|
|
|
method: 'get',
|
|
method: 'get',
|
|
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
|
});
|
|
});
|