|
@@ -13,7 +13,7 @@
|
|
|
style='width:192px;margin-right:12px'
|
|
|
></el-input>
|
|
|
<el-input
|
|
|
- placeholder='搜索重要事项记录描述'
|
|
|
+ placeholder='搜索事项类型事项描述'
|
|
|
size='small'
|
|
|
clearable
|
|
|
@keyup.enter.native='getList'
|
|
@@ -70,13 +70,13 @@
|
|
|
<el-table-column prop='sbmc' label='设备名称' show-overflow-tooltip resizable min-width='460'>
|
|
|
<template slot-scope='{row}'>{{row.sbmc || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='assetnum' label='设备编码' show-overflow-tooltip resizable width='80'>
|
|
|
+ <el-table-column prop='assetnum' label='设备内码' show-overflow-tooltip resizable width='80'>
|
|
|
<template slot-scope='{row}'>{{row.assetnum || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='matters' label='重要事项记录' width='180' show-overflow-tooltip resizable>
|
|
|
+ <el-table-column prop='matters' label='事项类型' width='180' show-overflow-tooltip resizable>
|
|
|
<template slot-scope='{row}'>{{row.matters || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='description' label='描述' show-overflow-tooltip resizable min-width='340'>
|
|
|
+ <el-table-column prop='description' label='事项描述' show-overflow-tooltip resizable min-width='340'>
|
|
|
<template slot-scope='{row}'>{{row.description || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label='更换配件信息' align='center'>
|
|
@@ -268,6 +268,10 @@ export default {
|
|
|
if (newV !== oldV) {
|
|
|
// this.tabFind()
|
|
|
this.getList()
|
|
|
+ this.$nextTick(() => {
|
|
|
+ // 页面渲染完成后的回调
|
|
|
+ this.tableMaxHeight = this.$refs.tableBox.offsetHeight
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
ischange() {
|
|
@@ -339,5 +343,8 @@ export default {
|
|
|
color: rgb(31, 36, 41);
|
|
|
}
|
|
|
}
|
|
|
+ /deep/.el-table tr {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|