Commit c0fa46a7cde87575a756c00165aad92bba017f0c

Authored by zhangdaiscott
1 parent 1ca69056

【代码生成器】修复vue3模板引用路径和文件路径大小写不一致的问题

jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vue3/components/[1-n]Form.vuei
... ... @@ -7,7 +7,7 @@
7 7 <script lang="ts">
8 8 import {defineComponent} from 'vue';
9 9 import {BasicForm, useForm} from '/@/components/Form/index';
10   - import {${sub.entityName?uncap_first}FormSchema} from '../${entityName?uncap_first}.data';
  10 + import {${sub.entityName?uncap_first}FormSchema} from '../${entityName}.data';
11 11 import {defHttp} from '/@/utils/http/axios';
12 12 import { VALIDATE_FAILED } from '/@/utils/common/vxeUtils'
13 13  
... ...
jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3/components/[1-n]Form.vuei
... ... @@ -7,7 +7,7 @@
7 7 <script lang="ts">
8 8 import {defineComponent} from 'vue';
9 9 import {BasicForm, useForm} from '/@/components/Form/index';
10   - import {${sub.entityName?uncap_first}FormSchema} from '../${entityName?uncap_first}.data';
  10 + import {${sub.entityName?uncap_first}FormSchema} from '../${entityName}.data';
11 11 import {defHttp} from '/@/utils/http/axios';
12 12 import { VALIDATE_FAILED } from '/@/utils/common/vxeUtils'
13 13  
... ...
jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template-online/tab/onetomany/java/${bussiPackage}/${entityPackage}/vue3/components/[1-n]Form.vuei
... ... @@ -7,7 +7,7 @@
7 7 <script lang="ts">
8 8 import {defineComponent} from 'vue';
9 9 import {BasicForm, useForm} from '/@/components/Form/index';
10   - import {${sub.entityName?uncap_first}FormSchema} from '../${entityName?uncap_first}.data';
  10 + import {${sub.entityName?uncap_first}FormSchema} from '../${entityName}.data';
11 11 import {defHttp} from '/@/utils/http/axios';
12 12 import { VALIDATE_FAILED } from '/@/utils/common/vxeUtils'
13 13  
... ...
jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template/onetomany2/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei
... ... @@ -48,8 +48,8 @@
48 48 import { useListPage } from '/@/hooks/system/useListPage'
49 49 import {useModal} from '/@/components/Modal';
50 50 import ${entityName}Modal from './modules/${entityName}Modal.vue'
51   - import {columns, searchFormSchema} from './${entityName?uncap_first}.data';
52   - import {list, deleteOne, batchDelete, getImportUrl,getExportUrl} from './${entityName?uncap_first}.api';
  51 + import {columns, searchFormSchema} from './${entityName}.data';
  52 + import {list, deleteOne, batchDelete, getImportUrl,getExportUrl} from './${entityName}.api';
53 53  
54 54 const refKeys = ref([<#list subTables as sub>'${sub.entityName?uncap_first}', </#list>]);
55 55 //注册model
... ...
jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template/onetomany2/java/${bussiPackage}/${entityPackage}/vue3/[1-n]List.vuei
... ... @@ -41,8 +41,8 @@
41 41 import {useModal} from '/@/components/Modal';
42 42 import {isEmpty} from "/@/utils/is";
43 43 import {useMessage} from '/@/hooks/web/useMessage';
44   - import {${subTab.entityName?uncap_first}Columns} from './${entityName?uncap_first}.data';
45   - import {${subTab.entityName?uncap_first}List, ${subTab.entityName?uncap_first}Delete, ${subTab.entityName?uncap_first}DeleteBatch} from './${entityName?uncap_first}.api';
  44 + import {${subTab.entityName?uncap_first}Columns} from './${entityName}.data';
  45 + import {${subTab.entityName?uncap_first}List, ${subTab.entityName?uncap_first}Delete, ${subTab.entityName?uncap_first}DeleteBatch} from './${entityName}.api';
46 46 //提示弹窗
47 47 const $message = useMessage()
48 48 //接收主表id
... ...