From 2864e0cf49cf00f0b823ec0535fa98117552a4e3 Mon Sep 17 00:00:00 2001 From: xk_chenlianjie <15255791639@163.com> Date: Thu, 1 Feb 2024 16:07:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 242 ++--- src/views/order/orderList.vue | 932 ++++++++++-------- src/views/order/orderRefundList.vue | 825 +++++++++------- src/views/statistics/searchStatisticsList.vue | 751 +++++++------- 4 files changed, 1496 insertions(+), 1254 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 63d8cdd..d0a0771 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,121 +1,121 @@ -import Vue from 'vue' -import Router from 'vue-router' -Vue.use(Router) -import Layout from '@/layout' -import CustomerMarket from '../views/distribution/CustomerMarket'; -// 不需要数据库维护的路由 -export const constantRoutes = [{ - path: '/', - component: Layout, - redirect: 'dashboard', - children: [ - { - path: '/dashboard', - component: () => import('@/views/dashboard/index'), - name: 'dashboard', - meta: { title: '星云台', icon: 'iconkongzhitai', affix: true } - } - ] -}, -// 暂时添加的路由 -{ - path: '/product', - component: Layout, - redirect: 'productList', - meta: { title: '商品', icon: 'iconkongzhitai', affix: true }, - children: [ - { - path: '/productList', - component: () => import('@/views/product/productList/index'), - name: 'productList', - meta: { title: '商品列表', icon: 'iconkongzhitai', affix: true } - }, - { - path: '/productAdd', - component: () => import('@/views/product/productAdd/newIndex'), - name: 'productAdd', - meta: { title: '添加商品', icon: 'iconkongzhitai', affix: true } - }, - { - path: '/brand', - component: () => import('@/views/product/brand/index'), - name: 'brand', - meta: { title: '商品品牌', icon: 'iconkongzhitai', affix: true } - }, - { - path: '/productClassify', - component: () => import('@/views/product/productClassify/index'), - name: 'productClassify', - meta: { title: '商品分类', icon: 'iconkongzhitai', affix: true } - }, - { - path: '/productAttr', - component: () => import('@/views/product/productAttr/index'), - name: 'productAttr', - meta: { title: '商品属性', icon: 'iconkongzhitai', affix: true } - }, - { - path: '/inventoryRecords', - component: () => import('@/views/product/inventoryRecords/index'), - name: 'inventoryRecords', - meta: { title: '库存记录', icon: 'iconkongzhitai', affix: true } - }, - ] -}, -{ path: '/CustomerMarket', component: CustomerMarket }, -{ - path: '/profile', - component: Layout, - redirect: '/profile/index', - hidden: true, - children: [ - { - path: 'index', - component: () => import('@/views/profile/index'), - name: 'Profile', - meta: { title: '个人中心', icon: 'user', noCache: true } - } - ] -}, -{ - path: '/redirect', - component: Layout, - hidden: true, - children: [ - { - path: '/redirect/:path*', - component: () => import('@/views/redirect/index') - } - ] -}, -{ - path: '/webView', - component: () => import('@/views/redirect/webView'), - hidden: true -}, -{ - path: '/login', - component: () => import('@/views/login/index'), - hidden: true -}, -{ - path: '/distribution', - component: () => import('@/views/distribution/distribution'), - hidden: true -}, -{ - path: '/sargeScreen', - component: () => import('@/views/sargeScreen/sargeScreen'), - hidden: true -}, -{ - path: '/404', - component: () => import('@/views/error-page/404'), - hidden: true -} -] - -export default new Router({ - scrollBehavior: () => ({ y: 0 }), - routes: constantRoutes -}) +import Vue from 'vue' +import Router from 'vue-router' +Vue.use(Router) +import Layout from '@/layout' +import CustomerMarket from '../views/distribution/CustomerMarket'; +// 不需要数据库维护的路由 +export const constantRoutes = [{ + path: '/', + component: Layout, + redirect: 'dashboard', + children: [ + { + path: '/dashboard', + component: () => import('@/views/dashboard/index'), + name: 'dashboard', + meta: { title: '星云台', icon: 'iconkongzhitai', affix: true } + } + ] +}, +// 暂时添加的路由 +// { +// path: '/product', +// component: Layout, +// redirect: 'productList', +// meta: { title: '商品', icon: 'iconkongzhitai', affix: true }, +// children: [ +// { +// path: '/productList', +// component: () => import('@/views/product/productList/index'), +// name: 'productList', +// meta: { title: '商品列表', icon: 'iconkongzhitai', affix: true } +// }, +// { +// path: '/productAdd', +// component: () => import('@/views/product/productAdd/newIndex'), +// name: 'productAdd', +// meta: { title: '添加商品', icon: 'iconkongzhitai', affix: true } +// }, +// { +// path: '/brand', +// component: () => import('@/views/product/brand/index'), +// name: 'brand', +// meta: { title: '商品品牌', icon: 'iconkongzhitai', affix: true } +// }, +// { +// path: '/productClassify', +// component: () => import('@/views/product/productClassify/index'), +// name: 'productClassify', +// meta: { title: '商品分类', icon: 'iconkongzhitai', affix: true } +// }, +// { +// path: '/productAttr', +// component: () => import('@/views/product/productAttr/index'), +// name: 'productAttr', +// meta: { title: '商品属性', icon: 'iconkongzhitai', affix: true } +// }, +// { +// path: '/inventoryRecords', +// component: () => import('@/views/product/inventoryRecords/index'), +// name: 'inventoryRecords', +// meta: { title: '库存记录', icon: 'iconkongzhitai', affix: true } +// }, +// ] +// }, +{ path: '/CustomerMarket', component: CustomerMarket }, +{ + path: '/profile', + component: Layout, + redirect: '/profile/index', + hidden: true, + children: [ + { + path: 'index', + component: () => import('@/views/profile/index'), + name: 'Profile', + meta: { title: '个人中心', icon: 'user', noCache: true } + } + ] +}, +{ + path: '/redirect', + component: Layout, + hidden: true, + children: [ + { + path: '/redirect/:path*', + component: () => import('@/views/redirect/index') + } + ] +}, +{ + path: '/webView', + component: () => import('@/views/redirect/webView'), + hidden: true +}, +{ + path: '/login', + component: () => import('@/views/login/index'), + hidden: true +}, +{ + path: '/distribution', + component: () => import('@/views/distribution/distribution'), + hidden: true +}, +{ + path: '/sargeScreen', + component: () => import('@/views/sargeScreen/sargeScreen'), + hidden: true +}, +{ + path: '/404', + component: () => import('@/views/error-page/404'), + hidden: true +} +] + +export default new Router({ + scrollBehavior: () => ({ y: 0 }), + routes: constantRoutes +}) diff --git a/src/views/order/orderList.vue b/src/views/order/orderList.vue index bdf80c9..9ff398f 100644 --- a/src/views/order/orderList.vue +++ b/src/views/order/orderList.vue @@ -1,428 +1,504 @@ - - - - + + + + diff --git a/src/views/order/orderRefundList.vue b/src/views/order/orderRefundList.vue index fa040a0..167752b 100644 --- a/src/views/order/orderRefundList.vue +++ b/src/views/order/orderRefundList.vue @@ -1,374 +1,451 @@ - - - - + + + + diff --git a/src/views/statistics/searchStatisticsList.vue b/src/views/statistics/searchStatisticsList.vue index 9cdcfd5..ff234b4 100644 --- a/src/views/statistics/searchStatisticsList.vue +++ b/src/views/statistics/searchStatisticsList.vue @@ -1,331 +1,420 @@ - - - - + + + + -- 2.49.1