diff --git a/src/main/resources/templates/residential/list-view.html b/src/main/resources/templates/residential/list-view.html
index e8c180d..7136feb 100644
--- a/src/main/resources/templates/residential/list-view.html
+++ b/src/main/resources/templates/residential/list-view.html
@@ -84,43 +84,7 @@
return rowData;
}
},
- {field: 'area1Name', 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',
+ {field: 'location', width: 180, title: '地区', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
diff --git a/src/main/resources/templates/residential/list.html b/src/main/resources/templates/residential/list.html
index 54e2683..44899e9 100644
--- a/src/main/resources/templates/residential/list.html
+++ b/src/main/resources/templates/residential/list.html
@@ -95,43 +95,7 @@
return rowData;
}
},
- {field: 'area1Name', 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',
+ {field: 'location', width: 180, title: '地区', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {