Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intelligent_station_web
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
张伯涛
intelligent_station_web
Commits
c5710781
Commit
c5710781
authored
Dec 16, 2024
by
冷玲鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
课程管理-页面修改
parent
bf5acaa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
85 additions
and
43 deletions
+85
-43
index.vue
src/views/projectManagement/allTopics/index.vue
+81
-37
projectInitiation.vue
...s/projectManagement/approvalProcess/projectInitiation.vue
+4
-6
No files found.
src/views/projectManagement/allTopics/index.vue
View file @
c5710781
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-select
<el-select
v-model=
"queryParams.status"
v-model=
"queryParams.status"
placeholder=
"请选择
状态
"
placeholder=
"请选择"
clearable
clearable
size=
"small"
size=
"small"
style=
"width: 220px"
style=
"width: 220px"
...
@@ -77,8 +77,7 @@
...
@@ -77,8 +77,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<!-- @pagination="getList"-->
<el-table
v-loading=
"loading"
style=
"width: 100%;"
:data=
"paginatedCourseInfoList"
>
<el-table
v-loading=
"loading"
style=
"width: 100%;"
:data=
"courseInfoList"
>
<el-table-column
min-width=
"50"
label=
"序号"
prop=
"id"
align=
"center"
>
<el-table-column
min-width=
"50"
label=
"序号"
prop=
"id"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
{{
scope
.
$index
+
1
}}
...
@@ -91,7 +90,7 @@
...
@@ -91,7 +90,7 @@
align=
"center"
align=
"center"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
/>
<el-table-column
min-width=
"1
6
0"
label=
"课程号"
prop=
"courseId"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
min-width=
"1
5
0"
label=
"课程号"
prop=
"courseId"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
<el-table-column
min-width=
"180"
min-width=
"180"
label=
"申报名称"
label=
"申报名称"
...
@@ -120,9 +119,9 @@
...
@@ -120,9 +119,9 @@
>
{{
scope
.
row
.
stage
}}
</el-tag>
>
{{
scope
.
row
.
stage
}}
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
min-width=
"2
7
0"
label=
"状态"
prop=
"status"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
min-width=
"2
3
0"
label=
"状态"
prop=
"status"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
<el-table-column
min-width=
"1
8
0"
min-width=
"1
6
0"
label=
"创建时间"
label=
"创建时间"
prop=
"createTime"
prop=
"createTime"
align=
"center"
align=
"center"
...
@@ -152,18 +151,12 @@
...
@@ -152,18 +151,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<!-- <pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
/>-->
<pagination
<pagination
v-show=
"total>0"
v-show=
"total>0"
:total=
"total"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
/>
</div>
</div>
</template>
</template>
...
@@ -178,9 +171,10 @@ export default {
...
@@ -178,9 +171,10 @@ export default {
data
()
{
data
()
{
return
{
return
{
// 总条数
// 总条数
total
:
10
0
,
total
:
0
,
// 遮罩层
// 遮罩层
loading
:
false
,
loading
:
false
,
// 是否加载中
paginatedCourseInfoList
:
[],
// 当前页的课程数据
// 显示搜索条件
// 显示搜索条件
showSearch
:
true
,
showSearch
:
true
,
// 列表数据
// 列表数据
...
@@ -353,48 +347,76 @@ export default {
...
@@ -353,48 +347,76 @@ export default {
],
],
// 课题类型
// 课题类型
topicType
:
[
topicType
:
[
{
typeName
:
'不限'
,
typeNumber
:
'0'
},
{
{
typeName
:
'一般课题'
,
typeName
:
'一般课题'
,
typeNumber
:
'
1
'
typeNumber
:
'
一般课题
'
},
},
{
{
typeName
:
'重点课题'
,
typeName
:
'重点课题'
,
typeNumber
:
'
2
'
typeNumber
:
'
重点课题
'
}
}
],
],
// 状态
// 状态
statusList
:
[
statusList
:
[
{
{
statusName
:
'
不限
'
,
statusName
:
'
申报完成
'
,
statusNumber
:
'
0
'
statusNumber
:
'
申报完成
'
},
},
{
{
statusName
:
'
验收完成
'
,
statusName
:
'
立项审批(专家指定中)
'
,
statusNumber
:
'
1
'
statusNumber
:
'
立项审批(专家指定中)
'
},
},
{
{
statusName
:
'申报完成'
,
statusName
:
'立项审批(专家评审中)'
,
statusNumber
:
'2'
statusNumber
:
'立项审批(专家评审中)'
},
{
statusName
:
'立项评审结果'
,
statusNumber
:
'立项评审结果'
},
},
{
{
statusName
:
'
项目申报中
'
,
statusName
:
'
中期申报完成
'
,
statusNumber
:
'
3
'
statusNumber
:
'
中期申报完成
'
},
},
{
{
statusName
:
'
立项
评审中'
,
statusName
:
'
中期
评审中'
,
statusNumber
:
'
4
'
statusNumber
:
'
中期评审中
'
},
},
{
{
statusName
:
'
验收申请
完成'
,
statusName
:
'
中期评审
完成'
,
statusNumber
:
'
5
'
statusNumber
:
'
中期评审完成
'
},
},
{
{
statusName
:
'验收申请中'
,
statusName
:
'验收申报完成'
,
statusNumber
:
'6'
statusNumber
:
'验收申报完成'
},
{
statusName
:
'验收评审(专家指定中/免审)'
,
statusNumber
:
'验收评审(专家指定中/免审)'
},
{
statusName
:
'验收评审(专家评审中)'
,
statusNumber
:
'验收评审(专家评审中)'
},
{
statusName
:
'验收完成(专家评审)'
,
statusNumber
:
'验收完成(专家评审)'
},
{
statusName
:
'验收评审(免审中)'
,
statusNumber
:
'验收评审(免审中)'
},
{
statusName
:
'验收完成(免审)'
,
statusNumber
:
'验收完成(免审)'
},
{
statusName
:
'验收完成(专家评审)'
,
statusNumber
:
'验收完成(专家评审)'
},
{
statusName
:
'验收完成(免审)'
,
statusNumber
:
'验收完成(免审)'
}
}
],
],
// 查询参数
// 查询参数
...
@@ -445,8 +467,16 @@ export default {
...
@@ -445,8 +467,16 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
methods
:
{
methods
:
{
// 计算分页数据
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
const
startIndex
=
(
this
.
queryParams
.
pageNum
-
1
)
*
this
.
queryParams
.
pageSize
const
endIndex
=
startIndex
+
this
.
queryParams
.
pageSize
// 获取当前页的课程数据
this
.
paginatedCourseInfoList
=
this
.
courseInfoList
.
slice
(
startIndex
,
endIndex
)
// 更新总记录数(通常情况下这是从接口返回的)
this
.
total
=
this
.
courseInfoList
.
length
this
.
loading
=
false
this
.
loading
=
false
},
},
/** 阶段标签颜色操作 */
/** 阶段标签颜色操作 */
...
@@ -466,8 +496,22 @@ export default {
...
@@ -466,8 +496,22 @@ export default {
},
},
/** 查询按钮操作 */
/** 查询按钮操作 */
handleQuery
()
{
handleQuery
()
{
this
.
queryParams
.
page
=
1
this
.
loading
=
true
this
.
getList
()
// 重置为第一页
this
.
queryParams
.
pageNum
=
1
// 调用过滤和分页方法
this
.
filterData
()
this
.
loading
=
false
},
// 过滤数据
filterData
()
{
// 根据 status 过滤数据
let
filteredData
=
this
.
courseInfoList
if
(
this
.
queryParams
.
status
)
{
filteredData
=
filteredData
.
filter
(
item
=>
item
.
status
===
this
.
queryParams
.
status
)
}
this
.
total
=
filteredData
.
length
// 更新数据总数
this
.
paginatedCourseInfoList
=
filteredData
.
slice
(
0
,
this
.
queryParams
.
pageSize
)
// 只取当前页的数据
},
},
/** 分析报告按钮操作 */
/** 分析报告按钮操作 */
analysisReport
()
{
analysisReport
()
{
...
...
src/views/projectManagement/approvalProcess/projectInitiation.vue
View file @
c5710781
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
<div
class=
"tab-pane"
>
<div
class=
"tab-pane"
>
<el-tabs
v-model=
"activeName"
type=
"border-card"
>
<el-tabs
v-model=
"activeName"
type=
"border-card"
>
<el-tab-pane
label=
"申报信息"
name=
"first"
style=
"margin-left: -10px;"
>
<el-tab-pane
label=
"申报信息"
name=
"first"
style=
"margin-left: -10px;"
>
<div
:disabled=
"disabled"
>
<div
style=
"display: flex;width: 100%;justify-content: center;margin-top: 15px"
>
<div
style=
"display: flex;width: 100%;justify-content: center;margin-top: 15px"
>
<p
style=
"margin: 10px 0;font-size: 18px"
>
课题名称及申请人基本情况
</p>
<p
style=
"margin: 10px 0;font-size: 18px"
>
课题名称及申请人基本情况
</p>
</div>
</div>
...
@@ -157,7 +156,6 @@
...
@@ -157,7 +156,6 @@
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"Approve"
>
通过
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"Approve"
>
通过
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"Reject"
>
驳回
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"Reject"
>
驳回
</el-button>
</div>
</div>
</div>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
v-if=
"firstReview ==='立项审批(专家指定中)'"
label=
"专家列表"
name=
"second"
>
<el-tab-pane
v-if=
"firstReview ==='立项审批(专家指定中)'"
label=
"专家列表"
name=
"second"
>
<div
style=
"display: flex;width: 100%;justify-content: center;margin-top: 15px"
>
<div
style=
"display: flex;width: 100%;justify-content: center;margin-top: 15px"
>
...
@@ -1028,12 +1026,12 @@ export default {
...
@@ -1028,12 +1026,12 @@ export default {
activeName
:
null
,
activeName
:
null
,
// 通过不通过
// 通过不通过
selectedValue
:
'0'
,
selectedValue
:
'0'
,
//
初审
//
立项
firstReview
:
null
,
firstReview
:
'立项'
,
// 中期审核
// 中期审核
secondReview
:
null
,
secondReview
:
'中期'
,
// 验收
// 验收
thirdReview
:
null
,
thirdReview
:
'验收'
,
// (初审到中期审核)按钮显示状态
// (初审到中期审核)按钮显示状态
buttonSwitch
:
''
,
buttonSwitch
:
''
,
dialogAddExpert
:
false
,
dialogAddExpert
:
false
,
...
...
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