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
f4726a77
Commit
f4726a77
authored
Dec 13, 2024
by
zxw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
课题列表分步流程-立项评审结果页面完成
parent
b204e39d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
210 additions
and
151 deletions
+210
-151
index.vue
src/views/myTopic/newTopic/index.vue
+34
-20
index.vue
src/views/myTopic/topicList/index.vue
+163
-119
index.vue
src/views/projectManagement/allTopics/index.vue
+3
-2
midProject.vue
src/views/projectManagement/approvalProcess/midProject.vue
+2
-2
projectInitiation.vue
...s/projectManagement/approvalProcess/projectInitiation.vue
+8
-8
No files found.
src/views/myTopic/newTopic/index.vue
View file @
f4726a77
...
@@ -22,14 +22,17 @@
...
@@ -22,14 +22,17 @@
<div>
<div>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"120px"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"120px"
>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"课题号"
label-width=
"80px"
>
<el-input
v-model=
"ruleForm.topicNumber"
disabled
style=
"width: 460px"
/>
</el-form-item>
</el-col>
<el-form-item
label=
"课题号"
label-width=
"80px"
>
<el-col
:span=
"12"
>
<el-input
v-model=
"ruleForm.topicNumber"
disabled
style=
"width: 100%"
/>
<el-form-item
label=
"课题名称"
label-width=
"80px"
>
</el-form-item>
<el-input
v-model=
"ruleForm.name"
style=
"width: 460px"
/>
</el-form-item>
<el-form-item
label=
"课题名称"
label-width=
"80px"
>
</el-col>
<el-input
v-model=
"ruleForm.name"
style=
"width: 100%"
/>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -38,6 +41,7 @@
...
@@ -38,6 +41,7 @@
<el-select
v-model=
"ruleForm"
placeholder=
"请选择类型"
style=
"width: 260px"
>
<el-select
v-model=
"ruleForm"
placeholder=
"请选择类型"
style=
"width: 260px"
>
<el-option
label=
"一般课题"
value=
"general"
/>
<el-option
label=
"一般课题"
value=
"general"
/>
<el-option
label=
"重点课题"
value=
"key"
/>
<el-option
label=
"重点课题"
value=
"key"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -46,6 +50,7 @@
...
@@ -46,6 +50,7 @@
<el-select
v-model=
"ruleForm.identity"
placeholder=
"请选择身份"
style=
"width: 260px"
>
<el-select
v-model=
"ruleForm.identity"
placeholder=
"请选择身份"
style=
"width: 260px"
>
<el-option
label=
"计算机科学教授"
value=
"computer_science_professor"
/>
<el-option
label=
"计算机科学教授"
value=
"computer_science_professor"
/>
<el-option
label=
"工程学教授"
value=
"engineering_professor"
/>
<el-option
label=
"工程学教授"
value=
"engineering_professor"
/>
<el-option
label=
"工程学ee授"
value=
"engineering_prowwfessor"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -197,22 +202,18 @@
...
@@ -197,22 +202,18 @@
/>
/>
<el-table-column
min-width=
"120"
align=
"right"
>
<el-table-column
min-width=
"120"
align=
"right"
>
<template
slot=
"header"
scope=
"scope"
>
<template
slot=
"header"
scope=
"scope"
>
<el-button
icon=
"el-icon-plus"
size=
"mini"
@
click=
"
s
howForm = true"
/>
<el-button
icon=
"el-icon-plus"
size=
"mini"
@
click=
"
tableS
howForm = true"
/>
<el-button
icon=
"el-icon-delete"
size=
"mini"
@
click=
"deleteItem(scope.$index)"
/>
<el-button
icon=
"el-icon-delete"
size=
"mini"
@
click=
"deleteItem(scope.$index)"
/>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
icon=
"el-icon-edit"
size=
"mini"
@
click=
"
e
ditItem(scope.row, scope.$index)"
/>
<el-button
icon=
"el-icon-edit"
size=
"mini"
@
click=
"
tableE
ditItem(scope.row, scope.$index)"
/>
<el-button
icon=
"el-icon-delete"
size=
"mini"
@
click=
"deleteItem(scope.$index)"
/>
<el-button
icon=
"el-icon-delete"
size=
"mini"
@
click=
"deleteItem(scope.$index)"
/>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<el-button
icon=
"el-icon-edit"
@
click=
"editItem(scope.row, scope.$index)"
/>
<el-button
icon=
"el-icon-delete"
@
click=
"deleteItem(scope.$index)"
/>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<!-- 弹出表单 -->
<!-- 弹出表单 -->
<el-dialog
title=
"添加课题参加者"
:visible
.
sync=
"
s
howForm"
>
<el-dialog
title=
"添加课题参加者"
:visible
.
sync=
"
tableS
howForm"
>
<el-form
:model=
"formData"
>
<el-form
:model=
"formData"
>
<el-form-item
label=
"姓名"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"formData.name"
/>
<el-input
v-model=
"formData.name"
/>
...
@@ -231,8 +232,8 @@
...
@@ -231,8 +232,8 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"
s
howForm = false"
>
取消
</el-button>
<el-button
@
click=
"
tableS
howForm = false"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"
a
ddData"
>
确认
</el-button>
<el-button
type=
"primary"
@
click=
"
topicA
ddData"
>
确认
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
...
@@ -1046,6 +1047,7 @@ export default {
...
@@ -1046,6 +1047,7 @@ export default {
fifthVisible
:
false
,
fifthVisible
:
false
,
checked
:
false
,
checked
:
false
,
showForm
:
false
,
showForm
:
false
,
tableShowForm
:
false
,
showBtn
:
true
,
showBtn
:
true
,
implementationPlan
:
''
,
implementationPlan
:
''
,
content
:
''
,
content
:
''
,
...
@@ -1055,7 +1057,14 @@ export default {
...
@@ -1055,7 +1057,14 @@ export default {
age
:
''
,
age
:
''
,
position
:
''
,
position
:
''
,
unit
:
''
,
unit
:
''
,
specialty
:
''
specialty
:
''
,
nameOfTheAchievement
:
''
,
formOfResults
:
''
,
signed
:
''
,
publishingHouse
:
''
,
professionalAndTechnicalPositions
:
''
,
researchExpertise
:
''
,
contribute
:
''
},
},
tableData
:
[
tableData
:
[
// 初始表格数据
// 初始表格数据
...
@@ -1174,7 +1183,7 @@ export default {
...
@@ -1174,7 +1183,7 @@ export default {
// 关闭表单
// 关闭表单
this
.
showForm
=
false
this
.
showForm
=
false
},
},
a
ddData
()
{
topicA
ddData
()
{
// 将表单数据添加到表格数据中
// 将表单数据添加到表格数据中
this
.
tableData
.
push
({
this
.
tableData
.
push
({
...
this
.
formData
,
...
this
.
formData
,
...
@@ -1189,12 +1198,17 @@ export default {
...
@@ -1189,12 +1198,17 @@ export default {
specialty
:
''
specialty
:
''
}
}
// 关闭表单
// 关闭表单
this
.
showForm
=
false
this
.
tableShowForm
=
false
},
tableEditItem
(
item
,
index
)
{
// 编辑项时,将数据赋值给表单
this
.
formData
=
{
...
item
}
this
.
tableShowForm
=
true
},
},
editItem
(
item
,
index
)
{
editItem
(
item
,
index
)
{
// 编辑项时,将数据赋值给表单
// 编辑项时,将数据赋值给表单
this
.
formData
=
{
...
item
}
this
.
formData
=
{
...
item
}
this
.
s
howForm
=
true
this
.
S
howForm
=
true
},
},
mainResearchDeleteItem
(
index
)
{
mainResearchDeleteItem
(
index
)
{
// 删除项
// 删除项
...
...
src/views/myTopic/topicList/index.vue
View file @
f4726a77
This diff is collapsed.
Click to expand it.
src/views/projectManagement/allTopics/index.vue
View file @
f4726a77
...
@@ -116,7 +116,8 @@
...
@@ -116,7 +116,8 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
<el-tag
:type=
"getTagColor(scope.row.stage)"
:type=
"getTagColor(scope.row.stage)"
disable-transitions
>
{{
scope
.
row
.
stage
}}
</el-tag>
disable-transitions
>
{{
scope
.
row
.
stage
}}
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
min-width=
"160"
label=
"状态"
prop=
"status"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
min-width=
"160"
label=
"状态"
prop=
"status"
align=
"center"
:show-overflow-tooltip=
"true"
/>
...
@@ -134,10 +135,10 @@
...
@@ -134,10 +135,10 @@
<el-table-column
min-width=
"200"
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
min-width=
"200"
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
v-if=
"scope.row.status === '验收完成' || scope.row.status === '立项评审中'"
:class=
"commonField.updateClass"
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:type=
"commonField.typeParent"
:size=
"commonField.size"
:size=
"commonField.size"
v-if=
"scope.row.status === '验收完成' || scope.row.status === '立项评审中'"
>
查看
</el-button>
>
查看
</el-button>
<el-button
<el-button
v-else
v-else
...
...
src/views/projectManagement/approvalProcess/midProject.vue
View file @
f4726a77
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</div>
</div>
</el-descriptions-item>
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
<!--
<div
style=
"display: flex;justify-content: center"
>
<!--
<div
style=
"display: flex;justify-content: center"
>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"$emit('Approve')"
>
通过中期申请
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"$emit('Approve')"
>
通过中期申请
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"$emit('Reject')"
>
驳回中期申请
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"$emit('Reject')"
>
驳回中期申请
</el-button>
</div>
-->
</div>
-->
...
@@ -75,7 +75,7 @@ import ElDescriptions from '@/components/descriptionsList/e-desc.vue'
...
@@ -75,7 +75,7 @@ import ElDescriptions from '@/components/descriptionsList/e-desc.vue'
export
default
{
export
default
{
name
:
'MidProject'
,
name
:
'MidProject'
,
components
:
{
ElDescriptions
,
ElDescriptionsItem
},
components
:
{
ElDescriptions
,
ElDescriptionsItem
},
/* emits: ['download', 'Approve', 'Reject'],*/
/* emits: ['download', 'Approve', 'Reject'],*/
data
()
{
data
()
{
return
{
return
{
comments
:
''
,
comments
:
''
,
...
...
src/views/projectManagement/approvalProcess/projectInitiation.vue
View file @
f4726a77
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
<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>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"专家列表"
name=
"second"
v-if=
"firstReview ==='立项审批中(立项评审专家指定中)'
"
>
<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"
>
<p
style=
"margin: 10px 0;font-size: 18px"
>
立项评审专家列表
</p>
<p
style=
"margin: 10px 0;font-size: 18px"
>
立项评审专家列表
</p>
</div>
</div>
...
@@ -428,7 +428,7 @@
...
@@ -428,7 +428,7 @@
</div>
</div>
</el-dialog>
</el-dialog>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"立项评审结果"
name=
"third"
v-if=
"firstReview ==='立项审批中(专家立项评审中)'|| firstReview ==='专家立项评审完成'|| firstReview ==='立项评审完成'"
>
<el-tab-pane
v-if=
"firstReview ==='立项审批中(专家立项评审中)'|| firstReview ==='专家立项评审完成'|| firstReview ==='立项评审完成'"
label=
"立项评审结果"
name=
"third"
>
<div>
<div>
<div
class=
"review-content"
>
<div
class=
"review-content"
>
<div
style=
"text-align: center; margin: 20px 0; font-size: 24px; color: #000000"
>
<div
style=
"text-align: center; margin: 20px 0; font-size: 24px; color: #000000"
>
...
@@ -584,8 +584,8 @@
...
@@ -584,8 +584,8 @@
</div>
</div>
</div>
</div>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"项目中期"
name=
"fourth"
v-if=
"secondReview ==='中期申请中'|| secondReview ==='中期评审中'||secondReview === '中期评审完成'"
>
<el-tab-pane
v-if=
"secondReview ==='中期申请中'|| secondReview ==='中期评审中'||secondReview === '中期评审完成'"
label=
"项目中期"
name=
"fourth"
>
<MidProject
@
download=
"console.log('下载成功')"
/>
<MidProject
@
download=
"console.log('下载成功')"
/>
<div
v-if=
"secondReview === '中期申请完成'|| secondReview ==='中期评审中'||secondReview === '中期评审完成'"
>
<div
v-if=
"secondReview === '中期申请完成'|| secondReview ==='中期评审中'||secondReview === '中期评审完成'"
>
<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>
...
@@ -601,8 +601,8 @@
...
@@ -601,8 +601,8 @@
</div>
</div>
<div
v-if=
"buttonSwitch === '中期申请完成'"
>
<div
v-if=
"buttonSwitch === '中期申请完成'"
>
<div
style=
"display: flex;justify-content: center;margin-top: 15px"
>
<div
style=
"display: flex;justify-content: center;margin-top: 15px"
>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"passMidtermApplication"
>
通过中期申请
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"passMidtermApplication"
>
通过中期申请
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"rejectMidtermApplication"
>
驳回中期申请
</el-button>
<el-button
type=
"primary"
style=
"margin-top: 20px"
@
click=
"rejectMidtermApplication"
>
驳回中期申请
</el-button>
</div>
</div>
</div>
</div>
<div
v-if=
"buttonSwitch === '中期评审中'"
>
<div
v-if=
"buttonSwitch === '中期评审中'"
>
...
@@ -617,7 +617,7 @@
...
@@ -617,7 +617,7 @@
</div>
</div>
</div>
</div>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"项目验收"
name=
"fifth"
v-if=
"thirdReview ==='验收申请中'
"
>
<el-tab-pane
v-if=
"thirdReview ==='验收申请中'"
label=
"项目验收"
name=
"fifth
"
>
<Acceptance
/>
<Acceptance
/>
<div
v-if=
"buttonSwitch === '开始验收'"
>
<div
v-if=
"buttonSwitch === '开始验收'"
>
<div
style=
"display: flex;justify-content: center;margin-top: 15px"
>
<div
style=
"display: flex;justify-content: center;margin-top: 15px"
>
...
@@ -635,7 +635,7 @@
...
@@ -635,7 +635,7 @@
>
>
返回
返回
</el-button>
</el-button>
<el-backtop
target=
".page-component__scroll .el-scrollbar__wrap"
></el-backtop
>
<el-backtop
target=
".page-component__scroll .el-scrollbar__wrap"
/
>
</div>
</div>
</div>
</div>
</template>
</template>
...
...
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