|
|
@ -70,6 +70,11 @@
|
|
|
|
var editFlag = [[${@permission.hasPermi('${moduleName}:${classname}:edit')}]];
|
|
|
|
var editFlag = [[${@permission.hasPermi('${moduleName}:${classname}:edit')}]];
|
|
|
|
var removeFlag = [[${@permission.hasPermi('${moduleName}:${classname}:remove')}]];
|
|
|
|
var removeFlag = [[${@permission.hasPermi('${moduleName}:${classname}:remove')}]];
|
|
|
|
var prefix = ctx + "${moduleName}/${classname}";
|
|
|
|
var prefix = ctx + "${moduleName}/${classname}";
|
|
|
|
|
|
|
|
#foreach($column in $columns)
|
|
|
|
|
|
|
|
#if(${column.configInfo} && ${column.configInfo.type} == 'dict')
|
|
|
|
|
|
|
|
var datas = [[${@dict.getType('${column.configInfo.value}')}]];
|
|
|
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
$(function() {
|
|
|
|
var options = {
|
|
|
|
var options = {
|
|
|
@ -98,7 +103,6 @@
|
|
|
|
title : '${column.columnComment}',
|
|
|
|
title : '${column.columnComment}',
|
|
|
|
sortable: true,
|
|
|
|
sortable: true,
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
var datas = [[${@dict.getType('${column.configInfo.value}')}]];
|
|
|
|
|
|
|
|
return $.table.selectDictLabel(datas, value);
|
|
|
|
return $.table.selectDictLabel(datas, value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|