竞赛代码调整

This commit is contained in:
joylink_cuiweidong 2020-05-25 18:50:38 +08:00
parent 0967316106
commit c667b7f980

View File

@ -72,10 +72,10 @@
<div style="width: 100%;margin-top: 25px;">
<div class="apply_box_title">
您的报名信息如下:<br>姓名{{ formModel.name }}
<br>公司{{ formModel.company }}
<br>公司{{ formModel.organization }}
<br>部门{{ formModel.department }}
<br>职位{{ formModel.job }}
<br>电话{{ formModel.phone.replace(/^(\d{3})\d{4}(\d+)/,"$1****$2") }}
<br>职位{{ formModel.position }}
<br>电话{{ formModel.mobile.replace(/^(\d{3})\d{4}(\d+)/,"$1****$2") }}
</div>
</div>
</div>
@ -91,8 +91,7 @@ import md5 from 'js-md5';
import Cookies from 'js-cookie';
import QrcodeVue from 'qrcode.vue';
import { getUserinfoMobileCode } from '@/api/management/user';
import { postSignUp } from '@/api/competition';
import { getIsSignUp } from '@/api/competition';
import { postSignUp, getRaceUserById } from '@/api/competition';
import applyAlready from '@/assets/applyAlready.png';
import SAFS from '@/assets/SAFS.png';
@ -205,9 +204,10 @@ export default {
if (this.checkLogin) {
this.clearTimer(this.checkLogin);
}
getIsSignUp(this.$route.query.raceId).then(res => {
getRaceUserById(this.$route.query.raceId).then(res => {
if (res.data) {
//
this.formModel = res.data;
this.applyFlag = false;
this.flag = false;
}