diff --git a/src/views/enm_rm/logDetail.vue b/src/views/enm_rm/logDetail.vue index b4fee9d3..070ee9f7 100644 --- a/src/views/enm_rm/logDetail.vue +++ b/src/views/enm_rm/logDetail.vue @@ -1,7 +1,7 @@ - + - @@ -529,7 +543,7 @@ > - + @@ -745,6 +759,7 @@ export default { mpoint__type: 30, has_create_by: 1, }, + querystlog: { mgroup: "" }, sflogExpVisiable: false, checkList: [], stlogList: [], @@ -753,22 +768,32 @@ export default { sflogexpList: [], mpointOptions: [], apiObj: null, + apiObjStlog: null, + heightTable: null, }; }, mounted() { this.deptId = this.$route.query.deptId; this.mgroupId = this.$route.query.mgroupId; this.querymplogX.mgroup = this.mgroupId; + this.querystlog.mgroup = this.mgroupId; this.apiObj = this.$API.enm.mpoint.stat; + this.apiObjStlog = this.$API.wpm.stlog.list; let form = this.$TOOL.data.get("sflogItem"); this.form = JSON.parse(form); if (this.form.mgroup_name == "石灰石破碎") { this.getMpoint(); this.getMpointStat(); } - console.log(this.form); this.getTeam(); this.getStlog(); + let height = document.getElementById("elMain").clientHeight; + let heightdetail = document.getElementById("logDetail").clientHeight; + let heightTabs = height - heightdetail - 40; + this.heightTable = heightTabs - 45 + "px"; + this.$nextTick(() => { + this.$refs.infoTabd.$el.style.height = heightTabs + "px"; + }); }, methods: { handleClick(e) {