From 1cd536372380167caa4fd8807d2651b8619e6ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B2=E5=85=B8=E5=8D=93?= Date: Tue, 5 Aug 2025 18:28:07 +0800 Subject: [PATCH] =?UTF-8?q?flat:=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/upload.js | 7 +- pages/index/index.vue | 2 +- .../enterpriceCertification.vue | 674 ++++--- .../uploadIdNumber.vue | 163 +- pages/recruit/subPage/task.vue | 1698 +++++++++-------- pages/recruit/subPage/work.vue | 2 +- untils/AxiosUtils.js | 4 + 7 files changed, 1406 insertions(+), 1144 deletions(-) diff --git a/api/upload.js b/api/upload.js index 7ac7feb..ce5d573 100644 --- a/api/upload.js +++ b/api/upload.js @@ -33,8 +33,13 @@ export async function uploadFile(file) { 'Authorization': `Basic ${Base64.encode(`${website.clientId}:${website.clientSecret}`)}`, } header[website.tokenName] = "bearer " + token + // 馆陶替换url + let url = `/api/jobslink-api/resource/file/save?bussinessType=5` + if (url.startsWith('/api')) { + url = url.replace(/^\/api/, '/api/gt'); + } uni.uploadFile({ - url: `${baseUrl}/api/jobslink-api/resource/file/save?bussinessType=5`, + url: baseUrl + url, header, filePath: file.url, // formData: formdata, diff --git a/pages/index/index.vue b/pages/index/index.vue index 02e1d1c..40c98a1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -624,7 +624,7 @@ export default { } .home_logo { - background: url(@/static/img/index/inLogo.png) no-repeat center center; + background: url(@/static/img/index/inLogo3.png) no-repeat center center; background-size: cover; height: 76rpx; width: 560rpx; diff --git a/pages/recruit/subPage/enterpriceCertification/enterpriceCertification.vue b/pages/recruit/subPage/enterpriceCertification/enterpriceCertification.vue index 93f16b8..f2070ab 100644 --- a/pages/recruit/subPage/enterpriceCertification/enterpriceCertification.vue +++ b/pages/recruit/subPage/enterpriceCertification/enterpriceCertification.vue @@ -1,310 +1,364 @@ - - - - - \ No newline at end of file + + + + + diff --git a/pages/recruit/subPage/enterpriceCertification/uploadIdNumber.vue b/pages/recruit/subPage/enterpriceCertification/uploadIdNumber.vue index 0c56dde..64a1d72 100644 --- a/pages/recruit/subPage/enterpriceCertification/uploadIdNumber.vue +++ b/pages/recruit/subPage/enterpriceCertification/uploadIdNumber.vue @@ -1,77 +1,86 @@ - - - - - \ No newline at end of file + + + + + diff --git a/pages/recruit/subPage/task.vue b/pages/recruit/subPage/task.vue index 7078e02..5a521d3 100644 --- a/pages/recruit/subPage/task.vue +++ b/pages/recruit/subPage/task.vue @@ -4,35 +4,86 @@ - 岗位信息 + 岗位信息 - - + + - - + + - 岗位要求 + 岗位要求 - - + - + @@ -44,76 +95,178 @@ border="none"> --> - - + + - - + + - + count + height="100" + maxlength="200" + > - 人员要求 + 人员要求 - - + + - - + + - - + + - 企业信息 + 企业信息 - + - + - + - + - + - + @@ -125,16 +278,36 @@ - - - + + - - {{info.address || '请选择'}} + + {{ info.address || '请选择' }} @@ -151,718 +324,735 @@ - - - - - - + + + - - - - - - - - + + + + + - + \ No newline at end of file +.addressinfo { + width: 100%; + height: fit-content; + min-height: 21px; +} + diff --git a/pages/recruit/subPage/work.vue b/pages/recruit/subPage/work.vue index 0fda1eb..0e196ea 100644 --- a/pages/recruit/subPage/work.vue +++ b/pages/recruit/subPage/work.vue @@ -308,7 +308,7 @@ {{ info.address || '请选择' }} diff --git a/untils/AxiosUtils.js b/untils/AxiosUtils.js index 6880398..3313885 100644 --- a/untils/AxiosUtils.js +++ b/untils/AxiosUtils.js @@ -86,6 +86,10 @@ async function DoAjax(options, config = {}) { if (baseUrl) { options.url = baseUrl + options.url } + // 馆陶替换url + if (options.url.startsWith('/api')) { + options.url = options.url.replace(/^\/api/, '/api/gt'); + } options = Object.assign({}, options, { header });