flat:登录调用顺序
This commit is contained in:
@@ -191,16 +191,16 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="info_market">
|
||||
<!-- <view class="info_market">
|
||||
<view class="market_top">
|
||||
<view class="top_log"></view>
|
||||
<view class="next_market" @click="navTo('/pages/market/market')">去市场</view>
|
||||
</view>
|
||||
<!-- <view class="market_bottom">
|
||||
<view class="market_bottom">
|
||||
<view>了解市场<u-icon name="arrow-right" color="#666666" size="13"></u-icon></view>
|
||||
<view>我要咨询<u-icon name="arrow-right" color="#666666" size="13"></u-icon></view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="latestMission">
|
||||
<view class="cardTips"
|
||||
@@ -289,18 +289,11 @@
|
||||
policyContentList: [],
|
||||
policyType: 1,
|
||||
swiperType: 1,
|
||||
isResume: true,
|
||||
};
|
||||
},
|
||||
onLoad: function(options) {
|
||||
myResume().then(res => {
|
||||
const data = res.data.data
|
||||
if (!(data.education && data.telephone && data.wage && data.workplace)) {
|
||||
this.goures()
|
||||
this.$api.sleep(1000).then(() => {
|
||||
this.$api.msg('请输入基本信息')
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
},
|
||||
onShow: function() {
|
||||
if (!this.$store.state.user.token) {
|
||||
@@ -319,6 +312,18 @@
|
||||
this.download()
|
||||
this.getSwiperList()
|
||||
this.getPolicy()
|
||||
if (this.isResume) {
|
||||
this.isResume = false
|
||||
myResume().then(res => {
|
||||
const data = res.data.data
|
||||
if (!(data.education && data.telephone && data.wage && data.workplace)) {
|
||||
this.goures()
|
||||
this.$api.sleep(1000).then(() => {
|
||||
this.$api.msg('请输入基本信息')
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
onReady() {
|
||||
uni.setNavigationBarTitle({
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
</view> -->
|
||||
<!-- #endif -->
|
||||
<jl-input type="text" v-model="phone" placeholder="请输入手机号" @confirm="login"></jl-input>
|
||||
<jl-input type="text" v-model="password" placeholder="请输入登录密码" @confirm="login" showPassword clearable></jl-input>
|
||||
<jl-input type="text" v-model="password" placeholder="请输入登录密码" @confirm="login" showPassword
|
||||
clearable></jl-input>
|
||||
<!-- <code-input ref="code" v-model="code" :getCode="getCaptcha" @key-change="keyChange" @confirm="login"></code-input> -->
|
||||
<view v-if="loading" class="btn nocheck" loading="true"></view>
|
||||
<view v-else-if="validate" class="btn" @click="login">立即登录</view>
|
||||
@@ -105,7 +106,8 @@
|
||||
}).catch((err) => {
|
||||
this.loading = false
|
||||
// this.$refs.code.refushCode()
|
||||
location.href = "https://dy12333.org.cn/h5/"
|
||||
// location.href = "https://dy12333.org.cn/h5/"
|
||||
this.$api.msg('登录失败')
|
||||
});
|
||||
// }
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ export default {
|
||||
}) !== false,
|
||||
homeTitle: getStore({
|
||||
name: 'homeTitle'
|
||||
}) || '德阳市智慧就业服务平台'
|
||||
}) || '管陶县智慧就业服务平台'
|
||||
},
|
||||
actions: {},
|
||||
mutations: {
|
||||
|
||||
Reference in New Issue
Block a user