Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
Details
Activity
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
徐俊
yn-science-front
Commits
1b4d1fa6
Commit
1b4d1fa6
authored
Dec 24, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
44444
parent
fccb1fbe
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
28 deletions
+42
-28
economy.vue
src/views/evaluation/components/economy.vue
+1
-1
projectInfo.vue
src/views/evaluation/components/projectInfo.vue
+1
-11
projectView.vue
src/views/evaluation/components/projectView.vue
+2
-2
score.vue
src/views/evaluation/components/score.vue
+38
-13
query.vue
src/views/evaluation/query.vue
+0
-1
No files found.
src/views/evaluation/components/economy.vue
View file @
1b4d1fa6
<
template
>
<div
style=
"height:75vh;overflow:auto"
class=
"app-content"
>
<div>
<!--
<a-form-model
ref=
"form"
:model=
"value"
:rules=
"rules"
class=
"from-table font-line-space"
>
-->
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
...
...
src/views/evaluation/components/projectInfo.vue
View file @
1b4d1fa6
...
...
@@ -467,17 +467,7 @@ export default {
},
},
created
()
{
if
(
!!!
this
.
tabsData
||
this
.
tabsData
.
length
==
0
)
this
.
tabsData
=
[
{
title
:
'全部'
,
key
:
'0'
,
isShow
:
true
},
{
title
:
'项目基本信息'
,
key
:
'1'
,
isShow
:
true
},
//{ title: '项目组主要成员', key: '2', isShow: true },
{
title
:
'绩效目标表'
,
key
:
'2'
,
isShow
:
true
},
{
title
:
'项目经费预算表'
,
key
:
'3'
,
isShow
:
true
},
{
title
:
'申请书正文'
,
key
:
'4'
,
isShow
:
true
},
{
title
:
'附件信息'
,
key
:
'5'
,
isShow
:
true
},
{
title
:
'项目审核记录'
,
key
:
'6'
,
isShow
:
true
},
]
},
mounted
()
{
},
...
...
src/views/evaluation/components/projectView.vue
View file @
1b4d1fa6
...
...
@@ -3,10 +3,10 @@
<div
class=
"app-content layoutEmbedded"
style=
"height: 76vh;overflow: auto;"
>
<a-spin
:spinning=
"loading"
style=
"width: 100%;height: 100%;"
>
<div
class=
"page-content"
>
<a-tabs
type=
"card"
hideAdd
size=
"small"
@
change=
"callback"
>
<
!--
<
a-tabs
type=
"card"
hideAdd
size=
"small"
@
change=
"callback"
>
<a-tab-pane
:key=
"item.key"
:tab=
"item.title"
v-for=
"(item) in tabsData"
>
</a-tab-pane>
</a-tabs>
</a-tabs>
-->
</div>
<div
class=
"page-footer"
>
<!-- 申报项目详情 -->
...
...
src/views/evaluation/components/score.vue
View file @
1b4d1fa6
...
...
@@ -2,16 +2,19 @@
<div
style=
"height:75vh;overflow:auto"
class=
"app-content"
>
<a-spin
:spinning=
"loading"
style=
"width: 100%;height: 100%;"
>
<div
v-if=
"isShow"
style=
"width: 100%;height: 100%;"
>
<div
style=
"height: 40px;"
>
<a-tabs
type=
"card"
@
change=
"callback"
:activeKey=
'tabsActive'
>
<a-tab-pane
key=
"1"
tab=
"评分"
></a-tab-pane>
<a-tab-pane
key=
"2"
tab=
"指标说明"
v-if=
"totalFunding > 50"
></a-tab-pane>
<a-tab-pane
key=
"3"
tab=
"项目信息"
></a-tab-pane>
</a-tabs>
<div
class=
"table-content"
>
</div>
<div
class=
"table-content"
style=
"overflow: auto;height: calc(100% - 40px);"
>
<div
v-show=
"tabsActive==='1'"
style=
"height:100%;"
>
<div
style=
"height:calc(100% - 40px);overflow: auto;"
>
<div
style=
"height:calc(100% - 40px);overflow: auto;"
ref=
"main"
>
<div
class=
"x_modal_content"
>
<a-form-model
ref=
"form"
:model=
"formData"
:rules=
"rules"
class=
"from-table font-line-space"
>
<economy
v-model=
"formData"
v-if=
"formData.expertType == 2"
/>
<economy
v-model=
"formData"
v-if=
"formData.expertType == 2"
/>
<div
v-else
>
<technology-evalucation
v-if=
"totalFunding >= 50"
v-model=
"formData"
></technology-evalucation>
<div
v-else
>
...
...
@@ -48,6 +51,7 @@
</div>
</a-form-model>
</div>
</div>
<div
style=
"height:40px;width:100%;text-align:center;padding:4px 0px;background: #fafafa;border:1px solid #e8e8e8; border-width: 0px 1px 1px 1px;border-style: solid;border-color: #e8e8e8;"
>
<a-button
@
click=
"save"
style=
"margin-right:16px"
>
保存
</a-button>
<a-button
type=
"primary"
@
click=
"submit"
>
提交
</a-button>
...
...
@@ -80,7 +84,8 @@
<span
style=
"line-height:2;"
>
(2)目标实现风险:评价项目目标实现是否存在风险。
</span>
</div>
<div
v-show=
"tabsActive==='3'"
style=
"height:100%;overflow: auto;"
>
<project-view
v-model=
"formData.projId"
/>
<project-info
v-model=
"projectInfo"
:tabsData
.
sync=
"tabsData"
/>
<!--
<project-view
v-model=
"formData.projId"
/>
-->
</div>
</div>
</div>
...
...
@@ -117,13 +122,14 @@ import { isEmptyParams } from "@/views/utils/common"
import
{
budgetList
}
from
'@/views/report/project/config'
import
moment
from
'moment'
import
projectView
from
'@/views/evaluation/components/projectView'
import
projectInfo
from
'@/views/evaluation/components/projectInfo'
import
technologyEvalucation
from
'@/views/evaluation/components/technologyEvalucation'
import
economy
from
'@/views/evaluation/components/economy'
export
default
{
name
:
"score"
,
components
:
{
projectView
,
technologyEvalucation
,
economy
projectView
,
projectInfo
,
technologyEvalucation
,
economy
},
props
:
{
value
:
{
...
...
@@ -161,7 +167,7 @@ export default {
isProjectInfoLoad
:
false
,
tabsActive
:
'1'
,
check
:
{
time
:
10
,
title
:
'我已阅读'
,
count
:
10
,
disabled
:
false
,
time
:
5
,
title
:
'我已阅读'
,
count
:
5
,
disabled
:
false
,
},
formData
:
{
id
:
null
,
projId
:
null
,
expertId
:
null
,
expertName
:
null
,
...
...
@@ -230,6 +236,16 @@ export default {
auditList
:
[],
},
comBatch
:
{
expertStart
:
''
,
expertEnd
:
''
},
tabsData
:
[
{
title
:
'全部'
,
key
:
'0'
,
isShow
:
true
},
{
title
:
'项目基本信息'
,
key
:
'1'
,
isShow
:
true
},
//{ title: '项目组主要成员', key: '2', isShow: true },
{
title
:
'绩效目标表'
,
key
:
'2'
,
isShow
:
true
},
{
title
:
'项目经费预算表'
,
key
:
'3'
,
isShow
:
true
},
{
title
:
'申请书正文'
,
key
:
'4'
,
isShow
:
true
},
{
title
:
'附件信息'
,
key
:
'5'
,
isShow
:
true
},
{
title
:
'项目审核记录'
,
key
:
'6'
,
isShow
:
true
},
],
};
},
created
()
{
...
...
@@ -325,6 +341,9 @@ export default {
callback
(
key
)
{
this
.
tabsActive
=
key
},
changeScroll
()
{
this
.
$refs
.
main
.
scrollTop
=
document
.
getElementsByClassName
(
'x_modal_content'
)[
0
].
offsetHeight
},
save
()
{
if
(
this
.
checkInfo
())
{
this
.
loading
=
true
...
...
@@ -351,7 +370,6 @@ export default {
}
},
submit
()
{
console
.
log
(
this
.
formData
)
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
this
.
loading
=
true
...
...
@@ -365,25 +383,32 @@ export default {
}
this
.
loading
=
false
}).
catch
(()
=>
{
this
.
loading
=
false
})
}
else
{
this
.
tabsActive
=
'1'
}
}
else
{
this
.
tabsActive
=
'1'
this
.
$message
.
error
(
'评审信息未填写完全!'
)
this
.
changeScroll
()
}
})
},
},
};
</
script
>
<
style
scoped
lang=
"less"
>
::v-deep .ant-spin-container {
width: 100%;
height: 100%;
}
.app-content {
::v-deep.ant-spin-nested-loading .ant-spin-container {
height: 100%;
}
.table-content {
height: calc(100% - 40px);
border-width: 0px 1px 1px 1px;
border-width: 0px 1px 0px 1px;
border-style: solid;
border: 1px solid #f0f0f0;
padding: 6px 6px;
border-color: #f0f0f0;
// border: 0px 1px 1px 1px solid #f0f0f0;
padding: 4px 4px 0px 4px;
}
padding: 0;
::v-deep.ant-tabs .ant-tabs-bar {
margin: 0 !important;
}
...
...
src/views/evaluation/query.vue
View file @
1b4d1fa6
...
...
@@ -34,7 +34,6 @@
<a-modal
v-model=
"visibleView"
v-if=
"visibleView"
title=
"项目详情"
width=
"94%"
:footer=
"null"
:dialog-style=
"{ top: '8%' }"
destroyOnClose
:maskClosable=
"false"
>
<project-view
v-model=
"projectId"
@
close=
"() => this.visibleView = false"
/>
</a-modal>
projId
</div>
</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