diff --git a/pages/mine/jobDetail/index.js b/pages/mine/jobDetail/index.js new file mode 100644 index 0000000..f646353 --- /dev/null +++ b/pages/mine/jobDetail/index.js @@ -0,0 +1,815 @@ +let app = getApp(); +import { timeShowXXX, formatDateYMDHM, getUserApplyOrderStatusById, getUserApplyOrderTypeByType, splitRemark, formatDateYMD } from "../../../utils/dateUtil"; +var dateTimePicker = require("../../../utils/dateTimePicker.js"); + +Page({ + data: { + testMap: [], + recordDetail: {}, + iosDialog2: false, + id: null, + followrecodelist: [], + statuschange: 1, + userinfo: {}, + userinfoList: [], + currentIndex: 3, + isShowMore: false, + drawerShow: false, + iosDialog1: false, + interviewTime: "", + zhedie: false, + editModal: false, + serviceInfo: {}, + selectAgencyDrawer: false, + joinDrawer: false, + agencyList: [], + storeInfo: {}, + joinCountList: [{ label: '不参与', value: 0, checked: false }, { label: '参与', value: 1, checked: false }], + joinVal: 0, + systemInfo: {}, + }, + showInfo2 (e) { + console.log(e); + console.log(JSON.parse(e.currentTarget.dataset.detail)); + + this.setData({ + iosDialog2: true, + recordDetail: JSON.parse(e.currentTarget.dataset.detail), + }); + }, + copyClose2 () { + var that = this; + + var text = "姓名:" + that.data.recordDetail.userName + "/" + (that.data.recordDetail.sex == 1 ? "男" : "女") + "/" + that.data.recordDetail.age + "岁" + (that.data.recordDetail.nation == "族" ? "" : "/" + that.data.recordDetail.nation) + "\n电话:" + (that.data.recordDetail.tel == "" || that.data.recordDetail.tel == undefined || that.data.recordDetail.tel == null ? "-" : that.data.recordDetail.tel) + "\n身份证号:" + (that.data.recordDetail.idCard == "" ? "-" : that.data.recordDetail.idCard) + "\n家庭地址:" + (that.data.recordDetail.address == "" || that.data.recordDetail.address == undefined || that.data.recordDetail.address == null ? "-" : that.data.recordDetail.address) + "\n报名岗位:" + that.data.recordDetail.storeJobName + "\n员工薪资:" + (that.data.recordDetail.employeeSalary || '-') + "\n代理政策:" + that.data.recordDetail.policy; + + wx.setClipboardData({ + data: text, + success (res) { + wx.getClipboardData({ + success (res) { + console.log(res.data); // data + that.close2(); + }, + }); + }, + }); + }, + close2: function () { + console.log("close"); + + this.setData({ + iosDialog2: false, + }); + }, + + changeDateTime (e) { + var that = this; + var dateTimeArray = this.data.dateTimeArray, + dateTime = e.detail.value; + this.setData({ + // dateTime: e.detail.value, + currentTime: dateTimeArray[0][dateTime[0]].replace("年", "") + "-" + dateTimeArray[1][dateTime[1]].replace("月", "") + "-" + dateTimeArray[2][dateTime[2]].replace("日", "") + " " + dateTimeArray[3][dateTime[3]], + }); + console.log(this.data.dateTimeArray); + console.log(this.data.currentTime); + + var paramData = {}; + paramData["receptionTime"] = this.data.currentTime; + paramData["orderId"] = that.data.id; + that.changeStatusTime(paramData); + }, + + changeDateTimeColumn (e) { + var arr = this.data.dateTime, + dateArr = this.data.dateTimeArray; + arr[e.detail.column] = e.detail.value; + dateArr[2] = dateTimePicker.getMonthDay(dateArr[0][arr[0]], dateArr[1][arr[1]]); + for (let index = 0; index < dateArr[2].length; index++) { + dateArr[2][index] = dateArr[2][index] + "日"; + } + // .replace("年",'').replace("月",'').replace("日",'') + + console.log(dateArr); + console.log(arr); + + this.setData({ + dateTimeArray: dateArr, + dateTime: arr, + }); + }, + + changeDateTime2 (e) { + var that = this; + var dateTimeArray = this.data.dateTimeArray, + dateTime = e.detail.value; + this.setData({ + // dateTime: e.detail.value, + currentTime2: dateTimeArray[0][dateTime[0]].replace("年", "") + "-" + dateTimeArray[1][dateTime[1]].replace("月", "") + "-" + dateTimeArray[2][dateTime[2]].replace("日", "") + " " + dateTimeArray[3][dateTime[3]], + }); + console.log(this.data.dateTimeArray); + + var paramData = {}; + paramData["interviewTime"] = this.data.currentTime2; + paramData["orderId"] = that.data.id; + that.changeStatusTime(paramData); + }, + changeStatusTime (data) { + wx.request({ + url: app.globalData.ip + "/yishoudan/user/apply/order/updateOrder", + data: data, + header: app.globalData.headers, + method: "POST", + success: function (res) { + console.log(res); + if (res.data.status == 200) { + wx.showToast({ + title: "修改成功", + icon: "success", + duration: 1500, + }); + // that.setData({ + // storeArray: res.data.data, + // }); + } + }, + fail: function (res) { }, + }); + }, + editBill () { + console.log(this.data.userinfo.status); + + // if (this.data.userinfo.status == 10) { + wx.navigateTo({ + url: "/pages/billDetail/enroll/index?from=editUser", + }); + // } else { + // this.setData({ + // editModal: true, + // }); + // } + }, + changeDateTimeColumn2 (e) { + var arr = this.data.dateTime2, + dateArr = this.data.dateTimeArray; + arr[e.detail.column] = e.detail.value; + dateArr[2] = dateTimePicker.getMonthDay(dateArr[0][arr[0]], dateArr[1][arr[1]]); + for (let index = 0; index < dateArr[2].length; index++) { + dateArr[2][index] = dateArr[2][index] + "日"; + } + // .replace("年",'').replace("月",'').replace("日",'') + this.setData({ + dateTimeArray: dateArr, + dateTime2: arr, + }); + }, + + ifZhedie () { + this.setData({ + zhedie: false, + }); + }, + ifZhankai () { + this.setData({ + zhedie: true, + }); + }, + + showInfo () { + this.setData({ + iosDialog1: true, + }); + }, + + copyClose () { + var that = this; + var text = "姓名:" + that.data.userinfo.userName + "/" + (that.data.userinfo.sex == 1 ? "男" : "女") + "/" + that.data.userinfo.age + "岁" + (that.data.userinfo.nation == "族" ? "" : "/" + that.data.userinfo.nation) + "\n身份证号:" + (that.data.userinfo.idCard == "" ? "-" : that.data.userinfo.idCard) + "\n企业岗位:" + that.data.userinfo.storeJobName + "\n面试时间:" + that.data.interviewTime + "\n电话:" + (that.data.userinfo.tel == "" ? "-" : that.data.userinfo.tel); + + wx.setClipboardData({ + data: text, + success (res) { + wx.getClipboardData({ + success (res) { + console.log(res.data); // data + wx.showToast({ + title: "内容已复制", + icon: "none", + duration: 1500, + }); + that.close1(); + }, + }); + }, + }); + }, + + showImgs (e) { + var that = this; + let curr = []; + that.data.urls.forEach((item) => { + curr.push(item.url); + }); + wx.previewImage({ + current: e.currentTarget.dataset.src, // 当前显示图片的 http 链接 + urls: curr, // 需要预览的图片 http 链接列表 + }); + }, + + close1: function () { + console.log("close"); + + this.setData({ + iosDialog1: false, + }); + }, + + onLoad: function (options) { + console.log(options); + setTimeout(() => { + console.log(app.globalData.loginUserInfo); + this.setData({ + loginUserInfo: app.globalData.loginUserInfo, + serviceInfo: app.globalData.serviceInfo, + }); + console.log(app.globalData.serviceInfo); + }, 100); + this.setData({ + id: options.storeJobId, + }); + }, + makePhoneCall () { + var that = this; + wx.makePhoneCall({ + phoneNumber: that.data.serviceInfo.workPhone || "0371-6611 3723", + }); + }, + closeEditModal () { + this.setData({ + editModal: false, + }); + }, + editUser () { + wx.navigateTo({ + url: "../newEnroll/enrollEdit/index?from=editUser", + }); + }, + changeAgency () { + this.data.agencyList.forEach((item) => { + item.checked = false + if (item.aliasName == this.data.userinfo.applyUserName) { + item.checked = true + } + }) + this.setData({ + selectAgencyDrawer: true, + agencyList: this.data.agencyList + }) + }, + changeJoin () { + console.log(this.data.joinCountList); + this.data.joinCountList.forEach((item) => { + item.checked = false + if (item.value == this.data.joinVal) { + item.checked = true + } + }) + this.setData({ + joinDrawer: true, + joinCountList: this.data.joinCountList + }) + }, + /** + * 参与统计变化 + */ + joinCountChange (e) { + console.log(e); + this.data.joinVal = this.data.joinCountList[e.detail.value].value + this.setData({ + joinVal: this.data.joinVal + }) + this.updateJoinStatus() + console.log(this.data.joinVal); + }, + /** + * 参与统计状态上传 + */ + updateJoinStatus () { + let that = this + + }, + /** + * 提交报名人信息 + */ + joinSelect () { + let that = this + console.log(this.data.joinCountList); + this.data.joinCountList.forEach((item) => { + if (item.checked == true) { + this.data.joinVal = item.value + }; + }); + wx.request({ + url: app.globalData.ip + "/yishoudan/user/apply/order/updateStatistic", + method: "post", + data: { userApplyOrderId: that.data.userinfo.id, statistic: that.data.joinVal }, + header: app.globalData.headers, + success: function ({ data }) { + if (data.status == 200) { + wx.showToast({ + title: '修改成功', + icon: 'none' + }) + that.setData({ + joinDrawer: false + }) + that.getDetail() + } else { + wx.showToast({ + title: data.msg, + icon: 'none' + }) + } + } + }) + }, + joinChange (e) { + console.log(e); + this.data.joinCountList.forEach((item) => { + item.checked = false; + if (item.value == e.detail.value) { + item.checked = true; + } + }); + this.setData({ + joinCountList: this.data.joinCountList, + }); + }, + radioChange (e) { + this.data.agencyList.forEach((item) => { + item.checked = false; + if (item.id == e.detail.value) { + item.checked = true; + } + }); + this.setData({ + agencyList: this.data.agencyList, + }); + }, + getMemberList () { + let that = this; + wx.request({ + url: app.globalData.ip + "/yishoudan/user/getAgencyCorpUsers", + method: "GET", + header: app.globalData.headers, + success: function (res) { + console.log(res); + if (res.data.status == 200) { + try { + res.data.data.recordList.sort((a, b) => { + return a.agencyRole - b.agencyRole; + }); + that.setData({ + agencyList: res.data.data.recordList, + }); + } catch (error) { + console.log(error); + } + } + }, + }); + }, + /** + * 报名人抽屉隐藏 + * + * + */ + hidedrawershow (e) { + console.log(e); + this.setData({ + [e.detail.type]: false + }) + }, + /** +* 提交报名人信息 +* +*/ + subSelect () { + let that = this + let id + console.log(that.data.recordDetail); + this.data.agencyList.forEach((item) => { + if (item.checked == true) { + id = item.id + }; + }); + wx.request({ + url: app.globalData.ip + `/yishoudan/user/apply/order/updateApplyUser`, + header: app.globalData.headers, + method: "post", + data: { + userApplyOrderId: that.data.userinfo.id, + userId: id + }, + success: function (res) { + console.log(res); + if (res.data.status == 200) { + that.setData({ + selectAgencyDrawer: false + }) + that.getDetail() + + } else { + wx.showToast({ + title: res.data.msg, + icon: 'none' + }) + } + } + }) + }, + getDetail () { + let that = this; + console.log(that.data.id); + wx.request({ + url: app.globalData.ip + `/yishoudan/user/apply/order/details?orderId=${that.data.id}`, + header: app.globalData.headers, + method: "get", + success: function (res) { + console.log(res); + if (res.data.status == 200) { + let followInfo = []; + + let newArr = []; + res.data.data.serveRecords.forEach((item, index) => { + // console.log(item); + if (item.type != 0) { + item.orderType = getUserApplyOrderTypeByType(item.type); + item.remark = splitRemark(item.desp); + newArr.push(item); + } + }); + if (res.data.data.serveRecords.legnth > 4) { + that.data.isShowMore = true; + } + res.data.data.serveRecords = newArr; + res.data.data.serveRecords.forEach((item, index) => { + item.timeinfo = timeShowXXX(item.createTime); + if (index <= that.data.currentIndex) { + followInfo.push(item); + } + }); + console.log(res.data.data.serveRecords); + let userinfo = res.data.data.applyOrder; + userinfo.agencyName = userinfo.agencyName.replace(userinfo.agencyCode, ""); + console.log(userinfo); + wx.setStorageSync("storeJobInfoBill", userinfo); + // loginUserInfo: { + // name: "", + // address: "", + // age: "", + // nationality: "", + // sex: "", + // num: "", + // tel: "", + // idCardImageUrl: "", + // }, + let userinfo2 = {}; + userinfo2["name"] = userinfo.userName + userinfo2["nationality"] = userinfo.nation + userinfo2["num"] = userinfo.idCard + userinfo2["currentImg"] = userinfo.idCardImageUrl + userinfo2["idCardImageUrl"] = userinfo.idCardImageUrl + userinfo2["sex"] = userinfo.sex + userinfo2["age"] = userinfo.age + userinfo2["idCard"] = userinfo.idCard + userinfo2["userId"] = userinfo.userId + userinfo2["tel"] = userinfo.tel + userinfo2["address"] = userinfo.address + wx.removeStorage({ + key: "townsManInfo", + }); + wx.removeStorage({ + key: "townsManInfoJob", + }); + wx.setStorageSync("townsManInfo", { ...userinfo2 }); + // let data = { ...that.data.loginUserInfo, currentImg: that.data.currentImg }; + // console.log(data); + // wx.setStorage({ + // key: "townsManInfo", + // data, + // }); + that.getImgs(userinfo.userId); + if (userinfo.entryTime) { + userinfo.entryTime = formatDateYMDHM(userinfo.entryTime); + } + if (userinfo.leaveTime) { + userinfo.leaveTime = formatDateYMDHM(userinfo.leaveTime); + } + if (userinfo.updateTime) { + userinfo.updateTime = formatDateYMDHM(userinfo.updateTime); + } + if (userinfo.interviewTime) { + userinfo.interviewTime = formatDateYMDHM(userinfo.interviewTime); + } + if (userinfo.createTime) { + userinfo.createTime = formatDateYMDHM(userinfo.createTime); + } + if (userinfo.interviewOperateTime) { + userinfo.interviewOperateTime = formatDateYMDHM(userinfo.interviewOperateTime); + } + if (userinfo.passedOperateTime) { + userinfo.passedOperateTime = formatDateYMDHM(userinfo.passedOperateTime); + } + if (userinfo.receptionTime) { + userinfo.receptionTime = formatDateYMDHM(userinfo.receptionTime); + } + if (userinfo.willEntryTime) { + userinfo.willEntryTime = formatDateYMDHM(userinfo.willEntryTime); + } + if (userinfo.willLeaveTime) { + userinfo.willLeaveTime = formatDateYMDHM(userinfo.willLeaveTime); + } + + userinfo.statusName = getUserApplyOrderStatusById(userinfo.status); + + if (userinfo.nation.substr(userinfo.nation.length - 1, 1) != "族" && userinfo.nation.substr(userinfo.nation.length - 1, 1) != "") { + userinfo.nation = userinfo.nation + "族"; + } + for (var key in res.data.data.records) { + // console.log(key, res.data.data.records[key]); + res.data.data.records[key].forEach((item, index) => { + item.desp = item.desp.replaceAll("预约接待时间", "预计到达时间"); + if (item.desp.substr(item.desp.length - 3, 3) == "备注:") { + item.desp = item.desp.replace(/备注:/g, ""); + } + + if (item.type == 1) { + item["statusText"] = "报名审核中"; + } else if (item.type == 2) { + item["statusText"] = "待接待"; + } else if (item.type == 3) { + item["statusText"] = "待入职"; + } else if (item.type == 4) { + item["statusText"] = "在职中"; + } else if (item.type == 5) { + item["statusText"] = "已离职"; + } else if (item.type == 9) { + item["statusText"] = "约离职"; + } else if (item.type == 6) { + item["statusText"] = "已完成"; + } else if (item.type == 11) { + item["statusText"] = "审核未通过"; + } else if (item.type == 12) { + item["statusText"] = "已接到"; + } else if (item.type == 13) { + item["statusText"] = "未接到"; + } else if (item.type == 14) { + item["statusText"] = "面试未通过"; + } else if (item.type == 15) { + item["statusText"] = "未入职"; + } + }); + } + that.setData({ + testMap: res.data.data.records, + }); + + that.setData({ + currentTime: userinfo.receptionTime, + currentTime2: userinfo.interviewTime, + interviewTime: formatDateYMD(userinfo.interviewTime), + userinfo: userinfo, + followrecodelist: res.data.data.serveRecords, + currentList: followInfo, + isShowMore: that.data.isShowMore, + joinVal: userinfo.inStatistic + }); + + // console.log(that.data.userinfo); + that.getStoreInfo() + } + }, + }); + }, + getStoreInfo () { + let that = this + wx.request({ + url: app.globalData.ip + `/overall/store/job/getStoreJobDetailById?storeJobId=${that.data.userinfo.storeJobId}`, + header: app.globalData.headers, + method: "get", + success: function (res) { + console.log(res); + let data = res.data.data + if (res.data.status == 200) { + var telN = data.storeJob.onSiteInfo.split("\n"); + that.data.telStr = []; + telN.forEach((item, index) => { + item = item.replace(/\d\./, '') + that.data.telStr.push(item) + }) + console.log(that.data.telStr); + + that.data.zhuchangInfo = '驻场:' + that.data.telStr; + console.log(data.storeJob.onSiteRemark); + // console.log(data.storeJob.onSiteRemark.split('驻场:')); + let markList = data.storeJob.onSiteRemark.split('⚠') + console.log(markList); + let newMark = markList[0] + `面试时间:${that.data.userinfo.interviewTime}\n\n` + '⚠' + markList[1] + console.log(newMark); + that.setData({ + storeInfo: { ...data.storeJob, ...data.jobPoses }, + zhuchangInfo: that.data.zhuchangInfo, + telStr: that.data.telStr, + onSiteRemark: newMark, + }) + + } + }, + }) + }, + setCopy () { + var that = this; + wx.setClipboardData({ + data: that.data.onSiteRemark, + success (res) { + wx.getClipboardData({ + success (res) { + console.log(res.data) // data + wx.showToast({ + title: '内容已复制', + icon: 'none', + duration: 1500 + }) + + } + }) + } + }) + }, + chooseMap2 (e) { + var that = this; + wx.setClipboardData({ + data: that.data.onSiteRemark, + success (res) { + wx.getClipboardData({ + success (res) { + wx.showToast({ + title: '内容已复制', + icon: 'none', + duration: 1500 + }) + setTimeout(() => { + console.log(e.currentTarget.dataset.lat); + if (e.currentTarget.dataset.lat == "") { + return + } + let name = e.currentTarget.dataset.postitle; + let content = e.currentTarget.dataset.poscontent; + let lat = e.currentTarget.dataset.lat - 0; + let lng = e.currentTarget.dataset.lng - 0; + wx.openLocation({ + latitude: lat, + longitude: lng, + name: name, + address: content, + scale: 15, + }); + }, 200) + } + }) + } + }) + + + + }, + changeStatus (e) { + console.log(e.mark.statuscode); + this.setData({ + statuschange: e.mark.statuscode, + }); + }, + getImgs (userId) { + var that = this; + wx.request({ + url: app.globalData.ip + "/imgs/list/" + userId + "?type=20", + header: app.globalData.headers, + method: "GET", + success: function (res) { + console.log(res); + let currFils = []; + let regs = /\.(jpg|jpeg|png)(\?.*)?$/; + if (app.isNotEmptyCheck(res.data.data.userImgs)) { + res.data.data.userImgs.forEach((item) => { + if (regs.test(item.url.toLowerCase())) { + currFils.push({ url: item.url, id: item.id }); + } + }); + } + + that.setData({ + files: currFils.slice(0, 4), + urls: currFils, + }); + // } + }, + fail: function (res) { + console.log(res); + }, + }); + }, + showMore () { + let that = this; + console.log(that.data.currentList); + that.data.currentList = []; + that.data.currentIndex += 4; + that.data.followrecodelist.forEach((item, index) => { + if (index < that.data.currentIndex) { + that.data.currentList.push(item); + } + }); + if (that.data.followrecodelist.length > that.data.currentList.length) { + that.data.isShowMore = true; + } else { + that.data.isShowMore = false; + } + that.setData({ + currentList: that.data.currentList, + currentIndex: that.data.currentIndex, + isShowMore: that.data.isShowMore, + }); + }, + showImg () { + wx.previewImage({ + current: this.data.userinfo.idCardImageUrl, // 当前显示图片的http链接 + urls: [this.data.userinfo.idCardImageUrl], // 需要预览的图片http链接列表 + }); + }, + showDrawer () { + this.setData({ + drawerShow: true, + }); + }, + hideDrawer () { + this.setData({ + drawerShow: false, + }); + }, + preventTouchMove (e) { + // e.preventDefault; + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onShow: function () { + this.getDetail(); + + var obj = dateTimePicker.dateTimePicker(this.data.startYear, this.data.endYear, this.data.currentTime); + console.log(obj.dateTimeArray); + console.log(obj.dateTime); + for (let index = 0; index < obj.dateTimeArray[0].length; index++) { + obj.dateTimeArray[0][index] = obj.dateTimeArray[0][index] + "年"; + } + for (let index = 0; index < obj.dateTimeArray[1].length; index++) { + obj.dateTimeArray[1][index] = obj.dateTimeArray[1][index] + "月"; + } + for (let index = 0; index < obj.dateTimeArray[2].length; index++) { + obj.dateTimeArray[2][index] = obj.dateTimeArray[2][index] + "日"; + } + let systemInfo = wx.getSystemInfoSync(); + this.getMemberList() + this.setData({ + systemInfo, + dateTimeArray: obj.dateTimeArray, + dateTime: obj.dateTime, + dateTimeArray2: obj.dateTimeArray, + dateTime2: obj.dateTime, + }); + }, + /** + * 阻止滑动穿透 + * + * + */ + modalMove () { + return false; + }, + onUnload () { + wx.removeStorageSync("storeJobInfoBill") + wx.removeStorageSync("townsManInfo"); + }, + kefu (e) { + console.log(e); + let url = e.currentTarget.dataset.customserviceurl + wx.openCustomerServiceChat({ + extInfo: { url: url || 'https://work.weixin.qq.com/kfid/kfc84d8465f4c633511' }, + showMessageCard: true, + corpId: 'wwc227639d3a136c8d', + success (res) { + console.log('res', res); + }, + fail (err) { + console.log('err', err); + } + }) + }, +}); diff --git a/pages/mine/jobDetail/index.json b/pages/mine/jobDetail/index.json new file mode 100644 index 0000000..23bfd28 --- /dev/null +++ b/pages/mine/jobDetail/index.json @@ -0,0 +1,12 @@ +{ + "usingComponents": { + "bottom-drawer": "../../../components/bottom-drawer/index" + + }, + "navigationBarTitleText": "报名详情", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black", + "backgroundColor": "#f5f5f5", + "enablePullDownRefresh": false + +} \ No newline at end of file diff --git a/pages/mine/jobDetail/index.wxml b/pages/mine/jobDetail/index.wxml new file mode 100644 index 0000000..a9432c4 --- /dev/null +++ b/pages/mine/jobDetail/index.wxml @@ -0,0 +1,603 @@ + + + + + + + + + 报名人 + + + {{userinfo.applyUserName || '-'}} + + + + 报名时间 + {{userinfo.createTime || '-'}} + + + + 面试时间 + {{userinfo.interviewTime || '-'}} + + + + + + + + 预计到达时间 + {{userinfo.receptionTime || '-'}} + + + + 预约入职时间 + {{userinfo.willEntryTime || '-'}} + + + + 入职时间 + {{userinfo.entryTime || '-'}} + + + + 预约离职时间 + {{userinfo.willLeaveTime || '-' }} + + + 离职时间 + {{userinfo.leaveTime || '-'}} + + + + 工单完成时间 + {{userinfo.updateTime || '-'}} + + + + + + + 预计到达时间 + + + {{!!currentTime?currentTime:'----'}} + + + + + + + + 预计到达时间 + {{userinfo.receptionTime || '-'}} + + + + + 接到时间 + {{userinfo.interviewOperateTime || '-'}} + + + + 面试时间 + + + {{!!currentTime2?currentTime2:'----'}} + + + + + + + + 面试时间 + {{userinfo.interviewTime || '-'}} + + + + + 预约入职时间 + {{userinfo.willEntryTime || '-'}} + + + + 入职时间 + {{userinfo.entryTime || '-'}} + + + + 预约离职时间 + {{userinfo.willLeaveTime || '-' }} + + + + 离职时间 + {{userinfo.leaveTime || '-'}} + + + 工单完成时间 + {{userinfo.updateTime || '-'}} + + + + + 收起 + + + + 展开 + + + + + + + + + + + {{userinfo.userName}} + /{{userinfo.sex == '1' ? '男' : '女'}} + /{{userinfo.age}}岁 + /{{userinfo.nation}} + + + + + + + + {{userinfo.address || '-'}} + + + + + {{userinfo.idCard == '' || userinfo.idCard == null || userinfo.idCard == 'undefined' ? '-' : userinfo.idCard}} + + + + + {{userinfo.tel == '' || userinfo.tel == null || userinfo.tel == 'undefined' ? '-' : userinfo.tel}} + + + + + + + + + + 报名岗位 + {{userinfo.storeJobName?userinfo.storeJobName:'-'}} + + + + 报名企业 + {{userinfo.storeName?userinfo.storeName:'-'}} + + + + + + + + + + 面试地址 + + {{storeInfo.interview.posContent}} + + + + + 复制 + 驻场信息 + + {{onSiteRemark}} + + + + + 跟进记录 + + + + + 报名审核中 + + + 报名成功 + + + 待入职 + + + 在职中 + + + 已离职 + + + 已完成 + + + 约离职 + + + 报名失败 + + + 已接到 + + + 未接到 + + + 面试未通过 + + + 未入职 + + + + + + + + {{item.desp}} + + 详情 + + + + {{}} + {{dateUtil.formatDateYYYYMMDDHHMM(item.createTime)}} + + + + + + + + + + + 状态 + + {{userinfo.statusName}} + + + + + 代理 + {{userinfo.agencyName}} + + + + + 报名企业 + {{userinfo.storeName?userinfo.storeName:'-'}} + + + 岗位 + {{userinfo.storeJobName?userinfo.storeJobName:'-'}} + + + 入职时间 + {{userinfo.entryTime?userinfo.entryTime:'-'}} + + + 离职时间 + {{userinfo.leaveTime?userinfo.leaveTime:'-'}} + + + 面试时间 + {{userinfo.interviewTime?userinfo.interviewTime:'-'}} + + + 政策 + {{userinfo.policy?userinfo.policy:'-'}} + + + + + + + + + + {{item.orderType}} + {{item.timeinfo}} + + + {{item.remark}} + + + + + 查看更多 + + + + 暂无更多数据 + + + + + + + + + + + + + 老乡信息 + + + + 姓名: + {{userinfo.userName}} + /{{userinfo.sex == '1' ? '男' : '女'}} + /{{userinfo.age}}岁 + /{{userinfo.nation}} + + + + 身份证号: + {{userinfo.idCard == '' || userinfo.idCard == null || userinfo.idCard == 'undefined' ? '-' : userinfo.idCard}} + + + + 企业岗位: + {{userinfo.storeJobName}} + + + 面试时间: + {{interviewTime}} + + + + 电话: + {{userinfo.tel == '' || userinfo.tel == null || userinfo.tel == 'undefined' ? '-' : userinfo.tel}} + + + + 复制文本 + 知道了 + + + + + + + + + 报名信息 + + + + 姓名: + + {{recordDetail.userName}} + /{{recordDetail.sex == '1' ? '男' : '女'}} + /{{recordDetail.age}}岁 + /{{recordDetail.nation}} + + + + + 电话: + {{recordDetail.tel == '' || recordDetail.tel == null || recordDetail.tel == 'undefined' ? '-' : recordDetail.tel}} + + + + 身份证号: + {{recordDetail.idCard == '' || recordDetail.idCard == null || recordDetail.idCard == 'undefined' ? '-' : recordDetail.idCard}} + + + + 家庭住址: + {{recordDetail.address == '' || recordDetail.address == null || recordDetail.address == 'undefined' ? '-' : recordDetail.address}} + + + + + + 报名岗位: + {{recordDetail.storeJobName || '-'}} + + + + 员工薪资: + {{recordDetail.employeeSalary || '-'}} + + + + 代理政策: + {{recordDetail.policy || '-'}} + + + + + + + + + 复制文本 + 知道了 + + + + + + + 提示 + + 工单已在处理中... + 如有修改请联系客户经理 + + + + + 客户经理 + + {{serviceInfo.userName}} + {{serviceInfo.workPhone || "0371-6611 3723"}} + + + + + + 取消 + + + + + 参与统计 + + + + + + + + + + 报名人选择 + + + + + + + + + + + + + + diff --git a/pages/mine/jobDetail/index.wxss b/pages/mine/jobDetail/index.wxss new file mode 100644 index 0000000..19b6af5 --- /dev/null +++ b/pages/mine/jobDetail/index.wxss @@ -0,0 +1,306 @@ +.pabtm { + position: fixed; + height: 48px; + width: 48px; + right: 12px; + padding: 6px 0px; + border-radius: 999px; + background-color: #ff4400; + box-shadow: 1px 1px 10px #f00; + display: flex; + align-items: center; + flex-direction: column; + justify-content: space-between; + box-sizing: border-box; + z-index: 999; +} +.navigationbar { + background-color: #fff; +} +.navigationbar text { + color: #333; +} +.container { + /* padding: 10px; */ + padding: 10px 0 20px 0; + background-color: #f5f5f5; +} +.container .userinfo { + font-size: 16px; + background-color: #fff; + padding: 0 9px; + /* border-radius: 8px; */ +} +.container .userinfo > view:not(.drawerBox) { + display: flex; + flex-direction: row; + justify-content: space-between; + padding: 16px 0; +} +.container .userinfo .phone view:last-child { + display: flex; + flex-direction: row; + align-items: center; + color: var(--color-ysd); +} +.container .userinfo .phone view:last-child view:first-child { + width: 20px; + height: 20px; + margin-right: 4px; +} +.container .userinfo > view:nth-child(-n + 4) { + border-bottom: 1px solid #0000000f; +} +.container .userinfo > view > text:first-child { + color: #666; +} +/* .container .userinfo { + display: block; +} */ +.container .userinfo > view:first-child { + padding-bottom: 20px; +} +.drawerBox { +} +.drawer { + position: fixed; + left: 0; + right: 0; + bottom: 0; + z-index: 2000; + width: 100vw; + background-color: #fff; + height: 0; + transition: all 0.3s; +} +.drawerMask { + position: fixed; + z-index: 1000; + top: 0; + right: 0; + left: 0; + bottom: 0; + transition: opacity 0.3s, visibility 0.3s; + background: rgba(0, 0, 0, 0.6); + visibility: hidden; + opacity: 0; +} +.drawerMask.showDrawer { + opacity: 1; + visibility: visible; +} +.drawer.showDrawer { + /* position: relative; */ + border-radius: 8px 8px 0 0; + height: 400px; + padding-bottom: 44px; +} +.container .userinfo .followContent { + /* padding-left: 8px ; */ + height: 400px; + margin-top: 32px; + margin-left: 12px; +} +.container .userinfo .followContent > span:last-child { + display: block; + color: #999; + font-size: 14px; + text-align: center; +} +.container .userinfo .followContent > span:last-child text { + width: 12px; + height: 12px; +} +.container .userinfo .followContent .followSubset { + position: relative; + width: 320px; + border-left: 1.5px solid #ccc; + padding-left: 20px; + box-sizing: content-box; + margin-left: 6px; + font-size: 16px; +} +.container .userinfo .followContent .followSubset:not(:last-of-type) { + padding: 0 0 20px 20px; +} +.container .userinfo .followContent .followSubset:first-child { + padding-top: 8px; + box-sizing: content-box; +} +.container .userinfo .followContent .followSubset .beforeball { + position: absolute; + left: -5.5px; + top: 0px; + width: 10px; + height: 10px; + border-radius: 50%; + background-color: #ccc; +} +.container .userinfo .followContent .followSubset:first-child .beforeball { + background-color: var(--color-ysd); + top: 0px; +} +.container .userinfo .followContent .followSubset > view { + position: relative; + top: -12px; +} +.container .userinfo .followContent .followSubset:first-child .orderType { + color: var(--color-ysd); +} +.container .userinfo .followContent .followSubset .remark { + color: #666; + font-size: 14px; +} +.container .userinfo .followContent .followSubset .timeinfo { + color: #999; + font-size: 14px; + margin-left: 12px; +} +.container .userinfo .followContent .followSubset:last-of-type { + border-left-color: transparent; +} +.container .userinfo .followContent .loadMore { + position: absolute; + left: 50%; + margin: 12px 0; + transform: translateX(-50%); + color: #999; + font-size: 14px; + /* text-align: center; */ +} +.container .userinfo .followContent .loadMore .t-icon { + width: 12px; + height: 12px; + background-repeat: no-repeat; +} +.container .statusbox { + font-size: 16px; + background-color: #fff; + padding: 0 9px; + border-radius: 8px; +} +.container .statusbox .status { + display: flex; + flex-direction: row; + justify-content: space-between; + margin-top: 10px; + border-bottom: 1px solid #0000000f; + padding: 20px 0; +} +.container .statusbox .status .statuschange { + display: flex; + flex-direction: row; + justify-content: space-between; +} +.container .statusbox .status .statuschange > view { + display: flex; + flex-direction: row; + font-size: 14px; + line-height: 22px; + align-items: center; +} +.container .statusbox .status .statuschange > view view:first-child { + margin-right: 8px; +} +.container .statusbox .status .statuschange > view:not(:last-child) { + margin-right: 16px; +} +.container .statusbox .remark { + padding-top: 20px; +} +.container .statusbox .remark .weui-cell { + border-top: none; + padding: 0; +} +.container .weui-btn_primary { + width: 200px; + height: 42px; + border-radius: 25px; + background-color: var(--color-ysd); + font-size: 18px; + padding: 0; + line-height: 42px; + margin-top: 90px; +} +.titleMain view { + /* position: absolute; */ + padding-bottom: 20px; + padding-left: 26rpx; + border-left: 2px solid #cccccc; + left: 16px; + line-height: 20px; + height: 22px; + font-size: 16px; + font-weight: bold; + color: #333333; +} +.bb4 + .titleMain view { + color: var(--color-be) !important; +} +.bb4 + .titleMain .iconfont { + background-color: var(--color-be) !important; +} +.titleMain .iconfont { + position: absolute; + top: 0px; + left: -10px; + display: inline-block; + width: 40rpx; + height: 40rpx; + font-size: 13px; + font-weight: normal; + text-align: center; + line-height: 41rpx; + border-radius: 50%; + background: #cccccc; + color: #ffffff; +} +.cb-cricle { + background-color: #cccccc; +} +.ui-step .ui-list-info { + border-left: 2px solid #cccccc; +} +.contact .info { + display: flex; + justify-content: center; +} +.contact .info image { + width: 52px; + height: 52px; + border-radius: 8px; +} +.loginOut { + font-weight: 500; +} +.stickyBottom { + position: sticky; + bottom: 0; + padding-top: 8px; + padding-bottom: 24px; + z-index: 99; + background-color: #fff; +} +.joinBottom { + position: absolute; + bottom: 0; + width: 100%; + padding-top: 8px; + padding-bottom: 24px; + z-index: 99; + background-color: #fff; +} + +.weui-cell::after { + display: none; +} +.weui-cell::before { + display: none; +} +.picker_toolbar { + background-color: #ff4400 !important; + color: #fff !important; +} +.thover9{ + opacity: 0.9; +}