main
bibi 3 years ago
parent 6bb01721f5
commit bdb5efd205

@ -219,6 +219,7 @@ export default {
addClose() {
this.$refs.ruleForm.resetFields();
this.fileList = [];
this.form.imgUrls = [];
this.$emit("addClose");
},
success() {

@ -118,6 +118,7 @@ export default {
addClose() {
this.$refs.ruleForm.resetFields();
this.fileList = [];
this.form.imgUrls = [];
this.$emit("addClose");
},
success() {

@ -121,6 +121,8 @@ export default {
this.$refs.ruleForm.resetFields();
this.fileList = [];
this.documentList = [];
this.form.coverImgUrls = [];
this.form.annexUrls = [];
this.$emit("addClose");
},
success() {

@ -110,6 +110,7 @@ export default {
addClose() {
this.$refs.ruleForm.resetFields();
this.fileList = []
this.form.imgUrls = []
this.$emit('addClose');
},
success() {

@ -1,7 +1,7 @@
<template>
<div>
<a-drawer
title="活动-详情"
title="资讯-详情"
:width="720"
:visible="show"
:body-style="{ paddingBottom: '80px' }"
@ -9,56 +9,40 @@
>
<div class="drawer-content">
<div class="content-title">
{{ detailData.title }}
</div>
<img v-for="item,index in detailData.imgList" :key='index' :src="$ImgUrl(item.url)" class="content-img">
{{ detailData.title }}
<a-tag color="blue">{{
detailData.status === 1 ? "未发布" : "已发布"
}}</a-tag>
</div>
<a-divider></a-divider>
<a-descriptions>
<a-descriptions-item label="创建时间">
{{ detailData.createDate }}
</a-descriptions-item>
<a-descriptions-item label="是否显示在app上">
{{ detailData.isShow ? "是" : "否" }}
<a-descriptions-item label="资讯类型">
{{ detailData.categoryName }}
</a-descriptions-item>
<a-descriptions-item label="活动对象">
{{ detailData.activityObject | activityObject }}
<a-descriptions-item label="阅读量">
{{ detailData.viewsNum }}
</a-descriptions-item>
<a-descriptions-item label="活动内容">
{{ detailData.content }}
</a-descriptions-item>
<a-descriptions-item label="活动主办方">
{{ detailData.organizerName }}
</a-descriptions-item>
</a-descriptions>
<a-descriptions title="报名设置">
<a-descriptions-item label="报名开始时间">
{{ detailData.registrationStartTime }}
<a-descriptions-item label="创建人">
{{ detailData.createName }}
</a-descriptions-item>
<a-descriptions-item label="报名结束时间">
{{ detailData.registrationEndTime }}
</a-descriptions-item>
<a-descriptions-item label="报名人数上限">
{{ detailData.registrationNumMax }}
</a-descriptions-item>
<a-descriptions-item label="活动地点">
{{ detailData.activityAddress }}
<a-descriptions-item label="创建时间">
{{ detailData.createDate }}
</a-descriptions-item>
</a-descriptions>
<a-descriptions title="活动设置">
<a-descriptions-item label="活动开始时间">
{{ detailData.activityStartTime }}
</a-descriptions-item>
<a-descriptions-item label="活动结束时间">
{{ detailData.activityEndTime }}
</a-descriptions-item>
<a-descriptions-item label="活动联系人">
{{ detailData.activityContact }}
<a-descriptions :column="1">
<a-descriptions-item label="资讯内容">
{{ detailData.content }}
</a-descriptions-item>
<a-descriptions-item label="活动联系方式">
{{ detailData.activityTel }}
<a-descriptions-item label="公告封面图">
<img
v-for="(item, index) in detailData.imgList"
:key="index"
:src="$ImgUrl(item.url)"
class="content-img"
/>
</a-descriptions-item>
</a-descriptions>
报名记录
<a-divider></a-divider>
</div>
<div class="drawer-footer">
<a-button :style="{ marginRight: '8px' }" @click="detailClose">
@ -120,8 +104,8 @@ export default {
font-size: 18px;
line-height: 25px;
}
.content-img{
width: 108px;
height: 86px;
.content-img {
width: 108px;
height: 86px;
}
</style>

@ -123,6 +123,7 @@ export default {
addClose() {
this.$refs.ruleForm.resetFields();
this.fileList = [];
this.form.imgUrls = [];
this.$emit("addClose");
},
success() {

@ -198,6 +198,7 @@ export default {
title: "添加轮播图",
};
this.fileList = [];
this.form.imgUrls = [];
this.form = {
id: undefined,
type: undefined,

Loading…
Cancel
Save