|
@@ -880,19 +880,38 @@ export default {
|
|
this.userInfo = JSON.parse(window.sessionStorage.userInfo);
|
|
this.userInfo = JSON.parse(window.sessionStorage.userInfo);
|
|
this.loginNoStr = this.userInfo.loginNoStr;
|
|
this.loginNoStr = this.userInfo.loginNoStr;
|
|
this.personInfo = this.userInfo.groupName.split("/");
|
|
this.personInfo = this.userInfo.groupName.split("/");
|
|
|
|
+ },
|
|
|
|
+ getRole(){
|
|
|
|
+ this.$http({
|
|
|
|
+ url:"/market/cMeetingDeclaration/getRoleByCode",
|
|
|
|
+ method: "post",
|
|
|
|
+ headers: {
|
|
|
|
+ "Content-Type": "application/json",
|
|
|
|
+ // page: '{"pageNo":"' + n + '","pageSize":"10"}'
|
|
|
|
+ },
|
|
|
|
+ data: {}
|
|
|
|
+ }).then(res => {
|
|
|
|
+ if(res.data.result == "0"){
|
|
|
|
+ this.isAllExport = true
|
|
|
|
+ }else{
|
|
|
|
+ this.isAllExport = false
|
|
|
|
+ }
|
|
|
|
+ });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.getList({}, 1);
|
|
this.getList({}, 1);
|
|
|
|
+
|
|
this.getUser();
|
|
this.getUser();
|
|
-
|
|
|
|
- this.menus.forEach(item=>{
|
|
|
|
- if(item.jspUrl == '/allExport'){
|
|
|
|
- this.isAllExport = true
|
|
|
|
- }else{
|
|
|
|
- this.isAllExport = false
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ this.getRole()
|
|
|
|
+ // this.menus.forEach(item=>{
|
|
|
|
+ // console.log(1);
|
|
|
|
+ // if(item.jspUrl == '/allExport'){
|
|
|
|
+ // this.isAllExport = true
|
|
|
|
+ // }else{
|
|
|
|
+ // this.isAllExport = false
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
},
|
|
},
|
|
created() {}
|
|
created() {}
|
|
};
|
|
};
|