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.9162026-01-14

@ -11,10 +11,10 @@
<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="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 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>
</div>

@ -43,10 +43,10 @@
</view>
</view>
<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-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>
@ -84,18 +84,23 @@
</u-checkbox-group>
</view>
<view class="g_h_84"></view>
<g-panel-fixed>
<g-panel-fixed v-if="useform == 'root'">
<slot>
<view class="g_flex_row_between g_pl_16 g_pr_16" style="z-index: 99">
<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 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>
</view>
</slot>
</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>
@ -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);
},
},
};

@ -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": "-"

Loading…
Cancel
Save