diff --git a/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html b/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html
index 06630483..7ca7096c 100644
--- a/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html
+++ b/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html
@@ -10,6 +10,7 @@
<% if(hasPermi('test:testData:edit')){ %>
新增
<% } %>
+ 统计表样例
@@ -174,6 +175,7 @@ $('#dataGrid').dataGrid({
}}
],
+ shrinkToFit: false, // 是否按百分比自动调整列宽,当列比较多时,开启水平滚动,可设置为false
frozenCols: true, // 启用冻结列,并在colModel中设置frozen:true
showRownum: true, // 是否显示行号,默认true
showFooter: true, // 是否显示底部合计行,数据载入详见 ajaxSuccess
diff --git a/web/src/main/resources/views/modules/demo/demoDataGridStateGrid.html b/web/src/main/resources/views/modules/demo/demoDataGridStateGrid.html
new file mode 100644
index 00000000..55f434d0
--- /dev/null
+++ b/web/src/main/resources/views/modules/demo/demoDataGridStateGrid.html
@@ -0,0 +1,149 @@
+<% layout('/layouts/default.html', {title: '统计表样例', libs: ['dataGrid']}){ %>
+
+
+
+
+
+ <#form:form id="searchForm" class="form-inline hide" >
+
+
+
+
+
+
+ #form:form>
+
+
+
+
+<% } %>
+
\ No newline at end of file
diff --git a/web/src/main/resources/views/modules/demo/demoFormEditForm.html b/web/src/main/resources/views/modules/demo/demoFormEditForm.html
index 3118e6b7..f01d4a84 100644
--- a/web/src/main/resources/views/modules/demo/demoFormEditForm.html
+++ b/web/src/main/resources/views/modules/demo/demoFormEditForm.html
@@ -285,7 +285,14 @@ $("#testDataChildDataGrid").dataGrid({
columnModel: [
{header:'状态', name:'status', editable:true, hidden:true},
{header:'主键', name:'id', editable:true, hidden:true},
- {header:'排序号', name:'testSort', width:150, editable:true, edittype:'text', editoptions:{'maxlength':'11', 'class':'form-control digits'}},
+ {header:'排序号', name:'testSort', width:150, editable:true, edittype:'text', editoptions:{'maxlength':'11', 'class':'form-control digits',
+// 'data-inputmask-alias':"money", 'data-inputmask': "'digits':'2'",
+ dataInit: function(element){
+// $(element).addClass('inputmask').attr('data-inputmask-alias', "money").attr('data-inputmask', "'digits':'2'").inputmask()
+ $(element).addClass('inputmask').attr({'data-inputmask-alias': "money", 'data-inputmask': "'digits':'2'"}).inputmask()
+// $(element).inputmask();
+ }
+ }},
{header:'父表主键', name:'testData.id', editable:true, hidden:true},
{header:'单行文本', name:'testInput', width:150, editable:true, edittype:'text', editoptions:{'maxlength':'200', 'class':'form-control'}},
{header:'多行文本', name:'testTextarea', width:150, editable:true, edittype:'textarea', editoptions:{'maxlength':'200', 'class':'form-control', 'rows':'1'}},
diff --git a/web/src/main/resources/views/modules/demo/demoFormLaydate.html b/web/src/main/resources/views/modules/demo/demoFormLaydate.html
new file mode 100644
index 00000000..03c86e5c
--- /dev/null
+++ b/web/src/main/resources/views/modules/demo/demoFormLaydate.html
@@ -0,0 +1,66 @@
+<% layout('/layouts/default.html', {title: '文书内容', libs: ['validate','dataGrid','fileupload']}){ %>
+
+<% } %>
+
+
\ No newline at end of file