cxmo 8 hónapja
szülő
commit
feab0f8f0d

+ 7 - 1
src/views/roadshow_manage/compononts/addActivityBtnDia.vue

@@ -617,7 +617,7 @@ export default {
           }))
         : this.formData.selectResearchers[0].researcherId.map((item) => ({
             ResearcherId: Number(item),
-            ResearcherName: item === 99 ? 'ficc全体' : this.findResearcherName(item.researcherId),
+            ResearcherName: item === 99 ? 'ficc全体' : this.findResearcherName(item),
             StartDate: this.$moment(
               this.formData.selectResearchers[0].startDate
             ).format('YYYY-MM-DD'),
@@ -683,6 +683,12 @@ export default {
       if(this.edit_id){
         this.$message.warning('提交成功')
       }else{
+        if(this.formData.activityType!=='路演'){
+            confirmDiaLink(text, content, query)
+            this.$emit('ensureCallback');
+            this.cancel();
+            return 
+        }
         //判断所选研究员是否有权益
         const ResearcherIds = this.formData.selectResearchers.map(i=>i.researcherId)
         const ResearcherTypes = ResearcherIds.map(i=>this.findType(i))

+ 6 - 0
src/views/roadshow_manage/compononts/addActivityCellDia.vue

@@ -624,6 +624,12 @@ export default {
       if(this.edit_id){
         this.$message.warning('提交成功')
       }else{
+        if(this.formData.activityType!=='路演'){
+            confirmDiaLink(text, content, query)
+            this.$emit('ensureCallback');
+            this.cancel();
+            return 
+        }
         //判断所选研究员是否有权益
         const ResearcherIds = this.formData.selectResearchers.map(i=>i.researcherId)
         const ResearcherTypes = ResearcherIds.map(i=>this.findType(i))