|
@ -135,7 +135,7 @@ |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<!-- 附件/备注/变更记录 --> |
|
|
<!-- 附件/备注/变更记录 --> |
|
|
<ContentWrap class="w-[100%]" v-show="tabsList[current].label==annexAlias.label" :style="{height:remarkHeight+'px'}"> |
|
|
<ContentWrap v-if="!annexAlias.hidden" class="w-[100%]" v-show="tabsList[current].label==annexAlias.label" :style="{height:remarkHeight+'px'}"> |
|
|
<!-- 附件组件 --> |
|
|
<!-- 附件组件 --> |
|
|
<ElScrollbar ref="scrollbar" :style="{height:(remarkHeight-40)+'px'}"> |
|
|
<ElScrollbar ref="scrollbar" :style="{height:(remarkHeight-40)+'px'}"> |
|
|
<Annex |
|
|
<Annex |
|
@ -150,7 +150,6 @@ |
|
|
</ElScrollbar> |
|
|
</ElScrollbar> |
|
|
</ContentWrap> |
|
|
</ContentWrap> |
|
|
<ContentWrap class="w-[100%]" v-show="tabsList[current].label=='备注'" :style="{height:remarkHeight+'px'}"> |
|
|
<ContentWrap class="w-[100%]" v-show="tabsList[current].label=='备注'" :style="{height:remarkHeight+'px'}"> |
|
|
<!-- 附件组件 --> |
|
|
|
|
|
<ElScrollbar ref="scrollbar" :style="{height:(remarkHeight-40)+'px'}"> |
|
|
<ElScrollbar ref="scrollbar" :style="{height:(remarkHeight-40)+'px'}"> |
|
|
<!-- 备注组件 --> |
|
|
<!-- 备注组件 --> |
|
|
<Remarks |
|
|
<Remarks |
|
@ -162,7 +161,6 @@ |
|
|
</ElScrollbar> |
|
|
</ElScrollbar> |
|
|
</ContentWrap> |
|
|
</ContentWrap> |
|
|
<ContentWrap class="w-[100%]" v-show="tabsList[current].label=='变更记录'" :style="{height:remarkHeight+'px'}"> |
|
|
<ContentWrap class="w-[100%]" v-show="tabsList[current].label=='变更记录'" :style="{height:remarkHeight+'px'}"> |
|
|
<!-- 附件组件 --> |
|
|
|
|
|
<ElScrollbar ref="scrollbar" :style="{height:(remarkHeight-40)+'px'}"> |
|
|
<ElScrollbar ref="scrollbar" :style="{height:(remarkHeight-40)+'px'}"> |
|
|
<!-- 变更记录组件 --> |
|
|
<!-- 变更记录组件 --> |
|
|
<ChangeRecord :changeRecordData="changeRecordData" class="mt-20px" :key="count"/> |
|
|
<ChangeRecord :changeRecordData="changeRecordData" class="mt-20px" :key="count"/> |
|
@ -240,6 +238,7 @@ const props = defineProps({ |
|
|
type: Object, |
|
|
type: Object, |
|
|
required: false, |
|
|
required: false, |
|
|
default: ()=>({ |
|
|
default: ()=>({ |
|
|
|
|
|
hidden:false, |
|
|
label: '附件', |
|
|
label: '附件', |
|
|
showDownload:false, |
|
|
showDownload:false, |
|
|
showPreview:false, |
|
|
showPreview:false, |
|
@ -433,7 +432,8 @@ if (props.isBasic == true) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const otherList = [...props.annexTable,{ |
|
|
|
|
|
|
|
|
let otherList = [...props.annexTable,{ |
|
|
label:props.annexAlias.label, |
|
|
label:props.annexAlias.label, |
|
|
prop:'Annex' |
|
|
prop:'Annex' |
|
|
},{ |
|
|
},{ |
|
@ -443,6 +443,15 @@ const otherList = [...props.annexTable,{ |
|
|
label:'变更记录', |
|
|
label:'变更记录', |
|
|
prop:'ChangeRecord' |
|
|
prop:'ChangeRecord' |
|
|
}] |
|
|
}] |
|
|
|
|
|
if(props.annexAlias.hidden){ |
|
|
|
|
|
otherList = [...props.annexTable,{ |
|
|
|
|
|
label:'备注', |
|
|
|
|
|
prop:'Remarks' |
|
|
|
|
|
},{ |
|
|
|
|
|
label:'变更记录', |
|
|
|
|
|
prop:'ChangeRecord' |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
tabsList.value = [...tabsList?.value,...otherList] |
|
|
tabsList.value = [...tabsList?.value,...otherList] |
|
|
|
|
|
|
|
|
if (!tabsList.value || tabsList.value && tabsList.value.length == otherList.length) { |
|
|
if (!tabsList.value || tabsList.value && tabsList.value.length == otherList.length) { |
|
|