diff --git a/src/views/OperationLogsView/OperationLogsView.vue b/src/views/OperationLogsView/OperationLogsView.vue index 07d49f7..eacdb29 100644 --- a/src/views/OperationLogsView/OperationLogsView.vue +++ b/src/views/OperationLogsView/OperationLogsView.vue @@ -10,15 +10,19 @@
- +
- +
@@ -75,6 +79,14 @@ const pages = ref(1) const keyword = ref('') const statusFilter = ref('') +const statusFilterOptions = [ + { label: '全部状态', value: '' }, + { label: '已下发', value: 'sent' }, + { label: '已确认', value: 'acked' }, + { label: '已超时', value: 'timeout' }, + { label: '执行失败', value: 'terminal' } +] + const COMMAND_NAMES = { 'dock.open': '打开舱门', 'dock.close': '关闭舱门', @@ -158,3 +170,17 @@ function goPage(p) { onMounted(load) + +