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

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"
:footer="null"
@cancel='cancleoperationFailed'
:body-style="bodystyle"
>
<a-row :gutter="24">
<a-col :span="24">
@@ -113,6 +114,7 @@ export default {
pageNo: 1,
pageSize: 10,
pickerDate: '',
bodystyle:{}
}
},
props: {
@@ -124,6 +126,11 @@ export default {
},
mounted() {
this.loadData()
this.bodystyle = {
height: '480px',
overflow: 'hidden',
overflowY: 'scroll',
}
},
methods: {
loadData() {
@@ -48,7 +48,9 @@
v-model="visibleoperationFailed"
:maskClosable="false"
:footer="null"
class='modelbox'
@cancel='cancleoperationFailed'
:body-style="bodystyle"
>
<a-row :gutter="24">
<a-col :span="24">
@@ -113,6 +115,7 @@ export default {
pageNo: 1,
pageSize: 10,
pickerDate: '',
bodystyle:{}
}
},
props: {
@@ -124,6 +127,11 @@ export default {
},
mounted() {
this.loadData()
this.bodystyle = {
height: '480px',
overflow: 'hidden',
overflowY: 'scroll',
}
},
methods: {
loadData() {
@@ -273,6 +281,7 @@ export default {
display: flex;
justify-content: center;
}
</style>
<style scoped>
.box-title-text {
@@ -280,7 +289,6 @@ export default {
display: flex;
/*align-items: center;*/
}
.title-text {
width: 114px;
text-align: right;
@@ -120,6 +120,11 @@
<!-- <a-icon type="solution"/>-->
<!-- {{$t('distributionAndCollection')}}-->
<!-- </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">
<a-icon type="solution"/>
@@ -154,11 +159,7 @@
<a-icon type="solution"/>
{{$t('distributionAndCollection')}}
</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" '>
<a-icon type="copy"/>