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
e3666df6
Commit
e3666df6
authored
Apr 14, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www
parent
3f8ad59d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
final.vue
src/views/audit/project/final.vue
+7
-12
No files found.
src/views/audit/project/final.vue
View file @
e3666df6
...
...
@@ -118,21 +118,21 @@ const EditableCell = {
props
:
{
text
:
Number
,
},
data
()
{
data
()
{
return
{
value
:
this
.
text
,
editable
:
false
,
};
},
methods
:
{
handleChange
(
value
)
{
handleChange
(
value
)
{
this
.
value
=
value
;
},
check
()
{
check
()
{
this
.
editable
=
false
;
this
.
$emit
(
'change'
,
this
.
value
);
},
edit
()
{
edit
()
{
this
.
editable
=
true
;
},
},
...
...
@@ -176,7 +176,7 @@ export default {
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
},
ellipsis
:
true
,
width
:
300
},
{
title
:
"项目编号"
,
dataIndex
:
"projNo"
,
align
:
'center'
},
{
title
:
"答辩分数"
,
scopedSlots
:
{
customRender
:
'defenseInfo'
},
align
:
'center'
,
width
:
150
},
{
title
:
"项目类别"
,
dataIndex
:
'projClassName'
,
align
:
'center'
},
{
title
:
"项目类别"
,
dataIndex
:
'projClassName'
,
align
:
'center'
},
{
title
:
'申报单位'
,
dataIndex
:
'appUnitName'
,
align
:
'center'
},
{
title
:
'申报人'
,
dataIndex
:
'appPersonName'
,
align
:
'center'
},
{
title
:
'技术专家评分'
,
dataIndex
:
'gradeScore1'
,
align
:
'center'
},
...
...
@@ -285,12 +285,7 @@ export default {
this
.
$api
.
audit
.
getFinalAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
;
this
.
tableData
=
dataList
.
map
(
item
=>
{
return
{
...
item
,
projClassName
:
item
.
projClass
===
"1"
?
"一般项目"
:
"重点项目"
,
}
})
this
.
tableData
=
dataList
this
.
pagination
.
total
=
total
;
this
.
tableData
.
forEach
(
e
=>
{
e
.
projClassName
=
e
.
projClass
===
"1"
?
"一般项目"
:
"重点项目"
...
...
@@ -406,7 +401,7 @@ export default {
}
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
onCellChange
(
key
,
dataIndex
,
value
)
{
onCellChange
(
key
,
dataIndex
,
value
)
{
const
target
=
this
.
tableData
.
find
(
item
=>
item
.
id
===
key
);
if
(
target
)
{
target
[
dataIndex
]
=
value
;
...
...
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