|
@@ -2,14 +2,14 @@ import { request } from "./http";
|
|
|
import { ResponseType } from "./type"
|
|
|
//获取市级数据
|
|
|
export function getArea(data: Object):ResponseType {
|
|
|
- return request('post', `admin/supplierStore/get_cites`,
|
|
|
+ return request('POST', `admin/supplierStore/get_cites`,
|
|
|
data
|
|
|
)
|
|
|
}
|
|
|
//获取活动人数
|
|
|
export function attendance(data: Object):ResponseType {
|
|
|
return request(
|
|
|
- 'post',
|
|
|
+ 'POST',
|
|
|
`admin/attendance/index`,
|
|
|
data
|
|
|
)
|
|
@@ -17,7 +17,7 @@ export function attendance(data: Object):ResponseType {
|
|
|
//获取预算管理
|
|
|
export function getBudget(data: Object):ResponseType {
|
|
|
return request(
|
|
|
- 'post',
|
|
|
+ 'POST',
|
|
|
`admin/budget/index`,
|
|
|
data
|
|
|
)
|
|
@@ -25,7 +25,7 @@ export function getBudget(data: Object):ResponseType {
|
|
|
//获取活动类型
|
|
|
export function activityCat(data: Object):ResponseType {
|
|
|
return request(
|
|
|
- 'post',
|
|
|
+ 'POST',
|
|
|
`admin/activityCat/index`,
|
|
|
|
|
|
data
|
|
@@ -33,7 +33,7 @@ export function activityCat(data: Object):ResponseType {
|
|
|
}
|
|
|
//获取需求项目
|
|
|
export function getServiceitem(data: Object):ResponseType {
|
|
|
- return request('post',
|
|
|
+ return request('POST',
|
|
|
`admin/serviceItem/index`,
|
|
|
|
|
|
data
|
|
@@ -41,14 +41,14 @@ export function getServiceitem(data: Object):ResponseType {
|
|
|
}
|
|
|
//获取店铺类型
|
|
|
export function getStoreType(data: Object):ResponseType {
|
|
|
- return request('post', `admin/store_type/index`,
|
|
|
+ return request('POST', `admin/store_type/index`,
|
|
|
data
|
|
|
)
|
|
|
}
|
|
|
//获取会场面积
|
|
|
export function getAreaDict(data: Object):ResponseType {
|
|
|
return request(
|
|
|
- 'post',
|
|
|
+ 'POST',
|
|
|
`admin/areaDict/index`,
|
|
|
|
|
|
data
|
|
@@ -56,14 +56,14 @@ export function getAreaDict(data: Object):ResponseType {
|
|
|
}
|
|
|
//获取场地特色
|
|
|
export function getStoreSpec(data: Object):ResponseType {
|
|
|
- return request('post',
|
|
|
+ return request('POST',
|
|
|
`admin/storeSpec/index`,
|
|
|
data
|
|
|
)
|
|
|
}
|
|
|
//获取组织信息
|
|
|
export function getCust(data: Object):ResponseType {
|
|
|
- return request('post',
|
|
|
+ return request('POST',
|
|
|
`admin/customerItem/query`,
|
|
|
data
|
|
|
)
|