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
Show 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-form-item
label=
"课题号"
label-width=
"80px"
>
<el-input
v-model=
"ruleForm.topicNumber"
disabled
style=
"width: 100%
"
/>
<el-input
v-model=
"ruleForm.topicNumber"
disabled
style=
"width: 460px
"
/>
</el-form-item>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"课题名称"
label-width=
"80px"
>
<el-form-item
label=
"课题名称"
label-width=
"80px"
>
<el-input
v-model=
"ruleForm.name"
style=
"width: 100%
"
/>
<el-input
v-model=
"ruleForm.name"
style=
"width: 460px
"
/>
</el-form-item>
</el-form-item>
</el-col>
</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
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div>
<div>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"课题类型"
prop=
"topicType"
>
<el-form-item
label=
"课题类型"
prop=
"topicType"
>
<el-select
v-model=
"queryParams.flag"
placeholder=
"请选择类型"
clearable
size=
"small"
>
<el-select
v-model=
"queryParams.flag"
placeholder=
"请选择类型"
clearable
size=
"small"
style=
"width: 290px"
>
<el-option
<el-option
v-for=
"dict in topicType"
v-for=
"dict in topicType"
:key=
"dict.typeNumber"
:key=
"dict.typeNumber"
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"flag"
>
<el-form-item
label=
"状态"
prop=
"flag"
>
<el-select
v-model=
"queryParams.state"
placeholder=
"请选择状态"
clearable
size=
"small"
>
<el-select
v-model=
"queryParams.state"
placeholder=
"请选择状态"
clearable
size=
"small"
style=
"width: 290px"
>
<el-option
<el-option
v-for=
"state in statusList"
v-for=
"state in statusList"
:key=
"state.statusNumber"
:key=
"state.statusNumber"
...
@@ -33,8 +33,11 @@
...
@@ -33,8 +33,11 @@
style=
"width: 290px"
style=
"width: 290px"
/>
/>
</el-form-item>
</el-form-item>
<div
style=
"float: right"
>
<el-form-item>
<el-button
<el-button
:class=
"commonField.queryClass"
:class=
"commonField.queryClass"
:icon=
"commonField.queryIcon"
:type=
"commonField.typePrimary"
:type=
"commonField.typePrimary"
:size=
"commonField.smallSize"
:size=
"commonField.smallSize"
@
click=
"handleQuery"
@
click=
"handleQuery"
...
@@ -54,41 +57,86 @@
...
@@ -54,41 +57,86 @@
:size=
"commonField.smallSize"
:size=
"commonField.smallSize"
@
click=
"handleNewProject"
@
click=
"handleNewProject"
>
新增
</el-button>
>
新增
</el-button>
</el-form-item>
</div>
</el-form>
</el-form>
</div>
</div>
<div
style=
"padding:
5px 10px
"
>
<div
style=
"padding:
10px;
"
>
<el-table
v-loading=
"loading"
border
:data=
"busStudentInfoList"
>
<el-table
v-loading=
"loading"
style=
"width: 100%;"
:data=
"busStudentInfoList"
>
<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
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"课题类型"
prop=
"topicType"
:show-overflow-tooltip=
"true"
/>
<el-table-column
<el-table-column
width=
"200"
label=
"课题名称"
prop=
"topicName"
:show-overflow-tooltip=
"true"
/>
min-width=
"100"
<el-table-column
label=
"申报类型"
prop=
"declarationType"
:show-overflow-tooltip=
"true"
/>
label=
"申报类型"
<el-table-column
width=
"100"
label=
"负责人姓名"
prop=
"nameOfThePersonInCharge"
:show-overflow-tooltip=
"true"
/>
prop=
"applicationType"
<el-table-column
label=
"手机号"
prop=
"phoneNumber"
:show-overflow-tooltip=
"true"
/>
align=
"center"
<el-table-column
label=
"创建时间"
prop=
"creationTime"
:show-overflow-tooltip=
"true"
/>
:show-overflow-tooltip=
"true"
<el-table-column
width=
"80"
label=
"阶段"
prop=
"stage"
:show-overflow-tooltip=
"true"
/>
/>
<el-table-column
label=
"状态"
prop=
"state"
/>
<el-table-column
min-width=
"160"
label=
"课程号"
prop=
"courseId"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"70"
>
min-width=
"180"
label=
"申报名称"
prop=
"courseName"
align=
"center"
/>
<el-table-column
min-width=
"80"
label=
"负责人"
prop=
"responsiblePersonName"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
min-width=
"160"
label=
"手机号"
prop=
"phoneNumber"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
min-width=
"80"
label=
"阶段"
prop=
"stage"
align=
"center"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<el-tag
:type=
"getTagColor(scope.row.stage)"
disable-transitions
>
{{
scope
.
row
.
stage
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
min-width=
"160"
label=
"状态"
prop=
"status"
align=
"center"
:show-overflow-tooltip=
"true"
/>
<el-table-column
min-width=
"180"
label=
"创建时间"
prop=
"createTime"
align=
"center"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
createTime
|
transformDateByFormat
(
'YYYY-MM-DD'
)
}}
</span>
</
template
>
</el-table-column>
<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.state === '验收完成' || scope.row.state === '立项评审中'"
v-if=
"scope.row.status === '验收完成' || scope.row.status === '立项评审中'"
icon=
"el-icon-search"
:class=
"commonField.updateClass"
@
click=
"handleProject(scope.row)"
:type=
"commonField.typeParent"
/>
:size=
"commonField.size"
<el-button
v-else
icon=
"el-icon-edit-outline"
@
click=
"handleProject(scope.row)"
/>
>
查看
</el-button>
<el-button
v-else
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:size=
"commonField.size"
@
click=
"projectInitiation(scope.row)"
>
编辑
</el-button>
</
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"
/>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -104,121 +152,117 @@ export default {
...
@@ -104,121 +152,117 @@ export default {
loading
:
false
,
loading
:
false
,
busStudentInfoList
:
[
busStudentInfoList
:
[
{
{
topicType
:
'2024YB01036'
,
courseId
:
'2024YB01036'
,
topic
Name
:
'测试课题190530'
,
course
Name
:
'测试课题190530'
,
declar
ationType
:
'一般课题'
,
applic
ationType
:
'一般课题'
,
nameOfThePersonInCharg
e
:
'于力'
,
responsiblePersonNam
e
:
'于力'
,
phoneNumber
:
'15821163326'
,
phoneNumber
:
'15821163326'
,
creat
ion
Time
:
'2024-05-28 10:10'
,
creat
e
Time
:
'2024-05-28 10:10'
,
stage
:
'中期'
,
stage
:
'中期'
,
stat
e
:
'中期申请中'
stat
us
:
'中期申请中'
},
},
{
{
topicType
:
'2024YB01033'
,
courseId
:
'2024YB01033'
,
topic
Name
:
'text123456190528'
,
course
Name
:
'text123456190528'
,
declar
ationType
:
'一般课题'
,
applic
ationType
:
'一般课题'
,
nameOfThePersonInCharg
e
:
'于力'
,
responsiblePersonNam
e
:
'于力'
,
phoneNumber
:
'15821163326'
,
phoneNumber
:
'15821163326'
,
creat
ion
Time
:
'2024-05-28 14:21'
,
creat
e
Time
:
'2024-05-28 14:21'
,
stage
:
'结项'
,
stage
:
'结项'
,
stat
e
:
'验收完成'
stat
us
:
'验收完成'
},
},
{
{
topicType
:
'2024YB01031'
,
courseId
:
'2024YB01031'
,
topic
Name
:
'阿斯布洛'
,
course
Name
:
'阿斯布洛'
,
declar
ationType
:
'一般课题'
,
applic
ationType
:
'一般课题'
,
nameOfThePersonInCharg
e
:
'于力'
,
responsiblePersonNam
e
:
'于力'
,
phoneNumber
:
'15821163326'
,
phoneNumber
:
'15821163326'
,
creat
ion
Time
:
'2024-05-23 09:52'
,
creat
e
Time
:
'2024-05-23 09:52'
,
stage
:
'立项'
,
stage
:
'立项'
,
stat
e
:
'申报完成'
stat
us
:
'申报完成'
},
},
{
{
topicType
:
'2024ZD01029'
,
courseId
:
'2024ZD01029'
,
topic
Name
:
'测试190523'
,
course
Name
:
'测试190523'
,
declar
ationType
:
'重点课题'
,
applic
ationType
:
'重点课题'
,
nameOfThePersonInCharg
e
:
'于力'
,
responsiblePersonNam
e
:
'于力'
,
phoneNumber
:
'15821163326'
,
phoneNumber
:
'15821163326'
,
creat
ion
Time
:
'2024-05-23 09:37'
,
creat
e
Time
:
'2024-05-23 09:37'
,
stage
:
'立项'
,
stage
:
'立项'
,
stat
e
:
'项目申报中'
stat
us
:
'项目申报中'
},
},
{
{
topicType
:
'2024YB01026'
,
courseId
:
'2024YB01026'
,
topic
Name
:
'asdfasdffest190508'
,
course
Name
:
'asdfasdffest190508'
,
declar
ationType
:
'一般课题'
,
applic
ationType
:
'一般课题'
,
nameOfThePersonInCharg
e
:
'于力'
,
responsiblePersonNam
e
:
'于力'
,
phoneNumber
:
'15821163326'
,
phoneNumber
:
'15821163326'
,
creat
ion
Time
:
'2024-05-08 09:56'
,
creat
e
Time
:
'2024-05-08 09:56'
,
stage
:
'结项'
,
stage
:
'结项'
,
stat
e
:
'立项评审中'
stat
us
:
'立项评审中'
},
},
{
{
topicType
:
'2024YB01026'
,
courseId
:
'2024YB01026'
,
topic
Name
:
'190507测试'
,
course
Name
:
'190507测试'
,
declar
ationType
:
'一般课题'
,
applic
ationType
:
'一般课题'
,
nameOfThePersonInCharg
e
:
'于力'
,
responsiblePersonNam
e
:
'于力'
,
phoneNumber
:
'15821163326'
,
phoneNumber
:
'15821163326'
,
creat
ion
Time
:
'2024-05-07 17:38'
,
creat
e
Time
:
'2024-05-07 17:38'
,
stage
:
'验收'
,
stage
:
'验收'
,
stat
e
:
'验收申请中'
stat
us
:
'验收申请中'
},
},
{
{
topicType
:
'2024YB01021'
,
courseId
:
'2024YB01021'
,
topic
Name
:
'长字段测试长字段测试长字段测试长字段测试长字段测试长字段测试'
,
course
Name
:
'长字段测试长字段测试长字段测试长字段测试长字段测试长字段测试'
,
declar
ationType
:
'一般课题'
,
applic
ationType
:
'一般课题'
,
nameOfThePersonInCharg
e
:
'于力'
,
responsiblePersonNam
e
:
'于力'
,
phoneNumber
:
'15821163326'
,
phoneNumber
:
'15821163326'
,
creat
ion
Time
:
'2024-05-05 19:07'
,
creat
e
Time
:
'2024-05-05 19:07'
,
stage
:
'验收'
,
stage
:
'验收'
,
stat
e
:
'验收申请完成'
stat
us
:
'验收申请完成'
},
},
{
{
topicType
:
'2024YB01006'
,
courseId
:
'2024YB01006'
,
topic
Name
:
'asdf'
,
course
Name
:
'asdf'
,
declar
ationType
:
'一般课题'
,
applic
ationType
:
'一般课题'
,
nameOfThePersonInCharg
e
:
'于力'
,
responsiblePersonNam
e
:
'于力'
,
phoneNumber
:
'15821163326'
,
phoneNumber
:
'15821163326'
,
creat
ion
Time
:
'2024-04-26 20:21'
,
creat
e
Time
:
'2024-04-26 20:21'
,
stage
:
'结项'
,
stage
:
'结项'
,
stat
e
:
'验收完成'
stat
us
:
'验收完成'
}
}
],
],
// 课题类型
// 课题类型
topicType
:
[
topicType
:
[
{
{
typeName
:
'
不限
'
,
typeName
:
'
一般课题
'
,
typeNumber
:
'0'
typeNumber
:
'0'
},
},
{
{
typeName
:
'
一般
课题'
,
typeName
:
'
重点
课题'
,
typeNumber
:
'1'
typeNumber
:
'1'
},
},
{
typeName
:
'重点课题'
,
typeNumber
:
'2'
}
],
],
// 状态
// 状态
statusList
:
[
statusList
:
[
{
{
statusName
:
'
不限
'
,
statusName
:
'
项目申报中
'
,
statusNumber
:
'0'
statusNumber
:
'0'
},
},
{
{
statusName
:
'
验收
完成'
,
statusName
:
'
申报
完成'
,
statusNumber
:
'1'
statusNumber
:
'1'
},
},
{
{
statusName
:
'
申报完成
'
,
statusName
:
'
立项评审中
'
,
statusNumber
:
'2'
statusNumber
:
'2'
},
},
{
{
statusName
:
'
项目申报
中'
,
statusName
:
'
中期申请
中'
,
statusNumber
:
'3'
statusNumber
:
'3'
},
},
{
{
statusName
:
'
立项评审
中'
,
statusName
:
'
验收申请
中'
,
statusNumber
:
'4'
statusNumber
:
'4'
},
},
{
{
...
@@ -226,7 +270,7 @@ export default {
...
@@ -226,7 +270,7 @@ export default {
statusNumber
:
'5'
statusNumber
:
'5'
},
},
{
{
statusName
:
'验收
申请中
'
,
statusName
:
'验收
完成
'
,
statusNumber
:
'6'
statusNumber
:
'6'
}
}
],
],
...
@@ -255,20 +299,7 @@ export default {
...
@@ -255,20 +299,7 @@ export default {
}
}
}
}
},
},
/** 手机号校验*/
computed
:
{
computed
:
{
search
()
{
return
search
},
el
()
{
return
el
},
icon
()
{
return
icon
},
themeType
()
{
return
localStorage
.
getItem
(
'theme'
)
},
/** 公共字段 */
/** 公共字段 */
commonField
()
{
commonField
()
{
return
commonField
return
commonField
...
@@ -281,6 +312,19 @@ export default {
...
@@ -281,6 +312,19 @@ export default {
query
:
{
activeTab
:
'first'
}
query
:
{
activeTab
:
'first'
}
})
})
},
},
/** 阶段标签颜色操作 */
getTagColor
(
stage
)
{
switch
(
stage
)
{
case
'立项'
:
return
''
case
'验收'
:
return
'warning'
case
'结项'
:
return
'success'
default
:
return
'default'
}
},
/** 查询按钮操作 */
/** 查询按钮操作 */
handleQuery
()
{
handleQuery
()
{
this
.
queryParams
.
page
=
1
this
.
queryParams
.
page
=
1
...
...
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>
...
@@ -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