明树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
71fa35ab
Commit
71fa35ab
authored
Mar 10, 2026
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c87b9f5f
Pipeline
#108162
passed with stage
in 3 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
10 deletions
+23
-10
projectRcController.js
controller/projectRcController.js
+1
-0
projectTzController.js
controller/projectTzController.js
+11
-0
tzXmtc.js
db/model/jt/tzXmtc.js
+10
-10
projectRouter.js
router/projectRouter.js
+1
-0
No files found.
controller/projectRcController.js
View file @
71fa35ab
...
...
@@ -622,6 +622,7 @@ async function deleteXxhjs(req, res, next) {
// ---------------- 投资档案管理管理 RcTwhgl ----------------
// 创建投资档案管理
async
function
createTzdagl
(
req
,
res
,
next
)
{
...
...
controller/projectTzController.js
View file @
71fa35ab
...
...
@@ -1084,6 +1084,16 @@ async function getXmtcInfo(req, res, next) {
next
(
error
);
}
}
async
function
deleteXmtc
(
req
,
res
,
next
)
{
try
{
await
DB
.
TzXmtc
.
update
({
del
:
1
},
{
where
:
{
id
:
req
.
body
.
id
}
});
return
res
.
sendData
({});
}
catch
(
error
)
{
next
(
error
);
}
}
async
function
updateXmtc
(
req
,
res
,
next
)
{
try
{
if
(
!
req
.
body
.
projectId
)
{
...
...
@@ -1232,4 +1242,5 @@ module.exports = {
deleteJsqtzjc
,
deleteZdsxsp
,
getProTzmbzrs
,
deleteXmtc
,
}
\ No newline at end of file
db/model/jt/tzXmtc.js
View file @
71fa35ab
...
...
@@ -38,8 +38,8 @@ const TzXmtc = sequelize.define('TzXmtc', {
dqjzc
:
{
type
:
DataTypes
.
DECIMAL
(
20
,
8
),
allowNull
:
true
,
comment
:
"当前净资产"
},
xmtzxy
:
{
type
:
DataTypes
.
JSON
,
comment
:
"项目投资效益,不建表,json处理"
},
zjgc
:
{
type
:
DataTypes
.
JSON
,
comment
:
"资金构成"
},
xmtzxy
:
{
type
:
DataTypes
.
JSON
,
comment
:
"项目投资效益,不建表,json处理"
,
defaultValue
:
[]
},
zjgc
:
{
type
:
DataTypes
.
JSON
,
comment
:
"资金构成"
,
defaultValue
:
[]
},
//财务评价指标
jcxmtznbsylsq
:
{
type
:
DataTypes
.
DECIMAL
(
5
,
2
),
allowNull
:
true
,
comment
:
"决策:项目投资内部收益率(税前):"
},
...
...
@@ -53,16 +53,16 @@ const TzXmtc = sequelize.define('TzXmtc', {
zzyy
:
{
type
:
DataTypes
.
STRING
,
comment
:
"中止原因"
},
zzxxyy
:
{
type
:
DataTypes
.
TEXT
,
comment
:
"中止详细原因"
},
qtsm
:
{
type
:
DataTypes
.
TEXT
,
comment
:
"其他说明"
},
xmzzbg
:
{
type
:
DataTypes
.
JSON
},
qtxgzccl
:
{
type
:
DataTypes
.
JSON
},
bpbbwjlj
:
{
type
:
DataTypes
.
JSON
},
xmzzbg
:
{
type
:
DataTypes
.
JSON
,
defaultValue
:
[]
},
qtxgzccl
:
{
type
:
DataTypes
.
JSON
,
defaultValue
:
[]
},
bpbbwjlj
:
{
type
:
DataTypes
.
JSON
,
defaultValue
:
[]
},
//项目重启
jhcqsj
:
{
type
:
DataTypes
.
DATE
,
allowNull
:
true
,
comment
:
"计划重启时间"
},
cqyy
:
{
type
:
DataTypes
.
STRING
,
comment
:
"重启原因"
},
// qtsm: {type: DataTypes.TEXT, comment: "其他说明 --见上"},
xmcqbg
:
{
type
:
DataTypes
.
JSON
},
jcwj
:
{
type
:
DataTypes
.
JSON
},
xmcqbg
:
{
type
:
DataTypes
.
JSON
,
defaultValue
:
[]
},
jcwj
:
{
type
:
DataTypes
.
JSON
,
defaultValue
:
[]
},
// bpbbwjlj: {type: DataTypes.JSON --见上},
//项目终止
zhongzyy
:
{
type
:
DataTypes
.
STRING
,
comment
:
"终止原因"
},
...
...
@@ -70,9 +70,9 @@ const TzXmtc = sequelize.define('TzXmtc', {
xmssxz
:
{
type
:
DataTypes
.
TEXT
,
comment
:
"项目实施现状"
},
knfsdfljfhjjss
:
{
type
:
DataTypes
.
TEXT
,
comment
:
"可能发生的法律纠纷和经济损失"
},
// qtsm: {type: DataTypes.TEXT, comment: "其他说明 --见上"},
xmzhongzbg
:
{
type
:
DataTypes
.
JSON
},
qtxgzccl
:
{
type
:
DataTypes
.
JSON
},
bpbbwjlj
:
{
type
:
DataTypes
.
JSON
},
xmzhongzbg
:
{
type
:
DataTypes
.
JSON
,
defaultValue
:
[]
},
qtxgzccl
:
{
type
:
DataTypes
.
JSON
,
defaultValue
:
[]
},
bpbbwjlj
:
{
type
:
DataTypes
.
JSON
,
defaultValue
:
[]
},
//项目退出
zmjz
:
{
type
:
DataTypes
.
DECIMAL
(
20
,
8
),
allowNull
:
true
,
comment
:
"账面净值"
},
...
...
router/projectRouter.js
View file @
71fa35ab
...
...
@@ -111,6 +111,7 @@ router.post('/createXmtc', projectTzController.createXmtc);
router
.
post
(
'/updateXmtc'
,
projectTzController
.
updateXmtc
);
router
.
post
(
'/getXmtcList'
,
projectTzController
.
getXmtcList
);
router
.
post
(
'/getXmtcInfo'
,
projectTzController
.
getXmtcInfo
);
router
.
post
(
'/deleteXmtc'
,
projectTzController
.
deleteXmtc
);
/**
...
...
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