Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
6c8df7bc
Commit
6c8df7bc
authored
Apr 13, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
9d202e9c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
assessmentType.vue
src/pages/teacher/assessmentType.vue
+10
-7
No files found.
src/pages/teacher/assessmentType.vue
View file @
6c8df7bc
<
style
scoped
>
.assessmentType_td
{
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.12
);
border-collapse
:
collapse
;
border
:
none
;
border-left
:
1px
solid
rgba
(
0
,
0
,
0
,
0.12
);
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.12
);
}
</
style
>
<
template
>
<div
class=
"page-body"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
class=
"sticky-
column-table sticky-right
-column-table"
>
:columns=
"columns"
row-key=
"name"
class=
"sticky-
header
-column-table"
>
<template
v-slot:top
>
<div
class=
"col-2 q-table__title"
>
考评项配置列表
</div>
<q-space
/>
...
...
@@ -29,7 +30,8 @@
<template
:props=
"props"
v-for=
"(col,cIndex) in props.row.SubtypeList"
>
<template
v-if=
"cIndex==0"
>
<q-tr
:key=
"cIndex"
>
<q-td
key=
"TypeName"
:props=
"props"
:rowspan=
"props.row.SubtypeList.length"
class=
"assessmentType_td"
>
<q-td
key=
"TypeName"
:props=
"props"
:rowspan=
"props.row.SubtypeList.length"
class=
"assessmentType_td"
>
{{
props
.
row
.
TypeName
}}
</q-td>
<q-td
class=
"assessmentType_td"
>
...
...
@@ -37,13 +39,14 @@
</q-td>
<template
v-for=
"(subItem,subIndex) in props.row.SubtypeList[cIndex].OptionList"
>
<q-td
:key=
"subIndex"
class=
"assessmentType_td"
>
<div
style=
"width:1
8
0px;white-space:normal; "
>
{{
subItem
.
LevelDesc
}}
<q-badge
color=
"green"
>
<div
style=
"width:1
5
0px;white-space:normal; "
>
{{
subItem
.
LevelDesc
}}
<q-badge
color=
"green"
>
{{
subItem
.
LevelScore
}}
分
</q-badge>
</div>
</q-td>
</
template
>
<q-td
key=
"Id"
:props=
"props"
:rowspan=
"props.row.SubtypeList.length"
class=
"assessmentType_td"
>
<q-td
key=
"Id"
:props=
"props"
:rowspan=
"props.row.SubtypeList.length"
class=
"assessmentType_td"
style=
"border-right: 1px solid rgba(0, 0, 0, 0.12);"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"AddMsg(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"delete"
color=
"negative"
class=
"q-mr-xs"
label=
"删除"
...
...
@@ -58,7 +61,7 @@
</q-td>
<template
v-for=
"(subItem,subIndex) in props.row.SubtypeList[cIndex].OptionList"
>
<q-td
:key=
"subIndex"
class=
"assessmentType_td"
>
<div
style=
"width:1
8
0px;white-space:normal; "
>
{{
subItem
.
LevelDesc
}}
<q-badge
color=
"green"
>
<div
style=
"width:1
5
0px;white-space:normal; "
>
{{
subItem
.
LevelDesc
}}
<q-badge
color=
"green"
>
{{
subItem
.
LevelScore
}}
分
</q-badge>
</div>
...
...
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