diff --git a/common/textdata.js b/common/textdata.js index 2a1f0c2..2f7f1c3 100644 --- a/common/textdata.js +++ b/common/textdata.js @@ -4719,6 +4719,7 @@ const education = { 5: "高中", 6: "中专/中技", 7: "初中及以下", + 8: "不限学历", }; const experience = { 不限经验: "不限经验", diff --git a/manifest.json b/manifest.json index 0dd18a9..ceef986 100644 --- a/manifest.json +++ b/manifest.json @@ -1,80 +1,80 @@ -{ - "name": "招聘", - "appid": "__UNI__2BC0F87", - "description": "", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, - "app-plus": { - "usingComponents": true, - "compilerVersion": 3, - /* 5+App特有相关 */ - "modules": {}, - /* 模块配置 */ - "distribute": { - /* 应用发布信息 */ - "android": { - /* android打包配置 */ - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - "ios": {}, - /* ios打包配置 */ - "sdkConfigs": {} - } - }, - /* SDK配置 */ - "quickapp": {}, - /* 快应用特有相关 */ - "mp-weixin": { - /* 小程序特有相关 */ - "appid": "wx77580889aaf15eb4", - "setting": { - "urlCheck": false, - "minified": true, - "es6": true - }, - "usingComponents": true, - "permission": { - "scope.userLocation": { - "desc": "获取您的位置,以便给您推荐合适工作信息" - } - } - }, - "h5": { - "sdkConfigs": { - "maps": { - "qqmap": { - "key": "FW3BZ-6JTK6-GCUS5-MZCRR-3GPR5-HJFEI" - } - } - }, - "template": "index.html", - "router": { - "base": "./", - "mode": "hash" - } - } -} \ No newline at end of file +{ + "name" : "招聘", + "appid" : "__UNI__2BC0F87", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : "100", + "transformPx" : false, + "app-plus" : { + "usingComponents" : true, + "compilerVersion" : 3, + /* 5+App特有相关 */ + "modules" : {}, + /* 模块配置 */ + "distribute" : { + /* 应用发布信息 */ + "android" : { + /* android打包配置 */ + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + "ios" : {}, + /* ios打包配置 */ + "sdkConfigs" : {} + } + }, + /* SDK配置 */ + "quickapp" : {}, + /* 快应用特有相关 */ + "mp-weixin" : { + /* 小程序特有相关 */ + "appid" : "wx77580889aaf15eb4", + "setting" : { + "urlCheck" : false, + "minified" : true, + "es6" : true + }, + "usingComponents" : true, + "permission" : { + "scope.userLocation" : { + "desc" : "获取您的位置,以便给您推荐合适工作信息" + } + } + }, + "h5" : { + "sdkConfigs" : { + "maps" : { + "qqmap" : { + "key" : "FW3BZ-6JTK6-GCUS5-MZCRR-3GPR5-HJFEI" + } + } + }, + "template" : "index.html", + "router" : { + "base" : "./", + "mode" : "hash" + } + } +} diff --git a/pages.json b/pages.json index 1627b61..68b71bc 100644 --- a/pages.json +++ b/pages.json @@ -40,6 +40,13 @@ "navigationBarBackgroundColor": "#FFFFFF" } }, + { + "path": "pages/projectInfo/userrecruitWorkInfo", + "style": { + "navigationBarTitleText": "招工详情", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, { "path": "pages/projectInfo/signContract", "style": { diff --git a/pages/project/project.vue b/pages/project/project.vue index a55e366..f5be90b 100644 --- a/pages/project/project.vue +++ b/pages/project/project.vue @@ -175,7 +175,7 @@ searchData: {}, // nonReactiveArray: ["推荐任务", "推荐岗位", "个体户招工"], - nonReactiveArray: ["推荐零工任务", "推荐企业岗位"], + nonReactiveArray: ["推荐零工任务", "推荐岗位"], } }, onLoad: function() { diff --git a/pages/projectInfo/projectInfo.vue b/pages/projectInfo/projectInfo.vue index aa26442..bc65067 100644 --- a/pages/projectInfo/projectInfo.vue +++ b/pages/projectInfo/projectInfo.vue @@ -23,9 +23,9 @@ 零工工种:{{info.worktypeNames || '暂无'}} - + diff --git a/pages/projectInfo/userrecruitInfo.vue b/pages/projectInfo/userrecruitInfo.vue index e865b12..597e4ce 100644 --- a/pages/projectInfo/userrecruitInfo.vue +++ b/pages/projectInfo/userrecruitInfo.vue @@ -1,582 +1,636 @@ - - - - - + + + + + \ No newline at end of file diff --git a/pages/projectInfo/userrecruitWorkInfo.vue b/pages/projectInfo/userrecruitWorkInfo.vue new file mode 100644 index 0000000..786c06b --- /dev/null +++ b/pages/projectInfo/userrecruitWorkInfo.vue @@ -0,0 +1,649 @@ + + + + + \ No newline at end of file diff --git a/pages/projectInfo/workInfo.vue b/pages/projectInfo/workInfo.vue index 92c20cd..76dd042 100644 --- a/pages/projectInfo/workInfo.vue +++ b/pages/projectInfo/workInfo.vue @@ -39,7 +39,7 @@ - 学历要求:{{info.education || '暂无'}} + 学历要求:{{education[info.education] || '暂无'}} @@ -422,6 +422,14 @@ if (this.info.skillNames) { return this.info.skillNames.split(',') } + }, + cityNamed() { + console.log('val', this.info, this.area.dic) + if (this.info && this.info.cityId !== -1 && this.area.dic) { + return this.area.dic[this.info.cityId].label + } else { + return '无' + } } } } diff --git a/pages/recruit/components/userrecruitList.vue b/pages/recruit/components/userrecruitList.vue index 9f27587..2b35440 100644 --- a/pages/recruit/components/userrecruitList.vue +++ b/pages/recruit/components/userrecruitList.vue @@ -1,266 +1,283 @@ - - - - - + + + + + \ No newline at end of file diff --git a/pages/recruit/recruit.vue b/pages/recruit/recruit.vue index 8e3abcb..48bc401 100644 --- a/pages/recruit/recruit.vue +++ b/pages/recruit/recruit.vue @@ -26,9 +26,7 @@ export default { data() { - return { - - } + return {} }, computed: { ...mapState({ @@ -65,10 +63,10 @@ if (resData.data.data) { resolve() } else { - // this.$api.msg('您未申请开通该功能,请联系工作人员') - this.navTo( - '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification' - ) + this.$api.msg('您未申请开通该功能,请联系工作人员') + // this.navTo( + // '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification' + // ) } } else { reject() diff --git a/pages/recruit/subPage/enterpriceCertification/enterpriceCertification.vue b/pages/recruit/subPage/enterpriceCertification/enterpriceCertification.vue index 97c80c0..50bda2f 100644 --- a/pages/recruit/subPage/enterpriceCertification/enterpriceCertification.vue +++ b/pages/recruit/subPage/enterpriceCertification/enterpriceCertification.vue @@ -3,7 +3,7 @@ - 企业信息 + 企业认证信息 @@ -45,7 +45,7 @@ - 用户信息 + 联系人信息 @@ -55,7 +55,7 @@ - 相关资料 + 证件资料 @@ -210,6 +210,17 @@ uni.hideKeyboard() }, async submit() { + let params = { + ...this.formData, + nature: Number(this.formData.nature), + cityId: Number(this.formData.cityId), + tradeId: Number(this.formData.tradeId), + } + let resData = await addInviteCompanyAuth(params) + console.log(resData) + if (resData.data.code === 200) { + _this.$api.msg('已完成企业信息认证') + } const _this = this this.$refs.formOne.validate().then(async (res) => { let params = { @@ -229,7 +240,6 @@ console.log(errors) _this.$api.msg('请完善内容') }) - }, reset() { const _this = this diff --git a/pages/recruit/subPage/task.vue b/pages/recruit/subPage/task.vue index 9c89808..e4bcfe9 100644 --- a/pages/recruit/subPage/task.vue +++ b/pages/recruit/subPage/task.vue @@ -600,6 +600,9 @@ if (res.data.code == 200) { that.reset() uni.$u.toast('发布成功') + setTimeout(() => { + this.navTo('/pages/recruit/subPage/index') + }, 1000) } }) }).catch(errors => { diff --git a/pages/recruit/subPage/work.vue b/pages/recruit/subPage/work.vue index 8609249..66210a1 100644 --- a/pages/recruit/subPage/work.vue +++ b/pages/recruit/subPage/work.vue @@ -595,6 +595,9 @@ if (res.data.code == 200) { that.reset() uni.$u.toast('发布成功') + setTimeout(() => { + this.navTo('/pages/recruit/subPage/index') + }, 1000) } }) }).catch(errors => { diff --git a/static/img/index/inLogo11.png b/static/img/index/inLogo11.png new file mode 100644 index 0000000..ad11b25 Binary files /dev/null and b/static/img/index/inLogo11.png differ diff --git a/vue.config.js b/vue.config.js index 5771477..1f309b9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,7 +3,7 @@ module.exports = { port: 1887, proxy: { '/api': { - target: 'http://10.165.0.173:8000', + target: 'http://localhost:8000', ws: true, pathRewrite: { '^/api': '/'