组件
This commit is contained in:
@@ -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
Reference in New Issue
Block a user