Commit f4eeda8f by 蒋勇

d

parent f63a4970
...@@ -233,7 +233,8 @@ class RptTypeService extends ServiceBase{ ...@@ -233,7 +233,8 @@ class RptTypeService extends ServiceBase{
var paramto={ var paramto={
"Detection_zone":batch.batchdate, "Detection_zone":batch.batchdate,
"CreatTime":batch.updated_at, "CreatTime":new Date(batch.updated_at).toLocaleDateString(),
"timeType":batch.timetypecode,
"company_name":batch.companyname, "company_name":batch.companyname,
"Task_Num":batch.id, "Task_Num":batch.id,
"fi":arrayfi, "fi":arrayfi,
......
var str=new Date("2020-02-21T14:18:33.000Z").toLocaleDateString();
console.log(str);
// var x=isNaN("2") // var x=isNaN("2")
// console.log(x); // console.log(x);
var x={} // var x={}
x[1]=[1,2] // x[1]=[1,2]
console.log(x[1].indexOf(5)) // console.log(x[1].indexOf(5))
delete x[1] // delete x[1]
console.log(x[1].indexOf(5)) // console.log(x[1].indexOf(5))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment