水电表删除房室号,修复分页问题, 修复车辆取值问题
| | |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <vc:i18n name="抄表类型" namespace="importMeterWaterFee"></vc:i18n> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <select class="custom-select" v-model="importMeterWaterFeeInfo.meterType"> |
| | | <option selected disabled value=""> |
| | | {{vc.i18n('非必填,请选择抄表类型','importMeterWaterFee')}} |
| | | </option> |
| | | <option v-for="(item,index) in importMeterWaterFeeInfo.meterTypes" :key="index" |
| | | v-bind:value="item.typeId">{{item.typeName}} |
| | | </option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <vc:i18n name="选择文件" namespace="importMeterWaterFee"></vc:i18n> |
| | |
| | | }, |
| | | function (json, res) { |
| | | let _data = JSON.parse(json); |
| | | if (_data.code === 404) { |
| | | // 处理404错误 |
| | | vc.toast("请求失败,未找到相关数据。请检查缴费信息。"); // 显示提示信息 |
| | | if (_data.code !== 0) { |
| | | // 处理错误 |
| | | vc.toast(_data.msg || "请求失败,请稍后重试"); // 显示后台返回的错误信息 |
| | | return; // 退出函数 |
| | | } |
| | | if (!_data.qrCode) { |
| | | // 处理404错误 |
| | | vc.toast(_data.msg); // 显示提示信息 |
| | | // 处理无二维码的情况 |
| | | vc.toast(_data.msg || "生成支付二维码失败"); // 显示提示信息 |
| | | return; // 退出函数 |
| | | } |
| | | // console.log('nativeQrcodePayment', _data.data.body); |
| | |
| | | }, |
| | | function (json, res) { |
| | | let _data = JSON.parse(json); |
| | | if (_data.code == 404) { |
| | | vc.toast(_data.msg); |
| | | if (_data.data && _data.data.orderId) { |
| | | if (_data.code !== 0) { |
| | | vc.toast(_data.msg || "请求失败,请稍后重试"); |
| | | if (_data.code == 404 && _data.data && _data.data.orderId) { |
| | | $that.payFeeOrderConfirmInfo.orderId = _data.data.orderId; |
| | | $that.payFeeOrderConfirmInfo.paymentPoolId = _data.data.paymentPoolId; |
| | | |
| | |
| | | (function (vc) { |
| | | vc.paginationConfig = { |
| | | // 默认每页显示行数 |
| | | defaultRows: 20, |
| | | defaultRows: 10, |
| | | // 可选的分页大小 |
| | | pageSizes: [10, 20, 50, 100], |
| | | // 默认当前页 |
| | |
| | | **/ |
| | | (function (vc) { |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | contractChangeManageInfo: { |
| | |
| | | **/ |
| | | (function (vc) { |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | expirationContractInfo: { |
| | |
| | | **/ |
| | | (function (vc) { |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | assetImportLogInfo: { |
| | |
| | | var currentCommunity = vc.getCurrentCommunity(); |
| | | console.log('获取到的currentCommunity:', currentCommunity); |
| | | |
| | | if (currentCommunity && currentCommunity.communityId) { |
| | | // 尝试从localStorage直接获取小区信息 |
| | | let localStorageCommunity = JSON.parse(window.localStorage.getItem('hc_currentCommunityInfo')); |
| | | console.log('从localStorage获取的小区信息:', localStorageCommunity); |
| | | |
| | | // 尝试从localStorage获取小区列表 |
| | | let communityList = JSON.parse(window.localStorage.getItem('hc_communityInfos')); |
| | | console.log('从localStorage获取的小区列表:', communityList); |
| | | |
| | | if (currentCommunity && currentCommunity.communityId && currentCommunity.communityId !== '-1') { |
| | | param.params.communityId = currentCommunity.communityId; |
| | | console.log('传入的communityId:', currentCommunity.communityId); |
| | | } else if (localStorageCommunity && localStorageCommunity.communityId) { |
| | | param.params.communityId = localStorageCommunity.communityId; |
| | | console.log('从localStorage直接获取并传入的communityId:', localStorageCommunity.communityId); |
| | | } |
| | | } else { |
| | | // 合同管理员账号,强制不传入communityId |
| | |
| | | **/ |
| | | (function (vc) { |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | assetImportLogDetailInfo: { |
| | |
| | | console.error("错误位置:", event.filename, "行号:", event.lineno); |
| | | }); |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | feeConfigManageInfo: { |
| | |
| | | (function (vc) { |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | listCarFeeInfo: { |
| | |
| | | <th data-hide="phone" class="text-center"> |
| | | <span>项目名称</span> |
| | | </th> --> |
| | | <th data-hide="phone" class="text-center"> |
| | | <span>弄号</span> |
| | | </th> |
| | | <th data-hide="phone" class="text-center"> |
| | | <span>门号</span> |
| | | </th> |
| | | <th data-hide="phone" class="text-center"> |
| | | <span>室号</span> |
| | | </th> |
| | | |
| | | <th data-hide="phone" class="text-center"> |
| | | <span>联系电话</span> |
| | | </th> |
| | |
| | | <tr v-for="car in listOwnerCarInfo.ownerCars" |
| | | :class="{ 'table-danger' : _getCarState(car) == '到期'}"> |
| | | <td class="text-center"> |
| | | <a :href="'/#/pages/car/carDetail?memberId='+(car.ownerId || car.carId || '')" |
| | | <a :href="'/#/pages/car/carDetail?memberId='+(car.memberId || car.ownerId)" |
| | | target="_blank">{{car.carNum}}</a> |
| | | </td> |
| | | <!-- 新增字段 --> |
| | |
| | | <td class="text-center"> |
| | | {{vc.getCurrentCommunity().communityName || '-'}} |
| | | </td> --> |
| | | <td class="text-center"> |
| | | {{car.floorNum || '-'}} |
| | | </td> |
| | | <td class="text-center"> |
| | | {{car.unitNum || '-'}} |
| | | </td> |
| | | <td class="text-center"> |
| | | {{car.roomNum || '-'}} |
| | | </td> |
| | | |
| | | <td class="text-center"> |
| | | {{car.link || '-'}} |
| | | </td> |
| | |
| | | (function (vc) { |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | listOwnerCarInfo: { |
| | |
| | | carTypeCdName: car.carTypeCdName || '', |
| | | carTypeName: car.carTypeName || '', |
| | | carColor: car.carColor || '', |
| | | ownerId: car.ownerId || '', |
| | | ownerId: car.ownerId || car.carId || '', |
| | | memberId: car.memberId || car.ownerId || '', |
| | | ownerName: car.ownerName || '', |
| | | link: car.link || '', |
| | | roomName: car.roomName || '', |
| | |
| | | <div> |
| | | <div class="row"> |
| | | <div class="col-md-2 " style="padding-right:0px;height: 95%; overflow-x: hidden; overflow-y: scroll; min-width: 150px;"> |
| | | <div class="col-md-1 " style="padding-right:0px;height: 95%; overflow-x: hidden; overflow-y: scroll; min-width: 120px; position: relative; z-index: 10;"> |
| | | <vc:create path="property/roomTreeDiv" callBackListener="meterWaterManage"></vc:create> |
| | | </div> |
| | | <div class="col-md-10 margin-top-xs padding-l-0" style="min-width: 800px;"> |
| | | <div class="col-md-11 margin-top-xs padding-l-0" style="min-width: 900px;"> |
| | | <div class="ibox "> |
| | | <div class="ibox-title"> |
| | | <h5> |
| | |
| | | <vc:i18n name="抄表信息" namespace="meterWaterManage"></vc:i18n> |
| | | </h5> |
| | | </div> |
| | | <div class="ibox-content"> |
| | | <div class="ibox-content" style="overflow: visible;"> |
| | | <!-- 按钮区域 --> |
| | | <div style="display: flex; gap: 8px; align-items: center; margin-bottom: 15px; flex-wrap: wrap;"> |
| | | <button type="button" class="btn btn-primary btn-sm" v-if="meterWaterManageInfo.conditions.objId" @click="_openAddMeterWaterModal()"> |
| | |
| | | </button> --> |
| | | </div> |
| | | <!-- 表格区域 --> |
| | | <div class="hc-table-div" style="overflow-x: auto; margin-bottom: 15px;"> |
| | | <div class="hc-table-div" :style="{'width':_computeTableDivWidth()}" style="overflow-x: auto; margin-bottom: 15px;"> |
| | | <table class="table table-stripped table-condensed" data-page-size="15"> |
| | | <thead> |
| | | <tr> |
| | | <tr style="white-space: nowrap;"> |
| | | <th class="text-center"> |
| | | <vc:i18n name="表ID" namespace="meterWaterManage"></vc:i18n> |
| | | </th> |
| | |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | | <tr v-for="meterWater in meterWaterManageInfo.meterWaters"> |
| | | <tr v-for="meterWater in meterWaterManageInfo.meterWaters" style="white-space: nowrap;"> |
| | | <td class="text-center">{{meterWater.waterId}}</td> |
| | | <td class="text-center">{{meterWater.meterTypeName}}</td> |
| | | <td class="text-center">{{meterWater.objName}}</td> |
| | |
| | | </table> |
| | | </div> |
| | | <!-- 分页区域 --> |
| | | <div class="row margin-top-xs"> |
| | | <div class="row margin-top-xs" style="padding-top: 20px; clear: both; margin-bottom: 20px;"> |
| | | <div class="col-sm-12"> |
| | | <div class="float-right"> |
| | | <div style="display: flex; justify-content: center; align-items: center; margin-top: 10px; width: 100%;"> |
| | | <vc:create path="frame/pagination"></vc:create> |
| | | </div> |
| | | </div> |
| | |
| | | **/ |
| | | (function (vc) { |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | meterWaterManageInfo: { |
| | |
| | | **/ |
| | | (function (vc) { |
| | | var DEFAULT_PAGE = vc.paginationConfig ? vc.paginationConfig.defaultPage : 1; |
| | | var DEFAULT_ROWS = vc.paginationConfig ? vc.paginationConfig.defaultRows : 20; |
| | | var DEFAULT_ROWS = 10; |
| | | vc.extends({ |
| | | data: { |
| | | systemUserInfo: { |