commit
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<template v-if="child.value && child.value.length > 0"
|
||||
v-for="(file, fileIndex) in child1Func(child.value)">
|
||||
<!-- 单个文件时-->
|
||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
|
||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer;"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
||||
@@ -90,7 +90,7 @@
|
||||
</span>
|
||||
<!-- 多个文件时-->
|
||||
<div v-else-if="child.value && child.value.length > 0">
|
||||
<span style="margin-left: 19%">
|
||||
<span style="margin-left: 19%;display: flex; align-items: center;">
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
||||
@@ -324,7 +324,7 @@
|
||||
<p class="modular-content-p-val">
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="processCenterClick(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line">{{ item }}</a>
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</p>
|
||||
</template>
|
||||
@@ -343,7 +343,7 @@
|
||||
<template v-else>
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line">{{ item }}</a>
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</template>
|
||||
</div>
|
||||
@@ -397,7 +397,7 @@
|
||||
>
|
||||
<!--发布稿、增补件单独设置下载权限-->
|
||||
<template v-if="child.attrField === 'FBGBJBD' || child.attrField === 'ZBJBD'">
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{
|
||||
<a :title="file.oldFileName" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{
|
||||
file.oldFileName
|
||||
}}</a>
|
||||
<i
|
||||
@@ -415,7 +415,7 @@
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName
|
||||
}}</a>
|
||||
<i
|
||||
@@ -456,7 +456,7 @@
|
||||
<p class="modular-content-p-val">
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="processCenterClick(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line">{{ item }}</a>
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</p>
|
||||
</template>
|
||||
@@ -466,7 +466,7 @@
|
||||
<p class="modular-content-p-val" v-if="child.value">
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line">{{ item }}</a>
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</p>
|
||||
<span class="modular-content-p-val" v-else>-</span>
|
||||
@@ -497,7 +497,7 @@
|
||||
<template v-if="child.attrField === 'XGD' || child.attrField === 'FBGBJBD' || child.attrField === 'BPG'
|
||||
|| child.attrField === 'SSG'|| child.attrField === 'ZQYJG'|| child.attrField === 'CA'
|
||||
|| child.attrField === 'JDWJ' || child.attrField === 'GLWJ'">
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName
|
||||
}}</a>
|
||||
<i
|
||||
@@ -517,7 +517,7 @@
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName
|
||||
}}</a>
|
||||
<i
|
||||
@@ -641,7 +641,7 @@
|
||||
<p class="modular-content-p-val">
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="processCenterClick(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line">{{ item }}</a>
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</p>
|
||||
</template>
|
||||
@@ -651,7 +651,7 @@
|
||||
<p class="modular-content-p-val" v-if="child.value">
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line">{{ item }}</a>
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</p>
|
||||
<span class="modular-content-p-val" v-else>-</span>
|
||||
@@ -679,7 +679,7 @@
|
||||
<!-- <span style="cursor: pointer;" @click="openFileInPdf(file.id, file.oldFileName)">|{{file.id}}|</span>-->
|
||||
<!--发布稿、增补件单独设置下载权限-->
|
||||
<template v-if="child.attrField === 'GLWJ'">
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName
|
||||
}}</a>
|
||||
<i
|
||||
@@ -702,7 +702,7 @@
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName
|
||||
}}</a>
|
||||
<i
|
||||
@@ -3873,7 +3873,17 @@ export default {
|
||||
<style lang="less" scoped>
|
||||
@import '~@/assets/styles/mixins';
|
||||
@import '~@/assets/styles/style';
|
||||
|
||||
.files-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
a {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: calc(~'100% - 40px');
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
/deep/ .el-icon-circle-close:before {
|
||||
margin-left: 250px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user