Browse Source

提交回显问题

bding 5 months ago
parent
commit
2194f96ebe
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/roadshow_manage/compononts/addParticipateDia.vue

+ 3 - 2
src/views/roadshow_manage/compononts/addParticipateDia.vue

@@ -1,7 +1,7 @@
 <template>
   <el-dialog title="提交参会名单" :visible.sync="isAddParticipateShow" width="500px" append-to-body @close="closeDlg">
     <div class="partic-dialog-container">
-      <div>
+      <div v-if="isType !== '查看'">
         <el-input style="width: 392px; margin-bottom: 20px" v-model="roadShowTheme" placeholder="请输入路演主题名称"></el-input>
       </div>
       <template v-if="isType !== '查看'">
@@ -169,7 +169,7 @@ export default {
     confirmPerson() {
       //校验
       const useId = this.dynamicItem.map((i) => i.id).filter((i) => i);
-      if (!this.roadShowTheme) return this.$message.error("请输入路演主题名称");
+      if (!this.roadShowTheme && this.isType !== '查看') return this.$message.error("请输入路演主题名称");
       if (!useId.length) return this.$message.error("请输入姓名");
       roadshowInterence
         .addMeetingUser({
@@ -232,6 +232,7 @@ export default {
       this.tagName = "";
       this.chartPermissionName = "";
       this.isShowPermission = false;
+      this.roadShowTheme = "";
       this.$emit("close");
     },
   },