项目编号: S 049 ,文末获取源码。 \color{red}{项目编号:S049,文末获取源码。} 项目编号:S049,文末获取源码。
基于JAVA+Vue+SpringBoot+MySQL的创意工坊双创管理系统,包含了讲座管理、消息管理、项目管理、公共空间、房间预约、团队管理模块,还包含系统自带的用户管理、部门管理、角色管理、菜单管理、日志管理、数据字典管理、文件管理、图表展示等基础模块,创意工坊双创管理系统基于角色的访问控制,给工坊管理员、教师和学生角色使用,可将权限精确到按钮级别,您可以自定义角色并分配权限,系统适合设计精确的权限约束需求。
源码下载
按照软件工程规范描述管理员端需求,细化用例规约,合理设计数据库,实现管理员端以下功能。
按照软件工程规范描述web端需求,细化用例规约,合理设计数据库,实现web端以下功能。
按照软件工程规范描述移动端需求,细化用例规约,合理设计数据库,实现移动端以下功能。
@RequestMapping(value = "/getByPage", method = RequestMethod.GET)
@ApiOperation(value = "查询项目")
public Result<IPage<Project>> getByPage(@ModelAttribute Project project ,@ModelAttribute PageVo page){
QueryWrapper<Project> qw = new QueryWrapper<>();
if(!ZwzNullUtils.isNull(project.getTitle())) {
qw.like("title",project.getTitle());
}
if(!ZwzNullUtils.isNull(project.getUserName())) {
qw.like("user_name",project.getUserName());
}
IPage<Project> data = iProjectService.page(PageUtil.initMpPage(page),qw);
return new ResultUtil<IPage<Project>>().setData(data);
}
@RequestMapping(value = "/insertApp", method = RequestMethod.GET)
@ApiOperation(value = "新增团队")
public Result<Team> insertApp(@RequestParam String title,@RequestParam String content){
Team team = new Team();
team.setTitle(title);
team.setContent(content);
User currUser = securityUtil.getCurrUser();
team.setUserId(currUser.getId());
team.setUserName(currUser.getNickname());
team.setTime(DateUtil.now());
iTeamService.saveOrUpdate(team);
return new ResultUtil<Team>().setData(team);
}
@RequestMapping(value = "/getByPage", method = RequestMethod.GET)
@ApiOperation(value = "查询讲座")
public Result<IPage<Lecture>> getByPage(@ModelAttribute Lecture lecture ,@ModelAttribute PageVo page){
QueryWrapper<Lecture> qw = new QueryWrapper<>();
User currUser = securityUtil.getCurrUser();
if(!ZwzNullUtils.isNull(lecture.getTitle())) {
qw.like("title",lecture.getTitle());
}
if(!ZwzNullUtils.isNull(lecture.getContent())) {
qw.like("content",lecture.getContent());
}
IPage<Lecture> data = iLectureService.page(PageUtil.initMpPage(page),qw);
for (Lecture vo : data.getRecords()) {
QueryWrapper<Good> goodQw = new QueryWrapper<>();
goodQw.eq("lecture_id",vo.getId());
goodQw.eq("user_id",currUser.getId());
vo.setGood(iGoodService.count(goodQw));
QueryWrapper<Collect> collectQw = new QueryWrapper<>();
collectQw.eq("lecture_id",vo.getId());
collectQw.eq("user_id",currUser.getId());
vo.setCollect(iCollectService.count(collectQw));
}
return new ResultUtil<IPage<Lecture>>().setData(data);
}
@RequestMapping(value = "/addOne", method = RequestMethod.GET)
@ApiOperation(value = "新增单条收藏")
public Result<Object> addOne(@RequestParam String id){
Lecture l = iLectureService.getById(id);
if(l == null) {
return ResultUtil.error("讲座不存在");
}
User currUser = securityUtil.getCurrUser();
QueryWrapper<Collect> collectQw = new QueryWrapper<>();
collectQw.eq("lecture_id",id);
collectQw.eq("user_id",currUser.getId());
if(iCollectService.count(collectQw) > 0L) {
iCollectService.remove(collectQw);
return ResultUtil.success();
}
Collect collect = new Collect();
collect.setLectureId(id);
collect.setLectureName(l.getName());
collect.setUserId(currUser.getId());
collect.setUserName(currUser.getNickname());
collect.setTime(DateUtil.now());
iCollectService.saveOrUpdate(collect);
return ResultUtil.success();
}
<swiper class="swiper-box" current="{{currentTab}}" duration="300" style="height:420px" bindchange="GetCurrentTab" data-current='6' >
<swiper-item wx:for="{{tabCont}}" wx:key="item.index">
<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>
swiper-item>
下载本系统代码或使用本系统的用户,必须同意以下内容,否则请勿下载!