|
@@ -91,7 +91,8 @@ class MissionSchedule extends BaseWidget {
|
|
|
|
|
|
],
|
|
|
gisUrl: undefined,
|
|
|
- objectIds: undefined
|
|
|
+ objectIds: undefined,
|
|
|
+ plan_tolerance:undefined
|
|
|
}
|
|
|
|
|
|
|
|
@@ -327,7 +328,8 @@ class MissionSchedule extends BaseWidget {
|
|
|
gisInfo: undefined,
|
|
|
gisInfoList:[],
|
|
|
gisUrl: undefined,
|
|
|
- objectIds: undefined
|
|
|
+ objectIds: undefined,
|
|
|
+ plan_tolerance:undefined
|
|
|
}
|
|
|
this.dataTable_current_list = {};
|
|
|
this.objectIdsStr = {};
|
|
@@ -571,8 +573,8 @@ class MissionSchedule extends BaseWidget {
|
|
|
this.addData.intervalDays = parseInt((this.addData.intervalDays == "null" ? "0" : this.addData.intervalDays));
|
|
|
this.addData.planBegindate = this.ajaxSend.conductAddTime(this.domObj.find('.plan_begindate').val());
|
|
|
this.addData.planEnddate = this.ajaxSend.conductAddTime(this.domObj.find('.plan_enddate').val());
|
|
|
- this.addData.planMode = this.domObj.find(".radio:checked").val();
|
|
|
-
|
|
|
+ this.addData.planMode = this.domObj.find(".radio[name='radio']:checked").val();
|
|
|
+ this.addData.plan_tolerance = this.domObj.find(".plan_tolerance").val();
|
|
|
|
|
|
var synergyUserIdsVal = [];
|
|
|
let checkContent = this.domObj.find(".users option:selected").val();
|
|
@@ -792,7 +794,8 @@ class MissionSchedule extends BaseWidget {
|
|
|
planMode:this.addData.planMode,
|
|
|
planRate:JSON.stringify(this.addData.planRate),
|
|
|
synergyUserIds:this.addData.synergyUserIds || "",
|
|
|
- userId:Number(this.addData.userId)
|
|
|
+ userId:Number(this.addData.userId),
|
|
|
+ plan_tolerance:this.addData.plan_tolerance
|
|
|
}
|
|
|
this.ajaxSend.sendAjax(this, sendData, this.config.addMissionScheduleInfo, this.ajaxSend.type.post, this.addMissionScheduleInfoCallback.bind(this));
|
|
|
}else{
|
|
@@ -903,7 +906,8 @@ class MissionSchedule extends BaseWidget {
|
|
|
planMode:this.addData.planMode,
|
|
|
planRate:JSON.stringify(this.addData.planRate),
|
|
|
synergyUserIds:this.addData.synergyUserIds || "",
|
|
|
- userId:Number(this.addData.userId)
|
|
|
+ userId:Number(this.addData.userId),
|
|
|
+ plan_tolerance:this.addData.plan_tolerance
|
|
|
}
|
|
|
this.ajaxSend.sendAjax(this, sendData2, this.config.addMissionScheduleInfo, this.ajaxSend.type.post, this.addMissionScheduleInfoCallback.bind(this));
|
|
|
}
|