页面样式调整,bug修改。
This commit is contained in:
parent
05ff1cc543
commit
4662e34098
@ -112,7 +112,7 @@ public class CommunityServiceImpl extends DefaultBaseService implements ICommuni
|
|||||||
if(null != communityDTO) {
|
if(null != communityDTO) {
|
||||||
GridDTO gridDTO = gridService.get(communityDTO.getGrid());
|
GridDTO gridDTO = gridService.get(communityDTO.getGrid());
|
||||||
if(null != gridDTO) {
|
if(null != gridDTO) {
|
||||||
communityDTO.setGridName(gridDTO.getAreaName());
|
communityDTO.setGridName(gridDTO.getGridName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return communityDTO;
|
return communityDTO;
|
||||||
|
@ -110,6 +110,12 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="video != null and video != ''">
|
<if test="video != null and video != ''">
|
||||||
video = #{video},
|
video = #{video},
|
||||||
|
</if>
|
||||||
|
<if test="photo == null or photo == ''">
|
||||||
|
photo = '',
|
||||||
|
</if>
|
||||||
|
<if test="video == null or video == ''">
|
||||||
|
video = '',
|
||||||
</if>
|
</if>
|
||||||
gmt_modified = #{gmtModified},
|
gmt_modified = #{gmtModified},
|
||||||
modifier = #{modifier},
|
modifier = #{modifier},
|
||||||
|
@ -110,6 +110,12 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="video != null and video != ''">
|
<if test="video != null and video != ''">
|
||||||
video = #{video},
|
video = #{video},
|
||||||
|
</if>
|
||||||
|
<if test="photo == null or photo == ''">
|
||||||
|
photo = '',
|
||||||
|
</if>
|
||||||
|
<if test="video == null or video == ''">
|
||||||
|
video = '',
|
||||||
</if>
|
</if>
|
||||||
gmt_modified = #{gmtModified},
|
gmt_modified = #{gmtModified},
|
||||||
modifier = #{modifier},
|
modifier = #{modifier},
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item layui-row">
|
<div class="layui-form-item layui-row" pane>
|
||||||
<div class="layui-col-lg3">
|
<div class="layui-col-lg3">
|
||||||
<label class="layui-form-label">楼栋编号</label>
|
<label class="layui-form-label">楼栋编号</label>
|
||||||
<div class="layui-input-block">
|
<div class="layui-input-block">
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<input type="hidden" id="residentialName" name="residentialName" class="layui-input" value="" placeholder="请输入小区名称" maxlength="36">
|
<input type="hidden" id="residentialName" name="residentialName" class="layui-input" value="" placeholder="请输入小区名称" maxlength="36">
|
||||||
<div class="layui-input-block layui-form" id="residentialNameSelectTemplateBox" lay-filter="residentialNameSelectTemplateBox"></div>
|
<div class="layui-input-block layui-form" id="residentialNameSelectTemplateBox" lay-filter="residentialNameSelectTemplateBox"></div>
|
||||||
<script id="residentialNameSelectTemplate" type="text/html">
|
<script id="residentialNameSelectTemplate" type="text/html">
|
||||||
<select id="residentialId" name="residentialId" lay-filter="residentialId">
|
<select id="residentialId" name="residentialId" lay-filter="residentialId" lay-search>
|
||||||
<option value="">请选择小区</option>
|
<option value="">请选择小区</option>
|
||||||
{{# for(var i = 0, item; item = d[i++];) { }}
|
{{# for(var i = 0, item; item = d[i++];) { }}
|
||||||
<option value="{{item.residentialId}}">{{item.residentialName}}</option>
|
<option value="{{item.residentialId}}">{{item.residentialName}}</option>
|
||||||
@ -35,7 +35,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item layui-row">
|
<div class="layui-form-item layui-row" pane>
|
||||||
<div class="layui-col-lg3">
|
<div class="layui-col-lg3">
|
||||||
<label class="layui-form-label">楼栋编号</label>
|
<label class="layui-form-label">楼栋编号</label>
|
||||||
<div class="layui-input-block">
|
<div class="layui-input-block">
|
||||||
|
@ -84,43 +84,7 @@
|
|||||||
return rowData;
|
return rowData;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{field: 'area1Name', width: 180, title: '一级区域名称', align:'center',
|
{field: 'location', width: 180, title: '地区', align:'center',
|
||||||
templet: function(row) {
|
|
||||||
var rowData = row[this.field];
|
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
|
||||||
return '-';
|
|
||||||
}
|
|
||||||
return rowData;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'area2Name', width: 180, title: '二级区域名称', align:'center',
|
|
||||||
templet: function(row) {
|
|
||||||
var rowData = row[this.field];
|
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
|
||||||
return '-';
|
|
||||||
}
|
|
||||||
return rowData;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'area3Name', width: 180, title: '三级区域名称', align:'center',
|
|
||||||
templet: function(row) {
|
|
||||||
var rowData = row[this.field];
|
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
|
||||||
return '-';
|
|
||||||
}
|
|
||||||
return rowData;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'area4Name', width: 180, title: '四级区域名称', align:'center',
|
|
||||||
templet: function(row) {
|
|
||||||
var rowData = row[this.field];
|
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
|
||||||
return '-';
|
|
||||||
}
|
|
||||||
return rowData;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'area5Name', width: 180, title: '五级区域名称', align:'center',
|
|
||||||
templet: function(row) {
|
templet: function(row) {
|
||||||
var rowData = row[this.field];
|
var rowData = row[this.field];
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||||
|
@ -95,43 +95,7 @@
|
|||||||
return rowData;
|
return rowData;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{field: 'area1Name', width: 180, title: '一级区域名称', align:'center',
|
{field: 'location', width: 180, title: '地区', align:'center',
|
||||||
templet: function(row) {
|
|
||||||
var rowData = row[this.field];
|
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
|
||||||
return '-';
|
|
||||||
}
|
|
||||||
return rowData;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'area2Name', width: 180, title: '二级区域名称', align:'center',
|
|
||||||
templet: function(row) {
|
|
||||||
var rowData = row[this.field];
|
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
|
||||||
return '-';
|
|
||||||
}
|
|
||||||
return rowData;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'area3Name', width: 180, title: '三级区域名称', align:'center',
|
|
||||||
templet: function(row) {
|
|
||||||
var rowData = row[this.field];
|
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
|
||||||
return '-';
|
|
||||||
}
|
|
||||||
return rowData;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'area4Name', width: 180, title: '四级区域名称', align:'center',
|
|
||||||
templet: function(row) {
|
|
||||||
var rowData = row[this.field];
|
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
|
||||||
return '-';
|
|
||||||
}
|
|
||||||
return rowData;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{field: 'area5Name', width: 180, title: '五级区域名称', align:'center',
|
|
||||||
templet: function(row) {
|
templet: function(row) {
|
||||||
var rowData = row[this.field];
|
var rowData = row[this.field];
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||||
|
Loading…
Reference in New Issue
Block a user