|
@@ -580,10 +580,14 @@ export default {
|
|
|
|
|
|
/* 编辑活动 或事项 */
|
|
|
editActivityHandle(row) {
|
|
|
+ //编辑活动
|
|
|
this.isRaiEditType ='RaiEdit'
|
|
|
if(this.default_tab==5){
|
|
|
this.editMatterHandle(row);
|
|
|
}else{
|
|
|
+ if(!row.RsMattersId && row.ActivityType === '内部会议') {
|
|
|
+ this.resubmitData = this.editInfoBack(row,2);
|
|
|
+ }
|
|
|
this.raiEditMatterHandle(row)
|
|
|
}
|
|
|
},
|
|
@@ -699,11 +703,11 @@ export default {
|
|
|
partnersName: CooperationName, // 合作方名称
|
|
|
activityClass: ActivityCategory, // 活动类别
|
|
|
District: District || '',
|
|
|
-
|
|
|
+
|
|
|
selectResearchers: [
|
|
|
// 选择的研究员
|
|
|
{
|
|
|
- researcherId: ResearcherId.length > 1 ? ResearcherId.split(',').map(item => Number(item)) : Number(ResearcherId),
|
|
|
+ researcherId: ResearcherId.split(',').length > 1 ? ResearcherId.split(',').map(item => Number(item)) : Number(ResearcherId),
|
|
|
startDate: new Date(StartDate),
|
|
|
startTime: new Date(`${StartDate} ${StartTime}`),
|
|
|
endDate: new Date(EndDate),
|
|
@@ -711,9 +715,13 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
};
|
|
|
- this.edit_id = RsCalendarId;
|
|
|
- this.edit_rs_id = RsCalendarResearcherId;
|
|
|
- this.isActivityCellDiaShow = true;
|
|
|
+ this.edit_id = RsCalendarId;
|
|
|
+ this.edit_rs_id = RsCalendarResearcherId;
|
|
|
+ if(!RsMattersId && ActivityType === '内部会议') {
|
|
|
+ this.isActivityBtnDiaShow = true;
|
|
|
+ }else {
|
|
|
+ this.isActivityCellDiaShow = true;
|
|
|
+ }
|
|
|
},
|
|
|
/* 编辑事项 */
|
|
|
editMatterHandle({ RsMattersId,StartDate,StartTime,EndDate,EndTime,MatterContent }) {
|