Commit 3de3d7cd authored by 黄奎's avatar 黄奎

页面修改

parent 7973dd3a
<style scoped>
.assessmentType_td{border:1px solid rgba(0,0,0,0.12)}
.assessmentType_td {
border: 1px solid rgba(0, 0, 0, 0.12);
border-collapse: collapse;
}
</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-column-table sticky-right-column-table">
<template v-slot:top>
<div class="col-2 q-table__title">考评项配置列表</div>
<q-space />
......@@ -26,9 +28,8 @@
<template v-slot:body="props">
<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-tr :key="cIndex">
<q-td key="TypeName" :props="props" :rowspan="props.row.SubtypeList.length" class="assessmentType_td">
{{ props.row.TypeName }}
</q-td>
<q-td class="assessmentType_td">
......@@ -42,8 +43,7 @@
</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">
<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="删除"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment