|
@@ -908,6 +908,7 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ this.orgcodezs=getCookie("orgCode");
|
|
this.current_theme = window.top.localStorage.getItem("current_theme")
|
|
this.current_theme = window.top.localStorage.getItem("current_theme")
|
|
? window.top.localStorage.getItem("current_theme")
|
|
? window.top.localStorage.getItem("current_theme")
|
|
: "deepBlue_theme";
|
|
: "deepBlue_theme";
|
|
@@ -920,6 +921,7 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.styleControll = false;
|
|
this.styleControll = false;
|
|
}
|
|
}
|
|
|
|
+ console.log("获取到的orgCode+++++++++++++"+this.orgcodezs)
|
|
this.getinformation();
|
|
this.getinformation();
|
|
},
|
|
},
|
|
destroyed() {
|
|
destroyed() {
|
|
@@ -933,7 +935,6 @@ export default {
|
|
beforeCreate() {
|
|
beforeCreate() {
|
|
let userId = getCookie("userId");
|
|
let userId = getCookie("userId");
|
|
this.appId = getCookie("appId");
|
|
this.appId = getCookie("appId");
|
|
- this.orgcodezs=getCookie("orgCode");
|
|
|
|
let menuId = window.top.localStorage.getItem("activeMenu");
|
|
let menuId = window.top.localStorage.getItem("activeMenu");
|
|
let companyId = window.top.localStorage.getItem("companyId");
|
|
let companyId = window.top.localStorage.getItem("companyId");
|
|
},
|
|
},
|
|
@@ -2558,6 +2559,7 @@ export default {
|
|
this.socketshow=false;
|
|
this.socketshow=false;
|
|
},
|
|
},
|
|
getinformation(){
|
|
getinformation(){
|
|
|
|
+ console.log("获取到的orgCode----------------"+this.orgcodezs)
|
|
this.axios.post("/api/v1/ams/getNotice",{orgcodezs:this.orgcodezs}).then((res)=>{
|
|
this.axios.post("/api/v1/ams/getNotice",{orgcodezs:this.orgcodezs}).then((res)=>{
|
|
this.noticedata=res.data.data;
|
|
this.noticedata=res.data.data;
|
|
this.taskAllNum=res.data.data[0].taskAllNum
|
|
this.taskAllNum=res.data.data[0].taskAllNum
|