feat(admin-web): add Vue 3 admin console and deployment configs
- Add admin-web/ with Vite + Vue 3 + Element Plus + Vue Router - Add 8 management pages: dashboard, channel subject/account, conversation, person, tag, send record (with test send), inbound flow - Add API client modules for account/channel/crm/send/flow - Add Dockerfile and nginx config for admin-web - Add Dockerfile for mci-server - Add docker-compose.app.yml for one-command app deployment - Add K8s deployment manifests for backend/admin-web/channel-service - Update scripts/local-up.sh with shared network and --with-apps option
This commit is contained in:
13
admin-web/src/api/crm.ts
Normal file
13
admin-web/src/api/crm.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import client from './client'
|
||||
|
||||
export function createPerson(data: any) {
|
||||
return client.post('/api/v1/person', data)
|
||||
}
|
||||
|
||||
export function listTags() {
|
||||
return client.get('/api/v1/tag/list')
|
||||
}
|
||||
|
||||
export function createTag(data: any) {
|
||||
return client.post('/api/v1/tag', data)
|
||||
}
|
||||
Reference in New Issue
Block a user