瀏覽代碼

参数的修改

bding 4 月之前
父節點
當前提交
5d31acaf8b

+ 5 - 5
src/views/roadshow_manage/compononts/addActivityBtnDia.vue

@@ -647,18 +647,18 @@ export default {
       parmas = {
         ActivityType: this.formData.activityType,
         ActivityCategory: this.formData.activityClass[this.formData.activityClass.length-1],
-        City: ['公开会议', '路演'].includes(this.formData.activityType)
+        City: ['公开会议', '路演','沙龙'].includes(this.formData.activityType)
           ? dynaic_city_param[this.formData.activityType][1]
           : '',
-        Province: ['公开会议', '路演'].includes(this.formData.activityType)
+        Province: ['公开会议', '路演','沙龙'].includes(this.formData.activityType)
           ? dynaic_city_param[this.formData.activityType][0]
           : '',
         District:this.formData.District||'',
         CooperationName: this.formData.partnersName,
         Theme: this.formData.meetingTheme,
-        RoadshowType: this.formData.activityType === '路演' ?
+        RoadshowType:['路演','沙龙'].includes(this.formData.activityType) ?
           this.formData.roadshowType : this.formData.meetingType,
-        RoadshowPlatform: this.formData.activityType === '路演' ?
+        RoadshowPlatform:['路演','沙龙'].includes(this.formData.activityType) ?
           this.formData.roadshowPlatform : this.formData.meetingPlatform,
         CompanyId: this.formData.companyId || 0,
         CompanyName: this.formData.companyName || '',
@@ -671,7 +671,7 @@ export default {
           ...parmas,
           RsCalendarId: this.edit_id,
           RsCalendarResearcherId: this.edit_rs_id,
-          EditType: ['公开会议', '路演'].includes(this.formData.activityType) ? 2 : 1
+          EditType: ['公开会议', '路演','沙龙'].includes(this.formData.activityType) ? 2 : 1
         }) : await roadshowInterence.addRoadshow(parmas);
 
       if (res.Ret !== 200) return;

+ 5 - 5
src/views/roadshow_manage/compononts/addActivityCellDia.vue

@@ -597,13 +597,13 @@ export default {
       parmas = {
         ActivityType: this.formData.activityType,
         ActivityCategory: this.formData.activityClass[this.formData.activityClass.length-1],
-        City: ['公开会议','路演'].includes(this.formData.activityType) ? dynaic_city_param[this.formData.activityType][1] : '',
-        Province: ['公开会议','路演'].includes(this.formData.activityType) ? dynaic_city_param[this.formData.activityType][0] : '',
+        City: ['公开会议','路演','沙龙'].includes(this.formData.activityType) ? dynaic_city_param[this.formData.activityType][1] : '',
+        Province: ['公开会议','路演','沙龙'].includes(this.formData.activityType) ? dynaic_city_param[this.formData.activityType][0] : '',
         District:this.formData.District||'',
         CooperationName: this.formData.partnersName,
         Theme: this.formData.meetingTheme,
-        RoadshowType: this.formData.activityType === '路演' ? this.formData.roadshowType : this.formData.meetingType,
-        RoadshowPlatform: this.formData.activityType === '路演' ? this.formData.roadshowPlatform : this.formData.meetingPlatform,
+        RoadshowType: ['路演','沙龙'].includes(this.formData.activityType) ? this.formData.roadshowType : this.formData.meetingType,
+        RoadshowPlatform: ['路演','沙龙'].includes(this.formData.activityType) ? this.formData.roadshowPlatform : this.formData.meetingPlatform,
         CompanyId: this.formData.companyId || 0,
         CompanyName: this.formData.companyName || '',
         ResearcherList: param_research,
@@ -616,7 +616,7 @@ export default {
           ...parmas,
           RsCalendarId: this.edit_id,
           RsCalendarResearcherId: this.edit_rs_id,
-          EditType: ['公开会议', '路演'].includes(this.formData.activityType) ? 2 : 1
+          EditType: ['公开会议', '路演','沙龙'].includes(this.formData.activityType) ? 2 : 1
         }) : await roadshowInterence.addRoadshow(parmas);
 
       if (res.Ret !== 200) return