diff --git a/frontend/.env.aios b/frontend/.env.aios new file mode 100644 index 0000000..1258110 --- /dev/null +++ b/frontend/.env.aios @@ -0,0 +1,2 @@ +VITE_API_ENDPOINT='/openmldb-featinsight' +VITE_BASE_URL=/openmldb-featinsight diff --git a/frontend/package.json b/frontend/package.json index eb35123..bcc32d0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "vite", "build": "vite build", + "build:aios": "vite build --mode aios", "preview": "vite preview" }, "dependencies": { diff --git a/frontend/src/components/offlinejob/OfflineJobsData.vue b/frontend/src/components/offlinejob/OfflineJobsData.vue index 5b6c233..9cb8e6e 100644 --- a/frontend/src/components/offlinejob/OfflineJobsData.vue +++ b/frontend/src/components/offlinejob/OfflineJobsData.vue @@ -63,6 +63,16 @@ export default { dataIndex: 'jobType', key: 'jobType', }, + { + title: this.$t('Table DB'), + dataIndex: 'db', + key: 'db', + }, + { + title: `${this.$t('Data Table')}${this.$t('Name')}`, + dataIndex: 'table', + key: 'table', + }, { title: this.$t('Start Time'), dataIndex: 'startTime', diff --git a/frontend/src/components/table/OnlineTables.vue b/frontend/src/components/table/OnlineTables.vue index 49eadfe..7f63083 100644 --- a/frontend/src/components/table/OnlineTables.vue +++ b/frontend/src/components/table/OnlineTables.vue @@ -77,6 +77,16 @@ export default { key: 'table', slots: { customRender: 'table' } }, + { + title: this.$t('Table Rows'), + dataIndex: 'rows', + key: 'rows', + }, + { + title: this.$t('Table Use Memory'), + dataIndex: 'useMemory', + key: 'useMemory', + }, { title: this.$t('Actions'), key: 'actions', diff --git a/frontend/src/components/table/TableDetail.vue b/frontend/src/components/table/TableDetail.vue index 98ae747..70fa17a 100644 --- a/frontend/src/components/table/TableDetail.vue +++ b/frontend/src/components/table/TableDetail.vue @@ -9,6 +9,13 @@ {{ data.db }} {{ data.table }} + {{ data.id }} + {{ data.columnKey?.join(',') }} + {{ data.partition }} + {{ data.partitionUnalive }} + {{ data.replica }} + {{ data.rows }} + {{ data.useMemory }}