下发收集弹框设置固定高度

This commit is contained in:
zyx.net
2022-07-19 14:08:53 +08:00
parent bf7957a776
commit 0110fde5de
3 changed files with 22 additions and 6 deletions
@@ -49,6 +49,7 @@
:maskClosable="false" :maskClosable="false"
:footer="null" :footer="null"
@cancel='cancleoperationFailed' @cancel='cancleoperationFailed'
:body-style="bodystyle"
> >
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :span="24"> <a-col :span="24">
@@ -113,6 +114,7 @@ export default {
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
pickerDate: '', pickerDate: '',
bodystyle:{}
} }
}, },
props: { props: {
@@ -124,6 +126,11 @@ export default {
}, },
mounted() { mounted() {
this.loadData() this.loadData()
this.bodystyle = {
height: '480px',
overflow: 'hidden',
overflowY: 'scroll',
}
}, },
methods: { methods: {
loadData() { loadData() {
@@ -48,7 +48,9 @@
v-model="visibleoperationFailed" v-model="visibleoperationFailed"
:maskClosable="false" :maskClosable="false"
:footer="null" :footer="null"
class='modelbox'
@cancel='cancleoperationFailed' @cancel='cancleoperationFailed'
:body-style="bodystyle"
> >
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :span="24"> <a-col :span="24">
@@ -113,6 +115,7 @@ export default {
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
pickerDate: '', pickerDate: '',
bodystyle:{}
} }
}, },
props: { props: {
@@ -124,6 +127,11 @@ export default {
}, },
mounted() { mounted() {
this.loadData() this.loadData()
this.bodystyle = {
height: '480px',
overflow: 'hidden',
overflowY: 'scroll',
}
}, },
methods: { methods: {
loadData() { loadData() {
@@ -273,6 +281,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
</style> </style>
<style scoped> <style scoped>
.box-title-text { .box-title-text {
@@ -280,7 +289,6 @@ export default {
display: flex; display: flex;
/*align-items: center;*/ /*align-items: center;*/
} }
.title-text { .title-text {
width: 114px; width: 114px;
text-align: right; text-align: right;
@@ -120,6 +120,11 @@
<!-- <a-icon type="solution"/>--> <!-- <a-icon type="solution"/>-->
<!-- {{$t('distributionAndCollection')}}--> <!-- {{$t('distributionAndCollection')}}-->
<!-- </div>--> <!-- </div>-->
<!-- 一键下发收集 -->
<div @click="defOneclickCollection" class="operator-text-title" v-if='currentPersonRole == "homo"'>
<a-icon type="solution"/>
{{$t('OneclickCollection')}}
</div>
<!-- 冻结配置--> <!-- 冻结配置-->
<div @click="freezeConfiguration" class="operator-text-title"> <div @click="freezeConfiguration" class="operator-text-title">
<a-icon type="solution"/> <a-icon type="solution"/>
@@ -154,11 +159,7 @@
<a-icon type="solution"/> <a-icon type="solution"/>
{{$t('distributionAndCollection')}} {{$t('distributionAndCollection')}}
</div> </div>
<!-- 一键下发收集 -->
<div @click="defOneclickCollection" class="operator-text" v-if='currentPersonRole == "homo"'>
<a-icon type="solution"/>
{{$t('OneclickCollection')}}
</div>
<!-- 分配填写人--> <!-- 分配填写人-->
<div @click="assignedBy" class="operator-text" v-if='currentPersonRole == "sdt" '> <div @click="assignedBy" class="operator-text" v-if='currentPersonRole == "sdt" '>
<a-icon type="copy"/> <a-icon type="copy"/>