diff --git a/.gitignore b/.gitignore index 4694735..987157d 100644 --- a/.gitignore +++ b/.gitignore @@ -32,4 +32,5 @@ components.d.ts # .env .env.development -.env.production \ No newline at end of file +.env.production +helper.json \ No newline at end of file diff --git a/src/api/goodsList.ts b/src/api/goodsList.ts new file mode 100644 index 0000000..903ad86 --- /dev/null +++ b/src/api/goodsList.ts @@ -0,0 +1,22 @@ +import request from '@/utils/request' + +// 商品列表 +export function apiGoodsListLists(params: any) { + return request.get({ url: '/consult_target.consult_decision/lists', params }) +} + +// 库存管理 +export function apiGoodsListDetail(params: any) { + return request.get({ url: '/consult_target.consult_decision/add', params }) +} + +// 库存管理 +export function apiGoodsTypeLists(params: any) { + return request.get({ url: '/consult_target.consult_decision/add', params }) +} + + +// 上架&下架 +export function apiStatus(params: any) { + return request.post({ url: '/consult_target.consult_decision/add', params }) +} diff --git a/src/api/user.ts b/src/api/user.ts index 39d2010..0b22268 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -13,10 +13,10 @@ export function logout() { // 用户信息 export function getUserInfo() { - return request.get({ url: '/auth.admin/mySelf' }) + return request.get({ url: '/auth/admin/mySelf' }) } // 编辑管理员信息 export function setUserInfo(params: any) { - return request.post({ url: '/auth.admin/editSelf', params }) + return request.post({ url: '/auth/admin/editSelf', params }) } diff --git a/src/components/orderDetail/index.vue b/src/components/orderDetail/index.vue new file mode 100644 index 0000000..63619c1 --- /dev/null +++ b/src/components/orderDetail/index.vue @@ -0,0 +1,210 @@ + + + + + 订单详情 + + + + + + + + 【核销订单】 + + + 订单编号: 5754545 + + + + + + 订单状态 + 未核销 + + + 实际支付 + 未核销 + + + 支付方式 + 未核销 + + + 支付时间 + 未核销 + + + + + + + + + {{ el.value }} + + + + + + + + + + + 受到广泛接 + + + + + + + + + + + + + + + + + + + + + 确定 + + + + + + \ No newline at end of file diff --git a/src/config/index.ts b/src/config/index.ts index f5f4c9d..5aa6133 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -3,10 +3,9 @@ const config = { title: '后台管理系统', //网站默认标题 version: '1.8.0', //版本号 baseUrl: `${import.meta.env.VITE_APP_BASE_URL || ''}/`, //请求接口域名 - urlPrefix: 'adminapi', //请求默认前缀 + urlPrefix: 'store', //请求默认前缀 timeout: 10 * 1000 //请求超时时长 } -console.log(import.meta,'meta') export default config diff --git a/src/views/employerLists/index.vue b/src/views/employerLists/index.vue new file mode 100644 index 0000000..f7be415 --- /dev/null +++ b/src/views/employerLists/index.vue @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/financialLists/index.vue b/src/views/financialLists/index.vue new file mode 100644 index 0000000..1482cd5 --- /dev/null +++ b/src/views/financialLists/index.vue @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/goodsList/detail.vue b/src/views/goodsList/detail.vue new file mode 100644 index 0000000..8368f62 --- /dev/null +++ b/src/views/goodsList/detail.vue @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/goodsList/index.vue b/src/views/goodsList/index.vue new file mode 100644 index 0000000..fd04c0e --- /dev/null +++ b/src/views/goodsList/index.vue @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 库存管理 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/orderLists/index.vue b/src/views/orderLists/index.vue new file mode 100644 index 0000000..1d14efa --- /dev/null +++ b/src/views/orderLists/index.vue @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + 立即核销 + + + 订单详情 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/userLists/index.vue b/src/views/userLists/index.vue new file mode 100644 index 0000000..ef4a607 --- /dev/null +++ b/src/views/userLists/index.vue @@ -0,0 +1 @@ + \ No newline at end of file