diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue index 7a6b27a..1fcf877 100644 --- a/src/views/modules/proofing/requestForProofing.vue +++ b/src/views/modules/proofing/requestForProofing.vue @@ -2264,7 +2264,7 @@ export default { }, mounted() { this.$nextTick(() => { - this.height = window.innerHeight / 2 - 100; + this.height = window.innerHeight / 2 - 50; /*第二个表格高度的动态调整*/ this.secondHeight = window.innerHeight / 2 - 206; }) diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index bd6181e..122c82f 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -2377,7 +2377,7 @@ export default { // this.height = window.innerHeight / 2 - 240; // /*第二个表格高度的动态调整*/ // this.secondHeight = window.innerHeight / 2 - 206; - this.height = window.innerHeight / 2 - 30 + this.height = window.innerHeight / 2 - 50 /*第二个表格高度的动态调整*/ this.secondHeight = window.innerHeight / 2 - 186 }) diff --git a/src/views/modules/tooling/manuf_tool.vue b/src/views/modules/tooling/manuf_tool.vue index a824663..b41a461 100644 --- a/src/views/modules/tooling/manuf_tool.vue +++ b/src/views/modules/tooling/manuf_tool.vue @@ -2,18 +2,18 @@
- + - + 工具类型 - + 日历标识 - + 查询 @@ -822,7 +822,7 @@ export default { }, mounted() { this.$nextTick(() => { - this.height = window.innerHeight - 520; + this.height = window.innerHeight / 2 - 50; }) }, methods: { @@ -1033,16 +1033,11 @@ export default { this.totalPage = data.total; if (this.dataList.length > 0) { this.$refs.mainTable.setCurrentRow(this.dataList[0]); - //如果已经存在则 不修改默认数值 不然修改默认选择行为第一行 - if (this.currentRow && Object.keys(this.currentRow).length > 0) { - //已经存在 不需要修改 - } else { - this.currentRow = JSON.parse(JSON.stringify(this.dataList[0])); - } + this.currentRow = JSON.parse(JSON.stringify(this.dataList[0])); + this.refreshCurrentTabTable() } else { this.currentRow = {} } - this.refreshCurrentTabTable() } this.dataListLoading = false