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