|
|
@@ -315,14 +315,11 @@ export default {
|
|
|
this.projectPanl = res.data
|
|
|
},*/
|
|
|
handleCommand(command){
|
|
|
- console.log("输出command")
|
|
|
- console.log(command)
|
|
|
this.tabName = command.title
|
|
|
this.tabIndex = command.name
|
|
|
this.queryData(command.name)
|
|
|
},
|
|
|
queryData(id){
|
|
|
- console.log("执行")
|
|
|
this.$refs['basicLayout'].param.content.type = id
|
|
|
this.$refs['basicLayout'].param.content.isExport = false
|
|
|
this.$refs['basicLayout'].param.content.nocache = true
|
|
|
@@ -330,8 +327,6 @@ export default {
|
|
|
this.$refs['basicLayout'].listData()
|
|
|
},
|
|
|
selectChange () {
|
|
|
- console.log(this.projectType)
|
|
|
- console.log(this.projectLead)
|
|
|
this.tabIndex = this.tabName
|
|
|
if (this.dateSelect !== '' && this.dateSelect !== null){
|
|
|
this.selectParam.startdate = this.dateSelect[0]
|
|
|
@@ -351,15 +346,12 @@ export default {
|
|
|
"content": {
|
|
|
}
|
|
|
})
|
|
|
- console.log(res.data);
|
|
|
|
|
|
this.userInfo = {
|
|
|
isAuth : res.data.hr.isleader,
|
|
|
userid: res.data.hr.userid
|
|
|
}
|
|
|
- console.log(this.userInfo,'user')
|
|
|
window.sessionStorage.setItem('userInfo',JSON.stringify(this.userInfo))
|
|
|
- console.log(JSON.parse(window.sessionStorage.getItem('userInfo')));
|
|
|
|
|
|
},
|
|
|
/*标签列表*/
|