This commit is contained in:
hanchaobo
2024-07-05 09:47:19 +08:00
parent e69cd3af6c
commit 3a6620b4e9
5 changed files with 1265 additions and 2 deletions
+12
View File
@@ -141,6 +141,18 @@ export const constantRoutes = [
}
]
},
{
path: '',
component: Layout,
children: [
{
path: "test/index",
component: () => import("@/views/test/index"),
name: "Test",
meta: { title: "测试组件", icon: "tree", affix: true }
}
]
},
];
//本地调试默认路由
@@ -3,13 +3,14 @@
import { defineComponent, ref } from "vue";
import { ElMessage } from "element-plus";
import Echarts from "@/components/Echarts/index.vue";
import { tr } from "element-plus/es/locale";
export default defineComponent({
setup() {
const tableRef = ref();
const tableRef1 = ref();
//列
const columns1 = ref([
{ prop: "districtName", label: "物料编号", hideInAddOrEditForm: true, hideInSearchForm: true },
{ prop: "districtName", label: "物料编号"},
{ label: "版本号", prop: "name" },
{ label: "实际总成本", prop: "date123" },
{ label: "标准总成本", prop: "date123" },
@@ -102,6 +103,7 @@ export default defineComponent({
columns={columns.value}
queryParamsToUrl
ref={tableRef}
request={true}
curdConfig={{
}}
File diff suppressed because it is too large Load Diff