Merge branch 'master' of ssh://git.czcyedu.com:222/huoran/FE_occupationlab_client into master

UI_2022-02-10
yujialong 4 years ago
commit 381b0410a9
  1. 3
      src/components/common/Studentcommon/registration.vue
  2. 2
      src/components/page/PersonalCenter.vue
  3. 4
      src/store/index.js

@ -40,7 +40,7 @@ export default {
return {
systemId: this.$store.state.systemId ? this.$store.state.systemId : this.$config.systemId,
systemList: this.$config.systemList,
activeName: 'first',
activeName: this.$store.state.activeName ? this.$store.state.activeName : 'first',
userId: this.$store.state.userId,
tabs: {
first: '练习',
@ -65,6 +65,7 @@ export default {
},
tabChange(index){
this.activeName = index
this.$store.commit("activeNameData", { activeName : this.activeName})
},
}
};

@ -123,7 +123,7 @@
</div>
<div class="item">
<span>证件</span>
<input id="idnumber" class="idnumber" placeholder="请输入证件" type="text" v-model="personalInformation.idNumber"/>
<input onkeyup="value=value.replace(/[^\w\.\/]/ig,'')" id="idnumber" class="idnumber" placeholder="请输入证件" type="text" v-model="personalInformation.idNumber"/>
</div>
</div>
<div class="line">

@ -30,6 +30,7 @@ const store = new Vuex.Store({
systemId: '',
token: '',
dataTime: '',
activeName: 'first'
},
mutations:{
courseIdData(state,payload){
@ -97,6 +98,9 @@ const store = new Vuex.Store({
addProjectSystemIdData (state, payload) {
state.systemId = payload.systemId
},
activeNameData (state, payload) {
state.activeName = payload.activeName
},
}
});

Loading…
Cancel
Save