|
@@ -58,10 +58,7 @@ const handleColumns = (columns: any) => {
|
|
|
}
|
|
}
|
|
|
return curColumn
|
|
return curColumn
|
|
|
})
|
|
})
|
|
|
- return [
|
|
|
|
|
- { type: 'expand', width: 40, slots: { default: 'expand', content: 'expand_content' } },
|
|
|
|
|
- ...newColumns
|
|
|
|
|
- ]
|
|
|
|
|
|
|
+ return [{ type: 'expand', width: 40, slots: { content: 'expand_content' } }, ...newColumns]
|
|
|
}
|
|
}
|
|
|
watch(
|
|
watch(
|
|
|
() => props.data,
|
|
() => props.data,
|
|
@@ -172,9 +169,6 @@ useRowClickStyle(tableRef)
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
|
-.vxe-body--row-expanded-cell {
|
|
|
|
|
- // height: 100%;
|
|
|
|
|
-}
|
|
|
|
|
.container-table-status {
|
|
.container-table-status {
|
|
|
max-height: 300px;
|
|
max-height: 300px;
|
|
|
padding: 40px 20px;
|
|
padding: 40px 20px;
|
|
@@ -228,7 +222,7 @@ useRowClickStyle(tableRef)
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
- max-width: 320px;
|
|
|
|
|
|
|
+ max-width: 360px;
|
|
|
padding: 10px 10px;
|
|
padding: 10px 10px;
|
|
|
.title {
|
|
.title {
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
@@ -240,11 +234,11 @@ useRowClickStyle(tableRef)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.center-code {
|
|
.center-code {
|
|
|
- width: 320px;
|
|
|
|
|
|
|
+ min-width: 320px;
|
|
|
line-height: 57px;
|
|
line-height: 57px;
|
|
|
}
|
|
}
|
|
|
.right-city {
|
|
.right-city {
|
|
|
- width: 320px;
|
|
|
|
|
|
|
+ min-width: 320px;
|
|
|
line-height: 57px;
|
|
line-height: 57px;
|
|
|
}
|
|
}
|
|
|
.value-color {
|
|
.value-color {
|