|
@@ -155,7 +155,7 @@ export default {
|
|
|
dataIndex: 'tagname',
|
|
|
key: 'tagname',
|
|
|
align: 'center',
|
|
|
- width: 120,
|
|
|
+ width: '12%',
|
|
|
scopedSlots: { customRender: 'tagname' }
|
|
|
},
|
|
|
// {
|
|
@@ -170,6 +170,7 @@ export default {
|
|
|
dataIndex: 'tagtype',
|
|
|
key: 'tagtype',
|
|
|
align: 'center',
|
|
|
+ width: '10%',
|
|
|
scopedSlots: { customRender: 'tagtype' }
|
|
|
},
|
|
|
{
|
|
@@ -177,6 +178,7 @@ export default {
|
|
|
dataIndex: 'energytypeid',
|
|
|
key: 'energytypeid',
|
|
|
align: 'center',
|
|
|
+ width: '12%',
|
|
|
scopedSlots: { customRender: 'energytypeid' }
|
|
|
},
|
|
|
{
|
|
@@ -184,6 +186,7 @@ export default {
|
|
|
dataIndex: 'energyitemid',
|
|
|
key: 'energyitemid',
|
|
|
align: 'center',
|
|
|
+ width: '12%',
|
|
|
scopedSlots: { customRender: 'energyitemid' }
|
|
|
},
|
|
|
{
|
|
@@ -239,6 +242,7 @@ export default {
|
|
|
title: '操作',
|
|
|
key: 'action',
|
|
|
align: 'center',
|
|
|
+ fixed:"right",
|
|
|
scopedSlots: { customRender: 'operation' }
|
|
|
}
|
|
|
],
|
|
@@ -353,7 +357,7 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
.center{
|
|
|
- height: 100%;
|
|
|
+ height: calc(100vh - 150px);
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
}
|
|
@@ -376,7 +380,7 @@ export default {
|
|
|
/* border: 2px solid red; */
|
|
|
}
|
|
|
.bottom{
|
|
|
- height: 80%;
|
|
|
+ height: calc(100vh - 284px);
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
/* border: 2px solid red; */
|