Explorar el Código

优化

master
yujk hace 3 años
padre
commit
7a7ea6cb5e
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. +7
    -1
      pages/project/add/add.js

+ 7
- 1
pages/project/add/add.js Ver fichero

@@ -12,7 +12,9 @@ Page({
showStartTime:false,
showEndTime:false,
ynProjcetStatusOptions:[],
form:{},
form:{
},
id:"",
ynProjcetStatusindex:0,
status:0,
@@ -47,6 +49,10 @@ Page({
})
}else{
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'}, {
success: (r) => {
if(r.data.length>0){


Cargando…
Cancelar
Guardar