|
|
@@ -8,7 +8,7 @@ import { ImageUpload, FileUpload } from "#/components/upload";
|
|
|
import { message, Tabs, Form, Input, Textarea, Select, RadioGroup, Radio, CheckboxGroup, Checkbox, DatePicker, TreeSelect } from 'ant-design-vue';
|
|
|
import { DICT_TYPE, getDictOptions } from '#/utils';
|
|
|
#if($table.templateType == 2)## 树表需要导入这些
|
|
|
-import { get${simpleClassName}List } from '#/api/${table.moduleName}/${table.businessName}';
|
|
|
+import { get${simpleClassName}List } from '#/api/${table.moduleName}/${simpleClassName_strikeCase}';
|
|
|
import { handleTree } from '@vben/utils'
|
|
|
#end
|
|
|
## 特殊:主子表专属逻辑
|
|
|
@@ -22,7 +22,7 @@ import { handleTree } from '@vben/utils'
|
|
|
|
|
|
import { computed, ref } from 'vue';
|
|
|
import { $t } from '#/locales';
|
|
|
-import { get${simpleClassName}, create${simpleClassName}, update${simpleClassName} } from '#/api/${table.moduleName}/${table.businessName}';
|
|
|
+import { get${simpleClassName}, create${simpleClassName}, update${simpleClassName} } from '#/api/${table.moduleName}/${simpleClassName_strikeCase}';
|
|
|
|
|
|
const emit = defineEmits(['success']);
|
|
|
|