|
|
|
@ -450,7 +450,7 @@ |
|
|
|
|
<el-form-item label="" prop="mobile"> |
|
|
|
|
<div class="rowboxi"> |
|
|
|
|
<span class="rowboxis">*</span> |
|
|
|
|
<el-input v-model="formjj.mobile" placeholder="请输入您的手机号"></el-input> |
|
|
|
|
<el-input v-model="formjj.mobile" :disabled="inpDisable" placeholder="请输入您的手机号"></el-input> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="" prop="code" v-if="!token"> |
|
|
|
@ -481,7 +481,8 @@ import { |
|
|
|
|
getTeacherList, |
|
|
|
|
getSwiperImages, |
|
|
|
|
} from '@/api/train/index.js' |
|
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
|
import { mapGetters, mapState } from 'vuex' |
|
|
|
|
|
|
|
|
|
import { getCodeUserLogin } from '@/api/system/login' |
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
@ -524,6 +525,7 @@ export default { |
|
|
|
|
activeVal: 0, |
|
|
|
|
calltext: '', |
|
|
|
|
timetext: '', |
|
|
|
|
inpDisable:false, |
|
|
|
|
teacherShow:true, |
|
|
|
|
userId: '', |
|
|
|
|
isshowSubmitDialog: false, |
|
|
|
@ -1014,7 +1016,7 @@ export default { |
|
|
|
|
this.indexbanner = res.data |
|
|
|
|
console.log(this.indexbanner); |
|
|
|
|
const toggle = this.indexbanner.some(item=>{ |
|
|
|
|
return item.sort == '3' |
|
|
|
|
return item.classType == '3' |
|
|
|
|
}) |
|
|
|
|
this.teacherShow = toggle |
|
|
|
|
// console.log(toggle); |
|
|
|
@ -1237,6 +1239,7 @@ export default { |
|
|
|
|
this.$message.warning(res.data.msg) |
|
|
|
|
this.isshowSubmitDialog = false |
|
|
|
|
} |
|
|
|
|
this.inpDisable = false |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
console.log('error submit!!') |
|
|
|
@ -1314,6 +1317,8 @@ export default { |
|
|
|
|
coloeDialog1() { |
|
|
|
|
this.$refs['formjj1'].resetFields() |
|
|
|
|
this.isPcshow = false |
|
|
|
|
this.inpDisable = false |
|
|
|
|
console.log(this.inpDisable); |
|
|
|
|
}, |
|
|
|
|
// 评测报名 |
|
|
|
|
pcBaoming(item) { |
|
|
|
@ -1334,6 +1339,13 @@ export default { |
|
|
|
|
// this.isPcshow = true |
|
|
|
|
// this.classInfo = item |
|
|
|
|
// } |
|
|
|
|
const phone = this.userinform.phonenumber |
|
|
|
|
if(phone && this.token){ |
|
|
|
|
this.inpDisable = true |
|
|
|
|
this.formjj.mobile = phone |
|
|
|
|
}else{ |
|
|
|
|
this.formjj.mobile = "" |
|
|
|
|
} |
|
|
|
|
this.isPcshow = true |
|
|
|
|
if (item) { |
|
|
|
|
this.classInfo = item |
|
|
|
|