修复路由文件命名

This commit is contained in:
monanxiao
2024-10-11 09:15:43 +08:00
parent 2101e6065d
commit 3be482c569
5 changed files with 174 additions and 11 deletions
+3 -3
View File
@@ -40,7 +40,7 @@ let menuList = [
},
{
title: "订单管理",
url: "/scheduling",
url: "/order",
icon: "ShoppingCart",
},
{
@@ -55,12 +55,12 @@ let menuList = [
},
{
title: "勘察人员",
url: "/reconnaissance",
url: "/reconnaissanceList",
icon: "Menu",
},
{
title: "维修人员",
url: "/maintain",
url: "/maintainList",
icon: "Menu",
},
]
+6 -6
View File
@@ -105,8 +105,8 @@ const routerList = [
},
children: [
{
path: "/scheduling",
name: "scheduling",
path: "/order",
name: "order",
component: () => import("../views/order/index.vue"),
meta: {
requiresAuth: true, //有一些页面是否登录才能进去
@@ -133,8 +133,8 @@ const routerList = [
},
},
{
path: "/reconnaissance",
name: "reconnaissance",
path: "/reconnaissanceList",
name: "reconnaissanceList",
component: () => import("../views/users/reconnaissance.vue"),
meta: {
requiresAuth: true,
@@ -142,8 +142,8 @@ const routerList = [
},
},
{
path: "/maintain",
name: "maintain",
path: "/maintainList",
name: "maintainList",
component: () => import("../views/users/maintain.vue"),
meta: {
requiresAuth: true,
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<el-card>
<div>服务项目管理</div>
<div>服务项目管理222</div>
</el-card>
</template>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<el-card>
<div>客户列表</div>
<div>客户列表222</div>
</el-card>
</template>
+163
View File
@@ -0,0 +1,163 @@
export const options = [{
label: "序号",
props: "goodsId",
width: "60",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "机构代码",
props: "code",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "机构名",
props: "title",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "商品名称",
props: "goodsname",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "商品条码",
props: "commodity",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "规格",
props: "sku",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "品牌",
props: "brand",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "销售数量",
props: "number",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: true,
},
{
label: "剩余库存",
props: "inventory",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: true,
},
{
label: "成本价",
props: "costPrice",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: true,
},
{
label: "成本金额",
props: "amount",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: true,
},
{
label: "操作",
props: "actions",
width: "auto",
align: "left",
show: true,
fixed: "right",
itemEdit: "itemEdit",
sortable: false,
},
];
export const ItemData = [{
label: "地址信息",
props: "address",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "联系方式",
props: "email",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "营业状态",
props: "state",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
{
label: "销售额",
props: "salenumber",
width: "auto",
align: "left",
show: true,
fixed: false,
itemEdit: "itemEdit",
sortable: false,
},
];