no message

cyl/job_im
jscyl13849007907 5 hours ago
parent 53a466df7d
commit 9196e7aead

@ -63,7 +63,8 @@
<view v-if="type == 2">
<view v-if="itm.recordStatus == 1 && item.time == ''"
class="g_fs_14 g_c_6 g_bg_f_5 g_pt_8 g_pb_8 g_pl_11 g_pr_11 g_radius_8"
>查看</view>
@click.stop="handleTongguo(itm,item)"
>通过</view>
<view v-if="itm.recordStatus == 1 && item.time == '三天前'" class="g_fs_14 g_c_9"></view>
<view v-if="itm.recordStatus == 2" class="g_fs_14 g_c_9"></view>
</view>
@ -165,6 +166,22 @@
that.loading = false;
})
},
handleTongguo($itm,$item){
let that = this;
that.G.Get(
that.api.bind_recordSubmit + "/" + $itm.id,
{
id: $itm.id,
},
(res) => {
uni.showToast({
title: "已通过验证",
success() {},
});
$itm.recordStatus = 2;
}
);
},
goPage($itm,$item){
let that = this;
console.log('当前行点击事件:',$itm)

@ -73,17 +73,14 @@
</view>
</view>
<view class="g_mt_12">
<view class="g_flex_row_center g_mb_12" style="color: rgba(0, 0, 0, 0.45)">
<u-checkbox-group @change="radioGroupChange" shape="circle">
<u-checkbox v-model="agreeRadio" name="agree" active-color="#00b666">
<view class="g_flex_row_center g_fs_12">
<view>我已阅读并同意</view>
<view @click.stop="goPage('/root/person/agreeUser')" style="color: #576b95">;">用户协议</view>
<view></view>
<view @click.stop="goPage('/root/person/agreePrive')" style="color: #576b95">;">隐私政策</view>
</view>
</u-checkbox>
</u-checkbox-group>
<view class="g_fs_12 g_c_9 g_flex_row_center g_mb_12" style="align-items: center;">
<radio-group class="dib">
<radio :checked="switchChecked" @click="switchChange" value="0" class="dib biggerSize" :color="activeColor" style="transform: scale(0.7)" />
</radio-group>
我已阅读并同意
<navigator url="/root/person/agreeUser" class="aLink" style="color: #576b95;">用户协议</navigator>
<navigator url="/root/person/agreePrive" class="aLink" style="color: #576b95;">隐私政策</navigator>
</view>
<view class="g_h_84"></view>
<g-panel-fixed>
@ -208,38 +205,39 @@ export default {
}, 1);
},
data() {
return {
detailRes: {},
IS_CREATOR: false,
jobType: 2,
currentJobInfo: {},
cdnBaseImg: this.G.store().cdnBaseImg,
nation: nationlist.map((item, index) => {
return item.name;
}),
nationIndex: 0,
userTel: "",
info: {
name: "",
sex: "男",
age: "",
nation: "",
idCard: "",
address: "",
},
updateInfo: {
jobId: 0,
jobName: "请选择报名职位",
desp: "",
interviewTimeStr: "",
},
persenInfo: [],
agreeRadio: ["agree"],
jobData: [],
zhengceTextList: [],
btnLoading: false,
};
},
return {
activeColor:getApp().globalData.themeColor,
detailRes: {},
IS_CREATOR: false,
jobType: 2,
currentJobInfo: {},
cdnBaseImg: this.G.store().cdnBaseImg,
nation: nationlist.map((item, index) => {
return item.name;
}),
nationIndex: 0,
userTel: "",
info: {
name: "",
sex: "男",
age: "",
nation: "",
idCard: "",
address: "",
},
updateInfo: {
jobId: 0,
jobName: "请选择报名职位",
desp: "",
interviewTimeStr: "",
},
persenInfo: [],
switchChecked: false,
jobData: [],
zhengceTextList: [],
btnLoading: false,
};
},
onShow() {
let that = this;
that.pageSpeed = -1;
@ -351,7 +349,9 @@ export default {
// this.info.address = e;
this.$forceUpdate();
},
radioGroupChange(e) {},
switchChange() {
this.switchChecked = !this.switchChecked;
},
goReturn() {
uni.navigateBack();
},
@ -402,10 +402,10 @@ export default {
handleClickMobile() {},
submitForm() {
let that = this;
if (!that.agreeRadio) {
if (!that.switchChecked) {
uni.showToast({
icon: "none",
title: "请阅读协议",
title: "请先同意用户及隐私协议",
});
return false;
}
@ -576,5 +576,18 @@ export default {
.text-wrap {
white-space: pre-wrap;
}
.biggerSize {
position: relative;
}
.biggerSize::after {
content: "";
width: 80px;
height: 40px;
position: absolute;
left: 50%;
top: 100%;
z-index: 99;
transform: translate(-50%, -50%);
}
}
</style>

Loading…
Cancel
Save