标题子标题优化

This commit is contained in:
thinkgem
2024-04-18 21:22:12 +08:00
parent 29345f8873
commit 37a74e7168
6 changed files with 18 additions and 18 deletions

View File

@@ -284,7 +284,7 @@
</div>
</div>
</div>
<h4 class="form-unit">测试数据子表</h4>
<div class="form-unit">测试数据子表</div>
<div class="ml10 mr10 table-form">
<table id="testDataChildDataGrid"></table>
<% if (hasPermi('test:testData:edit')){ %>
@@ -308,10 +308,10 @@
<% } %>
<script>
//初始化测试数据子表DataGrid对象
$("#testDataChildDataGrid").dataGrid({
$('#testDataChildDataGrid').dataGrid({
data: "#{toJson(testData.testDataChildList)}",
datatype: "local", // 设置本地数据
datatype: 'local', // 设置本地数据
autoGridHeight: function(){return 'auto'}, // 设置自动高度
// 设置数据表格列
@@ -473,7 +473,7 @@ $("#testDataChildDataGrid").dataGrid({
itemCode="{{d.itemCode}}" itemName="{{d.itemName}}"/>
</div>//--></script>
<script>
$("#inputForm").validate({
$('#inputForm').validate({
submitHandler: function(form){
// 数据格式化恢复(表单提交之前调用)

View File

@@ -170,7 +170,7 @@
</div>
</div>
</div>
<h4 class="form-unit">${text('子表数据')}</h4>
<div class="form-unit">${text('子表数据')}</div>
<div class="ml10 mr10 table-form">
<table id="testDataChildDataGrid"></table>
<% if (hasPermi('test:testData:edit')){ %>
@@ -194,10 +194,10 @@
<% } %>
<script>
//初始化测试数据子表DataGrid对象
$("#testDataChildDataGrid").dataGrid({
$('#testDataChildDataGrid').dataGrid({
data: "#{toJson(testData.testDataChildList)}",
datatype: "local", // 设置本地数据
datatype: 'local', // 设置本地数据
autoGridHeight: function(){return 'auto'}, // 设置自动高度
// 设置数据表格列
@@ -388,7 +388,7 @@ $("#testDataChildDataGrid").dataGrid({
class="{{d.cssClass}}" isMini="true" preview="true" readonly="{{d.readonly}}"/>
</div>//--></script>
<script>
$("#inputForm").validate({
$('#inputForm').validate({
submitHandler: function(form){
js.ajaxSubmitForm($(form), function(data){
js.showMessage(data.message);