mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +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('/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('/app',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||||
|
|
||||||
app.use('/callComponent',proxy('http://127.0.0.1:8012',opts));
|
app.use('/callComponent',proxy('http://127.0.0.1:8012',opts));
|
||||||
app.use('/app',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>小区地址</th>-->
|
||||||
<th width="25%">附近地标</th>
|
<th width="25%">附近地标</th>
|
||||||
<th>城市编码</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>状态</th>
|
||||||
<th class="text-right">操作</th>
|
<th class="text-right">操作</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -102,7 +102,7 @@
|
|||||||
$that.communityManageInfo.listColumns.forEach(_value => {
|
$that.communityManageInfo.listColumns.forEach(_value => {
|
||||||
let _tmpValue = '';
|
let _tmpValue = '';
|
||||||
_communityAttrDtos.forEach(_attrItem => {
|
_communityAttrDtos.forEach(_attrItem => {
|
||||||
if (_value == _attrItem.specCdName) {
|
if (_value.specCd == _attrItem.specCd) {
|
||||||
_tmpValue = _attrItem.value;
|
_tmpValue = _attrItem.value;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -117,7 +117,10 @@
|
|||||||
$that.communityManageInfo.listColumns = [];
|
$that.communityManageInfo.listColumns = [];
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (item.listShow == 'Y') {
|
if (item.listShow == 'Y') {
|
||||||
$that.communityManageInfo.listColumns.push(item.specName);
|
$that.communityManageInfo.listColumns.push({
|
||||||
|
specCd:item.specCd,
|
||||||
|
specName:item.specName
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
_call();
|
_call();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user