fix(拆解单): 水平越权问题
This commit is contained in:
@@ -96,6 +96,14 @@ import { FieldType } from '@/enums/commonEnums'
|
||||
|
||||
export default {
|
||||
name: 'StandardResolutionSheet',
|
||||
props: {
|
||||
// 是否文档拆分处查看
|
||||
horizontalOverstep: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
showClauseLabel: true, // 是否展示条文标签
|
||||
@@ -130,7 +138,13 @@ export default {
|
||||
},
|
||||
initDetailInfo () {
|
||||
this.loading = true
|
||||
previewDocSplit(this.queryParams).then(res => {
|
||||
const params = {
|
||||
...this.queryParams
|
||||
}
|
||||
if (this.horizontalOverstep) {
|
||||
params.horizontalOverstep = true
|
||||
}
|
||||
previewDocSplit(params).then(res => {
|
||||
if (res.success) {
|
||||
const data = res.result || {}
|
||||
this.treeData = data.sarFileSplitMenuEO || []
|
||||
@@ -237,8 +251,10 @@ export default {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
transition: width .2s linear;
|
||||
/deep/ .ant-tree li .ant-tree-node-content-wrapper{
|
||||
|
||||
/deep/ .ant-tree li .ant-tree-node-content-wrapper {
|
||||
max-width: calc(100% - 24px);
|
||||
|
||||
&:hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
@@ -434,12 +450,14 @@ export default {
|
||||
/deep/ table {
|
||||
width: 100%;
|
||||
border: 1px solid;
|
||||
|
||||
td {
|
||||
border: 1px solid;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ img.wordImg {
|
||||
width: auto!important;
|
||||
width: auto !important;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="split-content">
|
||||
<standard-resolution-sheet ref="resolutionSheet" />
|
||||
<standard-resolution-sheet ref="resolutionSheet" :horizontal-overstep="true"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user