|
|
@ -133,33 +133,34 @@ |
|
|
|
min-width="100" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
label="状态" |
|
|
|
fixed="right" |
|
|
|
label="类型" |
|
|
|
align="center" |
|
|
|
prop="status" |
|
|
|
show-overflow-tooltip |
|
|
|
min-width="100" |
|
|
|
min-width="130" |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.status == 0" style="color: #F56C6C">禁用</span> |
|
|
|
<span v-else style="color: #67C23A">启用</span> |
|
|
|
<span v-if="scope.row.type == 0">公共队列</span> |
|
|
|
<span v-else-if="scope.row.type == 1" >{{scope.row.tenantName}}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="类型" |
|
|
|
label="状态" |
|
|
|
align="center" |
|
|
|
prop="status" |
|
|
|
show-overflow-tooltip |
|
|
|
min-width="100" |
|
|
|
min-width="80" |
|
|
|
fixed="right" |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.type == 1">公共队列</span> |
|
|
|
<span v-else-if="scope.row.status == 1" style="color: #67C23A">本院队列</span> |
|
|
|
<span v-if="scope.row.status == 0" style="color: #F56C6C">禁用</span> |
|
|
|
<span v-else style="color: #67C23A">启用</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="创建人/创建时间" |
|
|
|
align="center" |
|
|
|
min-width="140" |
|
|
|
fixed="right" |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div>{{ scope.row.createBy }}</div> |
|
|
@ -175,7 +176,7 @@ |
|
|
|
type="text" |
|
|
|
icon="el-icon-edit" |
|
|
|
@click="handleUpdate(scope.row)" |
|
|
|
:disabled="scope.row.type == 1" |
|
|
|
:disabled="scope.row.type != 0" |
|
|
|
>修改</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
@ -183,7 +184,7 @@ |
|
|
|
type="text" |
|
|
|
icon="el-icon-delete" |
|
|
|
@click="handleDelete(scope.row)" |
|
|
|
:disabled="scope.row.type == 1" |
|
|
|
:disabled="scope.row.type != 0" |
|
|
|
>删除</el-button |
|
|
|
> |
|
|
|
</template> |
|
|
@ -397,11 +398,7 @@ export default { |
|
|
|
getList() { |
|
|
|
this.loading = true; |
|
|
|
followupQuery(this.queryParams).then((res) => { |
|
|
|
let commonQueue = JSON.parse(localStorage.getItem('commonQueue')) |
|
|
|
this.listDat = res.data.list; |
|
|
|
commonQueue?.forEach(i=>{ |
|
|
|
this.listDat.unshift(i) |
|
|
|
}) |
|
|
|
this.total = res.data.total; |
|
|
|
this.loading = false; |
|
|
|
}); |
|
|
|