Showing
2 changed files
with
23 additions
and
1 deletions
@@ -91,6 +91,27 @@ export const searchFormSchema: FormSchema[] = [ | @@ -91,6 +91,27 @@ export const searchFormSchema: FormSchema[] = [ | ||
91 | label: '发送成功', | 91 | label: '发送成功', |
92 | value: 'DELIVERED', | 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 | placeholder: '请选择命令状态', | 116 | placeholder: '请选择命令状态', |
96 | }, | 117 | }, |
@@ -5,11 +5,12 @@ | @@ -5,11 +5,12 @@ | ||
5 | </template> | 5 | </template> |
6 | <template #responseContent="{ record }"> | 6 | <template #responseContent="{ record }"> |
7 | <div v-if="!record.request?.oneway"> | 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 | <a-button v-else type="link" class="ml-2" @click="handleRecordResponseContent(record)"> | 9 | <a-button v-else type="link" class="ml-2" @click="handleRecordResponseContent(record)"> |
10 | 查看 | 10 | 查看 |
11 | </a-button> | 11 | </a-button> |
12 | </div> | 12 | </div> |
13 | + <div v-else>--</div> | ||
13 | </template> | 14 | </template> |
14 | </BasicTable> | 15 | </BasicTable> |
15 | </template> | 16 | </template> |