|
@@ -8,7 +8,7 @@
|
|
|
<span v-for="(item, index) in listTitle" :key="item.ChartPermissionId" @click="tabsBoxBtn(item, index)" :class="index == tabsPitchon ? 'pitch' : ''">{{ item.PermissionName }}</span>
|
|
|
</div>
|
|
|
<div style="display: flex">
|
|
|
- <el-upload :action="baseApi + '/resource/image/upload'" :show-file-list="false" accept="image/*" :on-success="handleUploadPosterSuccess">
|
|
|
+ <el-upload ref="imgUpload" :action="baseApi + '/resource/image/upload'" :show-file-list="false" accept="image/*" :on-success="handleUploadPosterSuccess">
|
|
|
<el-button type="primary">识图建会</el-button>
|
|
|
</el-upload>
|
|
|
<el-button style="margin-left: 20px" type="primary" @click="$router.push('/addActivity')">添加活动</el-button>
|
|
@@ -80,7 +80,7 @@
|
|
|
</el-col>
|
|
|
</el-card>
|
|
|
<atc-particulars :dialogVisible.sync="dialogVisible" :detailData.sync="detailData" />
|
|
|
- <imgMeeting :isShowImgMeetingDlg.sync="isShowImgMeetingDlg" :imgMeetingData.sync="imgMeetingData" />
|
|
|
+ <imgMeeting :isShowImgMeetingDlg.sync="isShowImgMeetingDlg" :imgMeetingData.sync="imgMeetingData" @childrenImgMeetingHandler="childrenImgMeetingHandler" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -132,7 +132,7 @@ export default {
|
|
|
activityLabel: "",
|
|
|
publishDate: "",
|
|
|
baseApi: process.env.API_ROOT,
|
|
|
- isShowImgMeetingDlg: true,
|
|
|
+ isShowImgMeetingDlg: false,
|
|
|
imgMeetingData: [
|
|
|
{
|
|
|
date: "2023-07-24",
|
|
@@ -351,6 +351,10 @@ export default {
|
|
|
];
|
|
|
}
|
|
|
},
|
|
|
+ // 点击取消的回调事件
|
|
|
+ childrenImgMeetingHandler() {
|
|
|
+ this.$refs.imgUpload.clearFiles();
|
|
|
+ },
|
|
|
},
|
|
|
/* 页面跳转前记录参数 */
|
|
|
beforeRouteLeave(to, form, next) {
|