From ef6c744d418bab245c4246eed19cee52c9e3de85 Mon Sep 17 00:00:00 2001
From: dengxin <2390584170@qq.com>
Date: Tue, 19 Mar 2024 17:19:44 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/mission.js | 24 +
pages.json | 28 +
pages/login/login.vue | 1 +
.../subPage/newsDetail/projectInfo.vue | 538 +++++++++++++++++
.../subPage/newsDetail/signContract.vue | 90 +++
.../recruit/subPage/newsDetail/step/first.vue | 358 +++++++++++
.../subPage/newsDetail/step/second.vue | 224 +++++++
.../recruit/subPage/newsDetail/step/three.vue | 174 ++++++
.../subPage/newsDetail/userrecruitInfo.vue | 555 +++++++++++++++++
pages/recruit/subPage/newsDetail/workInfo.vue | 563 ++++++++++++++++++
pages/recruit/subPage/newsList.vue | 353 +++++------
store/models/news_recruit.js | 62 +-
vue.config.js | 4 +-
13 files changed, 2765 insertions(+), 209 deletions(-)
create mode 100644 pages/recruit/subPage/newsDetail/projectInfo.vue
create mode 100644 pages/recruit/subPage/newsDetail/signContract.vue
create mode 100644 pages/recruit/subPage/newsDetail/step/first.vue
create mode 100644 pages/recruit/subPage/newsDetail/step/second.vue
create mode 100644 pages/recruit/subPage/newsDetail/step/three.vue
create mode 100644 pages/recruit/subPage/newsDetail/userrecruitInfo.vue
create mode 100644 pages/recruit/subPage/newsDetail/workInfo.vue
diff --git a/api/mission.js b/api/mission.js
index 7757907..b9f6c77 100644
--- a/api/mission.js
+++ b/api/mission.js
@@ -158,6 +158,19 @@ export const myBrowing = (current, size, status) => {
})
}
+/*招工消息通知列表*/
+export const recruitmentNewsList = (current, size, status) => {
+ return request({
+ url: '/api/jobslink-api/user/userrecruit/getCollectList',
+ method: 'get',
+ params: {
+ current,
+ size,
+ status
+ }
+ })
+}
+
/*任务详情*/
export const missionDetail = (missionNo) => {
return request({
@@ -168,6 +181,17 @@ export const missionDetail = (missionNo) => {
}
})
}
+/*任务详情*/
+export const recruit_missionDetail = (missionNo,type) => {
+ return request({
+ url: '/api/jobslink-api/user/userrecruit/getCollectUserList',
+ method: 'get',
+ params: {
+ id:missionNo,
+ type
+ }
+ })
+}
/*岗位详情*/
// workDetail
diff --git a/pages.json b/pages.json
index 0a6e1e0..5dc1d14 100644
--- a/pages.json
+++ b/pages.json
@@ -317,6 +317,34 @@
"enablePullDownRefresh": false
}
},
+ {
+ "path": "pages/recruit/subPage/newsDetail/projectInfo",
+ "style": {
+ "navigationBarTitleText": "任务详情",
+ "navigationBarBackgroundColor": "#FFFFFF"
+ }
+ },
+ {
+ "path": "pages/recruit/subPage/newsDetail/signContract",
+ "style": {
+ "navigationBarTitleText": "任务详情",
+ "navigationBarBackgroundColor": "#FFFFFF"
+ }
+ },
+ {
+ "path": "pages/recruit/subPage/newsDetail/userrecruitInfo",
+ "style": {
+ "navigationBarTitleText": "任务详情",
+ "navigationBarBackgroundColor": "#FFFFFF"
+ }
+ },
+ {
+ "path": "pages/recruit/subPage/newsDetail/workInfo",
+ "style": {
+ "navigationBarTitleText": "任务详情",
+ "navigationBarBackgroundColor": "#FFFFFF"
+ }
+ },
{
"path": "pages/news/jobProjectList",
"style": {
diff --git a/pages/login/login.vue b/pages/login/login.vue
index bc565f1..c6ec6a0 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -79,6 +79,7 @@
icon:'none',
})
} else {
+ debugger
var that = this
this.loading = true
this.$store.dispatch("LoginByUsername", {
diff --git a/pages/recruit/subPage/newsDetail/projectInfo.vue b/pages/recruit/subPage/newsDetail/projectInfo.vue
new file mode 100644
index 0000000..e389ea2
--- /dev/null
+++ b/pages/recruit/subPage/newsDetail/projectInfo.vue
@@ -0,0 +1,538 @@
+
+
+
+
+ {{ info.missionTitle }}
+
+
+
+ 任务日期:{{ dateFormat((info.stime)) }}至{{ dateFormat((info.etime)) }}
+
+
+
+ 行业类型:{{ info.tradeNames }}
+
+
+ 工种类型:{{ info.worktypeNames }}
+
+
+ {{ info.wage }}
+
+
+
+
+ 任务要求
+
+
+
+ 年龄要求:{{ age[info.ageDesc] }}
+
+
+
+
+ 学历要求:{{ education[info.education] }}
+
+
+ 经验要求:{{ experience[info.experienceDesc] }}
+
+
+
+ 任务描述
+
+
+ {{ info.missionDesc }}
+
+
+
+
+ {{ item }}
+
+
+
+
+ 来源:{{ info.jobSources }}
+
+
+
+
+ 公司信息
+
+
+ {{ info.companyName }}
+
+
+ 公司地址:{{ info.companyAddress }}
+
+
+
+
+ 地址
+
+
+
+ 任务地址:{{ info.address }}
+
+
+
+
+
+
+
+ 电话联系
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+ 下一步
+
+
+
+
+
+ {{ item.realName }} : {{
+ item.telphone }} 申请时间: {{
+ item.applyTime }}
+
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+ 签名密码
+ 6位数字签名密码
+
+
+
+
+ 忘记密码?
+
+
+
+
+
+
diff --git a/pages/recruit/subPage/newsDetail/signContract.vue b/pages/recruit/subPage/newsDetail/signContract.vue
new file mode 100644
index 0000000..2b9a8f9
--- /dev/null
+++ b/pages/recruit/subPage/newsDetail/signContract.vue
@@ -0,0 +1,90 @@
+
+
+ 为了更方便的为您服务,请先完善认证信息!
+
+
+
+
+
+ 退出登录
+
+
+
+
+
+
+
diff --git a/pages/recruit/subPage/newsDetail/step/first.vue b/pages/recruit/subPage/newsDetail/step/first.vue
new file mode 100644
index 0000000..416387a
--- /dev/null
+++ b/pages/recruit/subPage/newsDetail/step/first.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+ 姓名
+
+ {{auth.authInfo.realName}}
+
+
+
+
+
+ 身份证号
+
+ {{idNumberFilter(auth.authInfo.idNumber)}}
+
+
+ 身份证号格式不正确
+
+
+
+ 开户银行
+
+
+ {{auth.authInfo.bankName}}
+
+
+ {{bankName}}
+
+
+
+
+
+ 银行卡号
+
+ {{auth.authInfo.cardNumber}}
+
+
+
+
+
+ 身份信息
+
+
+
+ {{ laborType[0] }}
+ 请选择
+
+
+
+
+
+
+
+
+ 社保信息
+
+
+
+ {{ insureType[indexbao] }}
+ 请选择
+
+
+
+
+
+
+
+ 完成
+
+
+ 完成
+
+
+ 完成
+
+
+ 提交中
+
+
+
+
+
+
+
+
+
diff --git a/pages/recruit/subPage/newsDetail/step/second.vue b/pages/recruit/subPage/newsDetail/step/second.vue
new file mode 100644
index 0000000..cd6fe6f
--- /dev/null
+++ b/pages/recruit/subPage/newsDetail/step/second.vue
@@ -0,0 +1,224 @@
+
+
+
+
+ 开户银行
+
+
+ {{auth.authInfo.bankName}}
+
+
+ {{bankName}}
+
+
+
+
+
+ 银行卡号
+
+ {{auth.authInfo.cardNumber}}
+
+
+
+ 此银行卡信息仅作为发放工资使用;银行卡持卡人信息与基本信息一致。
+
+
+
+ 完成
+
+
+ 完成
+
+
+ 完成
+
+
+ 提交中
+
+
+
+
+ 下一步
+
+
+ 下一步
+
+
+ 下一步
+
+
+ 提交中
+
+
+
+
+
+
+
+
diff --git a/pages/recruit/subPage/newsDetail/step/three.vue b/pages/recruit/subPage/newsDetail/step/three.vue
new file mode 100644
index 0000000..b0d9771
--- /dev/null
+++ b/pages/recruit/subPage/newsDetail/step/three.vue
@@ -0,0 +1,174 @@
+
+
+
+
+ 签名
+
+
+
+
+ 点击输入手写签名
+
+
+
+ 签名密码
+
+
+
+ 已设置
+ 未设置
+
+
+
+
+
+
+
+ 我已阅读并同意
+ 《申请证书协议》
+
+
+ 完成
+ 完成
+
+
+
+
+
+
diff --git a/pages/recruit/subPage/newsDetail/userrecruitInfo.vue b/pages/recruit/subPage/newsDetail/userrecruitInfo.vue
new file mode 100644
index 0000000..dca3b7c
--- /dev/null
+++ b/pages/recruit/subPage/newsDetail/userrecruitInfo.vue
@@ -0,0 +1,555 @@
+
+
+
+
+ {{ info.jobName }}
+
+
+
+ 发布日期:{{ info.stime ? dateFormat((info.stime)) : null }}
+
+
+ 招聘人数:{{ info.peopleNum }}
+
+
+ 行业类型:{{ info.tradeNames ? info.tradeNames : info.jobCompanyIndustry }}
+
+
+ 工种类型:{{ info.skillNames }}
+
+
+
+
+
+ 招工要求
+
+
+
+
+ 学历要求:{{ info.education }}
+
+
+ 经验要求:{{ info.experienceDesc }}
+
+
+
+ 招工地址:{{ info.jobAddress }}
+
+
+ 招工描述
+
+
+ {{ info.jobDescription }}
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ info.jobCompanyName }}
+
+
+
+
+ 地址
+
+
+
+
+ 岗位地址:{{ info.address }}
+
+
+
+
+
+
+ 电话联系
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+ 下一步
+
+
+
+
+
+ {{ item.realName }} : {{
+ item.telphone }} 申请时间: {{
+ item.applyTime }}
+
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+ 签名密码
+ 6位数字签名密码
+
+
+
+
+ 忘记密码?
+
+
+
+
+
+
diff --git a/pages/recruit/subPage/newsDetail/workInfo.vue b/pages/recruit/subPage/newsDetail/workInfo.vue
new file mode 100644
index 0000000..178ae80
--- /dev/null
+++ b/pages/recruit/subPage/newsDetail/workInfo.vue
@@ -0,0 +1,563 @@
+
+
+
+
+ {{ info.jobName }}
+
+
+
+ 发布日期:{{ dateFormat((info.stime)) }}
+
+
+ 招聘人数:{{ info.peopleNum }}
+
+
+ 行业类型:{{ info.tradeNames ? info.tradeNames : info.jobCompanyIndustry }}
+
+
+ 工种类型:{{ info.skillNames }}
+
+
+
+
+
+ 岗位要求
+
+
+
+
+ 学历要求:{{ info.education }}
+
+
+ 经验要求:{{ info.experienceDesc }}
+
+
+
+ 岗位地址:{{ info.jobAddress }}
+
+
+ 任务描述
+
+
+ {{ info.jobDescription }}
+
+
+
+
+ {{ item }}
+
+
+
+
+ 来源:{{ info.jobSources }}
+
+
+
+
+
+
+
+
+ {{ info.jobCompanyName }}
+
+
+
+
+ 地址
+
+
+
+
+ 岗位地址:{{ info.address }}
+
+
+
+
+
+
+ 电话联系
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+ 下一步
+
+
+
+
+
+ {{ item.realName }} : {{
+ item.telphone }} 申请时间: {{
+ item.applyTime }}
+
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+ 签名密码
+ 6位数字签名密码
+
+
+
+
+ 忘记密码?
+
+
+
+
+
+
diff --git a/pages/recruit/subPage/newsList.vue b/pages/recruit/subPage/newsList.vue
index 304ecc4..31b7540 100644
--- a/pages/recruit/subPage/newsList.vue
+++ b/pages/recruit/subPage/newsList.vue
@@ -1,202 +1,205 @@
-
-
-
-
-
-
-
-
- {{ value[prop.title] }}
- {{ value[prop.listDesc] }}
-
- {{ value[prop.time] }}
+
+
+
+
+
+
+
+
+ {{ item.workname }}
-
+ 任务
+ 岗位
+ 招工
+
-
-
+
+
+
+
+
+ 暂无浏览信息
+
-
+
-
diff --git a/store/models/news_recruit.js b/store/models/news_recruit.js
index b4010da..984b3cc 100644
--- a/store/models/news_recruit.js
+++ b/store/models/news_recruit.js
@@ -49,35 +49,35 @@ const news = {
state: {
count: 0,
data: {
- // "0": {
- // id: "0",
- // title: "消息通知",
- // icon: "../../static/img/notice.svg",
- // page: {
- // current: 0,
- // size,
- // total: size
- // },
- // data: [],
- // prop: {
- // title: 'title',
- // desc: (value) => {
- // if (value.data[0])
- // return value.data[0][0]['desc']
- // },
- // time: 'createTime',
- // isRead: 'isRead',
- // listDesc: 'desc',
- // },
- // navigateTo(item) {
- // uni.$once('getNewsDetail', (cb) => {
- // cb(item)
- // })
- // uni.navigateTo({
- // url: "/pages/news/newsDetail?type=0"
- // })
- // }
- // },
+ "0": {
+ id: "0",
+ title: "消息通知",
+ icon: "../../../static/img/notice.svg",
+ page: {
+ current: 0,
+ size,
+ total: size
+ },
+ data: [],
+ prop: {
+ title: 'title',
+ desc: (value) => {
+ if (value.data[0])
+ return value.data[0][0]['desc']
+ },
+ time: 'createTime',
+ isRead: 'isRead',
+ listDesc: 'desc',
+ },
+ navigateTo(item) {
+ uni.$once('getNewsDetail', (cb) => {
+ cb(item)
+ })
+ uni.navigateTo({
+ url: "/pages/news/newsDetail?type=0"
+ })
+ }
+ },
"1": {
id: "1",
title: "任务申请",
@@ -141,7 +141,7 @@ const news = {
// "3": {
// id: "1",
// title: "技能推送",
- // icon: "../../static/img/jineng.svg",
+ // icon: "../../../static/img/jineng.svg",
// page: {
// current: 0,
// size,
@@ -315,7 +315,7 @@ const news = {
state.allUnread = getCount(state.unread)
},
CLEAR_NEWS_DATA: (state, id) => {
- state.data[id].page = {
+ state.data[id]?.page = {
current: 0,
size
}
diff --git a/vue.config.js b/vue.config.js
index 18ca113..39a4367 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -3,10 +3,8 @@ module.exports = {
port: 1887,
proxy: {
'/api': {
- // target: 'http://192.168.3.104:8000', // 本地服务接口地址
- target: "http://39.98.184.58:8000", // 阿里云后台地址
// target: 'http://192.168.3.108:8000', // 本地服务接口地址
- // target: 'http://192.168.3.111:8000', // 本地服务接口地址
+ target: 'http://192.168.3.173:8000', // 本地服务接口地址
ws: true,
pathRewrite: {
'^/api': '/'