Commit 8de9083017787fa498d3de0afa8f8021326046b8

Authored by fengwotao
1 parent e49c6764

feat:设备列表命令下发记录新增查询条件

... ... @@ -91,6 +91,27 @@ export const searchFormSchema: FormSchema[] = [
91 91 label: '发送成功',
92 92 value: 'DELIVERED',
93 93 },
  94 +
  95 + {
  96 + label: '响应成功',
  97 + value: 'SUCCESSFUL',
  98 + },
  99 + {
  100 + label: '超时',
  101 + value: 'TIMEOUT',
  102 + },
  103 + {
  104 + label: '已过期',
  105 + value: 'EXPIRED',
  106 + },
  107 + {
  108 + label: '响应失败',
  109 + value: 'FAILED',
  110 + },
  111 + {
  112 + label: '已删除',
  113 + value: 'DELETED',
  114 + },
94 115 ],
95 116 placeholder: '请选择命令状态',
96 117 },
... ...
... ... @@ -5,11 +5,12 @@
5 5 </template>
6 6 <template #responseContent="{ record }">
7 7 <div v-if="!record.request?.oneway">
8   - <a-button v-if="record?.response === null" type="text" class="ml-2"> </a-button>
  8 + <a-button v-if="record?.response === null" type="text" class="ml-2"> 未响应 </a-button>
9 9 <a-button v-else type="link" class="ml-2" @click="handleRecordResponseContent(record)">
10 10 查看
11 11 </a-button>
12 12 </div>
  13 + <div v-else>--</div>
13 14 </template>
14 15 </BasicTable>
15 16 </template>
... ...