明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_backend
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zengfanpei
jt_backend
Commits
5bd58252
Commit
5bd58252
authored
Dec 24, 2025
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5fe27de9
Pipeline
#105116
passed with stage
in 3 seconds
Changes
31
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
165 additions
and
54 deletions
+165
-54
projectTzController.js
controller/projectTzController.js
+134
-23
project.js
db/model/jt/project.js
+1
-1
projectBjtj.js
db/model/jt/projectBjtj.js
+1
-1
projectCwpjbjtj.js
db/model/jt/projectCwpjbjtj.js
+1
-1
projectCwpjzb.js
db/model/jt/projectCwpjzb.js
+1
-1
projectFile.js
db/model/jt/projectFile.js
+1
-1
projectFxgl.js
db/model/jt/projectFxgl.js
+1
-1
projectGdxx.js
db/model/jt/projectGdxx.js
+1
-1
projectJczt.js
db/model/jt/projectJczt.js
+1
-1
projectJsgm.js
db/model/jt/projectJsgm.js
+1
-1
projectLcbjd.js
db/model/jt/projectLcbjd.js
+1
-1
projectSpyj.js
db/model/jt/projectSpyj.js
+1
-1
projectSpyjjc.js
db/model/jt/projectSpyjjc.js
+1
-1
projectTzsyzb.js
db/model/jt/projectTzsyzb.js
+1
-1
projectTzzjll.js
db/model/jt/projectTzzjll.js
+1
-1
projectTzzt.js
db/model/jt/projectTzzt.js
+1
-1
projectXmtzze.js
db/model/jt/projectXmtzze.js
+1
-1
resources.js
db/model/jt/resources.js
+1
-1
tzTzkz.js
db/model/jt/tzTzkz.js
+1
-1
tzTzkzCwpj.js
db/model/jt/tzTzkzCwpj.js
+1
-1
tzTzkzJcpfyj.js
db/model/jt/tzTzkzJcpfyj.js
+2
-2
tzTzkzTzekz.js
db/model/jt/tzTzkzTzekz.js
+1
-1
tzTzkzTzsy.js
db/model/jt/tzTzkzTzsy.js
+1
-1
tzTzmbzrs.js
db/model/jt/tzTzmbzrs.js
+1
-1
tzTzmbzrsZb.js
db/model/jt/tzTzmbzrsZb.js
+1
-1
depart.js
db/model/system/depart.js
+1
-1
excel.js
db/model/system/excel.js
+1
-1
file.js
db/model/system/file.js
+1
-1
menu.js
db/model/system/menu.js
+1
-1
position.js
db/model/system/position.js
+1
-1
role.js
db/model/system/role.js
+1
-1
No files found.
controller/projectTzController.js
View file @
5bd58252
This diff is collapsed.
Click to expand it.
db/model/jt/project.js
View file @
5bd58252
...
...
@@ -308,7 +308,7 @@ const Project = sequelize.define('Project', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectBjtj.js
View file @
5bd58252
...
...
@@ -96,7 +96,7 @@ const projectBjtj = sequelize.define('projectBjtj', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectCwpjbjtj.js
View file @
5bd58252
...
...
@@ -41,7 +41,7 @@ const projectCwpjbjtj = sequelize.define('projectCwpjbjtj', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectCwpjzb.js
View file @
5bd58252
...
...
@@ -44,7 +44,7 @@ const projectCwpjzb = sequelize.define('projectCwpjzb', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectFile.js
View file @
5bd58252
...
...
@@ -34,7 +34,7 @@ const ProjectFile = sequelize.define('ProjectFile', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectFxgl.js
View file @
5bd58252
...
...
@@ -41,7 +41,7 @@ const ProjectFxgl = sequelize.define('ProjectFxgl', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectGdxx.js
View file @
5bd58252
...
...
@@ -79,7 +79,7 @@ const ProjectGdxx = sequelize.define('ProjectGdxx', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectJczt.js
View file @
5bd58252
...
...
@@ -45,7 +45,7 @@ const ProjectJczt = sequelize.define('ProjectJczt', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectJsgm.js
View file @
5bd58252
...
...
@@ -45,7 +45,7 @@ const ProjectJsgm = sequelize.define('ProjectJsgm', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectLcbjd.js
View file @
5bd58252
...
...
@@ -44,7 +44,7 @@ const ProjectLcbjd = sequelize.define('ProjectLcbjd', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectSpyj.js
View file @
5bd58252
...
...
@@ -56,7 +56,7 @@ const ProjectSpyj = sequelize.define('ProjectSpyj', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectSpyjjc.js
View file @
5bd58252
...
...
@@ -55,7 +55,7 @@ const ProjectSpyjjc = sequelize.define('ProjectSpyjjc', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectTzsyzb.js
View file @
5bd58252
...
...
@@ -33,7 +33,7 @@ const ProjectTzsyzb = sequelize.define('ProjectTzsyzb', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectTzzjll.js
View file @
5bd58252
...
...
@@ -35,7 +35,7 @@ const ProjectTzzjll = sequelize.define('ProjectTzzjll', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectTzzt.js
View file @
5bd58252
...
...
@@ -41,7 +41,7 @@ const ProjectTzzt = sequelize.define('ProjectTzzt', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/projectXmtzze.js
View file @
5bd58252
...
...
@@ -60,7 +60,7 @@ const ProjectXmtzze = sequelize.define('ProjectXmtzze', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/resources.js
View file @
5bd58252
...
...
@@ -48,7 +48,7 @@ const Resources = sequelize.define('Resources', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/tzTzkz.js
View file @
5bd58252
...
...
@@ -55,7 +55,7 @@ const TzTzkz = sequelize.define('TzTzkz', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/tzTzkzCwpj.js
View file @
5bd58252
...
...
@@ -47,7 +47,7 @@ const TzTzkzCwpj = sequelize.define('TzTzkzCwpj', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/tzTzkzJcpfyj.js
View file @
5bd58252
...
...
@@ -62,7 +62,7 @@ const TzTzkzJcpfyj = sequelize.define('TzTzkzJcpfyj', {
type
:
DataTypes
.
DATE
,
comment
:
"预计完成时间"
,
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
createdAt
'
);
const
rawValue
=
this
.
getDataValue
(
'
yjwcsj
'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
},
...
...
@@ -108,7 +108,7 @@ const TzTzkzJcpfyj = sequelize.define('TzTzkzJcpfyj', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/tzTzkzTzekz.js
View file @
5bd58252
...
...
@@ -100,7 +100,7 @@ const TzTzkzTzekz = sequelize.define('TzTzkzTzekz', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/tzTzkzTzsy.js
View file @
5bd58252
...
...
@@ -41,7 +41,7 @@ const TzTzkzTzsy = sequelize.define('TzTzkzTzsy', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/tzTzmbzrs.js
View file @
5bd58252
...
...
@@ -76,7 +76,7 @@ const TzTzmbzrs = sequelize.define('TzTzmbzrs', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/jt/tzTzmbzrsZb.js
View file @
5bd58252
...
...
@@ -60,7 +60,7 @@ const TzTzmbzrsZb = sequelize.define('TzTzmbzrsZb', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/system/depart.js
View file @
5bd58252
...
...
@@ -37,7 +37,7 @@ const Depart = sequelize.define('Depart', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/system/excel.js
View file @
5bd58252
...
...
@@ -66,7 +66,7 @@ const ExcelRecord = sequelize.define('ExcelRecord', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/system/file.js
View file @
5bd58252
...
...
@@ -49,7 +49,7 @@ const File = sequelize.define('File', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/system/menu.js
View file @
5bd58252
...
...
@@ -64,7 +64,7 @@ const Menu = sequelize.define('Menu', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/system/position.js
View file @
5bd58252
...
...
@@ -38,7 +38,7 @@ const Position = sequelize.define('Position', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
db/model/system/role.js
View file @
5bd58252
...
...
@@ -39,7 +39,7 @@ const Role = sequelize.define('Role', {
type
:
DataTypes
.
DATE
,
defaultValue
:
new
Date
(),
get
()
{
const
rawValue
=
this
.
getDataValue
(
'
cre
atedAt'
);
const
rawValue
=
this
.
getDataValue
(
'
upd
atedAt'
);
return
rawValue
?
moment
(
rawValue
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
;
}
}
...
...
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