|
@@ -83,7 +83,11 @@ class MaintenanceSearch extends BaseWidget {
|
|
|
this.selectLineSym = this.mapSet.setGraphSymbol("polyline", "blue");
|
|
|
this.maintenancePageInfo=this.AppX.runtimeConfig.maintenancePageInfo;
|
|
|
}
|
|
|
+ planBegindate = {
|
|
|
+ format: 'YYYY-MM-DD',
|
|
|
+ isinitVal: false,
|
|
|
|
|
|
+ }
|
|
|
|
|
|
* 选中图层渲染创建、销毁、清理
|
|
|
* @param action 通过枚举operation控制操作
|
|
@@ -108,9 +112,13 @@ class MaintenanceSearch extends BaseWidget {
|
|
|
getSearchInfo() {
|
|
|
let workOrderState = this.domObj.find(".workOrderType option:selected").val();
|
|
|
let siteName = this.domObj.find(".siteName").val();
|
|
|
+ let type = this.domObj.find(".type").val();
|
|
|
+ let createTime = this.domObj.find(".plan_begindate").val();
|
|
|
this.searchInfo = {
|
|
|
workOrderState: workOrderState ? workOrderState : "",
|
|
|
address: siteName ? siteName : "",
|
|
|
+ type:type ? type : "",
|
|
|
+ createTime: createTime ? createTime +" 00:00:00" :"",
|
|
|
"orders[0].asc":false,
|
|
|
"orders[0].column":"create_time"
|
|
|
}
|
|
@@ -127,6 +135,10 @@ class MaintenanceSearch extends BaseWidget {
|
|
|
this.domObj.find(".btn_delete").off().click(e => {
|
|
|
this.deleteScheduler();
|
|
|
});
|
|
|
+ this.domObj.find(".btn_exportExcel").off().click(e => {
|
|
|
+ this.domObj.find(".buttons-excel").trigger("click");
|
|
|
+ });
|
|
|
+ $.jeDate("." + this.baseClass + " .plan_begindate", this.planBegindate);
|
|
|
}
|
|
|
|
|
|
|