| | |
| | | </template> |
| | | |
| | | <script setup name="${BusinessName}" lang="ts"> |
| | | import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName} } from "@/api/${moduleName}/${businessName}"; |
| | | import { ${BusinessName}VO, ${BusinessName}Query, ${BusinessName}Form } from '@/api/${moduleName}/${businessName}/types'; |
| | | import { ComponentInternalInstance } from 'vue'; |
| | | import { ElForm, ElTable } from 'element-plus'; |
| | | import { |
| | | add${BusinessName}, |
| | | ${BusinessName}Form, |
| | | get${BusinessName}, |
| | | list${BusinessName}, |
| | | ${BusinessName}Query, |
| | | update${BusinessName}, |
| | | ${BusinessName}VO |
| | | } from "@/api/"; |
| | | import {ComponentInternalInstance} from 'vue'; |
| | | import {ElForm, ElTable} from 'element-plus'; |
| | | |
| | | |
| | | type ${BusinessName}Option = { |
| | | type ${BusinessName}Option = { |
| | | ${treeCode}: number; |
| | | ${treeName}: string; |
| | | children?: ${BusinessName}Option[]; |