|
@@ -167,6 +167,15 @@ export default {
|
|
|
this.getSpanArr(this.workContents);
|
|
this.getSpanArr(this.workContents);
|
|
|
if (response.data.workPlan != null && response.data.workPlan.length > 0) {
|
|
if (response.data.workPlan != null && response.data.workPlan.length > 0) {
|
|
|
this.workPlans = response.data.workPlan
|
|
this.workPlans = response.data.workPlan
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.workPlans=[{
|
|
|
|
|
+ planContent: '请填写工作计划信息',
|
|
|
|
|
+ id: null,
|
|
|
|
|
+ meetingId: null,
|
|
|
|
|
+ completionTimes: null,
|
|
|
|
|
+ completionTime: null,
|
|
|
|
|
+ projectId: null
|
|
|
|
|
+ }]
|
|
|
}
|
|
}
|
|
|
this.weeks = response.data.weeks
|
|
this.weeks = response.data.weeks
|
|
|
const date = new Date();
|
|
const date = new Date();
|