提交 7ec3e358 编写于 作者: qian.jie's avatar qian.jie

空白显示

上级 a9e2be34
...@@ -7,6 +7,13 @@ ...@@ -7,6 +7,13 @@
:data="tableData" :data="tableData"
@sort-change="sortfunc" @sort-change="sortfunc"
> >
<template slot="empty">
<div class="nothing-data">
<img src="../../assets/image/nothingData.png" alt="" >
<span class="nothing-data-title">暂未找到符合条件的医生</span>
</div>
</template>
<el-table-column <el-table-column
prop="doctorId" prop="doctorId"
label="医生ID" label="医生ID"
...@@ -216,9 +223,6 @@ ...@@ -216,9 +223,6 @@
changeSwitch(value, val) { changeSwitch(value, val) {
this.$emit('changeSwitch', value, val); this.$emit('changeSwitch', value, val);
}, },
// handleFilterChange(value) {
// console.log(value, 'handleFilterChange');
// },
getServiceOpen(value, row) { getServiceOpen(value, row) {
return row.serviceOpen === String(value); return row.serviceOpen === String(value);
}, },
...@@ -257,6 +261,23 @@ ...@@ -257,6 +261,23 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.table-serviceSchedule { .table-serviceSchedule {
.el-table { .el-table {
.nothing-data{
display: inline-grid;
padding-top: 100px;
img{
width: 338px;
height: 159px;
}
.nothing-data-title{
padding-top: 40px;
padding-bottom: 150px;
font-size: 16px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #89888B;
line-height: 22px;
}
}
border-radius: 8px; border-radius: 8px;
// 深度选择器 // 深度选择器
/deep/ .highlight { /deep/ .highlight {
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
class="select-first" class="select-first"
placeholder="选择优先级" placeholder="选择优先级"
clearable clearable
@change="getCreateType"
> >
<el-option <el-option
v-for="(item, index) of createList" v-for="(item, index) of createList"
...@@ -43,6 +44,7 @@ ...@@ -43,6 +44,7 @@
class="select-first" class="select-first"
placeholder="选择开通状态" placeholder="选择开通状态"
clearable clearable
@change="getService"
> >
<el-option <el-option
v-for="item of serviceOpenList" v-for="item of serviceOpenList"
...@@ -56,6 +58,7 @@ ...@@ -56,6 +58,7 @@
class="serviceSchedule-status" class="serviceSchedule-status"
placeholder="选择排班状态" placeholder="选择排班状态"
clearable="true" clearable="true"
@change="getScheduleStatus"
> >
<el-option <el-option
v-for="item of ScheduleStatusList" v-for="item of ScheduleStatusList"
...@@ -74,6 +77,7 @@ ...@@ -74,6 +77,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
:picker-options="pickerOptions" :picker-options="pickerOptions"
@change="getCreateRangeTime"
/> />
<el-input <el-input
v-model="searchParam.idNamePhone" v-model="searchParam.idNamePhone"
...@@ -81,6 +85,7 @@ ...@@ -81,6 +85,7 @@
class="serviceSchedule-idNamePhone" class="serviceSchedule-idNamePhone"
placeholder="医生姓名/手机号" placeholder="医生姓名/手机号"
style="width: 250px" style="width: 250px"
@change="getIdNamePhone"
/> />
<el-button <el-button
type="primary" type="primary"
...@@ -131,33 +136,6 @@ ...@@ -131,33 +136,6 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <div
v-else
class="newScheduling"
>
<div class="header">
<el-breadcrumb separator="/">
<el-breadcrumb-item>首页</el-breadcrumb-item>
<el-breadcrumb-item class="breadcrumb-serviceSchedule">
<span
class="breadcrumb-back"
@click="goBack"
>服务排班表</span>
</el-breadcrumb-item>
<el-breadcrumb-item>新增排班</el-breadcrumb-item>
</el-breadcrumb>
</div>
<div class="serviceSchedule-container">
<div class="serviceSchedule-containerInfo">
<NewScheduling
:create-list="newCreateList"
:scheduling-type-value="schedulingTypeValue"
:scheduling-type="schedulingType"
@goBack="goBack"
/>
</div>
</div>
</div> -->
<a <a
ref="target" ref="target"
class="target" class="target"
...@@ -177,10 +155,8 @@ ...@@ -177,10 +155,8 @@
getLevel, getLevel,
} from '@/api/serviceSchedule'; } from '@/api/serviceSchedule';
import TableServiceSchedule from '@/components/list/table-serviceSchedule'; import TableServiceSchedule from '@/components/list/table-serviceSchedule';
// import NewScheduling from '../diagnosis-admin/modal/newScheduling.vue';
export default { export default {
components: { components: {
// NewScheduling,
TableServiceSchedule, TableServiceSchedule,
}, },
data() { data() {
...@@ -237,8 +213,6 @@ ...@@ -237,8 +213,6 @@
tableData: [], tableData: [],
loading: false, loading: false,
newCreateList: [], newCreateList: [],
// schedulingTypeValue: {},
// schedulingType: '',
}; };
}, },
watch: {}, watch: {},
...@@ -287,6 +261,26 @@ ...@@ -287,6 +261,26 @@
// 获取选择的值 // 获取选择的值
selectApi(e, value) { selectApi(e, value) {
this.searchParam.departmentId = value[1]; this.searchParam.departmentId = value[1];
this.searchParam.pageNo = 1;
},
getCreateType(value) {
this.searchParam.createType = value;
this.searchParam.pageNo = 1;
},
getService(value) {
this.searchParam.serviceOpen = value;
this.searchParam.pageNo = 1;
},
getScheduleStatus(value) {
this.searchParam.ScheduleStatus = value;
this.searchParam.pageNo = 1;
},
getIdNamePhone(value) {
this.searchParam.idNamePhone = value;
this.searchParam.pageNo = 1;
},
getCreateRangeTime() {
this.searchParam.pageNo = 1;
}, },
search() { search() {
this.loading = true; this.loading = true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册