项目编号: S 063 ,文末获取源码。 \color{red}{项目编号:S063,文末获取源码。} 项目编号:S063,文末获取源码。
基于微信小程序+JAVA+Vue+SpringBoot+MySQL的智慧家政系统,包含了地址管理模、订单管理、家政分类管理、家政服务管理、用户反馈管理模块,还包含系统自带的用户管理、部门管理、角色管理、菜单管理、日志管理、数据字典管理、文件管理、图表展示等基础模块,基于微信小程序的智慧家政系统基于角色的访问控制,给家政管理员、家政工作人员、消费者使用,可将权限精确到按钮级别,您可以自定义角色并分配权限,系统适合设计精确的权限约束需求。
源码下载
该系统基于微信开发者工具进行开发,最终成果以微信小程序的方式进行呈现。系统大致分为两大模块,即前台用户系统与后台管理系统,主要内容如下。
@RequestMapping(value = "/getByPage", method = RequestMethod.GET)
@ApiOperation(value = "查询服务")
public Result<IPage<ServiceData>> getByPage(@ModelAttribute ServiceData serviceData ,@ModelAttribute PageVo page){
QueryWrapper<ServiceData> qw = new QueryWrapper<>();
if(!ZwzNullUtils.isNull(serviceData.getTitle())) {
qw.like("title",serviceData.getTitle());
}
if(!ZwzNullUtils.isNull(serviceData.getType())) {
qw.eq("type",serviceData.getType());
}
IPage<ServiceData> data = iServiceDataService.page(PageUtil.initMpPage(page),qw);
return new ResultUtil<IPage<ServiceData>>().setData(data);
}
@RequestMapping(value = "/addOne", method = RequestMethod.GET)
@ApiOperation(value = "新增单条服务订单")
public Result<ServiceOrder> addOne(@RequestParam String id){
ServiceData s = iServiceDataService.getById(id);
if(s == null) {
return ResultUtil.error("服务不存在");
}
User currUser = securityUtil.getCurrUser();
ServiceOrder order = new ServiceOrder();
order.setServiceId(s.getId());
order.setTitle(s.getTitle());
order.setType(s.getType());
order.setUserName(s.getUserName());
order.setMobile(s.getMobile());
order.setContent(s.getContent());
order.setBuyId(currUser.getId());
order.setBuyName(currUser.getNickname());
order.setBuyTime(DateUtil.now());
order.setStatus("未付款");
iServiceOrderService.saveOrUpdate(order);
return ResultUtil.success();
}
@RequestMapping(value = "/insert", method = RequestMethod.POST)
@ApiOperation(value = "新增留言反馈")
public Result<Message> insert(Message message){
User currUser = securityUtil.getCurrUser();
message.setUserId(currUser.getId());
message.setUserName(currUser.getNickname());
message.setTime(DateUtil.now());
message.setReplyContent("");
message.setReplyId("");
message.setReplyName("");
message.setReplyTime("");
iMessageService.saveOrUpdate(message);
return new ResultUtil<Message>().setData(message);
}
<view wx:if="{{item.index==0}}">
<view class="section">
<input placeholder="手机号" bindblur="logincode" />
view>
<view class="section">
<input placeholder="登入密码" bindblur="loginpassword" password="true" />
view>
<view class="section">view>
<view wx:if='{{islogin==""}}' class='btn_box' >
<button type="primary" bindtap="loginTo" >登录button>
view>
<view wx:else class='btn_box'>
<button type="primary" bindtap="returnmain" >退出button>
view>
view>
<view class="page__bd page" wx:for="{{fieldList}}" wx:key="index" wx:for-item="item">
<view class="weui-cells weui-cells_after-title cells">
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active">
<view class="weui-cell__hd">
<image src="../../statis/img/logo01.png" style="margin-right: 5px;vertical-align: middle;width:40px; height: 40px;">image>
view>
<view class="weui-cell__bd pageRight">
<text class="roomName">{{item.title}}text>
view>
navigator>
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active">
<view class="weui-cell__bd">
<text class="cannot">服务类型:{{item.type}}text>
view>
navigator>
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active">
<view class="weui-cell__bd">
<text class="cannot">家政人员:{{item.userName}}text>
view>
navigator>
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active">
<view class="weui-cell__bd">
<text class="cannot">联系方式:{{item.mobile}}text>
view>
navigator>
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active">
<view class="weui-cell__bd">
<text class="cannot">服务介绍:{{item.content}}text>
view>
navigator>
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active">
<view class="weui-cell__bd">
<button type="primary" class='buttomm' bindtap="toMoreOnePage" data-id="{{item.id}}">下单button>
view>
navigator>
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active">
<view class="weui-cell__bd">
<button>button>
view>
navigator>
view>
view>
下载本系统代码或使用本系统的用户,必须同意以下内容,否则请勿下载!