feat: There is no way the,

This commit is contained in:
super_liu
2021-11-14 17:24:03 +08:00
parent 102b03b8b7
commit d69fe926b2
3 changed files with 7 additions and 11 deletions
@@ -2408,7 +2408,6 @@ export default {
.modular-content{
& > div{
border-bottom: 1px solid #E5E5E5;
height: 44px;
.modular-content-p-name{
display: inline-block;
width: 220px;
@@ -2437,7 +2436,6 @@ export default {
position: relative;
display: inline-block;
width: calc(~'100% - 225px');
min-height: 50px;
& > .files-title{
width: calc(~'100% - 120px');
min-height: 50px;
@@ -1486,8 +1486,8 @@ export default {
return true
}
// 缺少文件
if (this.$hasPermission('43ae63abc1b64e6bd5cf3bb75b423bc2')) {
this.$http.get('lawss/sarBussStandFile/queryConvertAtt', {
if (this.$hasPermission('fd83032ae5f41a0021b00e93c88edbbg')) {
this.$http.get('lawss/sarLawsFile/queryConvertAtt', {
attId: attId
}, {
_this: this
@@ -2343,7 +2343,6 @@ export default {
position: relative;
display: inline-block;
width: calc(~'100% - 225px');
min-height: 50px;
& > .files-title{
width: calc(~'100% - 120px');
min-height: 50px;
@@ -58,7 +58,7 @@
<p class="half files-title"
>
<label style=" margin-right: 102px;">{{ child.attrName }}</label>
<template v-for="(file, fileIndex) in child1Func(child.value)">
<template v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child1Func(child.value)">
<span>
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName | ellipsis }}</a>
<i
@@ -85,10 +85,10 @@
icon="icon-separate"
>标准分解单
</el-button>
<el-button v-if="child.value.length > 1" style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"
<el-button v-if="child.value && child.value.length > 1" style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"
class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">更多</el-button>
</template>
<template v-if="!child.value && child.value.length === 0">-</template>
<template else >-</template>
</p>
</template>
<p><label style=" margin-right: 150px;">中文名称</label><span>{{
@@ -3111,7 +3111,7 @@
}
})
})
console.log(displayLocation)
displayLocation.forEach(location => {
// 动态属性字段-FBGBJBD 单独添加至基础信息
const list = displayLocation.filter ( item => item.label === '过程稿件');
@@ -3169,6 +3169,7 @@
location.half = half
location.showAll = false
})
console.log(displayLocation)
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', {
id: this.$route.params.id
@@ -3533,7 +3534,6 @@
border-bottom: 1px solid #E5E5E5;
min-height: 43px;
line-height: 43px;
height: 44px;
.modular-content-p-name {
display: inline-block;
@@ -3565,7 +3565,6 @@
position: relative;
display: inline-block;
width: calc(~'100% - 225px');
min-height: 50px;
& > .files-title {
width: calc(~'100% - 120px');