diff --git a/app.js b/app.js index d9e5390b0..41e5876c7 100644 --- a/app.js +++ b/app.js @@ -36,8 +36,8 @@ let opts = { //app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); -app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); -app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts)); +//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); +//app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts)); app.use('/callComponent',proxy('http://127.0.0.1:8012',opts)); app.use('/app',proxy('http://127.0.0.1:8012',opts)); diff --git a/public/pages/common/communityManage/communityManage.html b/public/pages/common/communityManage/communityManage.html index 02def5047..4b7105633 100644 --- a/public/pages/common/communityManage/communityManage.html +++ b/public/pages/common/communityManage/communityManage.html @@ -63,7 +63,7 @@ 附近地标 城市编码 - {{item}} + {{item.itemName}} 状态 操作 diff --git a/public/pages/common/communityManage/communityManage.js b/public/pages/common/communityManage/communityManage.js index 1815bd44f..438fbe84e 100644 --- a/public/pages/common/communityManage/communityManage.js +++ b/public/pages/common/communityManage/communityManage.js @@ -102,7 +102,7 @@ $that.communityManageInfo.listColumns.forEach(_value => { let _tmpValue = ''; _communityAttrDtos.forEach(_attrItem => { - if (_value == _attrItem.specCdName) { + if (_value.specCd == _attrItem.specCd) { _tmpValue = _attrItem.value; } }) @@ -117,7 +117,10 @@ $that.communityManageInfo.listColumns = []; data.forEach(item => { if (item.listShow == 'Y') { - $that.communityManageInfo.listColumns.push(item.specName); + $that.communityManageInfo.listColumns.push({ + specCd:item.specCd, + specName:item.specName + }); } }); _call();