Commit 9aac4bfd authored by 黄奎's avatar 黄奎

页面修改

parent 80e505b4
......@@ -13,17 +13,17 @@
v-model="schoolTemp" ref="School_Id" :options="schoolList" label="所属校区" :dense="false" />
</div>
<div class="col-3">
<q-select @input="resetSearch" filled v-model="msg.Status" :options="AuditOpts"
emit-value map-options label="状态" />
<q-select @input="resetSearch" filled v-model="msg.Status" :options="AuditOpts" emit-value map-options
label="状态" />
</div>
</div>
<div class="page-option">
<q-btn color="accent" class="q-mr-md" icon="add" label="新增学员" @click="EditStudent(null)" />
<q-btn color="accent" class="q-mr-md" icon="add" label="新增客户" @click="EditStudent(null)" />
</div>
</div>
<div class="page-content">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-right-column-table sticky-tow-column-table" separator="none" title="学员信息" :data="data"
class="sticky-right-column-table sticky-tow-column-table" separator="none" title="客户管理(学员)" :data="data"
:columns="columns" row-key="name">
<template v-slot:body-cell-StuIcon="props">
<q-td auto-width :props="props">
......@@ -57,7 +57,8 @@
</q-table>
<student-form v-if="isShowStuForm" :save-obj="stuOption" @close="closeStuForm" @success="refreshPage">
</student-form>
<studentRight-form v-if="isShowStuRight" :save-obj="stuOption" @close="closeStuForm" @success="refreshPage"></studentRight-form>
<studentRight-form v-if="isShowStuRight" :save-obj="stuOption" @close="closeStuForm" @success="refreshPage">
</studentRight-form>
</div>
</div>
</template>
......@@ -76,7 +77,7 @@
export default {
meta: {
title: "学员管理"
title: "客户管理(学员)"
},
components: {
studentForm,
......@@ -117,20 +118,26 @@
align: 'left'
},
{
name: 'SName',
label: '所属校区',
field: 'SName',
name: 'CreateTypeStr',
label: '客户来源',
field: 'CreateTypeStr',
align: 'left',
},
{
name: 'Status',
label: '状态',
field: 'Status',
name: 'StuStageName',
label: '客户阶段',
field: 'StuStageName',
align: 'left',
},
{
name: 'CreateTimeStr',
label: '创建时间',
field: 'CreateTimeStr',
align: 'left',
},
{
name: 'CreateByName',
label: '创建人',
label: '负责人',
align: 'left',
field: 'CreateByName'
}
......@@ -319,7 +326,7 @@
this.isShowStuRight = false;
},
//点击学生姓名弹出
getStuRight(obj){
getStuRight(obj) {
if (obj) {
this.stuOption = obj;
} else {
......@@ -329,9 +336,7 @@
}
},
}
</script>
<style lang="sass">
@import url('~assets/css/table.sass')
</style>
</style>
\ No newline at end of file
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