|
|
@@ -960,18 +960,29 @@ export default { |
|
|
|
...mapGetters(["permissions"]), |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.sta_men_downLoad = this.permissions["sta_men_downLoad"]; |
|
|
|
|
|
|
|
if (this.$route.query.types) { |
|
|
|
let arr = this.$route.query.types.split(","); |
|
|
|
this[arr[0]] = arr[1]; |
|
|
|
console.log(arr); |
|
|
|
} |
|
|
|
this.sta_men_downLoad = this.permissions["sta_men_downLoad"]; |
|
|
|
|
|
|
|
if (this.$route.query.date) { |
|
|
|
let time = this.$route.query.date.split(","); |
|
|
|
this.statDateStart = time[0] |
|
|
|
this.statDateEnd = time[1] |
|
|
|
this.dateType = 7; |
|
|
|
this.customtime = time |
|
|
|
console.log("时间"); |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.role = localStorage.getItem("orgType"); |
|
|
|
if (this.role == 3) { |
|
|
|
this.houseId = localStorage.getItem("houseId"); |
|
|
|
this.tabtimetap(4); |
|
|
|
this.tabtimetap(this.dateType); |
|
|
|
this.deptFindList(); |
|
|
|
this.teamAllLeve(); |
|
|
|
} else { |
|
|
|