zhangmo8 commented on code in PR #3230:
URL: https://github.com/apache/amoro/pull/3230#discussion_r1778524717
##########
amoro-web/src/views/tables/components/Optimizing.vue:
##########
@@ -85,16 +86,31 @@ const sourceData = reactive({
table: '',
...query,
})
+const actionType = ref<ILableAndValue>()
+const actionTypeList = ref<ILableAndValue[]>([])
+const statusType = ref<ILableAndValue>()
+const statusTypeList = ref<ILableAndValue[]>([])
+
+async function getQueryDataDictList() {
+ const tableProcessTypes = await getTableOptimizingTypes({...sourceData})
+ const typesList = Object.entries(tableProcessTypes).map(([typeName,
displayName]) => ({ label: displayName as string, value: typeName}))
+ const status = Object.entries(statusMap).map(([key, value]) => ({ label:
value.title , value: key }));
+
+ actionTypeList.value = typesList
+ statusTypeList.value = status
+}
Review Comment:
Maybe need add some mock data in the front-end mock.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]