| @@ -12,7 +12,9 @@ Page({ | |||||
| showStartTime:false, | showStartTime:false, | ||||
| showEndTime:false, | showEndTime:false, | ||||
| ynProjcetStatusOptions:[], | ynProjcetStatusOptions:[], | ||||
| form:{}, | |||||
| form:{ | |||||
| }, | |||||
| id:"", | id:"", | ||||
| ynProjcetStatusindex:0, | ynProjcetStatusindex:0, | ||||
| status:0, | status:0, | ||||
| @@ -47,6 +49,10 @@ Page({ | |||||
| }) | }) | ||||
| }else{ | }else{ | ||||
| let that = this | let that = this | ||||
| this.setData({ | |||||
| 'form.startTime':this.getNewDate(new Date()), | |||||
| 'form.endTime':this.getNewDate(new Date()) | |||||
| }); | |||||
| UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'yn_projcet_status', {method:'GET'}, { | UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'yn_projcet_status', {method:'GET'}, { | ||||
| success: (r) => { | success: (r) => { | ||||
| if(r.data.length>0){ | if(r.data.length>0){ | ||||