|
|
@@ -83,14 +83,16 @@ |
|
|
|
<el-table |
|
|
|
:data="tableData" |
|
|
|
stripe |
|
|
|
height="400" |
|
|
|
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
style="width: 100%" |
|
|
|
:header-cell-style="{ textAlign: 'center' }" |
|
|
|
:cell-style="{ textAlign: 'center' }" |
|
|
|
> |
|
|
|
<el-table-column type="selection" width="55"> </el-table-column> |
|
|
|
<el-table-column prop="name" label="顾问名" align="center"> |
|
|
|
<el-table-column prop="name" label="顾问名" > |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="name" label="状态" align="center"> |
|
|
|
<el-table-column prop="name" label="状态" > |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.status == 0">空闲</span> |
|
|
|
<span v-if="scope.row.status == 1">接待中</span> |
|
|
@@ -100,17 +102,17 @@ |
|
|
|
<el-table-column |
|
|
|
prop="createTime" |
|
|
|
label="上次接待结束时间" |
|
|
|
align="center" |
|
|
|
|
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="date" label="有无排班" align="center"> |
|
|
|
<el-table-column prop="date" label="有无排班" > |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.hasSchedule == 1">有排班</span> |
|
|
|
<span v-if="scope.row.hasSchedule == 0">无排班</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" align="center"> |
|
|
|
<el-table-column label="操作" > |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="text" @click="switchstatus(scope.row,2)" v-if="scope.row.status == 0&&sch_index_pause">暂停接待</el-button> |
|
|
|
<el-button type="text" @click="switchstatus(scope.row,0)" v-if="scope.row.status == 2&&sch_index_pause">空闲</el-button> |
|
|
|