Commit bfd5a0d1 authored by 黄奎's avatar 黄奎

页面修改

parent 7fbd5d6b
......@@ -11,7 +11,7 @@
class="col-6 q-pr-lg q-pb-lg" label="学员名称" :rules="[val => !!val || '请填写学员姓名']" />
<q-select filled stack-label option-value="value" option-label="label" v-model="objOption.StuSex" ref="StuSex"
:options="SexOpts" label="性别" :dense="false" class="col-6 q-pb-lg q-pb-lg" emit-value map-options />
<q-input filled stack-label maxlength="20" :dense="false" v-model="objOption.StuBirth" ref="StuBirth"
<q-input type="date" filled stack-label maxlength="20" :dense="false" v-model="objOption.StuBirth" ref="StuBirth"
class="col-6 q-pr-lg q-pb-lg" label="出生日期" :rules="[val => !!val || '请填写出生日期']" />
<q-input type="tel" filled stack-label maxlength="100" :dense="false" v-model="objOption.StuTel" ref="StuTel"
class="col-6 q-pr-lg q-pb-lg" label="联系电话" :rules="[val => !!val || '请填写学员联系电话']" />
......
......@@ -47,7 +47,7 @@
<img :src="props.value" />
</q-avatar>
<q-avatar size="md" color="teal-10" text-color="white" v-if="!props.value">
{{props.row.AssistName.substring(0,1)}}</q-avatar>
{{props.row.AssistName}}</q-avatar>
</q-td>
</template>
<template v-slot:body-cell-AssistName="props">
......
......@@ -18,21 +18,7 @@
</div>
</div>
<div class="page-option">
<q-btn color="accent" class="q-mr-md" icon="add" label="新增助教" @click="EditStudent(null)" />
<q-btn-dropdown outline color="dark" label="更多">
<q-list>
<q-item clickable v-close-popup>
<q-item-section>
<q-item-label>批量导入</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup>
<q-item-section>
<q-item-label>批量导出</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
<q-btn color="accent" class="q-mr-md" icon="add" label="新增学员" @click="EditStudent(null)" />
</div>
</div>
<div class="page-content">
......@@ -127,6 +113,12 @@
field: 'StuSex',
align: 'left'
},
{
name: 'StuBirthStr',
label: '出生日期',
field: 'StuBirthStr',
align: 'left'
},
{
name: 'StuTel',
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