|
@@ -94,22 +94,10 @@ |
|
|
@current-change="handleCurrentChange" |
|
|
@current-change="handleCurrentChange" |
|
|
> |
|
|
> |
|
|
<template slot-scope="{ row }" slot="menu"> |
|
|
<template slot-scope="{ row }" slot="menu"> |
|
|
<el-button type="text" size="small" v-if="row.status == 1 && tem_pwl_stop" |
|
|
|
|
|
@click="clickstateis(row)">启用</el-button> |
|
|
|
|
|
<el-button type="text" size="small" v-if="row.status == 0 && tem_pwl_stop" |
|
|
|
|
|
@click="clickstateno(row)">停用</el-button> |
|
|
|
|
|
<el-button type="text" size="small" v-if="tem_pwl_edit" @click="clickbianji(row)">编辑</el-button> |
|
|
|
|
|
<el-dropdown> |
|
|
|
|
|
<el-button type="text" size="small" style="margin-left:10px;">更多</el-button> |
|
|
|
|
|
<el-dropdown-menu slot="dropdown"> |
|
|
|
|
|
<el-dropdown-item> |
|
|
|
|
|
<el-button type="text" size="small" v-if="tem_pwl_del" @click="templatedel(row)">删除</el-button> |
|
|
|
|
|
</el-dropdown-item> |
|
|
|
|
|
<el-dropdown-item> |
|
|
|
|
|
<el-button type="text" size="small" @click="goinfo(row)">查看</el-button> |
|
|
|
|
|
</el-dropdown-item> |
|
|
|
|
|
</el-dropdown-menu> |
|
|
|
|
|
</el-dropdown> |
|
|
|
|
|
|
|
|
<el-button type="text" @click="switchstatus(row,2)" v-if="row.status == 0&&sch_index_pause">暂停接待</el-button> |
|
|
|
|
|
<el-button type="text" @click="switchstatus(row,0)" v-if="row.status == 2&&sch_index_pause">空闲</el-button> |
|
|
|
|
|
<el-button type="text" v-if="sch_index_job" @click="showDailog1(row)">工作安排</el-button> |
|
|
|
|
|
<el-button type="text" v-if="sch_index_del" @click="del(row)">删除</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</avue-crud> |
|
|
</avue-crud> |
|
|
|
|
|
|
|
|