feat(api): 为L2 API添加HTTP协议前缀

refactor(warehouse): 重构仓库管理页面为卡片布局并优化交互
- 移除树形表格改用卡片布局
- 添加启用/禁用快捷开关
- 优化备注显示样式
- 简化表单逻辑

feat(utils): 新增WebSocket管理器类
- 支持多连接管理
- 自动重连机制
- 状态监控功能

style(views): 清理注释掉的代码和未使用的组件
This commit is contained in:
砂糖
2025-12-22 10:18:58 +08:00
parent 517157bcb0
commit 0ced7e5a9f
12 changed files with 2429 additions and 377 deletions

View File

@@ -2,7 +2,7 @@ import axios from 'axios'
export default function createFetch(url) {
const l2Request = axios.create({
baseURL: url,
baseURL: 'http://' + url,
headers: {
'Content-Type': 'application/json'
},

View File

@@ -44,7 +44,7 @@ function formatDateFields(data) {
export default function createFetch(url) {
const l2Request = axios.create({
baseURL: url,
baseURL: 'http://' + url,
headers: {
'Content-Type': 'application/json'
},

View File

@@ -2,7 +2,7 @@ import axios from 'axios'
export default function createFetch(url) {
const l2Request = axios.create({
baseURL: url,
baseURL: 'http://' + url,
headers: {
'Content-Type': 'application/json'
},

View File

@@ -2,7 +2,7 @@ import axios from 'axios'
export default function createFetch(url) {
const l2Request = axios.create({
baseURL: url,
baseURL: 'http://' + url,
headers: {
'Content-Type': 'application/json'
},

View File

@@ -2,7 +2,7 @@ import axios from 'axios'
export default function createFetch(url) {
const l2Request = axios.create({
baseURL: url,
baseURL: 'http://' + url,
headers: {
'Content-Type': 'application/json'
},

View File

@@ -2,7 +2,7 @@ import axios from 'axios'
export default function createFetch(url) {
const l2Request = axios.create({
baseURL: url,
baseURL: 'http://' + url,
headers: {
'Content-Type': 'application/json'
},

View File

@@ -2,7 +2,7 @@ import axios from 'axios'
export default function createFetch(url) {
const l2Request = axios.create({
baseURL: url,
baseURL: 'http://' + url,
headers: {
'Content-Type': 'application/json'
},