This commit is contained in:
helloDy
2024-03-29 14:14:21 +08:00
parent df2df6ed7a
commit caf614ca35
6 changed files with 27 additions and 7 deletions

View File

@@ -15,6 +15,7 @@
background: '#f2f4f9',
color: '#606266',
}"
:max-height="tableH"
class="waiting-list-table">
<el-table-column
type="selection"
@@ -38,6 +39,7 @@
v-if="selectedBox[0]"
width="128"
label="设备保养单号"
:show-overflow-tooltip="true"
prop="maintainOrderNumber"></el-table-column>
<el-table-column v-if="selectedBox[1]" width="128" label="保养计划名称" prop="planName">
<template slot-scope="scope">
@@ -224,6 +226,7 @@ export default {
true,
],
selectedPlan: [],
tableH: this.tableHeight(260),
};
},
computed: {
@@ -234,6 +237,11 @@ export default {
}));
},
},
created() {
window.addEventListener('resize', () => {
this.tableH = this.tableHeight(260)
})
},
methods: {
checkSelectable(row, index) {
return (

View File

@@ -197,7 +197,7 @@ export default {
// 查询参数
queryParams: {
pageNo: 1,
pageSize: 10,
pageSize: 20,
maintainPlanId: null,
startTime: null,
special: false,