调整
This commit is contained in:
@@ -17,9 +17,16 @@ export function listWmFgentryInspect(query) {
|
||||
* @param {查询条件} data
|
||||
*/
|
||||
export function listWmFgentryInspect_firstLevel(query) {
|
||||
|
||||
|
||||
const moment = require('moment')
|
||||
if (query.starttime != undefined || query.starttime != '') query.starttime = moment(query.starttime).format('YYYY-MM-DD HH:mm:ss')
|
||||
if (query.endtime != undefined || query.endtime != '') query.endtime = moment(query.endtime).format('YYYY-MM-DD HH:mm:ss')
|
||||
|
||||
if (query.starttime != null) {
|
||||
query.starttime = moment(query.starttime).format('YYYY-MM-DD HH:mm:ss')
|
||||
}
|
||||
if (query.endtime != null) {
|
||||
query.endtime = moment(query.endtime).format('YYYY-MM-DD HH:mm:ss')
|
||||
}
|
||||
|
||||
return request({
|
||||
url: '/mes/wm/WmFgentryInspect/first_level_list',
|
||||
|
||||
Reference in New Issue
Block a user