diff --git a/pages.json b/pages.json index 6912eee..abeb8e1 100644 --- a/pages.json +++ b/pages.json @@ -3,7 +3,8 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "青岛智慧就业平台", + "navigationBarTitleText": "喀什智慧就业平台", + "navigationBarTitleTextSize": "30rpx", // #ifdef H5 "navigationStyle": "custom" // #endif @@ -13,13 +14,15 @@ "path": "pages/mine/mine", "style": { "navigationBarTitleText": "我的", + "navigationBarTitleTextSize": "30rpx", "navigationStyle": "custom" } }, { "path": "pages/msglog/msglog", "style": { - "navigationBarTitleText": "消息" + "navigationBarTitleText": "消息", + "navigationBarTitleTextSize": "30rpx" // "navigationStyle": "custom", // "enablePullDownRefresh": false } @@ -27,21 +30,24 @@ { "path": "pages/careerfair/careerfair", "style": { - "navigationBarTitleText": "招聘会" + "navigationBarTitleText": "招聘会", + "navigationBarTitleTextSize": "30rpx" // "navigationStyle": "custom" } }, { "path": "pages/complete-info/complete-info", "style": { - "navigationBarTitleText": "补全信息" + "navigationBarTitleText": "补全信息", + "navigationBarTitleTextSize": "30rpx" // "navigationStyle": "custom" } }, { "path": "pages/complete-info/company-info", "style": { - "navigationBarTitleText": "企业信息" + "navigationBarTitleText": "企业信息", + "navigationBarTitleTextSize": "30rpx" // "navigationStyle": "custom" } }, @@ -128,6 +134,7 @@ "path": "pages/chat/chat", "style": { "navigationBarTitleText": "AI+", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#4778EC", "navigationBarTextStyle": "white", "enablePullDownRefresh": false @@ -146,14 +153,16 @@ { "path": "pages/mine/company-mine", "style": { - "navigationBarTitleText": "我的" + "navigationBarTitleText": "我的", + "navigationBarTitleTextSize": "30rpx" // "navigationStyle": "custom" } }, { "path": "pages/mine/company-info", "style": { - "navigationBarTitleText": "企业信息" + "navigationBarTitleText": "企业信息", + "navigationBarTitleTextSize": "30rpx" } } @@ -165,7 +174,8 @@ "path" : "pages/addWorkExperience/addWorkExperience", "style" : { - "navigationBarTitleText" : "添加工作经历" + "navigationBarTitleText" : "添加工作经历", + "navigationBarTitleTextSize": "30rpx" // "navigationStyle": "custom" } },{ @@ -199,22 +209,25 @@ "navigationBarTextStyle": "white", "navigationStyle": "custom" } - }, { + }, { "path": "pages/myResume/myResume", "style": { "navigationBarTitleText": "我的简历", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF" } - }, { + }, { "path": "pages/Intendedposition/Intendedposition", "style": { "navigationBarTitleText": "投递记录", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF" } - }, { + }, { "path": "pages/collection/collection", "style": { "navigationBarTitleText": "我的收藏", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF", "navigationStyle": "custom" } @@ -223,6 +236,7 @@ "path": "pages/browseJob/browseJob", "style": { "navigationBarTitleText": "我的浏览", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF", "navigationStyle": "custom" } @@ -231,6 +245,7 @@ "path": "pages/addPosition/addPosition", "style": { "navigationBarTitleText": "添加岗位", + "navigationBarTitleTextSize": "30rpx", "navigationStyle": "custom" } }, @@ -245,13 +260,15 @@ "path": "pages/personalInfo/personalInfo", "style": { "navigationBarTitleText": "个人信息", + "navigationBarTitleTextSize": "30rpx", "navigationStyle": "custom" } }, { "path": "pages/jobExpect/jobExpect", "style": { - "navigationBarTitleText": "求职期望" + "navigationBarTitleText": "求职期望", + "navigationBarTitleTextSize": "30rpx" // "navigationStyle": "custom" } }, @@ -259,6 +276,7 @@ "path": "pages/reservation/reservation", "style": { "navigationBarTitleText": "我的预约", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF" } }, @@ -266,6 +284,7 @@ "path": "pages/choicenessList/choicenessList", "style": { "navigationBarTitleText": "精选企业", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF", "navigationStyle": "custom" } @@ -274,6 +293,7 @@ "path": "pages/newJobPosition/newJobPosition", "style": { "navigationBarTitleText": "新职位推荐", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF" } }, @@ -281,6 +301,7 @@ "path": "pages/systemNotification/systemNotification", "style": { "navigationBarTitleText": "系统通知", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF" } }, @@ -296,6 +317,7 @@ "path": "pages/moreJobs/moreJobs", "style": { "navigationBarTitleText": "更多岗位", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF" } }, @@ -303,6 +325,7 @@ "path": "pages/collection/compare", "style": { "navigationBarTitleText": " 岗位对比", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF" } }, @@ -310,6 +333,7 @@ "path": "pages/myResume/corporateInformation", "style": { "navigationBarTitleText": " 企业详情", + "navigationBarTitleTextSize": "30rpx", "navigationBarBackgroundColor": "#FFFFFF" } } @@ -357,7 +381,8 @@ "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" + "backgroundColor": "#F8F8F8", + "navigationBarTitleTextSize": "18px" // "enablePullDownRefresh": false, // "navigationStyle": "custom" }, diff --git a/pages/index/components/index-one.vue b/pages/index/components/index-one.vue index bcd7b95..9fafb48 100644 --- a/pages/index/components/index-one.vue +++ b/pages/index/components/index-one.vue @@ -883,6 +883,7 @@ function getJobRecommend(type = 'add') { sessionId: useUserStore().seesionId, ...pageState.search, ...conditionSearch.value, + isPublish: 1, }; let comd = { recommend: true, jobCategory: '', tip: '确认你的兴趣,为您推荐更多合适的岗位' }; $api.createRequest('/app/job/recommend', params).then((resData) => { diff --git a/pages/job/publishJob.vue b/pages/job/publishJob.vue index e9b59db..bc95082 100644 --- a/pages/job/publishJob.vue +++ b/pages/job/publishJob.vue @@ -105,7 +105,7 @@ class="input" placeholder="请输入招聘人数" type="number" - v-model="formData.recruitCount" + v-model="formData.vacancies" /> @@ -233,7 +233,7 @@ const formData = reactive({ companyName: '', minSalary: '', maxSalary: '', - recruitCount: '', // 对应接口字段 idCardPictureBackUrl + vacancies: '', // 招聘人数 description: '', // 对应接口字段 description jobRequirements: '', jobCategory: '', // 新增:岗位分类 @@ -494,7 +494,7 @@ const publishJob = async () => { experience: formData.experience, jobLocation: formData.jobLocation, jobLocationAreaCode: formData.jobLocationAreaCode, - idCardPictureBackUrl: formData.recruitCount, // 招聘人数 + vacancies: formData.vacancies, // 招聘人数 latitude: formData.latitude, longitude: formData.longitude, description: formData.description, @@ -553,7 +553,7 @@ const validateForm = () => { { field: 'experience', message: '请选择工作经验' }, { field: 'jobLocation', message: '请选择工作地点' }, { field: 'jobLocationAreaCode', message: '请选择工作区县' }, - { field: 'recruitCount', message: '请输入招聘人数' }, + { field: 'vacancies', message: '请输入招聘人数' }, { field: 'description', message: '请输入岗位描述' }, { field: 'jobCategory', message: '请选择岗位分类' } ]; diff --git a/pages/mine/company-info.vue b/pages/mine/company-info.vue index 8481036..b8cf208 100644 --- a/pages/mine/company-info.vue +++ b/pages/mine/company-info.vue @@ -2,7 +2,7 @@ - 编辑头像 + 编辑信息 @@ -51,35 +51,24 @@ - - 企业联系人名称 - - {{ companyInfo.contact1Name || '暂无联系人' }} - + + + 企业联系人{{ index + 1 }} + + + 联系人姓名 + + {{ contact.contactPerson || '暂无联系人' }} + + - - - 企业联系人电话 - - {{ companyInfo.contact1Phone || '暂无联系电话' }} - - - - - - 企业联系人名称 - - {{ companyInfo.contact2Name || '暂无联系人' }} - - - - - - 企业联系人电话 - - {{ companyInfo.contact2Phone || '暂无联系电话' }} - + + 联系电话 + + {{ contact.contactPersonPhone || '暂无联系电话' }} + + @@ -97,27 +86,24 @@ const { $api, navTo } = inject('globalFunction'); const companyInfo = reactive({ name: '', avatar: '/static/imgs/avatar.jpg', - completeness: '100%', + completeness: '65%', socialCode: '', location: '', description: '', legalPerson: '', - contact1Name: '', - contact1Phone: '', - contact2Name: '', - contact2Phone: '', + companyContactList: [], // 企业联系人列表 isVerified: false // 实名状态 }); function editAvatar() { // 编辑头像逻辑 - uni.chooseImage({ - count: 1, - success: (res) => { - // 上传头像 - uploadAvatar(res.tempFilePaths[0]); - } - }); + // uni.chooseImage({ + // count: 1, + // success: (res) => { + // // 上传头像 + // uploadAvatar(res.tempFilePaths[0]); + // } + // }); } function uploadAvatar(filePath) { @@ -146,11 +132,7 @@ function editInfo(type) { code: '/pages/mine/edit-company-code', location: '/pages/mine/edit-company-location', description: '/pages/mine/edit-company-description', - legalPerson: '/pages/mine/edit-legal-person', - contact1: '/pages/mine/edit-contact1', - contact1Phone: '/pages/mine/edit-contact1-phone', - contact2: '/pages/mine/edit-contact2', - contact2Phone: '/pages/mine/edit-contact2-phone' + legalPerson: '/pages/mine/edit-legal-person' }; if (editPages[type]) { @@ -158,6 +140,27 @@ function editInfo(type) { } } +function editContact(contactIndex, field) { + // 编辑联系人信息 + const contact = companyInfo.companyContactList[contactIndex]; + if (!contact) return; + + // 跳转到联系人编辑页面,传递联系人索引和字段类型 + const editPages = { + name: '/pages/mine/edit-contact-name', + phone: '/pages/mine/edit-contact-phone' + }; + + if (editPages[field]) { + // 传递联系人索引和联系人ID + const params = { + contactIndex: contactIndex, + contactId: contact.id + }; + navTo(editPages[field], params); + } +} + onShow(() => { // 获取企业信息 getCompanyInfo(); @@ -180,16 +183,8 @@ function getCompanyInfo() { companyInfo.description = company.description || ''; companyInfo.legalPerson = company.legalPerson || ''; - // 联系人信息 - if (company.companyContactList && company.companyContactList.length > 0) { - const contacts = company.companyContactList; - companyInfo.contact1Name = contacts[0]?.contactPerson || ''; - companyInfo.contact1Phone = contacts[0]?.contactPersonPhone || ''; - if (contacts.length > 1) { - companyInfo.contact2Name = contacts[1]?.contactPerson || ''; - companyInfo.contact2Phone = contacts[1]?.contactPersonPhone || ''; - } - } + // 联系人信息 - 直接使用companyContactList数组 + companyInfo.companyContactList = company.companyContactList || []; // 判断是否实名:legalIdCard字段有值则表示已实名 companyInfo.isVerified = !!(company.legalIdCard && company.legalIdCard.trim()); @@ -289,4 +284,16 @@ function goBack() { transform: scale(0.98); } } + +.contact-group { + border-top: 20rpx solid #F4F4F4; + + .contact-group-title { + padding: 20rpx 30rpx 10rpx; + font-size: 24rpx; + color: #999999; + background: #F8F8F8; + border-bottom: 1rpx solid #F5F5F5; + } +}