diff --git a/dashboard/.env.development b/dashboard/.env.development index 88c4eb8..4360528 100644 --- a/dashboard/.env.development +++ b/dashboard/.env.development @@ -1,2 +1,3 @@ VITE_APP_API_BASE_URL="/api" VITE_PROXY=[["/api", "http://localhost:36789"]] +VITE_DASHBOARD_VERSION="v0.0.0-dev" diff --git a/dashboard/src/api/api_dtm.ts b/dashboard/src/api/api_dtm.ts new file mode 100644 index 0000000..619c2ee --- /dev/null +++ b/dashboard/src/api/api_dtm.ts @@ -0,0 +1,15 @@ +import { AxiosResponse } from 'axios' +import request from '/@/utils/request' + +export interface IListAllTransactionsReq { + limit: number + position?: number +} + +export function listAllTransactions(payload:IListAllTransactionsReq):Promise> { + return request({ + url: '/dtmsvr/all', + method: 'get', + params: payload + }) +} diff --git a/dashboard/src/icons/svg/logo.svg b/dashboard/src/icons/svg/logo.svg new file mode 100644 index 0000000..2e4e697 --- /dev/null +++ b/dashboard/src/icons/svg/logo.svg @@ -0,0 +1,8 @@ + + + 画板 + + + + + diff --git a/dashboard/src/layout/components/header.vue b/dashboard/src/layout/components/header.vue index 80e0b60..38723e7 100644 --- a/dashboard/src/layout/components/header.vue +++ b/dashboard/src/layout/components/header.vue @@ -1,7 +1,10 @@