|
|
@@ -1,14 +1,9 @@
|
|
|
<script lang="ts" setup>
|
|
|
import PaneModel from '@/components/splitpanes/PaneModel.vue'
|
|
|
import { ElTree } from 'element-plus'
|
|
|
-import type { BasicForm, ICRUD } from '@/types/form'
|
|
|
+import type { BasicForm } from '@/types/form'
|
|
|
import { getAreaList } from '@/api/area'
|
|
|
-interface Tree {
|
|
|
- id: number
|
|
|
- label: string
|
|
|
- children?: Tree[]
|
|
|
- icon?: string
|
|
|
-}
|
|
|
+
|
|
|
const config = {
|
|
|
size: 20,
|
|
|
lMinSize: 20
|
|
|
@@ -92,10 +87,10 @@ const ruleForm = ref({
|
|
|
const addArea = () => {
|
|
|
dialogVisible.value = true
|
|
|
}
|
|
|
-const submitForm = (data: any) => {
|
|
|
+const submitForm = () => {
|
|
|
dialogVisible.value = false
|
|
|
}
|
|
|
-const resetForm = (data: any) => {
|
|
|
+const resetForm = () => {
|
|
|
dialogVisible.value = false
|
|
|
}
|
|
|
</script>
|