wuxw
2020-02-19 a3f4b569175265e23eabde91e3ae73acc3116fcc
优化地区查询
3个文件已修改
37 ■■■■ 已修改文件
WebService/src/main/resources/components/communityPackage/areaSelect/areaSelect.html 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/communityPackage/community-manage/communityManage.html 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/communityPackage/community-manage/communityManage.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/communityPackage/areaSelect/areaSelect.html
@@ -2,7 +2,7 @@
    <select id="pro" class="form-control form-control-sm"
            style="width: 10vw;display: inline;"
            v-model="this.areaSelectInfo.selectProv"
            @change="this.getProv(selectProv)">
            @change="this.getProv(this.areaSelectInfo.selectProv)">
        <option value='' disabled selected style='display:none;'>请选择省</option>
        <option v-for="item in this.areaSelectInfo.provs"
                :label="item.areaName"
@@ -15,7 +15,7 @@
            style="width: 10vw;display: inline;"
            v-if="this.areaSelectInfo.selectProv!=''"
            v-model="this.areaSelectInfo.selectCity"
            @change="this.getCity(selectCity)">
            @change="this.getCity(this.areaSelectInfo.selectCity)">
        <option value='' disabled selected style='display:none;'>请选择城市</option>
        <option v-for="item in this.areaSelectInfo.citys"
                :label="item.areaName"
@@ -27,7 +27,7 @@
            style="width: 10vw;display: inline;"
            v-if="this.areaSelectInfo.selectCity!=''"
            v-model="this.areaSelectInfo.selectArea"
            @change="this.getArea(selectArea)">
            @change="this.getArea(this.areaSelectInfo.selectArea)">
        <option value='' disabled selected style='display:none;'>请选择区县</option>
        <option v-for="item in areas"
                :label="item.areaName"
WebService/src/main/resources/components/communityPackage/community-manage/communityManage.html
@@ -10,18 +10,25 @@
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-8">
                        <div class="col-sm-5">
                            <vc:create name="areaSelect"
                                       callBackListener="communityManage"
                                       callBackFunction="notifyArea"
                                       namespace="communityManage"
                                       ></vc:create>
                            ></vc:create>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入小区名称"
                                       v-model="communityManageInfo.conditions.name" class=" form-control">
                            </div></div>
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入小区ID"
                                       v-model="communityManageInfo.conditions.communityId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryFeeConfigMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
@@ -75,9 +82,13 @@
                                            v-on:click="_openEditCommunityModel(community)">修改
                                    </button>
                                </div>
                                 <div class="btn-group" v-if="community.state != '1000' && communityManageInfo.storeTypeCd == '800900000001'">
                                     <button class="btn-white btn btn-xs" v-on:click="_openRecallCommunityModel(community)">审核撤回</button>
                                 </div></td>
                                <div class="btn-group"
                                     v-if="community.state != '1000' && communityManageInfo.storeTypeCd == '800900000001'">
                                    <button class="btn-white btn btn-xs"
                                            v-on:click="_openRecallCommunityModel(community)">审核撤回
                                    </button>
                                </div>
                            </td>
                        </tr>
                        </tbody>
WebService/src/main/resources/components/communityPackage/community-manage/communityManage.js
@@ -13,7 +13,8 @@
                storeTypeCd:vc.getData('/nav/getUserInfo').storeTypeCd,
                conditions: {
                    name: '',
                    areaCode:''
                    areaCode:'',
                    communityId:''
                }
            }
@@ -37,10 +38,13 @@
               vc.component.communityManageInfo.conditions.page = _page;
               vc.component.communityManageInfo.conditions.row = _rows;
               var _param = {
                    params:vc.component.communityManageInfo.conditions
               }
               //发送get请求
               vc.http.get('communityManage',
                            'list',
                             vc.component.communityManageInfo.conditions,
                             _param,
                             function(json,res){
                                var _communityManageInfo=JSON.parse(json);
                                vc.component.communityManageInfo.total = _communityManageInfo.total;