chore(project): 删除项目中的所有文件

- 移除 .gitignore 配置文件
- 删除 Prettier 配置文件
- 删除 AdminApplications.vue 管理员应用页面组件
- 移除 API 服务配置文件
- 删除 App.vue 根组件
- 移除 applicationController API 接口定义
- 删除 bossApplicationDecisionController 决策控制器
- 移除 BossApplications.vue 招聘方应用页面
- 删除 BossCompany.vue 公司管理页面
- 移除 bossController API 控制器
- 删除 Bosses.vue 招聘方列表页面
- 移除 companyController 公司控制器
- 删除 Pinia 计数器存储
- 移除环境类型定义文件
- 删除 VSCode 扩展推荐配置
- 清空 HomeView.vue 首页组件
This commit is contained in:
FuzzyCoco0117
2026-01-14 19:58:59 +08:00
parent 33e9188e32
commit a146c28cf8
12 changed files with 200 additions and 56 deletions

View File

@@ -9,7 +9,7 @@ const __dirname = dirname(__filename);
// 生成 API 服务代码
generateService({
requestLibPath: "import request from '@/libs/request'",
schemaPath: 'http://localhost:8082/v3/api-docs',
schemaPath: 'http://localhost:8081/v3/api-docs',
serversPath: join(__dirname, 'src/api'),
mock: false,
}).catch((error) => {

View File

@@ -1,32 +0,0 @@
// @ts-ignore
/* eslint-disable */
import request from '@/libs/request'
export async function uploadResumePdf(formData: FormData, options?: { [key: string]: any }) {
return request<any>('/resume/address/upload', {
method: 'POST',
headers: {
'Content-Type': 'multipart/form-data',
},
data: formData,
...(options || {}),
})
}
export async function getMyResumeAddress(options?: { [key: string]: any }) {
return request<any>('/resume/address/get', {
method: 'GET',
...(options || {}),
})
}
export async function deleteMyResumeAddress(body: API.DeleteRequest, options?: { [key: string]: any }) {
return request<any>('/resume/address/delete', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
})
}

View File

@@ -71,14 +71,14 @@ export async function updateResume(
})
}
/** 上传简历附件文件 POST /resume/upload */
export async function uploadResumeFile(
formData: FormData,
options?: { [key: string]: any }
) {
/** 此处后端没有提供注释 POST /resume/upload */
export async function uploadFile(body: {}, options?: { [key: string]: any }) {
return request<API.BaseResponseString>('/resume/upload', {
method: 'POST',
data: formData,
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
})
}

View File

@@ -39,6 +39,7 @@ declare namespace API {
type ApplicationVO = {
id?: number
userId?: number
userName?: string
resumeId?: number
jobId?: number
bossId?: number
@@ -131,12 +132,6 @@ declare namespace API {
message?: string
}
type BaseResponseString = {
code?: number
data?: string
message?: string
}
type BaseResponsePageApplicationVO = {
code?: number
data?: PageApplicationVO
@@ -185,6 +180,12 @@ declare namespace API {
message?: string
}
type BaseResponseString = {
code?: number
data?: string
message?: string
}
type BaseResponseUser = {
code?: number
data?: User
@@ -673,6 +674,15 @@ declare namespace API {
userPassword?: string
}
type UserProfileUpdateRequest = {
id?: number
oldPassword?: string
userPassword?: string
email?: string
phone?: string
userProfile?: string
}
type UserQueryRequest = {
current?: number
pageSize?: number

View File

@@ -121,3 +121,18 @@ export async function updateUser(body: API.UserUpdateRequest, options?: { [key:
...(options || {}),
})
}
/** 此处后端没有提供注释 POST /user/update/profile */
export async function updateUserProfile(
body: API.UserProfileUpdateRequest,
options?: { [key: string]: any }
) {
return request<API.BaseResponseBoolean>('/user/update/profile', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
})
}

View File

@@ -76,9 +76,9 @@ const columns = [
key: 'jobId',
},
{
title: '申请人ID',
dataIndex: 'userId',
key: 'userId',
title: '申请人',
dataIndex: 'userName',
key: 'userName',
},
{
title: '投递时间',

View File

@@ -10,9 +10,6 @@
:label-col="{ span: 4 }"
:wrapper-col="{ span: 12 }"
>
<a-form-item label="ID">
<a-input v-model:value="formState.id" disabled />
</a-form-item>
<a-form-item label="用户名/账号">
<a-input v-model:value="formState.username" disabled />
@@ -27,11 +24,11 @@
</a-form-item>
<a-form-item label="电话">
<a-input v-model:value="formState.phone" disabled placeholder="暂不支持修改" />
<a-input v-model:value="formState.phone" placeholder="156xxxx" />
</a-form-item>
<a-form-item label="邮箱">
<a-input v-model:value="formState.email" disabled placeholder="暂不支持修改" />
<a-input v-model:value="formState.email" placeholder="xxx@cc.com" />
</a-form-item>
<a-form-item :wrapper-col="{ offset: 4, span: 12 }">