no message

cyl/master-apply
jscyl13849007907 2 months ago
parent 820d843430
commit 9a716b9e9e

@ -1,3 +1,5 @@
## 1.0.9182026-01-15
迭代
## 1.0.9172026-01-14 ## 1.0.9172026-01-14
迭代 迭代
## 1.0.9162026-01-14 ## 1.0.9162026-01-14

@ -11,10 +11,10 @@
<view class="g_flex_row_end flex_center"> <view class="g_flex_row_end flex_center">
<view class="iconfont icon-jia1 g_c_9 g_mr_8 g_fs_20 g_position_rela biggerSize" @click="chooseImgShow = true"></view> <view class="iconfont icon-jia1 g_c_9 g_mr_8 g_fs_20 g_position_rela biggerSize" @click="chooseImgShow = true"></view>
<view class="g_mr_8 g_w_72 g_fw_600"> <view class="g_mr_8 g_w_72 g_fw_600">
<rh-button primaryColor='#00b666' size="small_auto" type="default" height="24" :fontSize="12" @clickBtn="getClipboard" :btnText="(aitext ? '清空' : '粘贴') + '内容'"></rh-button> <rh-button size="small_auto" type="default" height="24" :fontSize="12" @clickBtn="getClipboard" :btnText="(aitext ? '清空' : '粘贴') + '内容'"></rh-button>
</view> </view>
<view class="g_w_72 g_fw_600"> <view class="g_w_72 g_fw_600">
<rh-button primaryColor='#00b666' size="small_auto" gradual="linear-gradient(-130deg, #5c6cf7, #9963f9)" icon="icon-aitubiao" type="gradual" height="24" :fontSize="12" btnText="AI识别" @clickBtn="getCoze"></rh-button> <rh-button size="small_auto" gradual="linear-gradient(-130deg, #5c6cf7, #9963f9)" icon="icon-aitubiao" type="gradual" height="24" :fontSize="12" btnText="AI识别" @clickBtn="getCoze"></rh-button>
</view> </view>
</view> </view>
</div> </div>

@ -43,10 +43,10 @@
</view> </view>
</view> </view>
<view class="g_pb_17 g_flex_row_start"> <view class="g_pb_17 g_flex_row_start">
<g-panel-image :url="item.idCardImageUrl" v-if="item.idCardImageUrl" radius="4" size="112" @clickItem="handleClickIDcard" /> <rh-image :url="item.idCardImageUrl" v-if="item.idCardImageUrl" radius="4" size="112" @clickItem="handleClickIDcard" />
<view v-if="item.imgs" class="g_flex_row_start"> <view v-if="item.imgs" class="g_flex_row_start">
<view v-for="i in item.imgs" class="g_ml_10"> <view v-for="i in item.imgs" class="g_ml_10">
<g-panel-image :url="i" radius="4" size="112" @clickItem="handleClickIDcard" /> <rh-image :url="i" radius="4" size="112" @clickItem="handleClickIDcard" />
</view> </view>
</view> </view>
</view> </view>
@ -84,18 +84,23 @@
</u-checkbox-group> </u-checkbox-group>
</view> </view>
<view class="g_h_84"></view> <view class="g_h_84"></view>
<g-panel-fixed> <g-panel-fixed v-if="useform == 'root'">
<slot> <slot>
<view class="g_flex_row_between g_pl_16 g_pr_16" style="z-index: 99"> <view class="g_flex_row_between g_pl_16 g_pr_16" style="z-index: 99">
<div class="" style="width:82px"> <div class="" style="width:82px">
<rh-button primaryColor="#00b666" btnText="取消" size="small_auto" type="default" @clickBtn="goReturn" /> <rh-button btnText="取消" size="small_auto" type="default" @clickBtn="goReturn" />
</div> </div>
<div class="g_flex_1 g_flex_row_end"> <div class="g_flex_1 g_flex_row_end">
<rh-button primaryColor="#00b666" btnText="立即报名" type="primary" :loading="btnLoading" @clickBtn="submitForm" /> <rh-button btnText="立即报名" type="primary" :loading="btnLoading" @clickBtn="submitForm" />
</div> </div>
</view> </view>
</slot> </slot>
</g-panel-fixed> </g-panel-fixed>
<view v-if="useform == 'pages'">
<view class="g_flex_row_center g_pl_16 g_pr_16" style="z-index: 99">
<rh-button btnText="立即报名" type="primary" :loading="btnLoading" @clickBtn="submitForm" />
</view>
</view>
</view> </view>
</view> </view>
</view> </view>
@ -108,7 +113,6 @@ export default {
this.G.setNavStyle(); this.G.setNavStyle();
let that = this; let that = this;
uni.$on("getTownsman", (data) => { uni.$on("getTownsman", (data) => {
console.log("getTownsman", data);
// //
if (data.info.idCard && (data.info.idCard.length == 15 || data.info.idCard.length == 18)) { if (data.info.idCard && (data.info.idCard.length == 15 || data.info.idCard.length == 18)) {
let infoByIDcard = this.G.getInfoByIDcard(data.info.idCard); let infoByIDcard = this.G.getInfoByIDcard(data.info.idCard);
@ -128,7 +132,6 @@ export default {
index: that.persenInfo.length, index: that.persenInfo.length,
}; };
} }
console.log("that.persenInfo", that.persenInfo);
that.$forceUpdate(); that.$forceUpdate();
}); });
uni.$on("changeJobInfo", function (data) { uni.$on("changeJobInfo", function (data) {
@ -153,13 +156,19 @@ export default {
}, },
props:{ props:{
dataoptions:{ dataoptions:{
default:{} default:()=>{
return {}
}
},
useform:{
default:()=>{
return 'root'
}
} }
}, },
mounted() { mounted() {
let that = this; let that = this;
let options = this.dataoptions; let options = this.dataoptions;
console.log("0114 options mounted", options);
let params = options.params ? JSON.parse(options.params) : {}; let params = options.params ? JSON.parse(options.params) : {};
if (params.jobId) { if (params.jobId) {
that.currentJobInfo = JSON.parse(JSON.stringify(params)); that.currentJobInfo = JSON.parse(JSON.stringify(params));
@ -179,7 +188,6 @@ export default {
setTimeout(() => { setTimeout(() => {
that.IS_CREATOR = uni.getStorageSync("IS_CREATOR") == 1 ? true : false; that.IS_CREATOR = uni.getStorageSync("IS_CREATOR") == 1 ? true : false;
that.updateInfo.interviewTimeStr = ""; that.updateInfo.interviewTimeStr = "";
console.log("获取面试时间:", that.updateInfo.interviewTimeStr);
// //
let hour = new Date().getHours(); let hour = new Date().getHours();
if (hour < 20 && hour >= 6) { if (hour < 20 && hour >= 6) {
@ -189,8 +197,6 @@ export default {
} else if (hour < 6) { } else if (hour < 6) {
this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 6:00"; this.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 6:00";
} }
// that.updateInfo.interviewTimeStr = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 06:00";
that.$forceUpdate(); that.$forceUpdate();
if (that.updateInfo.jobId) { if (that.updateInfo.jobId) {
that.setFormList(); that.setFormList();
@ -250,7 +256,7 @@ export default {
getJobDetail($data) { getJobDetail($data) {
let that = this; let that = this;
that.G.Get( that.G.Get(
that.api.job_personDetail + "/" + $data.leafCateId, "/yishoudan/custom/job/detail/" + $data.leafCateId,
{ {
id: $data.leafCateId, id: $data.leafCateId,
}, },
@ -269,7 +275,6 @@ export default {
}, },
setFormList(policyStr) { setFormList(policyStr) {
let that = this; let that = this;
// console.log("that.updateInfo", that.updateInfo);
if (that.isFans == 2) { if (that.isFans == 2) {
that.jobData = [ that.jobData = [
{ {
@ -380,13 +385,11 @@ export default {
: null, : null,
]; ];
} }
that.$forceUpdate(); that.$forceUpdate();
}, },
handleClickIDcard(e) { handleClickIDcard(e) {
this.info.idCard = e; this.info.idCard = e;
}, },
clickDesp(e) { clickDesp(e) {
this.updateInfo.desp = e.value; this.updateInfo.desp = e.value;
}, },
@ -407,16 +410,10 @@ export default {
this.updateInfo.interviewLng = e.lng; this.updateInfo.interviewLng = e.lng;
this.updateInfo.interviewAddress = e.address; this.updateInfo.interviewAddress = e.address;
this.jobData[1].value = this.updateInfo.interviewAddress; this.jobData[1].value = this.updateInfo.interviewAddress;
// billForm.value.storeAddr = e.address;
console.log("this.updateInfo", this.updateInfo);
console.log("e", e);
this.$forceUpdate(); this.$forceUpdate();
}, },
changeAddress(e) { changeAddress(e) {
this.updateInfo.interviewAddress = e; this.updateInfo.interviewAddress = e;
console.log("this.updateInfo", this.updateInfo);
console.log("e", e);
// this.info.address = e;
this.$forceUpdate(); this.$forceUpdate();
}, },
radioGroupChange(e) {}, radioGroupChange(e) {},
@ -432,14 +429,6 @@ export default {
let that = this, let that = this,
params = {}, params = {},
info = null; info = null;
// ,
// if (!that.persenInfo[0].userName && $item === "") {
// uni.showToast({
// title: "",
// icon: "none",
// });
// return;
// }
if ($item) { if ($item) {
info = $item; info = $item;
params = { params = {
@ -456,7 +445,6 @@ export default {
index: $index, index: $index,
}; };
} }
console.log("params", params);
if (info) { if (info) {
uni.navigateTo({ uni.navigateTo({
url: "/root/home/editTownsman?" + that.G.objToStr(params), url: "/root/home/editTownsman?" + that.G.objToStr(params),
@ -470,7 +458,6 @@ export default {
handleClickMobile() {}, handleClickMobile() {},
submitForm() { submitForm() {
let that = this; let that = this;
if (!that.agreeRadio) { if (!that.agreeRadio) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
@ -503,8 +490,6 @@ export default {
submitInfo.applyUserJson = JSON.stringify( submitInfo.applyUserJson = JSON.stringify(
that.persenInfo.map((item) => { that.persenInfo.map((item) => {
return { 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, idCard: item.idCard,
idCardImageUrl: item.idCardImageUrl, idCardImageUrl: item.idCardImageUrl,
userName: item.userName, userName: item.userName,
@ -521,38 +506,17 @@ export default {
}) })
.join(",") .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) => { that.G.Post("/yishoudan/common/order/addBatch", submitInfo, (res) => {
// uni.hideLoading();
uni.showToast({ uni.showToast({
icon: "success", icon: "success",
title: "报名成功", title: "报名成功",
duration: 2000, duration: 2000,
}); });
// that.persenInfo = [];
that.btnLoading = false; that.btnLoading = false;
that.$refs.AiApplyRef.ressetAitext(); that.$refs.AiApplyRef.ressetAitext();
// that.$forceUpdate();
setTimeout(() => { setTimeout(() => {
uni.navigateTo({ uni.navigateTo({
url: "/root/home/applicationSuccess?jobId=" + that.updateInfo.jobId, url: "/root/home/applicationSuccess?jobId=" + that.updateInfo.jobId,
@ -562,10 +526,6 @@ export default {
}, },
submitFormSub($item) { submitFormSub($item) {
let that = this; let that = this;
// uni.navigateTo({
// url: "/root/home/applicationSuccess",
// });
// return;
let submitInfo = { let submitInfo = {
...that.updateInfo, ...that.updateInfo,
...$item, ...$item,
@ -580,32 +540,22 @@ export default {
uni.showLoading({ uni.showLoading({
title: "提交中", title: "提交中",
}); });
// submitInfo.sex = submitInfo.sex == "" ? 1 : 2;
if (submitInfo.imgs && submitInfo.imgs.length > 0) { if (submitInfo.imgs && submitInfo.imgs.length > 0) {
submitInfo.imgs = submitInfo.imgs.join(","); submitInfo.imgs = submitInfo.imgs.join(",");
} }
that.G.Post(that.api.job_recordJob, submitInfo, (res) => { that.G.Post('/assistant/apply/handler/add', submitInfo, (res) => {
// uni.hideLoading();
uni.showToast({ uni.showToast({
icon: "success", icon: "success",
title: "报名成功", title: "报名成功",
duration: 2000, duration: 2000,
}); });
// that.persenInfo = [];
that.$refs.AiApplyRef.ressetAitext(); that.$refs.AiApplyRef.ressetAitext();
// that.$forceUpdate();
setTimeout(() => { setTimeout(() => {
uni.navigateTo({ uni.navigateTo({
url: "/root/home/applicationSuccess", url: "/root/home/applicationSuccess",
}); });
}, 1500); }, 1500);
}); });
// setTimeout(() => {
// uni.navigateTo({
// url: "/root/home/applicationSuccess",
// });
// }, 500);
}, },
}, },
}; };

@ -1,7 +1,7 @@
{ {
"id": "rh-ui", "id": "rh-ui",
"displayName": "rh-ui", "displayName": "rh-ui",
"version": "1.0.917", "version": "1.0.918",
"description": "公司内部UI框架", "description": "公司内部UI框架",
"keywords": [ "keywords": [
"ui框架" "ui框架"
@ -61,11 +61,11 @@
}, },
"nvue": "-", "nvue": "-",
"android": { "android": {
"extVersion": "1.0.917", "extVersion": "1.0.918",
"minVersion": "19" "minVersion": "19"
}, },
"ios": { "ios": {
"extVersion": "1.0.917", "extVersion": "1.0.918",
"minVersion": "12" "minVersion": "12"
}, },
"harmony": "-" "harmony": "-"

Loading…
Cancel
Save