feat 项目中心
This commit is contained in:
@@ -22,21 +22,21 @@ export function getSubmissionBizTypes(): Promise<SubmissionBizTypeVo[]> {
|
||||
|
||||
export function getOssUrls(ids: (string | number)[]): Promise<OssUrlVo[]> {
|
||||
return request<OssUrlVo[]>({
|
||||
url: `/resource/oss/listByIds/${ids.join(',')}`,
|
||||
url: `/web/resource/oss/listByIds/${ids.join(',')}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function getBizTypeDict(): Promise<DictOption[]> {
|
||||
return request<DictOption[]>({
|
||||
url: `/system/dict/data/type/${BIZ_TYPE_DICT}`,
|
||||
url: `/web/system/dict/data/type/${BIZ_TYPE_DICT}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function getBudgetRangeDict(): Promise<DictOption[]> {
|
||||
return request<DictOption[]>({
|
||||
url: `/system/dict/data/type/${BUDGET_RANGE_DICT}`,
|
||||
url: `/web/system/dict/data/type/${BUDGET_RANGE_DICT}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
@@ -57,7 +57,8 @@ function toBoPayload(demand: Demand): Record<string, unknown> {
|
||||
userPhone: demand.userPhone,
|
||||
bizType: demand.bizType,
|
||||
budgetRange: demand.budgetRange,
|
||||
developmentCycle: demand.developmentCycle === '' ? null : demand.developmentCycle,
|
||||
developmentCycle:
|
||||
demand.developmentCycle === '' ? null : demand.developmentCycle,
|
||||
supplementaryRemarks: demand.supplementaryRemarks,
|
||||
projectName: demand.projectName,
|
||||
requirementDesc: demand.requirementDesc,
|
||||
|
||||
Reference in New Issue
Block a user