diff --git a/src/layout/components/Aside.vue b/src/layout/components/Aside.vue
index 3e3d5c5..01dd813 100644
--- a/src/layout/components/Aside.vue
+++ b/src/layout/components/Aside.vue
@@ -21,15 +21,16 @@
用户管理
+
+
+ 个人中心
+
+
用户列表
-
-
- 个人中心
-
@@ -54,6 +55,17 @@
+
+
+
+ 订单管理
+
+
+
+
+ 订单列表
+
+
diff --git a/src/router/routes.ts b/src/router/routes.ts
index 453b754..25ffd85 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -13,16 +13,16 @@ export const routes = [
path: '/manage',
component: () => import("@/layout/Manage.vue"),
children:[
- {
- path: '/UserManagement',
- name:'用户列表',
- component: ()=> import("../views/User/UserManagement.vue")
- },
{
path: '/PersonalCenter',
name:'个人中心',
component: ()=> import("../views/User/PersonalCenter.vue")
},
+ {
+ path: '/UserManagement',
+ name:'用户列表',
+ component: ()=> import("../views/User/UserManagement.vue")
+ },
{
path: '/AddProduct',
name: '添加商品',
@@ -37,6 +37,11 @@ export const routes = [
path: '/TypeManagement',
name: '类别管理',
component: ()=> import("../views/Commodity/TypeManagement.vue")
+ },
+ {
+ path: '/OrderList',
+ name: '订单列表',
+ component: ()=> import("../views/Orders/OrderList.vue")
}
]
},
diff --git a/src/store/userStore.ts b/src/store/userStore.ts
index ef749c2..eb4ade1 100644
--- a/src/store/userStore.ts
+++ b/src/store/userStore.ts
@@ -1,5 +1,4 @@
import { defineStore } from "pinia";
-import myAxios from '../api/myAxios'
export const userStore = defineStore( 'user' , {
//state是应用的核心数据,通常用于管理用户信息、应用设置、数据列表等。
@@ -26,7 +25,6 @@ export const userStore = defineStore( 'user' , {
//更新state
updateUser(payLoad : any) {
this.loginUser = payLoad
- console.log(payLoad,2654615165)
}
}
})
\ No newline at end of file
diff --git a/src/views/Commodity/AddProduct.vue b/src/views/Commodity/AddProduct.vue
index 1a9ea12..f677fb5 100644
--- a/src/views/Commodity/AddProduct.vue
+++ b/src/views/Commodity/AddProduct.vue
@@ -1,260 +1,172 @@
-
-
+
+
+
+ handleChange(event, 0)"
+ limit="1" >
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- -->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
-
+
+
-
-
-
-
+
+
+
+
+ loadForm(event, 0)">
+
+
-
+
+
+ loadForm(event, 1)">
+
+
-
-
- 材料包
- 手持物
- 头饰
- 定制
-
+
+
-
-
-
-
-
+
+
上架
+
+ 重置
+
\ No newline at end of file
diff --git a/src/views/Commodity/MerchandiseCenter.vue b/src/views/Commodity/MerchandiseCenter.vue
index 6baf5f4..5462ee3 100644
--- a/src/views/Commodity/MerchandiseCenter.vue
+++ b/src/views/Commodity/MerchandiseCenter.vue
@@ -1,7 +1,9 @@
-
+
+
-
+
@@ -21,33 +23,21 @@
重置
-
+
- 批量删除
+ 批量删除
+
+
-
+
-
-
-
- {{ scope.row.id }}
-
-
-
+
@@ -55,152 +45,72 @@
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
- {{ scope.row.price }}
-
-
-
-
-
-
- {{ scope.row.type }}
-
-
-
-
-
-
- {{ scope.row.inventory }}
-
-
-
+
+
+
+
+
+
- 上架
- 下架
+ 上架
+ 下架
-
+
详情
-
+
编辑
-
- 下架
- 上架
+
+ 下架
+ 上架
-
- 删除
-
-
+
+
+ 删除
+
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ handleChange(event, 0)"
+ limit="1" >
+
+
+
@@ -209,125 +119,92 @@
-
-
-
-
-
-
-
+
+ loadForm(event, 1)">
+
-
+
-
-
-
-
+
+ loadForm(event, 0)">
+
+
+
+
+
+
+ handleChange(event, 0)"
+ limit="1" >
+
+
+
+
+
-
+
-
\ No newline at end of file
diff --git a/src/views/Commodity/TypeManagement.vue b/src/views/Commodity/TypeManagement.vue
index 5e77404..8c5c63f 100644
--- a/src/views/Commodity/TypeManagement.vue
+++ b/src/views/Commodity/TypeManagement.vue
@@ -6,11 +6,20 @@
-
-
-
-
-
+
+
+ handleChange(event)"
+ limit="1" >
+
+
+
+
@@ -19,7 +28,6 @@
-