feat: There is no way the

This commit is contained in:
super_liu
2021-11-08 17:12:33 +08:00
parent 00ea0b74d5
commit 9544672566
3 changed files with 302 additions and 106 deletions
@@ -18,7 +18,7 @@
v-if="item.isShowImp === '0'"
>
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item :name="item.label">
<el-collapse-item :name="item.label" @click.native="handleChange1(item.label)">
<template slot="title">
<div class="modular-header" v-if="item.label === '基础信息'">
<div class="modular-header-title"><i class="icon-modular-title"/><span>{{ item.label }}</span></div>
@@ -93,7 +93,7 @@
<p><label style=" margin-right: 150px;">中文名称</label><span>{{
sarStandardsInfoEO.standName || '-'
}}</span></p>
<p><label style=" margin-right: 150px;">英文名称</label><span>{{
<p v-if="activeState"><label style=" margin-right: 150px;">英文名称</label><span>{{
sarStandardsInfoEO.standEnName || '-'
}}</span></p>
<p class="half">
@@ -1415,6 +1415,7 @@
data() {
return {
activeNames: ['基础信息'],
activeState: false,
itemExistList:[],
interpretationContent: '',
relatedTermsDrawerVisible: false,
@@ -1720,7 +1721,12 @@
return child1
},
handleChange(val) {
console.log(val);
console.log(val)
},
handleChange1(val) {
if(val && val === '基础信息'){
this.activeState = true;
}
},
judgeSuffix(fileName){
if ('pdf'===fileName.substring(fileName.lastIndexOf('.') + 1)){
@@ -3161,7 +3167,6 @@
location.half = half
location.showAll = false
})
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', {
id: this.$route.params.id
}, {