From 9a716b9e9ec875ce45a663378c6ea936ea55afa1 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Thu, 15 Jan 2026 09:45:07 +0800 Subject: [PATCH] no message --- uni_modules/rh-ui/changelog.md | 2 + .../rh-ai-super-input/rh-ai-super-input.vue | 4 +- uni_modules/rh-ui/components/rh-apply/rh-apply.vue | 90 +++++----------------- uni_modules/rh-ui/package.json | 6 +- 4 files changed, 27 insertions(+), 75 deletions(-) diff --git a/uni_modules/rh-ui/changelog.md b/uni_modules/rh-ui/changelog.md index cb4a8d9..f021cd8 100644 --- a/uni_modules/rh-ui/changelog.md +++ b/uni_modules/rh-ui/changelog.md @@ -1,3 +1,5 @@ +## 1.0.918(2026-01-15) +迭代 ## 1.0.917(2026-01-14) 迭代 ## 1.0.916(2026-01-14) diff --git a/uni_modules/rh-ui/components/rh-ai-super-input/rh-ai-super-input.vue b/uni_modules/rh-ui/components/rh-ai-super-input/rh-ai-super-input.vue index ab2963f..ab64d6f 100644 --- a/uni_modules/rh-ui/components/rh-ai-super-input/rh-ai-super-input.vue +++ b/uni_modules/rh-ui/components/rh-ai-super-input/rh-ai-super-input.vue @@ -11,10 +11,10 @@ - + - + diff --git a/uni_modules/rh-ui/components/rh-apply/rh-apply.vue b/uni_modules/rh-ui/components/rh-apply/rh-apply.vue index 7359f56..61f7115 100644 --- a/uni_modules/rh-ui/components/rh-apply/rh-apply.vue +++ b/uni_modules/rh-ui/components/rh-apply/rh-apply.vue @@ -43,10 +43,10 @@ - + - + @@ -84,18 +84,23 @@ - +
- +
- +
+ + + + + @@ -108,7 +113,6 @@ export default { this.G.setNavStyle(); let that = this; uni.$on("getTownsman", (data) => { - console.log("getTownsman", data); // 前端本地处理根据身份证号获取年龄 if (data.info.idCard && (data.info.idCard.length == 15 || data.info.idCard.length == 18)) { let infoByIDcard = this.G.getInfoByIDcard(data.info.idCard); @@ -128,7 +132,6 @@ export default { index: that.persenInfo.length, }; } - console.log("that.persenInfo", that.persenInfo); that.$forceUpdate(); }); uni.$on("changeJobInfo", function (data) { @@ -153,13 +156,19 @@ export default { }, props:{ dataoptions:{ - default:{} + default:()=>{ + return {} + } + }, + useform:{ + default:()=>{ + return 'root' + } } }, mounted() { let that = this; let options = this.dataoptions; - console.log("0114 options mounted", options); let params = options.params ? JSON.parse(options.params) : {}; if (params.jobId) { that.currentJobInfo = JSON.parse(JSON.stringify(params)); @@ -179,7 +188,6 @@ export default { setTimeout(() => { that.IS_CREATOR = uni.getStorageSync("IS_CREATOR") == 1 ? true : false; that.updateInfo.interviewTimeStr = ""; - console.log("获取面试时间:", that.updateInfo.interviewTimeStr); // 设置默认时间 let hour = new Date().getHours(); if (hour < 20 && hour >= 6) { @@ -189,8 +197,6 @@ export default { } else if (hour < 6) { this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 6:00"; } - // that.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 06:00"; - that.$forceUpdate(); if (that.updateInfo.jobId) { that.setFormList(); @@ -250,7 +256,7 @@ export default { getJobDetail($data) { let that = this; that.G.Get( - that.api.job_personDetail + "/" + $data.leafCateId, + "/yishoudan/custom/job/detail/" + $data.leafCateId, { id: $data.leafCateId, }, @@ -269,7 +275,6 @@ export default { }, setFormList(policyStr) { let that = this; - // console.log("that.updateInfo", that.updateInfo); if (that.isFans == 2) { that.jobData = [ { @@ -380,13 +385,11 @@ export default { : null, ]; } - that.$forceUpdate(); }, handleClickIDcard(e) { this.info.idCard = e; }, - clickDesp(e) { this.updateInfo.desp = e.value; }, @@ -407,16 +410,10 @@ export default { this.updateInfo.interviewLng = e.lng; this.updateInfo.interviewAddress = e.address; this.jobData[1].value = this.updateInfo.interviewAddress; - // billForm.value.storeAddr = e.address; - console.log("this.updateInfo", this.updateInfo); - console.log("e", e); this.$forceUpdate(); }, changeAddress(e) { this.updateInfo.interviewAddress = e; - console.log("this.updateInfo", this.updateInfo); - console.log("e", e); - // this.info.address = e; this.$forceUpdate(); }, radioGroupChange(e) {}, @@ -432,14 +429,6 @@ export default { let that = this, params = {}, info = null; - // 如果第一个工友信息没有编辑, 则进行提示 - // if (!that.persenInfo[0].userName && $item === "") { - // uni.showToast({ - // title: "请先编辑第一个工友信息", - // icon: "none", - // }); - // return; - // } if ($item) { info = $item; params = { @@ -456,7 +445,6 @@ export default { index: $index, }; } - console.log("params", params); if (info) { uni.navigateTo({ url: "/root/home/editTownsman?" + that.G.objToStr(params), @@ -470,7 +458,6 @@ export default { handleClickMobile() {}, submitForm() { let that = this; - if (!that.agreeRadio) { uni.showToast({ icon: "none", @@ -503,8 +490,6 @@ export default { submitInfo.applyUserJson = JSON.stringify( that.persenInfo.map((item) => { return { - // interviewTime: dayjs(item.interviewTime).format("YYYY-MM-DD HH:mm"), - // receptionTime: item.receptionTime ? dayjs(item.receptionTime).format("YYYY-MM-DD HH:mm") : dayjs(item.interviewTime).format("YYYY-MM-DD HH:mm"), idCard: item.idCard, idCardImageUrl: item.idCardImageUrl, userName: item.userName, @@ -521,38 +506,17 @@ export default { }) .join(",") : "", - // desp: item.desp, - // policyIdx: item.policyIdx, - // pickerStr: item.pickerStr, }; }) ); - // let _upAgencyName = ''; - // if (that.detailRes.status == 0) { - // _upAgencyName = that.detailRes.fullName; - // } else if (that.detailRes.status == 1) { - // if (that.detailRes.providerNameAll) { - // _upAgencyName = `${that.detailRes.providerName}(${that.detailRes.providerNameAll})`; - // } else { - // _upAgencyName = that.detailRes.providerName; - // } - // } else { - // _upAgencyName = that.detailRes.userName; - // } - // submitInfo.upAgencyName = _upAgencyName ? _upAgencyName : ''; - console.log("submitInfo", submitInfo); that.G.Post("/yishoudan/common/order/addBatch", submitInfo, (res) => { - // uni.hideLoading(); uni.showToast({ icon: "success", title: "报名成功", duration: 2000, }); - // that.persenInfo = []; that.btnLoading = false; that.$refs.AiApplyRef.ressetAitext(); - - // that.$forceUpdate(); setTimeout(() => { uni.navigateTo({ url: "/root/home/applicationSuccess?jobId=" + that.updateInfo.jobId, @@ -562,10 +526,6 @@ export default { }, submitFormSub($item) { let that = this; - // uni.navigateTo({ - // url: "/root/home/applicationSuccess", - // }); - // return; let submitInfo = { ...that.updateInfo, ...$item, @@ -580,32 +540,22 @@ export default { uni.showLoading({ title: "提交中", }); - // submitInfo.sex = submitInfo.sex == "男" ? 1 : 2; if (submitInfo.imgs && submitInfo.imgs.length > 0) { submitInfo.imgs = submitInfo.imgs.join(","); } - that.G.Post(that.api.job_recordJob, submitInfo, (res) => { - // uni.hideLoading(); + that.G.Post('/assistant/apply/handler/add', submitInfo, (res) => { uni.showToast({ icon: "success", title: "报名成功", duration: 2000, }); - // that.persenInfo = []; - that.$refs.AiApplyRef.ressetAitext(); - // that.$forceUpdate(); setTimeout(() => { uni.navigateTo({ url: "/root/home/applicationSuccess", }); }, 1500); }); - // setTimeout(() => { - // uni.navigateTo({ - // url: "/root/home/applicationSuccess", - // }); - // }, 500); }, }, }; diff --git a/uni_modules/rh-ui/package.json b/uni_modules/rh-ui/package.json index b5ff2e9..592dfa4 100644 --- a/uni_modules/rh-ui/package.json +++ b/uni_modules/rh-ui/package.json @@ -1,7 +1,7 @@ { "id": "rh-ui", "displayName": "rh-ui", - "version": "1.0.917", + "version": "1.0.918", "description": "公司内部UI框架", "keywords": [ "ui框架" @@ -61,11 +61,11 @@ }, "nvue": "-", "android": { - "extVersion": "1.0.917", + "extVersion": "1.0.918", "minVersion": "19" }, "ios": { - "extVersion": "1.0.917", + "extVersion": "1.0.918", "minVersion": "12" }, "harmony": "-"