明树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
da9fa15d
Commit
da9fa15d
authored
Apr 07, 2026
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d003b150
Pipeline
#109384
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
projectController.js
controller/projectController.js
+2
-2
No files found.
controller/projectController.js
View file @
da9fa15d
...
@@ -1274,7 +1274,7 @@ async function approvalZaiJuece(req, res, next) {
...
@@ -1274,7 +1274,7 @@ async function approvalZaiJuece(req, res, next) {
let
proInfo
=
await
projectModule
.
getProjectInfo
(
req
.
body
);
let
proInfo
=
await
projectModule
.
getProjectInfo
(
req
.
body
);
if
(
req
.
body
.
approvalResult
)
{
if
(
req
.
body
.
approvalResult
)
{
//1. 更新项目状态--已决策
//1. 更新项目状态--已决策
await
DB
.
Project
.
update
({
projectLzType
:
"13"
},
{
where
:
{
id
:
req
.
body
.
id
}
});
await
DB
.
Project
.
update
({
projectLzType
:
13
},
{
where
:
{
id
:
req
.
body
.
id
}
});
//2. 存储快照 关联关系太多 全部建立快照表工程过大,暂时存储形式
//2. 存储快照 关联关系太多 全部建立快照表工程过大,暂时存储形式
proInfo
.
projectLzType
=
"13"
;
proInfo
.
projectLzType
=
"13"
;
await
DB
.
ProjectLixiang
.
create
({
zaijuece
:
proInfo
,
type
:
3
,
projectId
:
proInfo
.
id
});
await
DB
.
ProjectLixiang
.
create
({
zaijuece
:
proInfo
,
type
:
3
,
projectId
:
proInfo
.
id
});
...
@@ -1293,7 +1293,7 @@ async function approvalZaiJuece(req, res, next) {
...
@@ -1293,7 +1293,7 @@ async function approvalZaiJuece(req, res, next) {
await
DB
.
FlowRecord
.
create
({
await
DB
.
FlowRecord
.
create
({
userId
:
req
.
user
.
id
,
userId
:
req
.
user
.
id
,
actionName
:
'再决策审批未通过'
,
actionName
:
'再决策审批未通过'
,
projectId
:
pro
ject
.
id
,
projectId
:
pro
Info
.
id
,
projectName
:
proInfo
.
projectName
,
projectName
:
proInfo
.
projectName
,
projectCode
:
proInfo
.
projectCode
,
projectCode
:
proInfo
.
projectCode
,
content
:
req
.
body
.
approvalMessage
,
content
:
req
.
body
.
approvalMessage
,
...
...
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