This commit is contained in:
38
package.json
38
package.json
@@ -33,45 +33,45 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@unocss/eslint-config": "^0.55.7",
|
"@unocss/eslint-config": "^0.55.7",
|
||||||
"@vueuse/core": "^10.11.0",
|
"@vueuse/core": "^10.11.1",
|
||||||
"@wangeditor/editor": "^5.1.23",
|
"@wangeditor/editor": "^5.1.23",
|
||||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||||
"axios": "^1.7.2",
|
"axios": "^1.13.0",
|
||||||
"dayjs": "^1.11.11",
|
"dayjs": "^1.11.18",
|
||||||
"echarts": "^5.5.1",
|
"echarts": "^5.6.0",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"md-editor-v3": "^4.17.3",
|
"md-editor-v3": "^4.21.3",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"pinia": "^2.1.7",
|
"pinia": "^2.3.1",
|
||||||
"vite": "^4.5.3",
|
"vite": "^4.5.14",
|
||||||
"vue": "3.3.4",
|
"vue": "3.3.4",
|
||||||
"vue-echarts": "^6.7.3",
|
"vue-echarts": "^6.7.3",
|
||||||
"vue-router": "^4.2.5",
|
"vue-router": "^4.6.3",
|
||||||
"xlsx": "^0.18.5"
|
"xlsx": "^0.18.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^17.8.1",
|
"@commitlint/cli": "^17.8.1",
|
||||||
"@commitlint/config-conventional": "^17.8.1",
|
"@commitlint/config-conventional": "^17.8.1",
|
||||||
"@iconify/json": "^2.2.228",
|
"@iconify/json": "^2.2.401",
|
||||||
"@iconify/vue": "^4.1.2",
|
"@iconify/vue": "^4.3.0",
|
||||||
"@unocss/preset-rem-to-px": "^0.55.7",
|
"@unocss/preset-rem-to-px": "^0.55.7",
|
||||||
"@vitejs/plugin-vue": "^4.6.2",
|
"@vitejs/plugin-vue": "^4.6.2",
|
||||||
"@vue/compiler-sfc": "^3.4.32",
|
"@vue/compiler-sfc": "^3.5.22",
|
||||||
"@zclzone/eslint-config": "^0.0.4",
|
"@zclzone/eslint-config": "^0.0.4",
|
||||||
"chalk": "^5.3.0",
|
"chalk": "^5.6.2",
|
||||||
"commitizen": "^4.3.0",
|
"commitizen": "^4.3.1",
|
||||||
"cz-conventional-changelog": "^3.3.0",
|
"cz-conventional-changelog": "^3.3.0",
|
||||||
"cz-customizable": "^7.1.0",
|
"cz-customizable": "^7.5.1",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.6.1",
|
||||||
"esno": "^0.17.0",
|
"esno": "^0.17.0",
|
||||||
"fs-extra": "^11.2.0",
|
"fs-extra": "^11.3.2",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"lint-staged": "^13.3.0",
|
"lint-staged": "^13.3.0",
|
||||||
"naive-ui": "^2.39.0",
|
"naive-ui": "^2.43.1",
|
||||||
"rollup-plugin-visualizer": "^5.12.0",
|
"rollup-plugin-visualizer": "^5.14.0",
|
||||||
"sass": "^1.77.8",
|
"sass": "^1.93.2",
|
||||||
"unocss": "0.55.0",
|
"unocss": "0.55.0",
|
||||||
"unplugin-auto-import": "^0.16.7",
|
"unplugin-auto-import": "^0.16.7",
|
||||||
"unplugin-icons": "^0.16.6",
|
"unplugin-icons": "^0.16.6",
|
||||||
|
|||||||
8277
pnpm-lock.yaml
generated
8277
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -45,27 +45,29 @@ export async function addDynamicRoutes() {
|
|||||||
router.addRoute(NOT_FOUND_ROUTE)
|
router.addRoute(NOT_FOUND_ROUTE)
|
||||||
|
|
||||||
// 确保根路径重定向到工作台
|
// 确保根路径重定向到工作台
|
||||||
if (!router.hasRoute('Dashboard')) {
|
// if (!router.hasRoute('workbench')) {
|
||||||
const workbenchRoute = {
|
// const workbenchRoute = {
|
||||||
name: 'Dashboard',
|
// name: 'workbench',
|
||||||
path: '/',
|
// path: '/',
|
||||||
component: () => import('@/layout/index.vue'),
|
// component: () => import('@/views/workbench/index.vue'),
|
||||||
redirect: '/workbench',
|
// redirect: '/workbench',
|
||||||
children: [
|
// // children: [
|
||||||
{
|
// // {
|
||||||
name: 'Workbench',
|
// // name: 'Workbench',
|
||||||
path: 'workbench',
|
// // path: 'workbench',
|
||||||
component: () => import('@/views/workbench/index.vue'),
|
// // component: () => import('@/views/workbench/index.vue'),
|
||||||
meta: {
|
// // meta: {
|
||||||
title: '工作台',
|
// // title: '工作台',
|
||||||
icon: 'mdi:index',
|
// // icon: 'mdi:index',
|
||||||
order: 0,
|
// // order: 0,
|
||||||
},
|
// // },
|
||||||
},
|
// // },
|
||||||
],
|
// // ],
|
||||||
}
|
// }
|
||||||
router.addRoute(workbenchRoute)
|
// router.addRoute(workbenchRoute)
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
// console.log(router)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
throw error
|
throw error
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ function filterAsyncRoutes(routes = [], firstRoute = true) {
|
|||||||
|
|
||||||
const curRoute = {
|
const curRoute = {
|
||||||
path: route.route,
|
path: route.route,
|
||||||
name: route.name,
|
name: route.route,
|
||||||
isHidden,
|
isHidden,
|
||||||
meta,
|
meta,
|
||||||
children: [],
|
children: [],
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ const columns = ref([
|
|||||||
{
|
{
|
||||||
title: '订单号',
|
title: '订单号',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'oid',
|
key: 'jl_oid',
|
||||||
width: 200,
|
width: 200,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user