no message

cyl/job_im
jscyl13849007907 1 day ago
parent aacd34c7d4
commit d2d51b9db0

@ -715,6 +715,12 @@
"navigationBarTitleText": "通过代理申请" "navigationBarTitleText": "通过代理申请"
} }
}, },
{
"path": "viewim",
"style": {
"navigationBarTitleText": "通过代理申请"
}
},
// { // {
// "path": "myMain", // "path": "myMain",
// "style": { // "style": {

@ -0,0 +1,112 @@
<template>
<view class="p-root-bind-view g_w_all g_h_all g_bg_f_5 g_kuaishou">
<view class="g_h_10"></view>
<g-panel-card-info
:info="{
avatar: info.logo || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
title: info.agencyName,
num: '已发布职位' + info.jobNum,
}"
:isShowMore="type == 2 && title != '三天前' && status != 1 ? 1 : 0"
/>
<view class="g_mt_10 g_bg_f g_p_16 g_ml_10 g_mr_10 g_radius_8 g_flex_row_start">
<view class="g_fs_16 g_c_3" style="margin-right: 14px;">来源</view>
<view class="g_fs_16 g_c_9 g_ml_28">{{ info.messageSource || '-' }}</view>
</view>
<view class="g_flex_row_center g_mt_32">
<rh-button primaryColor='#00b666' btnText="通过" type="primary" @clickBtn="handleSubmit" />
</view>
</view>
</template>
<script>
export default {
onReady() {
this.G.setNavStyle();
},
onShareAppMessage() {
return this.G.shareFun();
},
data() {
return {
id: 0,
type: 0,
info: {
logo: "",
agencyName: "",
jobNum: 0,
agencyId: 0,
form: "-",
remark: "-",
},
status: 0,
title: "",
};
},
onLoad(option) {
this.id = option.id;
this.type = option.type;
this.status = option.status;
this.title = option.time;
this.getList();
},
methods: {
getList() {
let that = this;
that.G.Get(
that.api.bind_recordDetail + "/" + that.id,
{
id: that.id,
},
(res) => {
console.log("获取详情:", res);
that.info = res;
}
);
},
handleSubmit() {
let that = this;
uni.showLoading({
title: "正在处理",
});
setTimeout(() => {
uni.showLoading({
title: "已发送",
});
uni.hideToast();
setTimeout(() => {
that.G.Get(
that.api.bind_recordSubmit + "/" + that.id,
{
id: that.id,
},
(res) => {
uni.showToast({
title: "已通过验证",
success() {},
});
let params = {
id: that.info.agencyId,
type: that.type,
isShowMore: false,
isShowJob: false,
};
if (res == 1) {
//
params.isShowMore = true;
params.isShowJob = true;
} else {
//
params.isShowMore = true;
params.isShowJob = false;
}
}
);
}, 300);
}, 500);
},
},
};
</script>
<style lang="scss"></style>
Loading…
Cancel
Save