|
|
@ -381,14 +381,14 @@
|
|
|
|
<el-descriptions-item label="舆情状态">{{
|
|
|
|
<el-descriptions-item label="舆情状态">{{
|
|
|
|
form.yqState
|
|
|
|
form.yqState
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
<el-descriptions-item :span="2" label="文件路径(完整路径)">
|
|
|
|
<el-descriptions-item :span="2" label="文件">
|
|
|
|
<a
|
|
|
|
<a
|
|
|
|
style="margin-right:10px; color: #0072c6"
|
|
|
|
style="margin-right:10px; color: #0072c6"
|
|
|
|
v-for="(item, index) in files(form.fileUrl)"
|
|
|
|
v-for="(item, index) in files(form)"
|
|
|
|
target="_blank"
|
|
|
|
target="_blank"
|
|
|
|
:key="index"
|
|
|
|
:key="index"
|
|
|
|
:href="item"
|
|
|
|
:href="item.fileUrl"
|
|
|
|
>{{ item }}</a
|
|
|
|
>{{ item.yqTitle }}</a
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="备注">{{
|
|
|
|
<el-descriptions-item label="备注">{{
|
|
|
@ -542,8 +542,17 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
files(e) {
|
|
|
|
files(e) {
|
|
|
|
if (!e) return [];
|
|
|
|
console.log(e);
|
|
|
|
return e.split(",");
|
|
|
|
if (!e.fileUrl) return [];
|
|
|
|
|
|
|
|
let newA = e.fileUrl.split(",");
|
|
|
|
|
|
|
|
let newC = [];
|
|
|
|
|
|
|
|
newA.forEach((value, index) => {
|
|
|
|
|
|
|
|
newC.push({
|
|
|
|
|
|
|
|
yqTitle: e.yqTitle,
|
|
|
|
|
|
|
|
fileUrl: value,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
return newC;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//添加表格
|
|
|
|
//添加表格
|
|
|
|
addFile() {
|
|
|
|
addFile() {
|
|
|
|