|
|
@@ -31,12 +31,7 @@
|
|
|
<ElTableColumn prop="createdAt" label="创建时间" :formatter="timeFormatter" width="150" />
|
|
|
<ElTableColumn label="操作" align="center" width="200">
|
|
|
<template #default="{ row }">
|
|
|
- <ElButton
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- @click="getToBeSentNum()"
|
|
|
- v-if="row.status === 'queued'"
|
|
|
- >
|
|
|
+ <ElButton type="primary" size="small" @click="getToBeSentNum()" v-if="row.status === 'queued'">
|
|
|
排队状态
|
|
|
</ElButton>
|
|
|
<ElButton type="primary" size="small" @click="detail(row)">详情</ElButton>
|
|
|
@@ -112,6 +107,9 @@
|
|
|
<ElFormItem v-if="isAdmin" prop="checkConnection" label="检查连接">
|
|
|
<ElSwitch v-model="model.checkConnection" />
|
|
|
</ElFormItem>
|
|
|
+ <ElFormItem v-if="isAdmin" prop="matchDevice" label="筛选设备">
|
|
|
+ <ElInput v-model="model.matchDevice" placeholder="设备名称" />
|
|
|
+ </ElFormItem>
|
|
|
</EditDialog>
|
|
|
|
|
|
<ElDialog v-model="showDetailDialog" title="详情" width="800px">
|
|
|
@@ -215,7 +213,6 @@ async function getOperatorList() {
|
|
|
|
|
|
getOperatorList()
|
|
|
|
|
|
-
|
|
|
function phoneListFormatter(row, column, cellValue, index) {
|
|
|
return phoneList.value.find((item) => item.id === cellValue)?.name
|
|
|
}
|