明树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
9e33300f
Commit
9e33300f
authored
Feb 05, 2026
by
yangyajing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
projectLzType
parent
a172f9f8
Pipeline
#107009
passed with stage
in 19 seconds
Changes
8
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
128 additions
and
33 deletions
+128
-33
routes.js
src/router/routes.js
+4
-4
addProject.vue
src/views/projectManage/addProject.vue
+8
-8
projectAllPage.vue
src/views/projectManage/projectAllPage.vue
+6
-6
projectArgument.vue
src/views/projectManage/projectArgument.vue
+3
-3
projectDecision.vue
src/views/projectManage/projectDecision.vue
+3
-3
projectDraft.vue
src/views/projectManage/projectDraft.vue
+4
-4
projectSetUp.vue
src/views/projectManage/projectSetUp.vue
+5
-5
message.vue
src/views/systemManage/message.vue
+95
-0
No files found.
src/router/routes.js
View file @
9e33300f
...
...
@@ -16,14 +16,14 @@ const routes = [
{
path
:
"/"
,
name
:
"首页"
,
redirect
:
"/
building
"
,
redirect
:
"/
message
"
,
component
:
MainLayout
,
children
:
[
{
path
:
"/
information
"
,
name
:
"
information
"
,
path
:
"/
message
"
,
name
:
"
message
"
,
title
:
"消息中心"
,
component
:
()
=>
import
(
"@/views/
homePage/building
.vue"
),
component
:
()
=>
import
(
"@/views/
systemManage/message
.vue"
),
},
{
path
:
"/homePage"
,
...
...
src/views/projectManage/addProject.vue
View file @
9e33300f
...
...
@@ -10,15 +10,15 @@
<div
class=
"header-right"
>
<el-button
type=
"default"
@
click=
"backClick"
>
返回
</el-button>
<template
v-if=
"!loading && !isPreview"
>
<el-button
type=
"primary"
v-if=
"formData.projectLzType ==
1
|| !formData.projectLzType"
@
click=
"saveClick('save')"
>
保存
</el-button>
<el-button
type=
"primary"
v-if=
"formData.projectLzType ==
1
"
@
click=
"saveClick('submit')"
>
发起立项填报
</el-button>
<el-button
type=
"primary"
v-if=
"formData.projectLzType ==
'1'
|| !formData.projectLzType"
@
click=
"saveClick('save')"
>
保存
</el-button>
<el-button
type=
"primary"
v-if=
"formData.projectLzType ==
'1'
"
@
click=
"saveClick('submit')"
>
发起立项填报
</el-button>
</
template
>
</div>
</div>
<el-tabs
v-model=
"lxTabActiveName"
>
<el-tab-pane
label=
"基本信息"
name=
"基本信息"
>
<div
class=
"tab-content"
>
<el-form
:model=
"formData"
:label-width=
"150"
:disabled=
"isPreview || (
formData.projectLzType <= 5 && formData.projectLzType
!= 1)"
>
<el-form
:model=
"formData"
:label-width=
"150"
:disabled=
"isPreview || (
Number(formData.projectLzType) <= 5 && Number(formData.projectLzType)
!= 1)"
>
<el-collapse
v-model=
"activeCollapse"
>
<el-collapse-item
title=
"项目基本信息"
name=
"项目基本信息"
>
<el-row
:gutter=
"20"
>
...
...
@@ -591,7 +591,7 @@
</el-tab-pane>
<el-tab-pane
label=
"立项批复"
name=
"立项批复"
>
<div
class=
"tab-content"
>
<el-form
:model=
"formData"
:label-width=
"150"
:disabled=
"isPreview || (
formData.projectLzType <= 5 && formData.projectLzType
!= 1)"
>
<el-form
:model=
"formData"
:label-width=
"150"
:disabled=
"isPreview || (
Number(formData.projectLzType) <= 5 && Number(formData.projectLzType)
!= 1)"
>
<el-collapse
v-model=
"activeCollapse"
>
<el-collapse-item
title=
"项目投资总额(全口径)"
name=
"项目投资总额(全口径)"
>
<el-table
:data=
"tzzeqkjData"
style=
"width: 100%"
empty-text=
"暂无数据"
...
...
@@ -865,7 +865,7 @@
</div>
</el-tab-pane>
<el-tab-pane
label=
"决策信息填报"
name=
"决策信息填报"
v-if=
"formData.projectLzType ==
5 || formData.projectLzType == 7
"
v-if=
"formData.projectLzType ==
= '5' || formData.projectLzType === '7'
"
:lazy=
"true"
>
<div
class=
"project-tab-content"
>
...
...
@@ -875,7 +875,7 @@
<el-button
type=
"default"
@
click=
"backClick"
>
返回
</el-button>
<
template
v-if=
"!loading && !isPreview"
>
<el-button
type=
"primary"
@
click=
"saveClick('save')"
>
保存
</el-button>
<el-button
type=
"primary"
v-if=
"jcFormData.projectLzType ==
7
"
@
click=
"saveClick('submit')"
>
发起决策信息填报
</el-button>
<el-button
type=
"primary"
v-if=
"jcFormData.projectLzType ==
= '7'
"
@
click=
"saveClick('submit')"
>
发起决策信息填报
</el-button>
</
template
>
</div>
</div>
...
...
@@ -3498,7 +3498,7 @@
}
// 保存数据
const
saveClick
=
(
type
)
=>
{
if
(
!
formData
.
projectLzType
||
formData
.
projectLzType
==
1
)
{
if
(
!
formData
.
projectLzType
||
formData
.
projectLzType
==
=
'1'
)
{
let
url
=
formData
.
id
?
type
===
"submit"
?
"startLixiang"
:
"saveProjectPreLixiang"
:
"createProject"
;
let
gdxxNewArr
=
JSON
.
parse
(
JSON
.
stringify
(
gdxxData
));
gdxxNewArr
.
splice
(
-
1
);
...
...
@@ -3524,7 +3524,7 @@
router
.
push
(
"/projectDraft"
);
}
})
}
else
if
(
jcFormData
.
projectLzType
==
5
||
jcFormData
.
projectLzType
==
7
)
{
}
else
if
(
jcFormData
.
projectLzType
==
=
"5"
||
jcFormData
.
projectLzType
===
"7"
)
{
let
url
=
type
===
"submit"
?
"startJuece"
:
"saveJuece"
;
let
gdxxNewArr
=
JSON
.
parse
(
JSON
.
stringify
(
jcGdxxData
));
gdxxNewArr
.
splice
(
-
1
);
...
...
src/views/projectManage/projectAllPage.vue
View file @
9e33300f
...
...
@@ -79,9 +79,9 @@
width
:
120
,
align
:
"center"
,
formatter
:
(
data
)
=>
{
return
data
.
projectLzType
===
1
?
"待立项"
:
data
.
projectLzType
===
3
?
"立项审批中"
:
data
.
projectLzType
===
5
?
"已立项"
:
data
.
projectLzType
===
7
?
"决策填报中"
:
data
.
projectLzType
===
8
?
"决策审批中"
:
data
.
projectLzType
===
9
?
"已决策"
:
"待立项"
return
data
.
projectLzType
===
"1"
?
"待立项"
:
data
.
projectLzType
===
"3"
?
"立项审批中"
:
data
.
projectLzType
===
"5"
?
"已立项"
:
data
.
projectLzType
===
"7"
?
"决策填报中"
:
data
.
projectLzType
===
"8"
?
"决策审批中"
:
data
.
projectLzType
===
"9"
?
"已决策"
:
"待立项"
}
},
{
...
...
@@ -130,9 +130,9 @@
width
:
120
,
align
:
"center"
,
formatter
:
(
data
)
=>
{
return
data
.
projectLzType
===
1
?
"待立项"
:
data
.
projectLzType
===
3
?
"立项审批中"
:
data
.
projectLzType
===
5
?
"已立项"
:
data
.
projectLzType
===
7
?
"决策填报中"
:
data
.
projectLzType
===
8
?
"决策审批中"
:
data
.
projectLzType
===
9
?
"已决策"
:
"待立项"
return
data
.
projectLzType
===
"1"
?
"待立项"
:
data
.
projectLzType
===
"3"
?
"立项审批中"
:
data
.
projectLzType
===
"5"
?
"已立项"
:
data
.
projectLzType
===
"7"
?
"决策填报中"
:
data
.
projectLzType
===
"8"
?
"决策审批中"
:
data
.
projectLzType
===
"9"
?
"已决策"
:
"待立项"
}
}
]);
...
...
src/views/projectManage/projectArgument.vue
View file @
9e33300f
...
...
@@ -60,9 +60,9 @@
width
:
120
,
align
:
"center"
,
formatter
:
(
data
)
=>
{
return
data
.
projectLzType
===
1
?
"待立项"
:
data
.
projectLzType
===
3
?
"立项审批中"
:
data
.
projectLzType
===
5
?
"已立项"
:
data
.
projectLzType
===
7
?
"决策填报中"
:
data
.
projectLzType
===
8
?
"决策审批中"
:
data
.
projectLzType
===
9
?
"已决策"
:
"待立项"
return
data
.
projectLzType
===
"1"
?
"待立项"
:
data
.
projectLzType
===
"3"
?
"立项审批中"
:
data
.
projectLzType
===
"5"
?
"已立项"
:
data
.
projectLzType
===
"7"
?
"决策填报中"
:
data
.
projectLzType
===
"8"
?
"决策审批中"
:
data
.
projectLzType
===
"9"
?
"已决策"
:
"待立项"
}
},
{
...
...
src/views/projectManage/projectDecision.vue
View file @
9e33300f
...
...
@@ -59,9 +59,9 @@
width
:
120
,
align
:
"center"
,
formatter
:
(
data
)
=>
{
return
data
.
projectLzType
===
1
?
"待立项"
:
data
.
projectLzType
===
3
?
"立项审批中"
:
data
.
projectLzType
===
5
?
"已立项"
:
data
.
projectLzType
===
7
?
"决策填报中"
:
data
.
projectLzType
===
8
?
"决策审批中"
:
data
.
projectLzType
===
9
?
"已决策"
:
"待立项"
return
data
.
projectLzType
===
"1"
?
"待立项"
:
data
.
projectLzType
===
"3"
?
"立项审批中"
:
data
.
projectLzType
===
"5"
?
"已立项"
:
data
.
projectLzType
===
"7"
?
"决策填报中"
:
data
.
projectLzType
===
"8"
?
"决策审批中"
:
data
.
projectLzType
===
"9"
?
"已决策"
:
"待立项"
}
},
{
...
...
src/views/projectManage/projectDraft.vue
View file @
9e33300f
...
...
@@ -25,7 +25,7 @@
>
<template
#
operations=
"
{ row, index }">
<el-button
link
type=
"primary"
size=
"small"
@
click=
"previewProject(row)"
>
查看
</el-button>
<el-button
link
type=
"primary"
size=
"small"
@
click=
"editProject(row)"
>
发起立项
</el-button>
<el-button
link
type=
"primary"
size=
"small"
@
click=
"editProject(row)"
>
编辑
</el-button>
<el-button
link
type=
"danger"
size=
"small"
@
click=
"deleteProject(row)"
>
删除
</el-button>
</
template
>
</common-table>
...
...
@@ -63,9 +63,9 @@
width
:
120
,
align
:
"center"
,
formatter
:
(
data
)
=>
{
return
data
.
projectLzType
===
1
?
"待立项"
:
data
.
projectLzType
===
3
?
"立项审批中"
:
data
.
projectLzType
===
5
?
"已立项"
:
data
.
projectLzType
===
7
?
"决策填报中"
:
data
.
projectLzType
===
8
?
"决策审批中"
:
data
.
projectLzType
===
9
?
"已决策"
:
"待立项"
return
data
.
projectLzType
===
"1"
?
"待立项"
:
data
.
projectLzType
===
"3"
?
"立项审批中"
:
data
.
projectLzType
===
"5"
?
"已立项"
:
data
.
projectLzType
===
"7"
?
"决策填报中"
:
data
.
projectLzType
===
"8"
?
"决策审批中"
:
data
.
projectLzType
===
"9"
?
"已决策"
:
"待立项"
}
},
{
...
...
src/views/projectManage/projectSetUp.vue
View file @
9e33300f
...
...
@@ -24,12 +24,12 @@
<template
#
operations=
"
{ row, index }">
<!-- 立项审批中 -->
<el-button
link
type=
"primary"
size=
"small"
v-if=
"row.projectLzType ===
3
"
v-if=
"row.projectLzType ===
'3'
"
:loading=
"row.loading"
@
click=
"getResult(row)"
>
查询审批结果
</el-button>
<!-- 已立项 -->
<el-button
link
type=
"primary"
size=
"small"
v-if=
"row.projectLzType ===
5
"
v-if=
"row.projectLzType ===
'5'
"
@
click=
"fillDecision(row)"
>
决策填报
</el-button>
</
template
>
...
...
@@ -66,9 +66,9 @@
width
:
120
,
align
:
"center"
,
formatter
:
(
data
)
=>
{
return
data
.
projectLzType
===
1
?
"待立项"
:
data
.
projectLzType
===
3
?
"立项审批中"
:
data
.
projectLzType
===
5
?
"已立项"
:
data
.
projectLzType
===
7
?
"决策填报中"
:
data
.
projectLzType
===
8
?
"决策审批中"
:
data
.
projectLzType
===
9
?
"已决策"
:
"待立项"
return
data
.
projectLzType
===
"1"
?
"待立项"
:
data
.
projectLzType
===
"3"
?
"立项审批中"
:
data
.
projectLzType
===
"5"
?
"已立项"
:
data
.
projectLzType
===
"7"
?
"决策填报中"
:
data
.
projectLzType
===
"8"
?
"决策审批中"
:
data
.
projectLzType
===
"9"
?
"已决策"
:
"待立项"
}
},
{
...
...
src/views/systemManage/message.vue
0 → 100644
View file @
9e33300f
<
template
>
<div
class=
"system-manage-container message-container"
v-loading=
"loading"
>
<div
class=
"system-manage-content manage-content"
>
<common-table
:autoHeight=
"true"
:maxRows=
"10"
:rowHeight=
"40"
:data=
"tableData"
:columns=
"tableColumns"
:total=
"total"
:current-page=
"currentPage"
:page-size=
"pageSize"
title=
""
:index=
"true"
:border=
"true"
@
size-change=
"handleSizeChange"
@
current-page-change=
"handleCurrentPageChange"
>
<template
#
operations=
"
{ row, index }">
<el-button
link
type=
"primary"
size=
"small"
@
click=
"handlePreview(row, index)"
>
查看
</el-button>
<el-button
link
type=
"danger"
size=
"small"
@
click=
"handleDelete(row, index)"
>
删除
</el-button>
</
template
>
</common-table>
</div>
</div>
</template>
<
script
setup
>
import
{
ref
,
reactive
,
onMounted
,
getCurrentInstance
,
computed
,
nextTick
}
from
"vue"
;
import
{
ElMessage
,
ElMessageBox
}
from
"element-plus"
;
import
CommonTable
from
"@/components/common/commonTable.vue"
;
const
{
proxy
}
=
getCurrentInstance
();
const
loading
=
ref
(
false
);
// 表格数据
const
tableData
=
ref
([]);
const
total
=
ref
(
0
);
const
currentPage
=
ref
(
1
);
const
pageSize
=
ref
(
10
);
// 表格列配置
const
tableColumns
=
[
{
prop
:
"name"
,
label
:
"标题"
,
minWidth
:
100
},
{
prop
:
"operations"
,
label
:
"操作"
,
width
:
100
,
slot
:
"operations"
,
fixed
:
"right"
,
align
:
"center"
,
}
];
const
loadTableData
=
()
=>
{
loading
.
value
=
true
;
proxy
.
$post
({
url
:
"/api/message/getUserMessages"
,
data
:
{
page
:
currentPage
.
value
,
pageSize
:
pageSize
.
value
,
},
callback
:
(
data
)
=>
{
tableData
.
value
=
data
.
rows
;
total
.
value
=
data
.
count
;
loading
.
value
=
false
;
},
error
:
(
err
)
=>
{
loading
.
value
=
false
;
ElMessage
.
error
(
"加载数据失败"
);
},
});
};
const
handleSizeChange
=
(
size
)
=>
{
pageSize
.
value
=
size
;
currentPage
.
value
=
1
;
loadTableData
();
};
const
handleCurrentPageChange
=
(
page
)
=>
{
currentPage
.
value
=
page
;
loadTableData
();
};
onMounted
(()
=>
{
loadTableData
();
});
</
script
>
<
style
lang=
"less"
>
@import "@/styles/manage.less";
</
style
>
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