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
f0de906b
Commit
f0de906b
authored
Dec 26, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3333
parent
e9e51bd0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
3 deletions
+33
-3
final.vue
src/views/audit/project/final.vue
+33
-3
No files found.
src/views/audit/project/final.vue
View file @
f0de906b
...
@@ -32,12 +32,13 @@
...
@@ -32,12 +32,13 @@
</div>
</div>
<div
style=
"display: inline-block;width:50%;text-align: right;"
>
<div
style=
"display: inline-block;width:50%;text-align: right;"
>
<a-tag
:color=
"'#2db7f5'"
>
{{
'技术专家'
}}
</a-tag>
<a-tag
:color=
"'#87d068'"
>
{{
'财务专家'
}}
</a-tag>
<a-tag
:color=
"'#2db7f5'"
>
{{
'技术专家'
}}
</a-tag>
<a-tag
:color=
"'#87d068'"
>
{{
'财务专家'
}}
</a-tag>
<a-button
type=
"primary"
@
click=
"batchAudit"
style=
"margin-right: 8px;"
v-if=
"isBatchButten"
>
批量审核
</a-button>
<a-button
type=
"primary"
@
click=
"exportData"
icon=
"download"
>
Excel
</a-button>
<a-button
type=
"primary"
@
click=
"exportData"
icon=
"download"
>
Excel
</a-button>
</div>
</div>
</div>
</div>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<a-divider
style=
"height: 1px; background-color: #e8e8e8;"
/>
<span
style=
"margin:6px;display: block;color:red;"
>
评分为 总分/平均分,最终得分=技术专家平均分X80% + 财务专家X20%
</span>
<span
style=
"margin:6px;display: block;color:red;"
>
评分为 总分/平均分,最终得分=技术专家平均分X80% + 财务专家X20%
</span>
<a-table
:dataSource=
"tableData"
:columns=
"columns"
rowKey=
"id"
:scroll=
"
{ x: 'max-content' }" :pagination="false" :loading="loading">
<a-table
:
row-selection=
"
{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :
dataSource="tableData" :columns="columns" rowKey="id" :scroll="{ x: 'max-content' }" :pagination="false" :loading="loading">
<template
slot=
"projName"
slot-scope=
"record"
>
<template
slot=
"projName"
slot-scope=
"record"
>
<a
@
click=
"recordClick(record, 'view')"
>
{{
record
.
projName
}}
</a>
<a
@
click=
"recordClick(record, 'view')"
>
{{
record
.
projName
}}
</a>
</
template
>
</
template
>
...
@@ -84,6 +85,9 @@
...
@@ -84,6 +85,9 @@
<a-modal
v-model=
"visibleEvaluationView"
title=
"专家评分"
width=
"90%"
:dialog-style=
"{ top: '8%' }"
:footer=
"null"
destroyOnClose
>
<a-modal
v-model=
"visibleEvaluationView"
title=
"专家评分"
width=
"90%"
:dialog-style=
"{ top: '8%' }"
:footer=
"null"
destroyOnClose
>
<score-view
v-model=
"assignId"
@
close=
"() => this.visibleEvaluationView = false"
/>
<score-view
v-model=
"assignId"
@
close=
"() => this.visibleEvaluationView = false"
/>
</a-modal>
</a-modal>
<a-modal
v-model=
"visibleBatch"
v-if=
"visibleBatch"
title=
"批量审核"
:footer=
"null"
width=
"700px"
:dialog-style=
"{ top: '15%' }"
destroyOnClose
:maskClosable=
"false"
>
<batch-audit
:idList=
"selectedRowKeys"
@
close=
"closeWindow"
/>
</a-modal>
</div>
</div>
</template>
</template>
...
@@ -94,6 +98,7 @@ import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/
...
@@ -94,6 +98,7 @@ import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/
import
projectAssignDetail
from
'@/views/assign/components/projectAssignDetail'
import
projectAssignDetail
from
'@/views/assign/components/projectAssignDetail'
import
paraSelect
from
'@/views/components/common/paraSelect'
import
paraSelect
from
'@/views/components/common/paraSelect'
import
audit
from
'@/views/audit/project/audit'
import
audit
from
'@/views/audit/project/audit'
import
batchAudit
from
'@/views/audit/project/batchAudit'
import
projectView
from
'@/views/report/project/components/projectView'
import
projectView
from
'@/views/report/project/components/projectView'
import
unitTreeSelect
from
'@/views/components/common/unitTreeSelect'
import
unitTreeSelect
from
'@/views/components/common/unitTreeSelect'
import
taskFileInfo
from
'@/views/report/task/components/taskFileInfo'
import
taskFileInfo
from
'@/views/report/task/components/taskFileInfo'
...
@@ -102,10 +107,11 @@ import scoreView from '@/views/evaluation/components/scoreView'
...
@@ -102,10 +107,11 @@ import scoreView from '@/views/evaluation/components/scoreView'
export
default
{
export
default
{
name
:
"projectFinal"
,
name
:
"projectFinal"
,
components
:
{
components
:
{
projectView
,
paraSelect
,
audit
,
unitTreeSelect
,
projectAssignDetail
,
taskFileInfo
,
scoreView
projectView
,
paraSelect
,
audit
,
unitTreeSelect
,
projectAssignDetail
,
taskFileInfo
,
scoreView
,
batchAudit
},
},
data
()
{
data
()
{
return
{
return
{
selectedRowKeys
:
[],
// 选项卡
// 选项卡
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
...
@@ -184,6 +190,8 @@ export default {
...
@@ -184,6 +190,8 @@ export default {
visibleAudit
:
false
,
visibleAudit
:
false
,
visibleView
:
false
,
visibleView
:
false
,
visibleEvaluationView
:
false
,
visibleEvaluationView
:
false
,
visibleBatch
:
false
,
isBatchButten
:
true
,
isButten
:
false
,
isButten
:
false
,
description
:
''
,
description
:
''
,
id
:
null
,
id
:
null
,
...
@@ -197,6 +205,17 @@ export default {
...
@@ -197,6 +205,17 @@ export default {
this
.
getYear
()
this
.
getYear
()
},
},
methods
:
{
methods
:
{
onSelectChange
(
selectedRowKeys
)
{
this
.
selectedRowKeys
=
selectedRowKeys
;
},
batchAudit
()
{
if
(
!!
this
.
selectedRowKeys
&&
this
.
selectedRowKeys
.
length
>
0
)
{
this
.
visibleBatch
=
true
}
else
this
.
$message
.
error
(
'请选择项目!'
)
},
search
()
{
search
()
{
this
.
pagination
.
pageIndex
=
1
this
.
pagination
.
pageIndex
=
1
this
.
getListByPage
();
this
.
getListByPage
();
...
@@ -273,12 +292,19 @@ export default {
...
@@ -273,12 +292,19 @@ export default {
closeWindow
(
value
)
{
closeWindow
(
value
)
{
if
(
value
===
'audit'
)
{
if
(
value
===
'audit'
)
{
this
.
getListByPage
()
this
.
getListByPage
()
this
.
id
=
null
this
.
objectId
=
null
this
.
selectedRowKeys
=
[]
this
.
visibleView
=
false
this
.
visibleAudit
=
false
this
.
visibleAudit
=
false
this
.
visibleBatch
=
false
}
else
if
(
value
===
'error'
)
{
}
else
if
(
value
===
'error'
)
{
this
.
id
=
null
this
.
id
=
null
this
.
objectId
=
null
this
.
objectId
=
null
this
.
visibleAudit
=
false
this
.
selectedRowKeys
=
[]
this
.
visibleView
=
false
this
.
visibleView
=
false
this
.
visibleAudit
=
false
this
.
visibleBatch
=
false
}
}
},
},
recordClick
(
record
,
type
)
{
recordClick
(
record
,
type
)
{
...
@@ -301,6 +327,10 @@ export default {
...
@@ -301,6 +327,10 @@ export default {
}
}
},
},
callback
(
key
)
{
callback
(
key
)
{
if
(
key
==
'1'
)
{
this
.
isBatchButten
=
true
}
else
this
.
isBatchButten
=
false
this
.
searchForm
.
auditResult
=
key
;
this
.
searchForm
.
auditResult
=
key
;
this
.
getListByPage
()
this
.
getListByPage
()
},
},
...
...
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