Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
f4eeda8f
Commit
f4eeda8f
authored
Feb 24, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
f63a4970
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
fi-taxctl/app/base/service/impl/rpt/rpttypeSve.js
+2
-1
fi-taxctl/app/base/test2.js
+9
-5
No files found.
fi-taxctl/app/base/service/impl/rpt/rpttypeSve.js
View file @
f4eeda8f
...
@@ -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
,
...
...
fi-taxctl/app/base/test2.js
View file @
f4eeda8f
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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment