|
@@ -107,8 +107,12 @@
|
|
|
this.getLookUpList('TASK_STATUS','vuex_taskStatus')
|
|
|
},
|
|
|
onShow() {
|
|
|
- this.getBanner('HOME_TOP')
|
|
|
- this.gettoDoData()
|
|
|
+ if(this.$hasPermissions('M_homeBanner_mobile')){
|
|
|
+ this.getBanner('HOME_TOP')
|
|
|
+ }
|
|
|
+ if(this.$hasPermissions('M_homeTodoList_mobile')){
|
|
|
+ this.gettoDoData()
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
// 或某一项字典列表,参数code
|