Commit ee61d69f authored by zhengke's avatar zhengke

修改

parent 0cd86051
......@@ -226,10 +226,10 @@
this.getEmployeeList();
if (this.saveObj && this.saveObj.StuId > 0) {
this.customMsg.StuId = this.saveObj.StuId;
this.queryStuInfo();
}
},
mounted() {
this.queryStuInfo();
},
methods: {
//保存学员信息
......
......@@ -6,8 +6,15 @@
<template>
<div class="stuList">
<q-table :pagination="pageMsg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-right-column-table sticky-tow-column-table" separator="none" title="我的客户" :data="dataList"
class="sticky-right-column-table sticky-tow-column-table" separator="none" :data="dataList"
:columns="columns" row-key="name" hide-bottom>
<template v-slot:top="props">
<div class="col-2 q-table__title">我的客户</div>
<q-space />
<div class="page-option">
<q-btn color="accent" class="q-mr-md" size="md" icon="add" label="新增客户" @click="EditStudent(null)" />
</div>
</template>
<template v-slot:body-cell-StuIcon="props">
<q-td auto-width :props="props">
<q-avatar size="md" v-if="props.value">
......@@ -236,7 +243,7 @@
} else {
this.stuOption = null;
}
this.isShowStuForm = true;
this.isShowStuRight = true;
},
closeStuForm() {
this.isShowStuForm = false;
......
<style>
.Sysuser_Date .el-range-editor .el-range-input {
background-color: transparent;
width: 100%;
border: none;
}
</style>
<template>
<div class="page-body">
<div class="page-search row items-center">
......@@ -17,7 +24,7 @@
<q-select @input="resetSearch" filled v-model="msg.StuStage" :options="customState" option-label="Name"
option-value="Id" emit-value map-options label="客户状态" clearable />
</div>
<div class="col-3">
<div class="col-3 Sysuser_Date">
<q-field filled>
 <template v-slot:control>
<el-date-picker v-model="dateArray" @change="resetSearch" value-format="yyyy-MM-dd" type="daterange" style="border:none;"
......@@ -26,9 +33,6 @@
</q-field>
</div>
</div>
<div class="page-option">
<q-btn color="accent" class="q-mr-md" icon="add" label="新增客户" @click="EditStudent(null)" />
</div>
</div>
<div class="page-content">
<stulist :dataList="data" @success="refreshPage" ref="stuList">
......
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