明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_front
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
Administrator
jt_front
Commits
a023cb2e
Commit
a023cb2e
authored
May 14, 2026
by
zhanghan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
69691c22
Pipeline
#111353
passed with stage
in 20 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
21 deletions
+23
-21
addProject.vue
src/views/projectManage/addProject.vue
+22
-12
projectDecision.vue
src/views/projectManage/projectDecision.vue
+1
-9
No files found.
src/views/projectManage/addProject.vue
View file @
a023cb2e
...
...
@@ -87,24 +87,30 @@
>
</
template
>
<el-button
v-if=
"
isPreview &&
canAudit &&
(formData.projectLzType == '3' ||
formData.projectLzType == '4' ||
jcFormData.projectLzType == '8') &&
formData.del !== 1
"
v-if=
"isPreview && formData.projectLzType == '3'"
type=
"primary"
@
click=
"auditDialogVisible = true"
>
初审
</el-button
>
<el-button
v-if=
"isPreview && formData.projectLzType == '4'"
type=
"primary"
@
click=
"auditDialogVisible = true"
>
{{ formData.projectLzType == "3" ? "初审" : "审核" }}
</el-button
>
审核
</el-button
>
<el-button
v-if=
"isPreview && jcFormData.projectLzType == '8'"
type=
"primary"
@
click=
"auditDialogVisible = true"
>
审核
</el-button
>
<el-button
v-if=
"
isPreview &&
canAudit
&&
formData.projectLzType == '2'
&&
formData
.del !== 1
formData?.daibanUsers?.includes(userInfo?.id)
&&
hasApproveRole
&&
formData
?.projectLzType == '2'
"
type=
"primary"
@
click=
"approveDialogVisible = true"
...
...
@@ -232,6 +238,10 @@ userInfo.roles.map((item) => {
}
});
const
hasApproveRole
=
userInfo
.
roles
?.
some
((
item
)
=>
{
return
[
"tgbzfz"
,
"tgbjbr"
,
"xmssdwbmz"
].
includes
(
item
.
key
);
});
const
isTouGuanBu
=
userInfo
.
departs
?.
some
((
d
)
=>
d
.
name
===
"投资管理部门"
);
const
currentFlowState
=
computed
(()
=>
{
const
lxState
=
Number
(
formData
.
projectLzType
)
||
0
;
...
...
src/views/projectManage/projectDecision.vue
View file @
a023cb2e
...
...
@@ -29,9 +29,7 @@
size=
"small"
:loading=
"row.loading"
@
click=
"previewProject(row)"
>
{{
canAudit
&&
row
.
projectLzType
==
8
?
"审批"
:
"查看"
}}
</el-button
>
{{
row
.
projectLzType
==
8
?
"审批"
:
"查看"
}}
</el-button
>
</
template
>
</common-table>
...
...
@@ -62,12 +60,6 @@ const userInfo =
(
sessionStorage
.
getItem
(
"userInfo"
)
&&
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInfo"
)))
||
{};
let
canAudit
=
ref
(
false
);
userInfo
.
roles
.
map
((
item
)
=>
{
if
([
"xmlx_sp"
,
"xmjc_sp"
].
includes
(
item
.
key
))
{
canAudit
.
value
=
true
;
}
});
let
tableData
=
ref
([]);
let
tableColumns
=
ref
([
...
...
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