diff --git a/pages/index/index.vue b/pages/index/index.vue index 2842c22..80c2b05 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -191,16 +191,16 @@ - + - + + --> { - 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({ diff --git a/pages/login/login.vue b/pages/login/login.vue index 41ad0f1..d844c69 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -1,170 +1,172 @@ - - - - - + + + + + \ No newline at end of file diff --git a/store/models/face.js b/store/models/face.js index eee7c33..c040ab7 100644 --- a/store/models/face.js +++ b/store/models/face.js @@ -1,32 +1,32 @@ -import { - getStore, - setStore -} from '@/untils/store.js' - -export default { - state: { - homeNavShow: getStore({ - name: 'homeNavShow' - }) !== false, - homeTitle: getStore({ - name: 'homeTitle' - }) || '德阳市智慧就业服务平台' - }, - actions: {}, - mutations: { - SET_HOME_TITLE: (state, status) => { - state.homeTitle = status - setStore({ - name: 'homeTitle', - content: state.homeTitle - }) - }, - SET_HOME_NAV_SHOW: (state, status) => { - state.homeNavShow = status - setStore({ - name: 'homeNavShow', - content: state.homeNavShow - }) - }, - } -} +import { + getStore, + setStore +} from '@/untils/store.js' + +export default { + state: { + homeNavShow: getStore({ + name: 'homeNavShow' + }) !== false, + homeTitle: getStore({ + name: 'homeTitle' + }) || '管陶县智慧就业服务平台' + }, + actions: {}, + mutations: { + SET_HOME_TITLE: (state, status) => { + state.homeTitle = status + setStore({ + name: 'homeTitle', + content: state.homeTitle + }) + }, + SET_HOME_NAV_SHOW: (state, status) => { + state.homeNavShow = status + setStore({ + name: 'homeNavShow', + content: state.homeNavShow + }) + }, + } +} \ No newline at end of file