mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化查询
This commit is contained in:
parent
5b14e78c8e
commit
cfba6a6048
4
app.js
4
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));
|
||||
|
||||
@ -63,7 +63,7 @@
|
||||
<!--<th>小区地址</th>-->
|
||||
<th width="25%">附近地标</th>
|
||||
<th>城市编码</th>
|
||||
<th v-for="(item,index) in communityManageInfo.listColumns">{{item}}</th>
|
||||
<th v-for="(item,index) in communityManageInfo.listColumns">{{item.itemName}}</th>
|
||||
<th>状态</th>
|
||||
<th class="text-right">操作</th>
|
||||
</tr>
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user