@@ -11,6 +11,7 @@ | |||||
</div> | </div> | ||||
<div class="more"> | <div class="more"> | ||||
<slot name="header"></slot> | <slot name="header"></slot> | ||||
<div v-show="flexIble" class="flexIble hover_pointer" :class="[isOpen ? 'flexIble_open' : '']" @click="open"></div> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="light"></div> | <div class="light"></div> | ||||
@@ -9,6 +9,13 @@ export default { | |||||
type: String, | type: String, | ||||
default: 'bk_normal' | default: 'bk_normal' | ||||
}, | }, | ||||
/** | |||||
* 是否可以伸缩 | |||||
*/ | |||||
flexIble: { | |||||
type: Boolean, | |||||
default: false | |||||
}, | |||||
// 定义跳转页面url | // 定义跳转页面url | ||||
uri: { | uri: { | ||||
type: String, | type: String, | ||||
@@ -29,14 +36,19 @@ export default { | |||||
style: function () { | style: function () { | ||||
return { | return { | ||||
height: this.height + 'px', | height: this.height + 'px', | ||||
width: this.width + 'px' | |||||
width: this.isOpen ? 1000 + 'px' : this.width + 'px' | |||||
}; | }; | ||||
} | } | ||||
}, | }, | ||||
data () { | data () { | ||||
return { | return { | ||||
// 是否展开 | |||||
isOpen: false | |||||
}; | }; | ||||
}, | }, | ||||
methods: { | methods: { | ||||
open () { | |||||
this.isOpen = !this.isOpen | |||||
} | |||||
} | } | ||||
}; | }; |
@@ -33,6 +33,7 @@ | |||||
margin-top: 2px; | margin-top: 2px; | ||||
height: 32px; | height: 32px; | ||||
background: rgba(8, 33, 71, 1); | background: rgba(8, 33, 71, 1); | ||||
justify-content: space-between; | |||||
.title_bk { | .title_bk { | ||||
// font-style: italic; | // font-style: italic; | ||||
@@ -113,6 +114,21 @@ | |||||
} | } | ||||
} | } | ||||
.flexIble { | |||||
z-index: 4; | |||||
width: 16px; | |||||
height: 16px; | |||||
background: url('./close.png'); | |||||
background-size: 100% 100%; | |||||
} | |||||
.flexIble_open { | |||||
width: 16px; | |||||
height: 16px; | |||||
background: url('./open.png') !important; | |||||
background-size: 100% 100%; | |||||
} | |||||
@keyframes lightmove { | @keyframes lightmove { | ||||
/* 动画关键帧 */ | /* 动画关键帧 */ | ||||
@@ -36,6 +36,9 @@ body { | |||||
} | } | ||||
.right_side { | .right_side { | ||||
display: flex; | |||||
flex-direction: column; | |||||
align-items: flex-end; | |||||
position: absolute; | position: absolute; | ||||
right: 20px; | right: 20px; | ||||
top: 100px; | top: 100px; | ||||
@@ -1,4 +1,4 @@ | |||||
<Pannel title="经营性资产分析" height="340"> | |||||
<Pannel title="经营性资产分析" height="340" flexIble> | |||||
<div class="full"> | <div class="full"> | ||||
<div class="top"> | <div class="top"> | ||||
<PannelTabs @change="tabChange" :data="pannelTabData"></PannelTabs> | <PannelTabs @change="tabChange" :data="pannelTabData"></PannelTabs> | ||||
@@ -1,4 +1,4 @@ | |||||
<Pannel title="资产长期闲置预警" height="305"> | |||||
<Pannel title="资产长期闲置预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="负债组织清单" height="305"> | |||||
<Pannel title="负债组织清单" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="资源不规范出租预警" height="305"> | |||||
<Pannel title="资源不规范出租预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="资源处置预警" height="305"> | |||||
<Pannel title="资源处置预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="合同长期未执行预警" height="305"> | |||||
<Pannel title="合同长期未执行预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="债务组织清单" height="305"> | |||||
<Pannel title="债务组织清单" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="合同到期预警" height="305"> | |||||
<Pannel title="合同到期预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="合同结款到期预警" height="305"> | |||||
<Pannel title="合同结款到期预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -21,7 +21,6 @@ | |||||
.legend_item { | .legend_item { | ||||
display: flex; | display: flex; | ||||
justify-content: center; | justify-content: center; | ||||
// border: 1px solid red; | |||||
align-items: center; | align-items: center; | ||||
.icon { | .icon { | ||||
@@ -1,4 +1,4 @@ | |||||
<Pannel title="资金支出分析" height="340"> | |||||
<Pannel title="资金支出分析" height="340" flexIble> | |||||
<div class="full"> | <div class="full"> | ||||
<div class="top"> | <div class="top"> | ||||
<PannelTabs @change="tabChange" :data="pannelTabData"></PannelTabs> | <PannelTabs @change="tabChange" :data="pannelTabData"></PannelTabs> | ||||
@@ -1,4 +1,4 @@ | |||||
<Pannel title="资金往来不规范预警分析" height="305"> | |||||
<Pannel title="资金往来不规范预警分析" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="资源不规范出租预警" height="305"> | |||||
<Pannel title="资源不规范出租预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="资源处置预警" height="305"> | |||||
<Pannel title="资源处置预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="合同长期未执行预警" height="305"> | |||||
<Pannel title="合同长期未执行预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="合同到期预警" height="305"> | |||||
<Pannel title="合同到期预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |
@@ -1,4 +1,4 @@ | |||||
<Pannel title="合同结款到期预警" height="305"> | |||||
<Pannel title="合同结款到期预警" height="305" flexIble> | |||||
<ScrollTable :headers="headers" :data="data"></ScrollTable> | <ScrollTable :headers="headers" :data="data"></ScrollTable> | ||||
</Pannel> | </Pannel> |