flat: 岗位问题
This commit is contained in:
@@ -183,20 +183,7 @@
|
|||||||
// this.getPolicy()
|
// this.getPolicy()
|
||||||
},
|
},
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
switch (this.activeTab) {
|
this.download();
|
||||||
case 0:
|
|
||||||
this.getNewList();
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
this.getNearList();
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
this.getPolicy();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
this.getNewList();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.$store.state.user.token) {
|
if (this.$store.state.user.token) {
|
||||||
this.$store.dispatch('refreshAuthState').then((e) => {
|
this.$store.dispatch('refreshAuthState').then((e) => {
|
||||||
@@ -295,6 +282,7 @@
|
|||||||
changeTab: function(e) {
|
changeTab: function(e) {
|
||||||
this.isSearch = false;
|
this.isSearch = false;
|
||||||
this.activeTab = e;
|
this.activeTab = e;
|
||||||
|
this.download();
|
||||||
},
|
},
|
||||||
|
|
||||||
goPolicyInfo(data) {
|
goPolicyInfo(data) {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user