From 4fd670ce8008c680419e969d525cd49b1a5145d4 Mon Sep 17 00:00:00 2001
From: wangxia <779219182@qq.com>
Date: Fri, 21 Mar 2025 18:02:21 +0800
Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E5=91=8A=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 2 +-
api/job.js | 3 +
manifest.json | 2 +-
pages.json | 124 +++++++++++++++------------
pages/home/index.vue | 2 +-
root/detail/addContact.vue | 160 ++++++++++++++++++++++++++++++++++
root/detail/configAnnunciate.vue | 181 +++++++++++++++++++++++++++++++++++++++
root/detail/work.vue | 69 ++++++++-------
8 files changed, 457 insertions(+), 86 deletions(-)
create mode 100644 root/detail/addContact.vue
create mode 100644 root/detail/configAnnunciate.vue
diff --git a/App.vue b/App.vue
index 5c70f9f..e81eb89 100644
--- a/App.vue
+++ b/App.vue
@@ -38,7 +38,7 @@ export default {
that.globalData.logo = uni.getStorageSync("miniApp-info").logo || "https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/renhailaowu.png";
} else if (that.globalData.appId == "wxe431e0b3abd9ae0b") {
that.globalData.title = "伯才工作";
- that.globalData.themeColor = "#ff4400";
+ that.globalData.themeColor = "#3578f6";
that.globalData.logo = uni.getStorageSync("miniApp-info").logo || "https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/renhailaowu.png";
} else if (that.globalData.appId == "wxb0c590fd696b79be") {
that.globalData.title = "稻田工作";
diff --git a/api/job.js b/api/job.js
index b6d21d5..a887bc9 100644
--- a/api/job.js
+++ b/api/job.js
@@ -41,6 +41,9 @@ let jobInfo = {
get_job_city: "/yishoudan/custom/job/getShareJobs" ,// 获取分享职位的列表
add_resume: "/yishoudan/user/applyClue/addRecord",// 简历报名
order_submitFellow: "/yishoudan/user/updateInfo",// 老乡编辑提交
+
+ get_contact_cfg:"/agency/getContactCfg", // 获取配置通告
+ update_contact_cfg:"/agency/updateContactCfg" // 获取配置通告
}
export default jobInfo;
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index da244df..ca0551b 100644
--- a/manifest.json
+++ b/manifest.json
@@ -94,7 +94,7 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
- "appid" : "wxb0dea4d11428c6a5",
+ "appid" : "wxe431e0b3abd9ae0b",
"requiredPrivateInfos" : [ "getLocation", "chooseLocation", "chooseAddress" ],
"setting" : {
"urlCheck" : true,
diff --git a/pages.json b/pages.json
index 8cfd2e2..131617e 100644
--- a/pages.json
+++ b/pages.json
@@ -66,24 +66,24 @@
"navigationBarTitleText": "登录"
}
},
- {
- "path": "pages/message/child/chat",
- "style": {
- "navigationBarTitleText": "智能匹配助手",
- "backgroundColor": "#efefef",
- "backgroundColorTop": "#efefef",
- "backgroundColorBottom": "#efefef"
- }
- },
- {
- "path": "pages/ai/index",
- "style": {
- "navigationBarTitleText": "智能匹配助手",
- "backgroundColor": "#efefef",
- "backgroundColorTop": "#efefef",
- "backgroundColorBottom": "#efefef"
- }
- }
+ {
+ "path": "pages/message/child/chat",
+ "style": {
+ "navigationBarTitleText": "智能匹配助手",
+ "backgroundColor": "#efefef",
+ "backgroundColorTop": "#efefef",
+ "backgroundColorBottom": "#efefef"
+ }
+ },
+ {
+ "path": "pages/ai/index",
+ "style": {
+ "navigationBarTitleText": "智能匹配助手",
+ "backgroundColor": "#efefef",
+ "backgroundColorTop": "#efefef",
+ "backgroundColorBottom": "#efefef"
+ }
+ }
],
"subPackages": [
{ // 个人中心二级页面
@@ -300,6 +300,24 @@
"style": {
"navigationBarTitleText": "个人信息"
}
+ },
+ {
+ "path": "configAnnunciate",
+ "style": {
+ "navigationBarTitleText": "配置通告",
+ "backgroundColor": "#f5f5f5",
+ "backgroundColorTop": "#f5f5f5",
+ "backgroundColorBottom": "#f5f5f5"
+ }
+ },
+ {
+ "path": "addContact",
+ "style": {
+ "navigationBarTitleText": "添加联系人",
+ "backgroundColor": "#f5f5f5",
+ "backgroundColorTop": "#f5f5f5",
+ "backgroundColorBottom": "#f5f5f5"
+ }
}
]
},
@@ -436,34 +454,34 @@
"navigationBarTitleText": "海报分享"
}
},
- {
- "path": "jobForm",
- "style": {
- "backgroundColor": "#f5f5f5",
- "backgroundColorTop": "#f5f5f5",
- "backgroundColorBottom": "#f5f5f5",
- "navigationBarTitleText": "发布职位"
- }
- },
- {
- "path": "message",
- "style": {
- "backgroundColor": "#f5f5f5",
- "backgroundColorTop": "#f5f5f5",
- "backgroundColorBottom": "#f5f5f5",
- "navigationBarTitleText": "站内消息"
- }
- },
- {
- "path": "child/jobLabels",
- "style": {
- "backgroundColor": "#f5f5f5",
- "backgroundColorTop": "#f5f5f5",
- "backgroundColorBottom": "#f5f5f5",
- "navigationBarTitleText": "职位标签",
- "navigationStyle": "custom"
- }
- }
+ {
+ "path": "jobForm",
+ "style": {
+ "backgroundColor": "#f5f5f5",
+ "backgroundColorTop": "#f5f5f5",
+ "backgroundColorBottom": "#f5f5f5",
+ "navigationBarTitleText": "发布职位"
+ }
+ },
+ {
+ "path": "message",
+ "style": {
+ "backgroundColor": "#f5f5f5",
+ "backgroundColorTop": "#f5f5f5",
+ "backgroundColorBottom": "#f5f5f5",
+ "navigationBarTitleText": "站内消息"
+ }
+ },
+ {
+ "path": "child/jobLabels",
+ "style": {
+ "backgroundColor": "#f5f5f5",
+ "backgroundColorTop": "#f5f5f5",
+ "backgroundColorBottom": "#f5f5f5",
+ "navigationBarTitleText": "职位标签",
+ "navigationStyle": "custom"
+ }
+ }
]
}
],
@@ -481,7 +499,7 @@
"selectedColor": "#3578f6",
"borderStyle": "black",
"backgroundColor": "#ffffff",
- "custom": true,
+ "custom": true,
"list": [
{
"iconPath": "static/image/nav_home_normal.png",
@@ -507,12 +525,12 @@
"pagePath": "pages/workBench/index",
"text": "工作台"
},
- // {
- // "iconPath": "static/image/chat.png",
- // "selectedIconPath": "static/image/chat.png",
- // "pagePath": "pages/ai/index",
- // "text": "智能匹配助手"
- // },
+ // {
+ // "iconPath": "static/image/chat.png",
+ // "selectedIconPath": "static/image/chat.png",
+ // "pagePath": "pages/ai/index",
+ // "text": "智能匹配助手"
+ // },
{
"iconPath": "static/image/xx.png",
"selectedIconPath": "static/image/xx1_lao.png",
diff --git a/pages/home/index.vue b/pages/home/index.vue
index a917f10..45f873a 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -59,7 +59,7 @@
-
+
diff --git a/root/detail/addContact.vue b/root/detail/addContact.vue
new file mode 100644
index 0000000..92cfd1c
--- /dev/null
+++ b/root/detail/addContact.vue
@@ -0,0 +1,160 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/root/detail/configAnnunciate.vue b/root/detail/configAnnunciate.vue
new file mode 100644
index 0000000..fc355c0
--- /dev/null
+++ b/root/detail/configAnnunciate.vue
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+ {{ (item.userName || "") + (item.tel || "") }}
+
+
+
+
+
+
+ 您目前没有配置通告联系人,系统默认您为联系人。
+
+
+ 预览
+
+ {{ userInfo.noticeEndStr }}
+
+
+ {{ userInfo.agencyStatus == 1 ? (userInfo.noticeEndStr ? userInfo.noticeEndStr : "详情咨询:" + userInfo.tel) : "详情咨询:" + serviceInfo.userName + (serviceInfo.workPhone || "-") }}
+
+
+
+
+ 添加联系人
+
+
+
+
+
+
+
diff --git a/root/detail/work.vue b/root/detail/work.vue
index e333b98..4bd50b2 100644
--- a/root/detail/work.vue
+++ b/root/detail/work.vue
@@ -56,7 +56,7 @@
-
+
{{ item }}
@@ -157,7 +157,7 @@
1. 面试地点:
{{ jobDetail.interviewAddr || "-" }}
-
+
@@ -168,10 +168,15 @@
-
+
复制 {{ jobDetail.jobInfoWithoutReturnFee || jobDetail.jobInfo || "-" }}
+ {{ userInfo.noticeEndStr ? userInfo.noticeEndStr : "详情咨询:" + userInfo.tel }}
+
+ 以上联系人,可以
+ 改成我的
+
@@ -232,8 +237,7 @@
-
-
+
{{ jobDetail.monthPay }}
@@ -580,7 +584,7 @@ export default {
// res.ageStr = setData.age;
// res.priceStr = that.G.getSalaryClassifyValue(res.salaryClassify, res.salaryClassifyValue);
- res.priceStr = that.G.getSalaryClassifyValueHtml(res.salaryClassify, res.salaryClassifyValue)
+ res.priceStr = that.G.getSalaryClassifyValueHtml(res.salaryClassify, res.salaryClassifyValue);
res.fuWuFei = that.G.setReturnFee(res.returnFee, res.returnFeeType);
res.monthPay = res.minMonthlyPay / 100 + "-" + res.maxMonthlyPay / 100;
res.updateTime = that.G.setDeadLine(res.updateTime, "jiaofu");
@@ -611,7 +615,7 @@ export default {
}
// that.jobDetail.jobRequestLabelNamesList = that.jobDetail.jobRequestLabelNames.split(",");
// that.jobDetail.jobSpecialLabelNames = that.jobDetail.jobSpecialLabelNames.split(",");
- console.log('that.jobDetail',that.jobDetail);
+ console.log("that.jobDetail", that.jobDetail);
// that.jobDetail.jobName = '三顿饭卡加斯冯老师独立开发技术的返利看打两发慷慨激昂收代理费'
that.jobDetail.logo = that.jobDetail.logo.indexOf("http:") > -1 ? that.jobDetail.logo.replace("http:", "https:") : that.jobDetail.logo;
setTimeout(() => {
@@ -1055,30 +1059,30 @@ export default {
if (!this.attention) {
return false;
}
- that.getCode((res) => {
- uni.setStorageSync("apply-code", res);
- console.log("是否执行");
- });
- that.applyPopup.isShow = true;
- // uni.navigateTo({
- // url: "/root/home/quickApplication?jobId=" + this.jobDetail.id + "&jobName=" + this.jobDetail.jobName + "&title=报名&type=" + that.jobDetail.jobType + "&tid=" + that.jobDetail.record.templateId,
+ // that.getCode((res) => {
+ // uni.setStorageSync("apply-code", res);
+ // console.log("是否执行");
// });
- // if (this.jobDetail.recruitment == 1) {
- // this.formInfo = {
- // userName: "",
- // idCard: "",
- // tel: "",
- // interTime: "",
- // };
- // this.applyPopup = {
- // isShow: true,
- // };
- // } else {
- // uni.showToast({
- // title: "停招职位不能报名",
- // icon: "none",
- // });
- // }
+ // that.applyPopup.isShow = true;
+ uni.navigateTo({
+ url: "/root/other/quickApplication?jobId=" + this.jobDetail.id + "&jobName=" + this.jobDetail.jobName + "&title=报名&type=" + that.jobDetail.jobType,
+ });
+ if (this.jobDetail.recruitment == 1) {
+ this.formInfo = {
+ userName: "",
+ idCard: "",
+ tel: "",
+ interTime: "",
+ };
+ // this.applyPopup = {
+ // isShow: true,
+ // };
+ } else {
+ uni.showToast({
+ title: "停招职位不能报名",
+ icon: "none",
+ });
+ }
},
handleToggleCollection() {
this.isCollection = !this.isCollection;
@@ -1442,6 +1446,11 @@ export default {
toggleReturnFee() {
this.isServicePriceShow = !this.isServicePriceShow;
},
+ changeContact() {
+ wx.navigateTo({
+ url: `/root/detail/configAnnunciate`,
+ });
+ },
},
};