diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue
index bf9c06f..c9627e8 100644
--- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue
+++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsDetailPage.vue
@@ -6,7 +6,15 @@
{{ $t('standardRegulationLibrary.marketRegulationsList.historicalVersion') }}
-
+
+
+
{{ $t('essentialInformation') }}
+
+
+ {{ showBaseFlag ? '收起' : '展开' }}
+
+
+
@@ -133,8 +141,10 @@ export default {
* 48px:分页器的高度
* 48px:a-card的padding(上24+下24)
* 54px:表头行的高度
+ * 88px: 两个标题高度
+ * 56px:外层组件标题区域
*/
- return `calc(100vh - ${this.defaultHeight['user-info-height']} - ${this.defaultHeight['breadcrumb-height']} - ${this.defaultHeight.oneLineSearchHeight} - ${this.defaultHeight.oneLineOperationHeight} - 48px - 48px - 54px - ${this.isBackTitle ? '56px' : '0px'})`
+ return `calc(100vh - ${this.defaultHeight['user-info-height']} - ${this.defaultHeight['breadcrumb-height']} - ${this.defaultHeight.oneLineSearchHeight} - ${this.defaultHeight.oneLineOperationHeight} - 48px - 48px - 54px - ${this.isBackTitle ? '56px' : '0px'} - 88px - 56px)`
},
// 是否可以查看历史版本,当前用户是否是法规管理员或超级管理员
isCanLookHistory () {
@@ -552,7 +562,8 @@ export default {
},
disableMixinCreated: true,
historyVersions: [], // 历史版本数据
- highlightKey: null
+ highlightKey: null,
+ showBaseFlag: true
}
},
beforeRouteUpdate (to, from, next) {
@@ -594,6 +605,10 @@ export default {
}
}
},
+ handleChangeShowBase () {
+ this.showBaseFlag = !this.showBaseFlag
+ this.$forceUpdate()
+ },
initData (ids) {
// 只有一条数据,需要获取基础信息
if (this.ids.length > 1) {
@@ -734,10 +749,10 @@ export default {