diff --git a/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/WxCarportController.java b/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/WxCarportController.java index e3d82b12ae4373ec4cd3cce0f9fdef116f91c305..b12d25d2084f6ade3fa37904c2ede0108c7b6df6 100644 --- a/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/WxCarportController.java +++ b/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/WxCarportController.java @@ -5,9 +5,12 @@ import com.propertyManagement.business.domain.bo.WxCarportBo; import com.propertyManagement.business.domain.bo.WxProprietorLedgerBo; import com.propertyManagement.business.domain.vo.WxCarportVo; import com.propertyManagement.business.domain.vo.WxProprietorLedgerVo; +import com.propertyManagement.business.domain.vo.WxProtocolVo; import com.propertyManagement.business.listener.WxCarportImportListener; import com.propertyManagement.business.listener.WxProprietorLedgerImportListener; import com.propertyManagement.business.service.IWxCarportService; +import com.propertyManagement.business.service.IWxProprietorLedgerService; +import com.propertyManagement.business.service.IWxProtocolService; import com.propertyManagement.common.annotation.Log; import com.propertyManagement.common.annotation.RepeatSubmit; import com.propertyManagement.common.core.controller.BaseController; @@ -45,6 +48,7 @@ import java.util.List; public class WxCarportController extends BaseController { private final IWxCarportService iWxCarportService; + private final IWxProprietorLedgerService proprietorLedgerService; /** * 查询业主车位列表 @@ -55,6 +59,18 @@ public class WxCarportController extends BaseController { return iWxCarportService.queryPageList(bo, pageQuery); } + /** + * 查询业主车位列表 + */ + @GetMapping("/listAll") + public R> listAll(WxCarportBo bo) { + if (bo.getProprietorId() != null) { + WxProprietorLedgerVo proprietorLedgerVo = proprietorLedgerService.queryById(bo.getProprietorId()); + bo.setCommunityId(proprietorLedgerVo.getCommunityId()); + } + return R.ok(iWxCarportService.queryList(bo)); + } + /** * 导出业主车位列表 */ diff --git a/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxCarportController.java b/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxCarportController.java new file mode 100644 index 0000000000000000000000000000000000000000..dbed335f0c856f92e45b061997318d15f4969151 --- /dev/null +++ b/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxCarportController.java @@ -0,0 +1,59 @@ +package com.propertyManagement.web.controller.business.api; + +import cn.dev33.satoken.annotation.SaCheckPermission; +import com.propertyManagement.business.domain.bo.WxCarportBo; +import com.propertyManagement.business.domain.bo.WxProprietorLedgerBo; +import com.propertyManagement.business.domain.vo.WxCarportVo; +import com.propertyManagement.business.listener.WxCarportImportListener; +import com.propertyManagement.business.service.IWxCarportService; +import com.propertyManagement.business.support.util.AuthUtil; +import com.propertyManagement.common.annotation.Log; +import com.propertyManagement.common.annotation.RepeatSubmit; +import com.propertyManagement.common.core.controller.BaseController; +import com.propertyManagement.common.core.domain.PageQuery; +import com.propertyManagement.common.core.domain.R; +import com.propertyManagement.common.core.page.TableDataInfo; +import com.propertyManagement.common.core.validate.AddGroup; +import com.propertyManagement.common.core.validate.EditGroup; +import com.propertyManagement.common.enums.BusinessType; +import com.propertyManagement.common.excel.ExcelResult; +import com.propertyManagement.common.utils.poi.ExcelUtil; +import lombok.RequiredArgsConstructor; +import org.springframework.http.MediaType; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.multipart.MultipartFile; + +import javax.servlet.http.HttpServletResponse; +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +/** + * 业主车位 + * + * @author liushuai + * @date 2025-05-26 + */ +@Validated +@RequiredArgsConstructor +@RestController +@RequestMapping("/api/carport") +public class ApiWxCarportController extends BaseController { + + private final IWxCarportService iWxCarportService; + + /** + * 查询业主车位列表 + */ + @GetMapping("/listByType") + public R> list(@Validated @NotNull(message = "车位类型不能为空") Integer type) { + WxCarportBo wxCarportBo = new WxCarportBo(); + wxCarportBo.setType(type); + wxCarportBo.setProprietorId(AuthUtil.getWxUser().getProprietorId()); + return R.ok(iWxCarportService.queryList(wxCarportBo)); + } + +} diff --git a/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxPayRecordController.java b/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxPayRecordController.java index 656884989e99f3d23b707731c0a209723a8c9574..ba4309c2e7a5edeaeb659ec3ec773f6b22861668 100644 --- a/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxPayRecordController.java +++ b/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxPayRecordController.java @@ -45,7 +45,7 @@ public class ApiWxPayRecordController extends BaseController { WxPayRecordBo recordBo = new WxPayRecordBo(); recordBo.setProprietorId(AuthUtil.getWxUser().getProprietorId()); recordBo.setOrderType(type); -// recordBo.setPayState(PayState.NO.getCode()); + recordBo.setPayState(PayState.YES.getCode()); return R.ok(iWxPayRecordService.queryList(recordBo)); } diff --git a/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxSlideshowController.java b/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxSlideshowController.java index 92ce23444f1428d6902479bf4af3c2b5a80f8bcf..95c1c0b52893a384c77d64d42608449f49deb846 100644 --- a/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxSlideshowController.java +++ b/propertyManagement-admin/src/main/java/com/propertyManagement/web/controller/business/api/ApiWxSlideshowController.java @@ -44,9 +44,10 @@ public class ApiWxSlideshowController extends BaseController { * 查询轮播图列表 */ @GetMapping("/list") - public R> listAll() { + public R> listAll(@Validated @NotNull(message = "类型不能为空") Integer type) { WxSlideshowBo wxSlideshowBo = new WxSlideshowBo(); wxSlideshowBo.setIsEnable(IsEnableType.YES.getCode()); + wxSlideshowBo.setType(type); return R.ok(iWxSlideshowService.queryList(wxSlideshowBo)); } } diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/WxSlideshow.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/WxSlideshow.java index 539714568cfb7f8c10e3ba0e1e71ece6335c654d..fc920d9d38963080d9c7b0b1af76131222fd4b4b 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/WxSlideshow.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/WxSlideshow.java @@ -36,6 +36,10 @@ public class WxSlideshow extends BaseEntity { * 跳转地址 */ private String skipUrl; + /** + * 类型(1首页轮播图 2个人中心轮播图) + */ + private Integer type; /** * 是否启用(0否 1是) */ diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxClockBo.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxClockBo.java index 3930d0c56ae3c510867406d79e6350e384125f1e..064a25c1301ff2d1c6efc7f866c2a4eccab459ad 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxClockBo.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxClockBo.java @@ -69,11 +69,13 @@ public class WxClockBo extends BaseEntity { /** * 打卡时间 */ + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date clockStartTime; /** * 打卡时间 */ + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date clockEndTime; /** diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxGuestBo.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxGuestBo.java index b2b2eabd80c4c65834a6d2e0c3f3bdba3894c40e..7e670619fbf4e89c9d64fd133ae441b4193555ed 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxGuestBo.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxGuestBo.java @@ -43,9 +43,21 @@ public class WxGuestBo extends BaseEntity { /** * 到访时间 */ - @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd") private Date guestTime; + /** + * 到访时间 + */ + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date guestStartTime; + + /** + * 到访时间 + */ + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date guestEndTime; + /** * 访客手机 */ diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxLiveBillBo.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxLiveBillBo.java index 9059f6fac2caf7ff46814d037dfcc8f6d717164a..4f4c60602c93d3f316fd98fded9a2fa861f69636 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxLiveBillBo.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxLiveBillBo.java @@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonFormat; import com.propertyManagement.common.core.domain.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; +import org.springframework.format.annotation.DateTimeFormat; import javax.validation.constraints.NotNull; import java.math.BigDecimal; @@ -98,7 +99,7 @@ public class WxLiveBillBo extends BaseEntity { /** * 缴费月份 */ - @JsonFormat(pattern = "YYYY-MM") + @JsonFormat(pattern = "yyyy-MM") private Date month; /** diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxSlideshowBo.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxSlideshowBo.java index 308f19864e1040000ffb66c13eeda955be529c57..946abd1c32dc5fe2dd2e0a73935853e45055cb42 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxSlideshowBo.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxSlideshowBo.java @@ -39,6 +39,11 @@ public class WxSlideshowBo extends BaseEntity { */ private String skipUrl; + /** + * 类型(1首页轮播图 2个人中心轮播图) + */ + private Integer type; + /** * 是否启用(0否 1是) */ diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxLiveBillVo.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxLiveBillVo.java index 4bf197072020578585ed156d7388dd1de1355369..624e78195fe5d664d173f2afb46e163fd4089734 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxLiveBillVo.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxLiveBillVo.java @@ -2,6 +2,9 @@ package com.propertyManagement.business.domain.vo; import java.math.BigDecimal; import java.util.Date; + +import com.alibaba.excel.annotation.format.DateTimeFormat; +import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.fasterxml.jackson.annotation.JsonFormat; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; @@ -108,6 +111,8 @@ public class WxLiveBillVo implements Serializable { * 缴费月份 */ @ExcelProperty(value = "缴费月份") + @DateTimeFormat("YYYY-MM") + @ColumnWidth(18) private Date month; /** @@ -143,5 +148,10 @@ public class WxLiveBillVo implements Serializable { @ExcelDictFormat(readConverterExp = "1=.小程序,2=.PC端") private Integer createType; + /** + * 创建时间 + */ + private Date createTime; + } diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxSlideshowVo.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxSlideshowVo.java index 4d743a8a3a3889ef0877064dab4b5f5390471452..ee73d1e054770e2c0bfc92aa7ca608b6512ada49 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxSlideshowVo.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxSlideshowVo.java @@ -40,6 +40,11 @@ public class WxSlideshowVo implements Serializable { @ExcelProperty(value = "跳转地址") private String skipUrl; + /** + * 类型(1首页轮播图 2个人中心轮播图) + */ + private Integer type; + /** * 是否启用(0否 1是) */ diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxCarportServiceImpl.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxCarportServiceImpl.java index 3ce326aea4b6896eff3816530217bc0f55a00ddb..d4322b1872928767a12451f193839924773b619d 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxCarportServiceImpl.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxCarportServiceImpl.java @@ -69,6 +69,7 @@ public class WxCarportServiceImpl implements IWxCarportService { private LambdaQueryWrapper buildQueryWrapper(WxCarportBo bo) { Map params = bo.getParams(); LambdaQueryWrapper lqw = Wrappers.lambdaQuery(); + lqw.eq(bo.getCommunityId() != null, WxCarport::getCommunityId, bo.getCommunityId()); lqw.eq(bo.getProprietorId() != null, WxCarport::getProprietorId, bo.getProprietorId()); lqw.like(StringUtils.isNotBlank(bo.getProprietorName()), WxCarport::getProprietorName, bo.getProprietorName()); lqw.eq(StringUtils.isNotBlank(bo.getProprietorPhone()), WxCarport::getProprietorPhone, bo.getProprietorPhone()); diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxClockServiceImpl.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxClockServiceImpl.java index 2b61481cc09c23491fd67646225297f142996c1b..179e20621658cfd6316cbe80c79491ba6cd939b2 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxClockServiceImpl.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxClockServiceImpl.java @@ -93,6 +93,7 @@ public class WxClockServiceImpl implements IWxClockService { lqw.like(bo.getCommunityName() != null, WxClock::getCommunityName, bo.getCommunityName()); lqw.eq(bo.getClockTime() != null, WxClock::getClockTime, bo.getClockTime()); lqw.eq(bo.getClockUserRole() != null, WxClock::getClockUserRole, bo.getClockUserRole()); + lqw.between(bo.getClockStartTime() != null, WxClock::getClockTime, bo.getClockStartTime(), bo.getClockEndTime()); return lqw; } diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxFamilyMemberServiceImpl.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxFamilyMemberServiceImpl.java index ad44afa46f7e273381f0ef743b8e7f9390c77056..caebd90b773109755ed51352d33dacdbec5ca2b6 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxFamilyMemberServiceImpl.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxFamilyMemberServiceImpl.java @@ -70,6 +70,8 @@ public class WxFamilyMemberServiceImpl implements IWxFamilyMemberService { Map params = bo.getParams(); LambdaQueryWrapper lqw = Wrappers.lambdaQuery(); lqw.eq(bo.getUserId() != null, WxFamilyMember::getUserId, bo.getUserId()); + lqw.eq(bo.getProprietorId() != null, WxFamilyMember::getProprietorId, bo.getProprietorId()); + lqw.like(StringUtils.isNotBlank(bo.getProprietorName()), WxFamilyMember::getProprietorName, bo.getProprietorName()); lqw.eq(bo.getCommunityId() != null, WxFamilyMember::getCommunityId, bo.getCommunityId()); lqw.like(bo.getCommunityName() != null, WxFamilyMember::getCommunityName, bo.getCommunityName()); lqw.eq(StringUtils.isNotBlank(bo.getAvatar()), WxFamilyMember::getAvatar, bo.getAvatar()); diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxGuestServiceImpl.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxGuestServiceImpl.java index 5a8f68c620a0e5eb6ce7c35f160aafd9c1884d8a..59d023b2832987402f80dcf5bc7e2ede7439fa1b 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxGuestServiceImpl.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxGuestServiceImpl.java @@ -75,6 +75,7 @@ public class WxGuestServiceImpl implements IWxGuestService { lqw.eq(StringUtils.isNotBlank(bo.getPlateNumber()), WxGuest::getPlateNumber, bo.getPlateNumber()); lqw.eq(bo.getCommunityId() != null, WxGuest::getCommunityId, bo.getCommunityId()); lqw.like(StringUtils.isNotBlank(bo.getCommunityName()), WxGuest::getCommunityName, bo.getCommunityName()); + lqw.between(bo.getGuestStartTime() != null, WxGuest::getGuestTime, bo.getGuestStartTime(), bo.getGuestEndTime()); lqw.orderByDesc(WxGuest::getCreateTime); return lqw; } diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxLiveBillServiceImpl.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxLiveBillServiceImpl.java index 4e1fbcc868a14a231b2b3a2cd67a2a49aec3e029..fb4df2f259ff146de876287ed80af887730d8ee7 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxLiveBillServiceImpl.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxLiveBillServiceImpl.java @@ -1,7 +1,9 @@ package com.propertyManagement.business.service.impl; import cn.hutool.core.bean.BeanUtil; +import com.propertyManagement.business.domain.WxCarport; import com.propertyManagement.business.domain.vo.LoginWxUser; +import com.propertyManagement.business.mapper.WxCarportMapper; import com.propertyManagement.business.support.util.AuthUtil; import com.propertyManagement.common.enums.LiveBillCreateType; import com.propertyManagement.common.enums.LiveBillType; @@ -34,6 +36,7 @@ import java.util.Collection; public class WxLiveBillServiceImpl implements IWxLiveBillService { private final WxLiveBillMapper baseMapper; + private final WxCarportMapper carportMapper; /** * 查询生活缴费账单 @@ -109,6 +112,11 @@ public class WxLiveBillServiceImpl implements IWxLiveBillService { public Boolean insertByBo(WxLiveBillBo bo) { WxLiveBill add = BeanUtil.toBean(bo, WxLiveBill.class); add.setCreateType(LiveBillCreateType.TWO.getCode()); + if (bo.getCarportId() != null) { + WxCarport wxCarport = carportMapper.selectById(bo.getCarportId()); + add.setCarportNumber(wxCarport.getCarportNumber()); + add.setPlateNumber(wxCarport.getPlateNumber()); + } boolean flag = baseMapper.insert(add) > 0; if (flag) { bo.setBillId(add.getBillId()); @@ -122,7 +130,11 @@ public class WxLiveBillServiceImpl implements IWxLiveBillService { @Override public Boolean updateByBo(WxLiveBillBo bo) { WxLiveBill update = BeanUtil.toBean(bo, WxLiveBill.class); - validEntityBeforeSave(update); + if (bo.getCarportId() != null) { + WxCarport wxCarport = carportMapper.selectById(bo.getCarportId()); + update.setCarportNumber(wxCarport.getCarportNumber()); + update.setPlateNumber(wxCarport.getPlateNumber()); + } return baseMapper.updateById(update) > 0; } diff --git a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxRepairsServiceImpl.java b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxRepairsServiceImpl.java index e2be5b22f08eff8d8e6d98ad710647bc72b8af14..257af43893bc9529dabddac67b4f608968987aa6 100644 --- a/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxRepairsServiceImpl.java +++ b/propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxRepairsServiceImpl.java @@ -114,10 +114,20 @@ public class WxRepairsServiceImpl implements IWxRepairsService { .eq(WxRepairs::getState, RepairsState.ONE.getCode()); map.put(RepairsState.ONE.getCode(), baseMapper.selectCount(lambdaQueryWrapper)); lambdaQueryWrapper.clear(); + lambdaQueryWrapper + .eq(WxRepairs::getAccountId, wxUser.getAccountId()) + .eq(WxRepairs::getState, RepairsState.TWO.getCode()); + map.put(RepairsState.TWO.getCode(), baseMapper.selectCount(lambdaQueryWrapper)); + lambdaQueryWrapper.clear(); lambdaQueryWrapper .eq(WxRepairs::getAccountId, wxUser.getAccountId()) .eq(WxRepairs::getState, RepairsState.THREE.getCode()); map.put(RepairsState.THREE.getCode(), baseMapper.selectCount(lambdaQueryWrapper)); + lambdaQueryWrapper.clear(); + lambdaQueryWrapper + .eq(WxRepairs::getAccountId, wxUser.getAccountId()) + .eq(WxRepairs::getState, RepairsState.FOUR.getCode()); + map.put(RepairsState.FOUR.getCode(), baseMapper.selectCount(lambdaQueryWrapper)); return map; } diff --git a/propertyManagement-ui/src/api/business/carport.js b/propertyManagement-ui/src/api/business/carport.js index f5f03d2e0ac785299102cd11667d24528dc244ad..cf4a6291627d52570b223bcedee972a2cd3e389b 100644 --- a/propertyManagement-ui/src/api/business/carport.js +++ b/propertyManagement-ui/src/api/business/carport.js @@ -9,6 +9,15 @@ export function listCarport(query) { }) } +// 查询业主车位列表 +export function listCarportAll(query) { + return request({ + url: '/business/carport/listAll', + method: 'get', + params: query + }) +} + // 查询业主车位详细 export function getCarport(carportId) { return request({ diff --git a/propertyManagement-ui/src/views/business/account/index.vue b/propertyManagement-ui/src/views/business/account/index.vue index 5a018bc66e96f02b93123fe690f4495f849a124e..3d4a0c57fa7199135d36646c70889a436acac082 100644 --- a/propertyManagement-ui/src/views/business/account/index.vue +++ b/propertyManagement-ui/src/views/business/account/index.vue @@ -192,12 +192,8 @@ - + + diff --git a/propertyManagement-ui/src/views/business/carport/index.vue b/propertyManagement-ui/src/views/business/carport/index.vue index ff5c3045cc068c46131189234edc779dae63381f..dc934af2c3ef053b4e1aadd994db425ec5d930ee 100644 --- a/propertyManagement-ui/src/views/business/carport/index.vue +++ b/propertyManagement-ui/src/views/business/carport/index.vue @@ -151,7 +151,7 @@ {{ parseTime(scope.row.endTime, '{y}-{m}-{d}') }} - + diff --git a/propertyManagement-ui/src/views/business/comment/index.vue b/propertyManagement-ui/src/views/business/comment/index.vue index 1a4a590dc87dde1a67ebd317ec3155f1ff2da613..f38291125eecb111d33a29835697a357ee7ba862 100644 --- a/propertyManagement-ui/src/views/business/comment/index.vue +++ b/propertyManagement-ui/src/views/business/comment/index.vue @@ -26,14 +26,14 @@ /> - - - + + + + + + + + 搜索 重置 @@ -139,7 +139,6 @@ icon="el-icon-edit" @click="handleComplete(scope.row)" v-if="scope.row.state === 1" - v-hasPermi="['business:comment:remove']" >处理完成 diff --git a/propertyManagement-ui/src/views/business/guest/index.vue b/propertyManagement-ui/src/views/business/guest/index.vue index dd878c11e6fd43d8d6712c920f5be8a625e3c56b..7279fd94f8a6ac9e8aa0025d555c5b9238b861ba 100644 --- a/propertyManagement-ui/src/views/business/guest/index.vue +++ b/propertyManagement-ui/src/views/business/guest/index.vue @@ -15,12 +15,21 @@ /> - - + + + + + + + 0) { + this.queryParams.guestStartTime = this.guestTime[0]; + this.queryParams.guestEndTime = this.guestTime[1]; + }else { + this.queryParams.guestStartTime = undefined; + this.queryParams.guestEndTime = undefined; + } listGuest(this.queryParams).then(response => { this.guestList = response.rows; this.total = response.total; @@ -295,6 +312,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.guestTime = [] this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/propertyManagement-ui/src/views/business/liveBill/index.vue b/propertyManagement-ui/src/views/business/liveBill/index.vue index ff29d63216205bf7df43fc07a8fde829cd990bbf..c4a7251d77f9b3c687b65cfad67a5daf15a54fce 100644 --- a/propertyManagement-ui/src/views/business/liveBill/index.vue +++ b/propertyManagement-ui/src/views/business/liveBill/index.vue @@ -115,12 +115,12 @@ - - - + + + - + @@ -140,7 +140,12 @@ - + + + +