mirror of
https://gitee.com/jeecg/JeecgBoot.git
synced 2025-12-30 09:22:26 +00:00
表单添加了按钮并设置排序,代码生成报错 #9190
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<#assign list_need_category=false>
|
<#assign list_need_category=false>
|
||||||
<#assign list_need_pca=false>
|
<#assign list_need_pca=false>
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -303,7 +303,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -339,7 +339,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -378,7 +378,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<template>
|
<template>
|
||||||
<div class="p-2">
|
<div class="p-2">
|
||||||
<#assign query_field_no=0>
|
<#assign query_field_no=0>
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -368,7 +368,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -404,7 +404,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -484,7 +484,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -78,7 +78,7 @@
|
|||||||
visible.value = false;
|
visible.value = false;
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<#assign pidFieldName = "">
|
<#assign pidFieldName = "">
|
||||||
<#assign hasChildrenField = "">
|
<#assign hasChildrenField = "">
|
||||||
<#assign bpm_flag=false>
|
<#assign bpm_flag=false>
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -447,7 +447,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -483,7 +483,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -544,7 +544,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<#assign pidFieldName = "">
|
<#assign pidFieldName = "">
|
||||||
<#assign hasChildrenField = "">
|
<#assign hasChildrenField = "">
|
||||||
<#list originalColumns as po>
|
<#list originalColumns as po>
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<template>
|
<template>
|
||||||
<div class="p-2">
|
<div class="p-2">
|
||||||
<#assign pidFieldName = "">
|
<#assign pidFieldName = "">
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -518,7 +518,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -559,7 +559,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -597,7 +597,7 @@
|
|||||||
}
|
}
|
||||||
</#if>
|
</#if>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="p-2 cgformErpList">
|
<div class="p-2 cgformErpList">
|
||||||
<#assign list_need_category=false>
|
<#assign list_need_category=false>
|
||||||
<#assign list_need_pca=false>
|
<#assign list_need_pca=false>
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -350,7 +350,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -385,7 +385,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -444,7 +444,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="ant-design:${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -390,7 +390,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
},
|
},
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -427,7 +427,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -465,7 +465,7 @@
|
|||||||
}
|
}
|
||||||
</#if>
|
</#if>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#-- ** 引入全局工具方法 ** -->
|
<#-- ** 引入全局工具方法 ** -->
|
||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -355,7 +355,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -391,7 +391,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -450,7 +450,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<template>
|
<template>
|
||||||
<#assign buttonList=[]>
|
<#assign buttonList=[]>
|
||||||
<#if tableVo.extendParams?? && tableVo.extendParams.cgButtonList??>
|
<#if tableVo.extendParams?? && tableVo.extendParams.cgButtonList??>
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
</#list>
|
</#list>
|
||||||
};
|
};
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<#assign list_need_category=false>
|
<#assign list_need_category=false>
|
||||||
<#assign list_need_pca=false>
|
<#assign list_need_pca=false>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -330,7 +330,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -366,7 +366,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -425,7 +425,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<template>
|
<template>
|
||||||
<#assign buttonList=[]>
|
<#assign buttonList=[]>
|
||||||
<#if tableVo.extendParams?? && tableVo.extendParams.cgButtonList??>
|
<#if tableVo.extendParams?? && tableVo.extendParams.cgButtonList??>
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
</#list>
|
</#list>
|
||||||
};
|
};
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<template>
|
<template>
|
||||||
<div class="p-2">
|
<div class="p-2">
|
||||||
<#assign query_field_no=0>
|
<#assign query_field_no=0>
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -364,7 +364,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -401,7 +401,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -441,7 +441,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<template>
|
<template>
|
||||||
<#assign buttonList=[]>
|
<#assign buttonList=[]>
|
||||||
<#if tableVo.extendParams?? && tableVo.extendParams.cgButtonList??>
|
<#if tableVo.extendParams?? && tableVo.extendParams.cgButtonList??>
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
closeModal();
|
closeModal();
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
handleSubmit,
|
handleSubmit,
|
||||||
submitSuccess,
|
submitSuccess,
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
handle${btn.buttonCode?cap_first},
|
handle${btn.buttonCode?cap_first},
|
||||||
</#if>
|
</#if>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<#assign list_need_category=false>
|
<#assign list_need_category=false>
|
||||||
<#assign list_need_pca=false>
|
<#assign list_need_pca=false>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
<a-button type="primary" v-auth="'${entityPackage}:${tableName}:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||||
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
<j-upload-button type="primary" v-auth="'${entityPackage}:${tableName}:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'button'>
|
<#if btn.buttonStyle == 'button'>
|
||||||
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
<a-button type="primary" @click="handle${btn.buttonCode?cap_first}" <#if btn.buttonIcon??> preIcon="${btn.buttonIcon}" </#if>>${btn.buttonName}</a-button>
|
||||||
</#if>
|
</#if>
|
||||||
@@ -329,7 +329,7 @@
|
|||||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -365,7 +365,7 @@
|
|||||||
auth: '${entityPackage}:${tableName}:delete'
|
auth: '${entityPackage}:${tableName}:delete'
|
||||||
}
|
}
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle == 'link'>
|
<#if btn.buttonStyle == 'link'>
|
||||||
,{
|
,{
|
||||||
label: '${btn.buttonName}',
|
label: '${btn.buttonName}',
|
||||||
@@ -424,7 +424,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='button'>
|
<#if btn.buttonStyle=='button'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<#include "/common/utils.ftl">
|
<#include "/common/utils.ftl">
|
||||||
<template>
|
<template>
|
||||||
<#assign buttonList=[]>
|
<#assign buttonList=[]>
|
||||||
<#if tableVo.extendParams?? && tableVo.extendParams.cgButtonList??>
|
<#if tableVo.extendParams?? && tableVo.extendParams.cgButtonList??>
|
||||||
@@ -286,7 +286,7 @@
|
|||||||
</#list>
|
</#list>
|
||||||
};
|
};
|
||||||
<#if buttonList?size gt 0>
|
<#if buttonList?size gt 0>
|
||||||
<#list buttonList?filter(it -> it.orderNum?? && it.orderNum != null)?sort_by("orderNum") as btn>
|
<#list buttonList as btn>
|
||||||
<#if btn.buttonStyle=='form'>
|
<#if btn.buttonStyle=='form'>
|
||||||
function handle${btn.buttonCode?cap_first}(){
|
function handle${btn.buttonCode?cap_first}(){
|
||||||
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
createMessage.info('点击了${btn.buttonName}按钮,对应的业务逻辑需自行实现!');
|
||||||
|
|||||||
Reference in New Issue
Block a user