Prechádzať zdrojové kódy

获取求职者所有的附件简历->获取求职者投递的附件简历

jialuyu 1 mesiac pred
rodič
commit
bf27eae241

+ 2 - 2
src/api/main/postManage/candidate.ts

@@ -59,10 +59,10 @@ export function hirePostCandidate(data: PostCandidateHireForm) {
   });
 }
 
-export function downloadResume(studentId: string | number) {
+export function downloadCandidateResume(candidateId: string | number) {
   return import('@/utils/request').then(({ default: req }) => {
     return req({
-      url: `/main/student/downloadResume/${studentId}`,
+      url: `/main/postCandidate/resume/${candidateId}`,
       method: 'get',
       responseType: 'blob'
     });

+ 2 - 2
src/views/login.vue

@@ -96,8 +96,8 @@ const { t } = useI18n();
 
 const loginForm = ref<LoginData>({
   // tenantId: '000000',
-  username: 'admin',
-  password: 'admin123',
+  username: '',
+  password: '',
   rememberMe: false,
   code: '',
   uuid: ''

+ 1 - 1
src/views/postManage/apply-list.vue

@@ -326,7 +326,7 @@ const handleDownloadResume = async (row: PostCandidateVO) => {
   try {
     const res = await axios({
       method: 'get',
-      url: baseURL + `/main/student/downloadResume/${row.studentId}`,
+      url: baseURL + `/main/postCandidate/resume/${row.id}`,
       responseType: 'blob',
       headers: globalHeaders()
     });