From 7fe624987aca3764e24d0ef8810b57926a15c86e Mon Sep 17 00:00:00 2001
From: jscyl13849007907 <13849007907@163.com>
Date: Wed, 18 Jun 2025 11:17:08 +0800
Subject: [PATCH 01/10] no message
---
api/job.js | 1 +
root/detail/job.vue | 72 +++++++++++++++++++++++++++-------------------------
static/css/base.scss | 3 +++
3 files changed, 42 insertions(+), 34 deletions(-)
diff --git a/api/job.js b/api/job.js
index 057e27c..ede0c56 100644
--- a/api/job.js
+++ b/api/job.js
@@ -15,6 +15,7 @@ let jobInfo = {
job_getPolicyShare: '/yishoudan/store/job/getPolicyByStoreJobId',// 获取共享职位政策
job_ai: '/yishoudan/common/structure/get', // 获取ai结果
yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新)
+ job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIM", // 获取客服ID
}
export default jobInfo;
\ No newline at end of file
diff --git a/root/detail/job.vue b/root/detail/job.vue
index a838f55..c770ca6 100644
--- a/root/detail/job.vue
+++ b/root/detail/job.vue
@@ -1234,41 +1234,45 @@ export default {
},
goIm() {
let that = this;
- that.F.wyyxPost(
- that.api.wyyx_create,
- {
- senderUserId: uni.getStorageSync("apply-uid"),
- receiverUserId: that.jobDetail.customServiceUserId,
- },
- (res) => {
- uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
- that.F.wyyxPost(
- that.api.wyyx_sendCard,
- {
- conversationType: 1,
- senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id
- receiverUserId: that.jobDetail.customServiceUserId, // 接收方用户id
- type: 100000,
- jobDetail: {
- title: that.jobDetail.jobName,
- info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age,
- label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : "",
- salaryClassifyValue: that.jobDetail.priceStr,
- serviceFee: that.jobDetail.fuWuFei,
- monthPay: that.jobDetail.monthPay,
- jobId: that.uid,
+ that.F.wyyxGet(that.api.job_get_cus + '?jobId=' + that.jobDetail.id,{},(cusData)=>{
+
+
+ that.F.wyyxPost(
+ that.api.wyyx_create,
+ {
+ senderUserId: uni.getStorageSync("apply-uid"),
+ receiverUserId: cusData,
+ },
+ (res) => {
+ uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
+ that.F.wyyxPost(
+ that.api.wyyx_sendCard,
+ {
+ conversationType: 1,
+ senderUserId: uni.getStorageSync("apply-uid"), // 发送者id 即当前登录用户id
+ receiverUserId: cusData, // 接收方用户id
+ type: 100000,
+ jobDetail: {
+ title: that.jobDetail.jobName,
+ info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age,
+ label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : "",
+ salaryClassifyValue: that.jobDetail.priceStr,
+ serviceFee: that.jobDetail.fuWuFei,
+ monthPay: that.jobDetail.monthPay,
+ jobId: that.uid,
+ },
},
- },
- () => {
- uni.navigateTo({
- url: "/root/NEUIKit/pages/Chat/index",
- });
- },
- () => {}
- );
- },
- () => {}
- );
+ () => {
+ uni.navigateTo({
+ url: "/root/NEUIKit/pages/Chat/index",
+ });
+ },
+ () => {}
+ );
+ },
+ () => {}
+ );
+ })
},
},
};
diff --git a/static/css/base.scss b/static/css/base.scss
index 5e64947..8cc9ab5 100644
--- a/static/css/base.scss
+++ b/static/css/base.scss
@@ -832,3 +832,6 @@ $max-radius: 49;
height: 40% !important;
}
// 职位排序样式结束
+.g_mb_50 {
+ margin-bottom: 50px;
+}
\ No newline at end of file
From a0380a03c42ea1c9432cba7302ec9b65a5da9530 Mon Sep 17 00:00:00 2001
From: jscyl13849007907 <13849007907@163.com>
Date: Wed, 18 Jun 2025 11:20:48 +0800
Subject: [PATCH 02/10] no message
---
root/person/loginIndex.vue | 1 +
utils/common.js | 1 +
2 files changed, 2 insertions(+)
diff --git a/root/person/loginIndex.vue b/root/person/loginIndex.vue
index b534ded..f6ff232 100644
--- a/root/person/loginIndex.vue
+++ b/root/person/loginIndex.vue
@@ -274,6 +274,7 @@ export default {
uni.setStorageSync("apply-tel", $data.tel); // 单独存储 -- 手机号,方便修改
uni.setStorageSync("apply-token", $data.token); // 单独存储 -- token,方便获取
uni.setStorageSync("apply-agencyId", $data.user.agencyId); // 单独存储 -- 代理id,方便获取
+ uni.setStorageSync("apply-uid", $data.user.id); // 单独存储 -- 用户名,方便修改
uni.setStorageSync("apply-supplierAccount", $data.supplierAccount); // 单独存储 -- 是否是发单号,方便获取 0.不是发单号 1.是发单号
uni.$emit("isGlogin", {
uid: $data.user.id,
diff --git a/utils/common.js b/utils/common.js
index d640fa3..659cbfb 100644
--- a/utils/common.js
+++ b/utils/common.js
@@ -27,6 +27,7 @@ let data = {
uni.removeStorageSync("apply-userinfo-copy");
uni.removeStorageSync("apply-agencyId");
uni.removeStorageSync("apply-supplierAccount");
+ uni.removeStorageSync("apply-uid");
},
/* 分享给好友
*/
From fcd2db904a3dc17933bb7bb5333473c32c5a6a87 Mon Sep 17 00:00:00 2001
From: jscyl13849007907 <13849007907@163.com>
Date: Wed, 18 Jun 2025 13:48:41 +0800
Subject: [PATCH 03/10] no message
---
pages/workBench/index.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pages/workBench/index.vue b/pages/workBench/index.vue
index 2c8ae98..bec578d 100644
--- a/pages/workBench/index.vue
+++ b/pages/workBench/index.vue
@@ -321,8 +321,8 @@ export default {
});
},
getNum() {
- let that = this;
- that.G.Get(that.api.bind_getApplyNum + "/" + 1, {}, (res) => {
+ let that = this;
+ that.G.Get(that.api.bind_getApplyNum, {}, (res) => {
console.log("获取待处理数量:", res);
if (res.approvePassHasNotRed > 0) {
uni.setTabBarBadge({
From ebd02b420153c8e6ecf5fa8776ed757ee7318195 Mon Sep 17 00:00:00 2001
From: jscyl13849007907 <13849007907@163.com>
Date: Wed, 18 Jun 2025 13:57:34 +0800
Subject: [PATCH 04/10] no message
---
pages/NEUIKit/pages/Contact/contact-list/index.vue | 2 +-
pages/message/index.vue | 24 +++++++++++-----------
utils/common.js | 2 +-
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/pages/NEUIKit/pages/Contact/contact-list/index.vue b/pages/NEUIKit/pages/Contact/contact-list/index.vue
index 35f4817..1ea6804 100644
--- a/pages/NEUIKit/pages/Contact/contact-list/index.vue
+++ b/pages/NEUIKit/pages/Contact/contact-list/index.vue
@@ -48,7 +48,7 @@
{{ t("blacklistText") }}