优化智慧就业内容,功能完善。剩登录对接
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import api1 from "@/apiB/user.js"
|
||||
import api from "@/apiB/user.js"
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -309,7 +309,7 @@
|
||||
},
|
||||
methods: {
|
||||
async getUserInfor(){
|
||||
const res = await api1.getUserBasisInfo();
|
||||
const res = await api.getUserBasisInfo();
|
||||
if (res.Result == 1) {
|
||||
const data = res.Data.data;
|
||||
this.specialtyName=data.SpecialtyName;
|
||||
@@ -375,7 +375,7 @@
|
||||
// smsType: 2
|
||||
// }
|
||||
const mobile = this.mobile.replace(/\s+/g, '')
|
||||
const res = await api1.querySendSmsCodeWithoutCode(mobile)
|
||||
const res = await api.querySendSmsCodeWithoutCode(mobile)
|
||||
if (res.Result !== 1) {
|
||||
uni.showToast({
|
||||
title: res.Message,
|
||||
@@ -436,7 +436,7 @@
|
||||
//Phone: this.mobile,
|
||||
//StartYear: this.startYear
|
||||
}
|
||||
const res = await api1.saveUserBasisInfo(mobileCode,data);
|
||||
const res = await api.saveUserBasisInfo(mobileCode,data);
|
||||
uni.hideLoading();
|
||||
if (res.Result == 1) {
|
||||
uni.navigateBack()
|
||||
|
||||
Reference in New Issue
Block a user