feat: 分组管理

This commit is contained in:
xuziqiang
2024-05-29 16:29:22 +08:00
parent f7ebb4bd60
commit 4614c8699f
14 changed files with 584 additions and 157 deletions

View File

@@ -1,7 +1,21 @@
<template>
<ns-view-list-table v-bind="tableConfig" />
<editDrawer ref="editDrawerRef" />
<editGroup ref="editGroupRef" />
<editFormula ref="editFormulaRef" />
<ns-view-list-table v-bind="config" />
</template>
<script lang="ts" setup>
import { tableConfig } from './config';
import { createVNode, onMounted, ref } from 'vue';
import { tableConfig, treeConfig } from './config';
import { useParams } from '/nerv-lib/use';
import editDrawer from './edit.vue';
import editGroup from './editGroup.vue';
import editFormula from './editFormula.vue';
const { getParams } = useParams();
const editDrawerRef = ref();
const editGroupRef = ref();
const editFormulaRef = ref();
const config = tableConfig(editDrawerRef, editGroupRef, editFormulaRef);
</script>
<style lang="less" scoped></style>