diff --git a/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/common/init/initValue.ftl b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/common/init/initValue.ftl new file mode 100644 index 00000000..634cf17d --- /dev/null +++ b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/common/init/initValue.ftl @@ -0,0 +1,13 @@ +<#list columns as po> + <#if po.isShow == 'Y'> + <#if po.fieldName != 'id'> + <#if po.defaultVal??> + <#if po.fieldDbType=="BigDecimal" || po.fieldDbType=="double" || po.fieldDbType=="int"> + ${po.fieldName}:${po.defaultVal}, + <#else> + ${po.fieldName}:"${po.defaultVal}", + + + + + diff --git a/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/common/init/initValueSub.ftl b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/common/init/initValueSub.ftl new file mode 100644 index 00000000..eeaf6438 --- /dev/null +++ b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/common/init/initValueSub.ftl @@ -0,0 +1,13 @@ +<#list sub.colums as po> + <#if po.isShow == 'Y'> + <#if po.fieldName != 'id'> + <#if po.defaultVal??> + <#if po.fieldDbType=="BigDecimal" || po.fieldDbType=="double" || po.fieldDbType=="int"> + ${po.fieldName}:${po.defaultVal}, + <#else> + ${po.fieldName}:"${po.defaultVal}", + + + + + diff --git a/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei new file mode 100644 index 00000000..9a8ffd82 --- /dev/null +++ b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei @@ -0,0 +1,530 @@ +<#include "/common/utils.ftl"> + + + + + \ No newline at end of file diff --git a/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/tab/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/tab/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei new file mode 100644 index 00000000..a2b4ad2b --- /dev/null +++ b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template-online/tab/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei @@ -0,0 +1,491 @@ +<#include "/common/utils.ftl"> + + + + + \ No newline at end of file diff --git a/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei new file mode 100644 index 00000000..76e6bdc1 --- /dev/null +++ b/jero-boot/jero-boot-single-startup/src/main/resources/jero/code-template/onetomany/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Form.vuei @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file