|
|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="m-info" >
|
|
|
|
|
<div class="g_flex_row_center">
|
|
|
|
|
<img :src="info.logo" alt="" style="width: 64px; height: 64px;border-radius: 50%;" />
|
|
|
|
|
<img :src="info.logo || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg'" alt="" style="width: 64px; height: 64px;border-radius: 50%;" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_row_center" style="margin:6px 0 4px;color:#333;font-size: 18px;">
|
|
|
|
|
{{ info.ffullName }}
|
|
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
<div style="color:#999;font-size: 12px;padding-left: 10px;margin-bottom: 4px;">申请人基本信息:</div>
|
|
|
|
|
<div class="apply-item g_flex_row_between" style="height: 56px;background-color: #fff;border-radius: 8px;">
|
|
|
|
|
<div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;width: 100%;">
|
|
|
|
|
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#333;font-size: 17px;padding-left: 5px;">
|
|
|
|
|
<div class="g_flex_none g_h_all g_flex_column_center labes" style="color:#333;font-size: 17px;padding-left: 5px;position: relative;">
|
|
|
|
|
申请人
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
|
|
|
|
|
@ -46,26 +46,26 @@
|
|
|
|
|
<div style="margin: 10px auto 0;width: calc(100% - 20px);">
|
|
|
|
|
<div class="apply-item" style="height: 56px;background-color: #fff;border-radius: 8px 8px 0 0;padding: 0 5px;">
|
|
|
|
|
<div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;">
|
|
|
|
|
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#333;font-size: 17px;padding-left: 5px;">
|
|
|
|
|
<div class="g_flex_none g_h_all g_flex_column_center labes" style="color:#333;font-size: 17px;padding-left: 5px;">
|
|
|
|
|
企业logo
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
|
|
|
|
|
<div class="g_flex_row_end" style="width: 100%;" v-if="info.recordStatus != 1">
|
|
|
|
|
<button class="avatar-wrapper-btn g_flex_row_end" open-type="chooseAvatar" @chooseavatar="onChooseAvatar"
|
|
|
|
|
style="width:100%;height:28px;position: relative;"
|
|
|
|
|
style="width:100%;height:40px;position: relative;"
|
|
|
|
|
>
|
|
|
|
|
<img :src="newForm.wxavatar" alt="" style="width: 28px; height: 28px; border-radius: 50%;position: absolute;right: 0;top:50%;transform: translateY(-50%)" />
|
|
|
|
|
<img :src="newForm.wxavatar" alt="" style="width: 40px; height: 40px; border-radius: 50%;position: absolute;right: 0;top:50%;transform: translateY(-50%)" />
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_row_end" style="width: 100%;" v-if="info.recordStatus == 1">
|
|
|
|
|
<img :src="newForm.wxavatar" alt="" style="width: 28px; height: 28px; border-radius: 50%;" />
|
|
|
|
|
<img :src="newForm.wxavatar" alt="" style="width: 40px; height: 40px; border-radius: 50%;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="apply-item" style="height: 56px;background-color: #fff;padding: 0 5px;">
|
|
|
|
|
<div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;">
|
|
|
|
|
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#333;font-size: 17px;padding-left: 5px;">
|
|
|
|
|
<div class="g_flex_none g_h_all g_flex_column_center labes" style="color:#333;font-size: 17px;padding-left: 5px;">
|
|
|
|
|
企业简称
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
|
|
|
|
|
@ -84,7 +84,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="apply-item g_flex_row_between" style="height: 56px;background-color: #fff;border-radius: 0 0 8px 8px;padding: 0 5px;">
|
|
|
|
|
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#333;font-size: 17px;padding-left: 5px;">
|
|
|
|
|
<div class="g_flex_none g_h_all g_flex_column_center labes" style="color:#333;font-size: 17px;padding-left: 5px;">
|
|
|
|
|
联系电话
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
|
|
|
|
|
@ -167,7 +167,7 @@ export default {
|
|
|
|
|
newForm:{
|
|
|
|
|
wxname:'',
|
|
|
|
|
wxavatar:'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
|
|
|
|
|
companyName: (uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyName) || '',
|
|
|
|
|
companyName: (uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").fullName) || '',
|
|
|
|
|
phone: "",
|
|
|
|
|
remark:''
|
|
|
|
|
},
|
|
|
|
|
@ -245,13 +245,13 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
onChooseAvatar(e) {
|
|
|
|
|
let that = this;
|
|
|
|
|
console.log("onChooseAvatar", e);
|
|
|
|
|
if (this.chooseAvatarLoading) return;
|
|
|
|
|
this.chooseAvatarLoading = true;
|
|
|
|
|
this.newForm.wxavatar = e.detail.avatarUrl;
|
|
|
|
|
// 重置状态,防止快速重复点击导致的冲突
|
|
|
|
|
that.chooseAvatarLoading = true;
|
|
|
|
|
that.newForm.wxavatar = e.detail.avatarUrl;
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.chooseAvatarLoading = false;
|
|
|
|
|
that.chooseAvatarLoading = false;
|
|
|
|
|
}, 1000);
|
|
|
|
|
},
|
|
|
|
|
init() {
|
|
|
|
|
@ -333,7 +333,6 @@ export default {
|
|
|
|
|
tel: that.newForm.phone,
|
|
|
|
|
remark: that.newForm.remark,
|
|
|
|
|
};
|
|
|
|
|
console.log("提交参数:", params);
|
|
|
|
|
// 按下
|
|
|
|
|
that.btnSpeed = 0;
|
|
|
|
|
// 请求中
|
|
|
|
|
@ -342,8 +341,10 @@ export default {
|
|
|
|
|
title: "正在发送",
|
|
|
|
|
});
|
|
|
|
|
that.btnloading = true;
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
that.G.uploadFile(that.newForm.wxavatar, (res) => {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
params.avatar = res;
|
|
|
|
|
console.log("提交参数:", params);
|
|
|
|
|
that.G.Get(
|
|
|
|
|
that.api.bind_subscribeSubmit + "/" + that.info.agencyId,
|
|
|
|
|
params,
|
|
|
|
|
@ -360,7 +361,7 @@ export default {
|
|
|
|
|
}, 1500);
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
}, 500);
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
goPage($path) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
@ -409,4 +410,16 @@ export default {
|
|
|
|
|
line-height: 42px;
|
|
|
|
|
border-radius: 25px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.labes{
|
|
|
|
|
position: relative;
|
|
|
|
|
&::after{
|
|
|
|
|
content: "*";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 14px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: red;
|
|
|
|
|
right: -6px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|