[update] 企标详情授权部门有值的话显示查看全部按钮

(cherry picked from commit f31c857f9c)
This commit is contained in:
lideqin
2024-01-13 21:24:50 +08:00
committed by 赵霄
parent 87968c4278
commit 6def378d7a
3 changed files with 60 additions and 3 deletions
@@ -0,0 +1,42 @@
<template>
<j-modal
:title="$t('view')"
:visible="visible"
:width="1000"
:footer="false"
switchFullscreen
@cancel="handleCancel">
<div class="text-content">{{ content }}</div>
</j-modal>
</template>
<script>
export default {
name: 'TextContentModal',
data () {
return {
visible: false,
content: null
}
},
methods: {
open (text) {
this.content = text
this.visible = true
},
handleCancel () {
this.visible = false
this.content = null
}
}
}
</script>
<style scoped lang="less">
.text-content {
max-height: calc(100vh - 200px - 55px);
overflow: auto;
margin: 0 -24px;
padding: 0 24px;
}
</style>