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
fa273b87
Commit
fa273b87
authored
Apr 08, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
86675673
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
3 deletions
+45
-3
assessmentType.vue
src/pages/teacher/assessmentType.vue
+45
-3
No files found.
src/pages/teacher/assessmentType.vue
View file @
fa273b87
<
style
>
<
style
scoped
>
.jobTable
{
width
:
100%
;
text-align
:
center
;
}
.jobTable
tr
td
{
height
:
40px
;
color
:
#000
;
border
:
1px
solid
#d1d1d1
;
}
.jobTable
tr
th
{
height
:
40px
;
background-color
:
rgb
(
238
,
238
,
239
);
}
</
style
>
<
template
>
...
...
@@ -8,7 +22,7 @@
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
<
!--
<
q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table sticky-right-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top
>
...
...
@@ -39,7 +53,35 @@
</q-tr>
</template>
<
template
v-slot:bottom
></
template
>
</q-table>
</q-table>
-->
<table
class=
"jobTable"
style=
"border-collapse:collapse;"
>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr>
<th
width=
"150"
>
类别
</th>
<th
width=
"150"
>
内容
</th>
<th
v-for=
"(T,tindex) in item.SubtypeList[0].OptionList"
>
<div>
{{T.LevelTitle}}
</div>
<div>
{{T.LevelScore}}
</div>
</th>
<th
width=
"200"
>
操作
</th>
</tr>
<tr>
<td
:rowspan=
"item.SubtypeList.length+1"
>
{{item.TypeName}}
</td>
</tr>
<tr
v-for=
"(sItem,sIndex) in item.SubtypeList"
>
<td>
{{sItem.SubTypeName}}
</td>
<td
v-for=
"(cItem,cIndex) in sItem.OptionList"
style=
"text-align:left;padding:10px;"
>
{{cItem.LevelDesc}}
</td>
<td
v-if=
"sIndex==0"
:rowspan=
"item.SubtypeList.length"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"AddMsg(item)"
/>
<q-btn
flat
size=
"xs"
icon=
"delete"
color=
"negative"
class=
"q-mr-xs"
label=
"删除"
@
click=
"delConsult(item.Id)"
/>
</td>
</tr>
</tbody>
</table>
</div>
<assess-form
v-if=
"isShowAssess"
:save-obj=
"objOption"
@
close=
"getClose()"
@
success=
"getRefresh"
></assess-form>
</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