Compare commits
189 Commits
master
...
special-20
Author | SHA1 | Date |
---|---|---|
|
772012f9e2 | 2 weeks ago |
|
8168be3ade | 2 weeks ago |
|
7b0cfa9391 | 3 weeks ago |
|
61b9b0d40f | 4 weeks ago |
|
c72a6cab96 | 1 month ago |
|
826c032a86 | 2 months ago |
|
7a6907a7b2 | 2 months ago |
|
9da941e8cc | 2 months ago |
|
632e3c5096 | 2 months ago |
|
215a1c122b | 2 months ago |
|
b385adf071 | 2 months ago |
|
d7a589e74e | 2 months ago |
|
b9d259eb4a | 2 months ago |
|
36b3e5f652 | 2 months ago |
|
3d4b5c1225 | 2 months ago |
|
4e8eaa807a | 3 months ago |
|
41e217fa5d | 3 months ago |
|
4142d19ca9 | 3 months ago |
|
54bb51ae1a | 3 months ago |
|
0acf005182 | 3 months ago |
|
3aac9e07cd | 3 months ago |
|
c7160234ae | 3 months ago |
|
d3067acc73 | 3 months ago |
|
e4811cb916 | 3 months ago |
|
a84e1c3f14 | 3 months ago |
|
963dc9e62e | 3 months ago |
|
75785c8e7b | 3 months ago |
|
48fb8ced83 | 3 months ago |
|
c22ade0931 | 3 months ago |
|
6e5c576c09 | 3 months ago |
|
305381a7ab | 3 months ago |
|
33f9cce7d1 | 3 months ago |
|
f708588778 | 3 months ago |
|
9accae40a2 | 3 months ago |
|
63890e5fb3 | 3 months ago |
|
d205fa4900 | 3 months ago |
|
1ced9c4a5b | 3 months ago |
|
d7fa1e0a01 | 3 months ago |
|
ddc0dda586 | 3 months ago |
|
8b5068c226 | 3 months ago |
|
2271b61649 | 3 months ago |
|
0a01c3b212 | 3 months ago |
|
04b146126a | 3 months ago |
|
80b1c588a3 | 3 months ago |
|
059aae2df4 | 3 months ago |
|
315a07216a | 3 months ago |
|
94126981b3 | 3 months ago |
|
b49c8a667a | 3 months ago |
|
7ca4edbafb | 3 months ago |
|
9164acf7be | 3 months ago |
|
7cf4c63bcd | 3 months ago |
|
cf00c8c060 | 3 months ago |
|
15cdb405c0 | 3 months ago |
|
484a33c14d | 4 months ago |
|
d88cf33cd6 | 4 months ago |
|
a20fc91659 | 4 months ago |
|
7e825b1f43 | 4 months ago |
|
a34bde8d74 | 5 months ago |
|
ea810fbf0f | 5 months ago |
|
74363900a7 | 5 months ago |
|
b1bb4a320f | 5 months ago |
|
7a84933541 | 5 months ago |
|
1b063ddc93 | 5 months ago |
|
ff73f1bff4 | 5 months ago |
|
d4952245e5 | 5 months ago |
|
5727b5d3a9 | 5 months ago |
|
e5c6f1f4a0 | 5 months ago |
|
67b954d39a | 5 months ago |
|
0bafe29176 | 5 months ago |
|
05cce11e4b | 6 months ago |
|
c5a9610982 | 10 months ago |
|
8e1fc13b4d | 11 months ago |
|
1b31e52c1a | 11 months ago |
|
b7f9cf49cb | 11 months ago |
|
887b131027 | 11 months ago |
|
0dcaa5cb47 | 11 months ago |
|
bd9fbe5d3c | 11 months ago |
|
f34f7d0ce0 | 11 months ago |
|
bd4952c23f | 11 months ago |
|
7545137dcd | 11 months ago |
|
0751315825 | 11 months ago |
|
2c6c19721a | 11 months ago |
|
42644c56af | 11 months ago |
|
52db177a98 | 11 months ago |
|
60dca4343d | 12 months ago |
|
b826a0dedd | 12 months ago |
|
fdb4cc80de | 12 months ago |
|
fd5108c903 | 12 months ago |
|
9b445d80e8 | 12 months ago |
|
b9a11ff654 | 12 months ago |
|
dd1e1a65c3 | 12 months ago |
|
810512b77c | 12 months ago |
|
150eab8a5f | 12 months ago |
|
3dbcaab60a | 12 months ago |
|
62d21c5c9b | 12 months ago |
|
b186ce0f77 | 12 months ago |
|
7d7d27f1c3 | 12 months ago |
|
577d88e8e7 | 12 months ago |
|
38dafe08a1 | 12 months ago |
|
ae04bc4561 | 12 months ago |
|
926c4f72e3 | 12 months ago |
|
8aeba5b748 | 12 months ago |
|
88d79650ff | 12 months ago |
|
ff25fb9e22 | 12 months ago |
|
a29a07a90f | 12 months ago |
|
d8d689c06f | 12 months ago |
|
b9d2446ede | 12 months ago |
|
d5c017e04c | 12 months ago |
|
a4378e05fc | 12 months ago |
|
e82a78753e | 12 months ago |
|
816b673e97 | 12 months ago |
|
4f21b2460a | 12 months ago |
|
5987d75ca1 | 12 months ago |
|
4ca55f1449 | 12 months ago |
|
463f412c75 | 12 months ago |
|
8ef135d20f | 12 months ago |
|
71ba4a897e | 12 months ago |
|
f287a39706 | 12 months ago |
|
a37b8f98c9 | 12 months ago |
|
487ceb070f | 12 months ago |
|
39f002ce34 | 12 months ago |
|
3e4b6565f9 | 12 months ago |
|
9710f767f8 | 12 months ago |
|
3979c599aa | 12 months ago |
|
1cfac82cfb | 12 months ago |
|
4096934411 | 12 months ago |
|
d20d6e2b18 | 12 months ago |
|
e45118341f | 12 months ago |
|
cea18f0cdc | 12 months ago |
|
189ab65c85 | 12 months ago |
|
45998187fc | 1 year ago |
|
11ced4a284 | 1 year ago |
|
66af6d571a | 1 year ago |
|
25be89616a | 1 year ago |
|
d18ddba481 | 1 year ago |
|
d9473d5ce4 | 1 year ago |
|
31ada9600d | 1 year ago |
|
5026ae8220 | 1 year ago |
|
b087bdf5fd | 1 year ago |
|
6b1de4f65f | 1 year ago |
|
25817c318b | 1 year ago |
|
05c33ee544 | 1 year ago |
|
73cdf76ca8 | 1 year ago |
|
f9392c33c6 | 1 year ago |
|
c7d1d46bb6 | 1 year ago |
|
40667869ba | 1 year ago |
|
2bac738c7a | 1 year ago |
|
43e262c640 | 1 year ago |
|
e458426a60 | 1 year ago |
|
f0d0b1d76d | 1 year ago |
|
f5906ba30b | 1 year ago |
|
d26235d64a | 1 year ago |
|
b0d20e3ed9 | 1 year ago |
|
acabf1c611 | 1 year ago |
|
61605dd42d | 1 year ago |
|
edbbef13e0 | 1 year ago |
|
3c9cb17ffa | 1 year ago |
|
eb0f983674 | 1 year ago |
|
10bf5f8704 | 1 year ago |
|
20a6ebb2b2 | 1 year ago |
|
118a76135f | 1 year ago |
|
88515ab8e0 | 1 year ago |
|
849a45b3f7 | 1 year ago |
|
abde706a2d | 1 year ago |
|
c0a231a145 | 1 year ago |
|
58c1a1bf9b | 1 year ago |
|
aa3a7d3368 | 1 year ago |
|
5ab0679421 | 1 year ago |
|
e0e6a9e169 | 1 year ago |
|
7924f83ea2 | 1 year ago |
|
2a61e59e32 | 1 year ago |
|
c8bd6c8cc1 | 1 year ago |
|
0533a0c300 | 1 year ago |
|
f89a3458d8 | 1 year ago |
|
301f903ef2 | 1 year ago |
|
a2df444072 | 1 year ago |
|
b3b0177027 | 1 year ago |
|
ff54f3a4c5 | 1 year ago |
|
a97ef863e7 | 1 year ago |
|
8cf498098c | 1 year ago |
|
b982dc33d0 | 1 year ago |
|
c56ffd6b9f | 1 year ago |
|
e67f70a178 | 1 year ago |
|
c9a7591552 | 1 year ago |
|
e4247ce823 | 1 year ago |
|
5ea8d534d9 | 1 year ago |
|
5e411d5a94 | 1 year ago |
|
b8cc4a83b3 | 1 year ago |
|
9fccb82632 | 1 year ago |
@ -0,0 +1,178 @@
|
||||
package com.ruoyi.web.controller.home;
|
||||
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.github.pagehelper.page.PageMethod;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.R;
|
||||
import com.ruoyi.system.domain.*;
|
||||
import com.ruoyi.system.service.ISysColumnService;
|
||||
import com.ruoyi.system.service.ISysSpecialService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* ClassName: ColumnController
|
||||
* Package: com.ruoyi.web.controller.home
|
||||
* Description:栏目树
|
||||
*
|
||||
* @Author wangxy
|
||||
* @Create 2025/3/27 9:54
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Api("栏目树")
|
||||
@RestController
|
||||
@RequestMapping("/columnTree")
|
||||
public class ColumnTreeController extends BaseController {
|
||||
|
||||
//专题活动类型
|
||||
public static final String SPECIAL_COLUMN_TYPE = "2";
|
||||
//栏目等级
|
||||
public static final String COLUMN_GRADE = "2";
|
||||
public static final String STATUS = "0";
|
||||
|
||||
@Autowired
|
||||
private ISysColumnService columnService;
|
||||
|
||||
@Autowired
|
||||
private ISysSpecialService specialService;
|
||||
|
||||
|
||||
|
||||
|
||||
@ApiOperation("类别树")
|
||||
@GetMapping("/getTree")
|
||||
public R<List<SysColumnVO>> getTree(@RequestParam(required = false, defaultValue = "2") String columnType) {
|
||||
LambdaQueryWrapper<SysColumn> tagWrapper = new LambdaQueryWrapper<>();
|
||||
tagWrapper.eq(SysColumn::getColumnType, columnType)
|
||||
.eq(SysColumn::getColumnGrade, COLUMN_GRADE)
|
||||
.eq(SysColumn::getStatus,STATUS)
|
||||
.orderByAsc(SysColumn::getOrderNum);
|
||||
List<SysColumn> datas = columnService.list(tagWrapper);
|
||||
List<SysColumnVO> tagTreeVOList = new ArrayList<>(Convert.toList(SysColumnVO.class, datas));
|
||||
tagTreeVOList.forEach(this::buildChildren);
|
||||
return R.ok(tagTreeVOList);
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation("专题活动树")
|
||||
@GetMapping("/getSpecialTree")
|
||||
public R<List<SysColumnVO>> getSpecialTree(@RequestParam(required = false) String columnId) {
|
||||
LambdaQueryWrapper<SysColumn> tagWrapper = new LambdaQueryWrapper<>();
|
||||
tagWrapper.eq(SysColumn::getColumnId, columnId)
|
||||
.eq(SysColumn::getColumnGrade, COLUMN_GRADE)
|
||||
.eq(SysColumn::getStatus, STATUS)
|
||||
.orderByAsc(SysColumn::getOrderNum);
|
||||
List<SysColumn> datas = columnService.list(tagWrapper);
|
||||
List<SysColumnVO> tagTreeVOList = new ArrayList<>(Convert.toList(SysColumnVO.class, datas));
|
||||
tagTreeVOList.forEach(this::buildChildren);
|
||||
return R.ok(tagTreeVOList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 构建子节点
|
||||
*
|
||||
* @param pNode 父级
|
||||
*/
|
||||
private void buildChildren(SysColumnVO pNode) {
|
||||
// 获取子节点
|
||||
LambdaQueryWrapper<SysColumn> tagWrapper = new LambdaQueryWrapper<>();
|
||||
tagWrapper.eq(SysColumn::getParentId, pNode.getColumnId()).orderByAsc(SysColumn::getOrderNum);
|
||||
List<SysColumn> dataTags = columnService.list(tagWrapper);
|
||||
List<SysColumnVO> children = Convert.toList(SysColumnVO.class, dataTags);
|
||||
// 递归获取子节点
|
||||
children.forEach(this::buildChildren);
|
||||
pNode.setChildren(children);
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation("获取专题栏目")
|
||||
@GetMapping("/getColumn")
|
||||
public R<List<SysColumn>> getColumn(@RequestParam(required = false, defaultValue = "2") String columnType) {
|
||||
LambdaQueryWrapper<SysColumn> queryWrapper= new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(SysColumn::getColumnType, columnType);
|
||||
queryWrapper.eq(SysColumn::getColumnGrade, COLUMN_GRADE);
|
||||
queryWrapper.eq(SysColumn::getStatus,STATUS);
|
||||
queryWrapper.orderByAsc(SysColumn::getOrderNum);
|
||||
List<SysColumn> specialColumns = columnService.list(queryWrapper);
|
||||
return R.ok(specialColumns);
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation("获取专题栏目")
|
||||
@GetMapping("/getSpecial")
|
||||
public R<List<SysSpecialVo>> getSpecial(@RequestParam(required = false) String columnId,
|
||||
@RequestParam(required = false, defaultValue = "1") String type) {
|
||||
List<SysSpecialVo> sysSpecialVos = new ArrayList<>();
|
||||
LambdaQueryWrapper<SysColumn> columnQueryWrapper = new LambdaQueryWrapper<>();
|
||||
columnQueryWrapper.eq(SysColumn::getStatus, STATUS);
|
||||
if(Objects.equals(type, COLUMN_GRADE)){
|
||||
columnQueryWrapper.eq(SysColumn::getColumnId, columnId);
|
||||
}else{
|
||||
columnQueryWrapper.eq(SysColumn::getParentId, columnId);
|
||||
}
|
||||
columnQueryWrapper.orderByAsc(SysColumn::getOrderNum);
|
||||
List<SysColumn> columns = columnService.list(columnQueryWrapper);
|
||||
if (columns.isEmpty() && !Objects.equals(type, COLUMN_GRADE)) {
|
||||
columnQueryWrapper.clear();
|
||||
columnQueryWrapper.eq(SysColumn::getColumnId, columnId)
|
||||
.eq(SysColumn::getStatus, STATUS)
|
||||
.orderByAsc(SysColumn::getOrderNum);
|
||||
columns = columnService.list(columnQueryWrapper);
|
||||
}
|
||||
columns.forEach(column -> {
|
||||
SysSpecialVo sysSpecialVo = new SysSpecialVo();
|
||||
sysSpecialVo.setColumnId(column.getColumnId());
|
||||
sysSpecialVo.setColumnName(column.getColumnName());
|
||||
List<SysSpecial> specialList = specialService.lambdaQuery()
|
||||
.select(SysSpecial::getSpecialId, SysSpecial::getSpecialTitle,
|
||||
SysSpecial::getFileUrl, SysSpecial::getFileName,SysSpecial::getColumnId,
|
||||
SysSpecial::getCreateTime,SysSpecial::getColumnName,SysSpecial::getCreateBy)
|
||||
.eq(SysSpecial::getColumnId, column.getColumnId())
|
||||
.eq(SysSpecial::getStatus, STATUS)
|
||||
.orderByDesc(SysSpecial::getCreateTime)
|
||||
.list();
|
||||
sysSpecialVo.setSysSpecials(PageInfo.of(specialList));
|
||||
sysSpecialVos.add(sysSpecialVo);
|
||||
});
|
||||
return R.ok(sysSpecialVos);
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation("获取专题内容")
|
||||
@GetMapping("/getSpecialList")
|
||||
public R<PageInfo<SysSpecial>> getSpecialList(@RequestParam(required = false) String columnId,
|
||||
@RequestParam(required = false) Integer pageNum,
|
||||
@RequestParam(required = false ) Integer pageSize) {
|
||||
PageMethod.startPage(pageNum,pageSize);
|
||||
List<SysSpecial> specialList = specialService.lambdaQuery()
|
||||
.select(SysSpecial::getSpecialId, SysSpecial::getSpecialTitle,
|
||||
SysSpecial::getFileUrl, SysSpecial::getFileName,SysSpecial::getColumnId,
|
||||
SysSpecial::getCreateTime,SysSpecial::getColumnName,SysSpecial::getCreateBy)
|
||||
.eq(SysSpecial::getColumnId, columnId)
|
||||
.eq(SysSpecial::getStatus, STATUS)
|
||||
.orderByDesc(SysSpecial::getCreateTime)
|
||||
.list();
|
||||
return R.ok(PageInfo.of(specialList));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
package com.ruoyi.web.controller.manager;
|
||||
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import cn.hutool.core.text.CharSequenceUtil;
|
||||
import com.ruoyi.common.utils.ShiroUtils;
|
||||
import com.ruoyi.common.utils.uuid.IdUtils;
|
||||
import com.ruoyi.system.domain.SysCaseReport;
|
||||
import com.ruoyi.system.service.SysCaseReportService;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Arrays;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* ClassName: CaseReportManager
|
||||
* Package: com.ruoyi.web.controller.manager
|
||||
* Description:办案情况通报
|
||||
*
|
||||
* @Author wangxy
|
||||
* @Create 2025/5/19 9:34
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Component
|
||||
public class CaseReportManager {
|
||||
|
||||
|
||||
@Resource
|
||||
private SysCaseReportService caseReportService;
|
||||
|
||||
/**
|
||||
* 查询列表
|
||||
* @param caseReport
|
||||
* @return
|
||||
*/
|
||||
public List<SysCaseReport> selectSysCaseReportList(SysCaseReport caseReport) {
|
||||
return caseReportService.selectSysCaseReportList(caseReport);
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存与修改
|
||||
* @param caseReport
|
||||
* @return
|
||||
*/
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean saveOrUpdate(SysCaseReport caseReport) {
|
||||
if (CharSequenceUtil.isNotBlank(caseReport.getCaseId())) {
|
||||
caseReport.setUpdateTime(new Date());
|
||||
caseReport.setUpdateBy(ShiroUtils.getSysUser().getUserName());
|
||||
} else {
|
||||
caseReport.setCaseId(IdUtils.simpleUUID());
|
||||
caseReport.setCreateTime(new Date());
|
||||
caseReport.setCreateBy(ShiroUtils.getSysUser().getUserName());
|
||||
}
|
||||
caseReport.setStatus("0");
|
||||
caseReport.setType("6");
|
||||
return caseReportService.saveOrUpdate(caseReport);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询信息
|
||||
* @param caseId
|
||||
* @return
|
||||
*/
|
||||
public SysCaseReport selectSysCaseReportById(String caseId) {
|
||||
return caseReportService.lambdaQuery()
|
||||
.eq(SysCaseReport::getCaseId, caseId)
|
||||
.eq(SysCaseReport::getStatus, "0")
|
||||
.one();
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除信息
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean deletedSysCaseReportIds(String ids) {
|
||||
List<String> list = Arrays.asList(Convert.toStrArray(ids));
|
||||
return caseReportService.removeByIds(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询列表信息
|
||||
* @return
|
||||
*/
|
||||
public List<SysCaseReport> selectCaseReportList() {
|
||||
return caseReportService.lambdaQuery()
|
||||
.eq(SysCaseReport::getStatus, "0")
|
||||
.orderByDesc(SysCaseReport::getCreateTime)
|
||||
.list();
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询列表信息
|
||||
* @return
|
||||
*/
|
||||
public List<SysCaseReport> selectSysCaseReportHomeList() {
|
||||
return caseReportService.lambdaQuery()
|
||||
.select(SysCaseReport::getCaseId,SysCaseReport::getCaseTitle,
|
||||
SysCaseReport::getCreateBy,SysCaseReport::getCreateTime,
|
||||
SysCaseReport::getStatus)
|
||||
.eq(SysCaseReport::getStatus, "0")
|
||||
.last("limit 10")
|
||||
.orderByDesc(SysCaseReport::getCreateTime)
|
||||
.list();
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,114 @@
|
||||
package com.ruoyi.web.controller.system;
|
||||
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.system.domain.SysCaseReport;
|
||||
import com.ruoyi.web.controller.manager.CaseReportManager;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* ClassName: SysCaseReportController
|
||||
* Package: com.ruoyi.web.controller.system
|
||||
* Description:办案情况通报
|
||||
*
|
||||
* @Author wangxy
|
||||
* @Create 2025/5/19 9:35
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/system/caseReport")
|
||||
public class SysCaseReportController extends BaseController {
|
||||
|
||||
|
||||
@Resource
|
||||
private CaseReportManager caseReportManager;
|
||||
|
||||
|
||||
private final String prefix = "system/caseReport";
|
||||
|
||||
@RequiresPermissions("system:caseReport:view")
|
||||
@GetMapping()
|
||||
public String caseReport() {
|
||||
return prefix + "/caseReport";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询工作列表
|
||||
*/
|
||||
@RequiresPermissions("system:caseReport:list")
|
||||
@PostMapping("/list")
|
||||
@ResponseBody
|
||||
public TableDataInfo list(SysCaseReport caseReport) {
|
||||
startPage();
|
||||
List<SysCaseReport> list = caseReportManager.selectSysCaseReportList(caseReport);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 新增办案情况
|
||||
*/
|
||||
@GetMapping("/add")
|
||||
public String add() {
|
||||
return prefix + "/add";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 新增保存办案情况
|
||||
*/
|
||||
@RequiresPermissions("system:caseReport:add")
|
||||
@Log(title = "办案情况通报", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/add")
|
||||
@ResponseBody
|
||||
public AjaxResult addSave(@Validated SysCaseReport caseReport) {
|
||||
return toAjax(caseReportManager.saveOrUpdate(caseReport));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 修改办案情况
|
||||
*/
|
||||
@RequiresPermissions("system:caseReport:edit")
|
||||
@GetMapping("/edit/{caseId}")
|
||||
public String edit(@PathVariable("caseId") String caseId, ModelMap mmap) {
|
||||
mmap.put("caseReport", caseReportManager.selectSysCaseReportById(caseId));
|
||||
return prefix + "/edit";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 修改保存办案情况
|
||||
*/
|
||||
@RequiresPermissions("system:caseReport:edit")
|
||||
@Log(title = "办案情况通报", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/edit")
|
||||
@ResponseBody
|
||||
public AjaxResult editSave(@Validated SysCaseReport caseReport) {
|
||||
return toAjax(caseReportManager.saveOrUpdate(caseReport));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除办案情况
|
||||
*/
|
||||
@RequiresPermissions("system:caseReport:remove")
|
||||
@Log(title = "办案情况通报", businessType = BusinessType.DELETE)
|
||||
@PostMapping("/remove")
|
||||
@ResponseBody
|
||||
public AjaxResult remove(String ids) {
|
||||
return toAjax(caseReportManager.deletedSysCaseReportIds(ids));
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
#driverClassName: org.postgresql.Driver
|
||||
driverClassName: com.highgo.jdbc.Driver
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
#内网-瀚高数据库
|
||||
url: jdbc:highgo://172.16.1.140:5866/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
#username: sysdba
|
||||
#password: Hello@12345
|
||||
username: ENC(zdC1tfBZmQkEAybB/JWJUw==)
|
||||
password: ENC(RkJS4MB+ACbtwQfbkS5oar4NfP3RJlWm)
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
enabled: false
|
||||
url:
|
||||
username:
|
||||
password:
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
minIdle: 10
|
||||
# 最大连接池数量
|
||||
maxActive: 20
|
||||
# 配置获取连接等待超时的时间
|
||||
maxWait: 60000
|
||||
# 配置连接超时时间
|
||||
connectTimeout: 30000
|
||||
# 配置网络超时时间
|
||||
socketTimeout: 60000
|
||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
# 配置检测连接是否有效
|
||||
validationQuery: SELECT 1
|
||||
testWhileIdle: true
|
||||
testOnBorrow: false
|
||||
testOnReturn: false
|
||||
webStatFilter:
|
||||
enabled: true
|
||||
statViewServlet:
|
||||
enabled: true
|
||||
# 设置白名单,不填则允许所有访问
|
||||
allow:
|
||||
url-pattern: /druid/*
|
||||
# 控制台管理用户名和密码
|
||||
login-username: ruoyi
|
||||
login-password: 123456
|
||||
filter:
|
||||
stat:
|
||||
enabled: true
|
||||
# 慢SQL记录
|
||||
log-slow-sql: true
|
||||
slow-sql-millis: 1000
|
||||
merge-sql: true
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
@ -0,0 +1,65 @@
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
#driverClassName: org.postgresql.Driver
|
||||
driverClassName: com.highgo.jdbc.Driver
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
#外网-瀚高数据库
|
||||
url: jdbc:highgo://61.178.84.89:5866/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
#username: sysdba
|
||||
#password: Hello@1234
|
||||
username: ENC(zdC1tfBZmQkEAybB/JWJUw==)
|
||||
password: ENC(d5tvgiqi4I4FhKCR5BtIyUMiBv4C+Aa+)
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
enabled: false
|
||||
url:
|
||||
username:
|
||||
password:
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
minIdle: 10
|
||||
# 最大连接池数量
|
||||
maxActive: 20
|
||||
# 配置获取连接等待超时的时间
|
||||
maxWait: 60000
|
||||
# 配置连接超时时间
|
||||
connectTimeout: 30000
|
||||
# 配置网络超时时间
|
||||
socketTimeout: 60000
|
||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
# 配置检测连接是否有效
|
||||
validationQuery: SELECT 1
|
||||
testWhileIdle: true
|
||||
testOnBorrow: false
|
||||
testOnReturn: false
|
||||
webStatFilter:
|
||||
enabled: true
|
||||
statViewServlet:
|
||||
enabled: true
|
||||
# 设置白名单,不填则允许所有访问
|
||||
allow:
|
||||
url-pattern: /druid/*
|
||||
# 控制台管理用户名和密码
|
||||
login-username: ruoyi
|
||||
login-password: 123456
|
||||
filter:
|
||||
stat:
|
||||
enabled: true
|
||||
# 慢SQL记录
|
||||
log-slow-sql: true
|
||||
slow-sql-millis: 1000
|
||||
merge-sql: true
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
@ -0,0 +1,12 @@
|
||||
// 加密数据函数 工具crypto.js 文件工具
|
||||
/**
|
||||
* @word 要加密的内容
|
||||
* @keyWord String 服务器随机返回的关键字
|
||||
* */
|
||||
function aesEncrypt(word,keyWord){
|
||||
// var keyWord = keyWord || "XwKsGlMcdPMEhR1B"
|
||||
var key = CryptoJS.enc.Utf8.parse(keyWord);
|
||||
var srcs = CryptoJS.enc.Utf8.parse(word);
|
||||
var encrypted = CryptoJS.AES.encrypt(srcs, key, {mode:CryptoJS.mode.ECB,padding: CryptoJS.pad.Pkcs7});
|
||||
return encrypted.toString();
|
||||
}
|
@ -0,0 +1 @@
|
||||
function aesEncrypt(d,e){var a=CryptoJS.enc.Utf8.parse(e);var c=CryptoJS.enc.Utf8.parse(d);var b=CryptoJS.AES.encrypt(c,a,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7});return b.toString()};
|
@ -0,0 +1,275 @@
|
||||
.verify-code {
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
margin-bottom: 5px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.cerify-code-panel {
|
||||
height:100%;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.verify-code-area {
|
||||
float:left;
|
||||
}
|
||||
|
||||
.verify-input-area {
|
||||
float: left;
|
||||
width: 60%;
|
||||
padding-right: 10px;
|
||||
|
||||
}
|
||||
|
||||
.verify-change-area {
|
||||
line-height: 30px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.varify-input-code {
|
||||
display:inline-block;
|
||||
width: 100%;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.verify-change-code {
|
||||
color: #337AB7;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.verify-btn {
|
||||
width: 200px;
|
||||
height: 30px;
|
||||
background-color: #337AB7;
|
||||
color:#FFFFFF;
|
||||
border:none;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.verifybox{
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #e4e7eb;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 0 10px rgba(0,0,0,.3);
|
||||
left: 50%;
|
||||
top:50%;
|
||||
transform: translate(-50%,-50%);
|
||||
}
|
||||
.verifybox-top{
|
||||
padding: 0 15px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: left;
|
||||
font-size: 16px;
|
||||
color: #45494c;
|
||||
border-bottom: 1px solid #e4e7eb;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.verifybox-bottom{
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.verifybox-close{
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 9px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.verifybox-close .icon-close{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.verifybox-close:hover {
|
||||
transition: transform 0.2s ease;
|
||||
transform:rotate(60deg);
|
||||
-ms-transform:rotate(60deg);
|
||||
-moz-transform:rotate(60deg);
|
||||
-webkit-transform:rotate(60deg);
|
||||
-o-transform:rotate(60deg);
|
||||
}
|
||||
|
||||
.mask{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left:0;
|
||||
z-index: 1001;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: rgba(0,0,0,.3);
|
||||
/* display: none; */
|
||||
transition: all .5s;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.verify-tips{
|
||||
position: absolute;
|
||||
display: none;
|
||||
left: 0px;
|
||||
bottom:-35px;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
/* transition: all .5s; */
|
||||
line-height:30px;
|
||||
color: #fff;
|
||||
/* animation:move 1.5s linear; */
|
||||
}
|
||||
|
||||
@keyframes move {
|
||||
0%{
|
||||
bottom:-35px;
|
||||
}
|
||||
50%,80%{
|
||||
bottom:0px;
|
||||
}
|
||||
100%{
|
||||
bottom:-35px;
|
||||
}
|
||||
}
|
||||
|
||||
.suc-bg{
|
||||
background-color:rgba(92, 184, 92,.5);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5CB85C, endcolorstr=#7f5CB85C);
|
||||
}
|
||||
.err-bg{
|
||||
background-color:rgba(217, 83, 79,.5);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7fD9534F, endcolorstr=#7fD9534F);
|
||||
}
|
||||
|
||||
/*滑动验证码*/
|
||||
.verify-bar-area {
|
||||
position: relative;
|
||||
background: #FFFFFF;
|
||||
text-align: center;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
border: 1px solid #ddd;
|
||||
-webkit-border-radius: 4px;
|
||||
}
|
||||
|
||||
.verify-bar-area .verify-move-block {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
cursor: move;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
box-shadow: 0 0 2px #888888;
|
||||
-webkit-border-radius: 1px;
|
||||
}
|
||||
|
||||
.verify-bar-area .verify-move-block:hover {
|
||||
background-color: #337ab7;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.verify-bar-area .verify-left-bar {
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
background: #f0fff0;
|
||||
cursor: pointer;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.verify-img-panel {
|
||||
margin:0;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 3px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/*.verify-img-panel .verify-refresh {*/
|
||||
/* width: 25px;*/
|
||||
/* height: 25px;*/
|
||||
/* text-align:center;*/
|
||||
/* padding: 5px;*/
|
||||
/* cursor: pointer;*/
|
||||
/* position: absolute;*/
|
||||
/* top: 0;*/
|
||||
/* right: 0;*/
|
||||
/* z-index: 2;*/
|
||||
/*}*/
|
||||
|
||||
.verify-img-panel .verify-refresh img {
|
||||
pointer-events: auto;
|
||||
display: block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
transition: 200ms;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.verify-img-panel .icon-refresh {
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.verify-img-panel .verify-gap {
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
border:1px solid #fff;
|
||||
}
|
||||
|
||||
.verify-bar-area .verify-move-block .verify-sub-block {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
z-index: 3;
|
||||
/* border: 1px solid #fff; */
|
||||
}
|
||||
|
||||
.verify-bar-area .verify-move-block .verify-icon {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.verify-bar-area .verify-msg {
|
||||
z-index : 3;
|
||||
font-weight: 700;
|
||||
color: #40485b;
|
||||
}
|
||||
|
||||
/*字体图标的css*/
|
||||
@font-face {font-family: "iconfont";
|
||||
src: url('../fonts/iconfont.eot?t=1508229193188'); /* IE9*/
|
||||
src: url('../fonts/iconfont.eot?t=1508229193188#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAaAAAsAAAAACUwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7kiSY21hcAAAAYAAAAB3AAABuM+qBlRnbHlmAAAB+AAAAnQAAALYnrUwT2hlYWQAAARsAAAALwAAADYPNwajaGhlYQAABJwAAAAcAAAAJAfeA4dobXR4AAAEuAAAABMAAAAYF+kAAGxvY2EAAATMAAAADgAAAA4CvAGsbWF4cAAABNwAAAAfAAAAIAEVAF1uYW1lAAAE/AAAAUUAAAJtPlT+fXBvc3QAAAZEAAAAPAAAAE3oPPXPeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sM4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDxbwtzwv4EhhrmBoQEozAiSAwAw1A0UeJzFkcENgCAMRX8RjCGO4gTe9eQcnhzAfXC2rqG/hYsT8MmD9gdS0gJIAAaykAjIBYHppCvuD8juR6zMJ67A89Zdn/f1aNPikUn8RvYo8G20CjKim6Rf6b9m34+WWd/vBr+oW8V6q3vF5qKlYrPRp4L0Ad5nGL8AeJxFUc9rE0EYnTezu8lMsrvtbrqb3TRt0rS7bdOmdI0JbWmCtiItIv5oi14qevCk9SQVLFiQgqAF8Q9QLKIHLx48FkHo3ZNnFUXwD5C2B6dO6sFhmI83w7z3fe8RnZCjb2yX5YlLhskkmScXCIFRxYBFiyjH9Rqtoqes9/g5i8WVuJyqDNTYLPwBI+cljXrkGynDhoU+nCgnjbhGY5yst+gMEq8IBIXwsjPU67CnEPm4b0su0h309Fd67da4XBhr55KSm17POk7gOE/Shq6nKdVsC7d9j+tcGPKVboc9u/0jtB/ZIA7PXTVLBef6o/paccjnwOYm3ELJetPuDrvV3gg91wlSXWY6H5qVwRzWf2TybrYYfSdqoXOwh/Qa8RWIjBTiSI3h614/vKSNRhONOrsnQi6Xf4nQFQDTmJE1NKbhI6crHEJO/+S5QPxhYJRRyvBFBP+5T9EPpEAIVzzRQIrjmJ6jY1WTo+NXTMchuBsKuS8PRZATSMl9oTA4uNLkeIA0V1UeqOoGQh7IAxGo+7T83fn3T+voqCNPPAUazUYUI7LgKSV1Jk2oUeghYGhZ+cKOe2FjVu5ZKEY2VkE13AK1+jI4r1KLbPlZfrKiPhOXKPRj7q9sj9XJ7LFHNmrKJS3VCdhXGSdKrtmoQaWeMjQVt0KD6sGPOx0oH2fgtzoNROxtNq8F3tzYM/n+TjKSX5qf2jx941276TIr9FjXxKr8eX/6bK4yuopwo9py1sw8F9kdw4AmurRpLUM3tYx5ZnKpfHPi8dzz19vJ6MjyxYUrpqeb1uLs3eGV6vr21pSqpeWkqonAN9oUyIiXpv8XvlN5e3icY2BkYGAA4n0vN4fG89t8ZeBmYQCBa9wPPRH0/wcsDMwmQC4HAxNIFABAfAqaAHicY2BkYGBu+N/AEMPCAAJAkpEBFbABAEcMAm94nGNhYGBgfsnAwMKAigESnwEBAAAAAAAAdgCkANoBCAFsAAB4nGNgZGBgYGMIZGBlAAEmIOYCQgaG/2A+AwARSAFzAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgI2RiZGZkYWRlZGNkZ2BsYI1OSM1OZs1OSe/OJW1KDM9o4S9KDWtKLU4g4EBAJ79CeQ=') format('woff'),
|
||||
url('../fonts/iconfont.ttf?t=1508229193188') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
||||
url('../fonts/iconfont.svg?t=1508229193188#iconfont') format('svg'); /* iOS 4.1- */
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family:"iconfont" !important;
|
||||
font-size:16px;
|
||||
font-style:normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-check:before { content: "\e645"; }
|
||||
|
||||
.icon-close:before { content: "\e646"; }
|
||||
|
||||
.icon-right:before { content: "\e6a3"; }
|
||||
|
||||
.icon-refresh:before { content: "\e6a4"; }
|
After Width: | Height: | Size: 4.1 KiB |
@ -0,0 +1,542 @@
|
||||
/* 页面整体布局 */
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.layui-nav-item {
|
||||
position: relative;
|
||||
margin: 0 10px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
|
||||
/* 设置内容区域自动填充剩余高度 */
|
||||
#content {
|
||||
flex-grow: 1;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.time {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
.newslist li a{
|
||||
line-height: 35px;
|
||||
font-size: 15px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.newslist-to li a{
|
||||
line-height: 35px;
|
||||
font-size: 15px;
|
||||
cursor: pointer;
|
||||
margin-left: 15px;
|
||||
width: 70%;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
height: 25px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.newslist-to-l li:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
margin-top: -3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: #0558b0;
|
||||
}
|
||||
|
||||
.newslist-to li {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
vertical-align: top;
|
||||
line-height: 40px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
.zhuanti{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
height: 400px;
|
||||
justify-content: center;
|
||||
}
|
||||
.zhuanti li{
|
||||
overflow:hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
white-space: nowrap; /* 防止文本换行 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
position: relative;
|
||||
width: 320px;
|
||||
border-radius: 5px;
|
||||
|
||||
}.zhuanti li span{
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
background-color: rgb(0 0 0 / 0.5);
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.zhuanti li img{
|
||||
transition: all 0.3s;
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.zhuanti li:hover img{
|
||||
transform:scale(1.1)
|
||||
}
|
||||
.zhuanti li span{
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.zhuanti li:hover span{
|
||||
color: #ffbb3f;
|
||||
transform:scale(1.1) translateY(7px);
|
||||
}
|
||||
.more a {
|
||||
display: inline-block;
|
||||
width: 58px;
|
||||
height: 24px;
|
||||
border-radius: 5px;
|
||||
line-height: 24px;
|
||||
color: #0b61d3;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
|
||||
.zhuantidept{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
height: 400px;
|
||||
overflow: auto;
|
||||
box-sizing:border-box;
|
||||
padding-left:30px;
|
||||
padding-top:20px;
|
||||
}
|
||||
.zhuantidept li{
|
||||
transition: all 0.3s;
|
||||
max-width: 189px;
|
||||
max-height: 85px;
|
||||
background-image: url(../home/base/bumen1.jpg);
|
||||
background-size: 100% 100%;
|
||||
box-shadow: 5px 5px 5px 0 rgba(0,0,0,0.5);
|
||||
margin: 0 10px 10px 10px;
|
||||
position: relative;
|
||||
}
|
||||
.zhuantidept li:hover{
|
||||
transform: translateY(-5%);
|
||||
}
|
||||
|
||||
.zhuantidept li a{
|
||||
width: 169px;
|
||||
height: 84px;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
padding-left: 10px;
|
||||
font-size: 17px;
|
||||
filter: brightness(1.1);
|
||||
line-height: 85px;
|
||||
text-align: center;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
a:hover{
|
||||
color: #006fc4;
|
||||
}
|
||||
.customNavigation .prev, .customNavigation .next {
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 25px;
|
||||
top: 41%;
|
||||
z-index: 22;
|
||||
background-image: url(../home/base/i122.png);
|
||||
cursor: pointer;
|
||||
}
|
||||
.customNavigation .prev{
|
||||
left: 0;
|
||||
}
|
||||
.customNavigation .next {
|
||||
right: 0;
|
||||
background-position: right;
|
||||
}
|
||||
.item{
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ztgg {
|
||||
height: 60px;
|
||||
margin: 25px auto 0px auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-item:center;
|
||||
flex-wrap: nowrap;
|
||||
position: relative;
|
||||
padding: 0 8px 0 8px;
|
||||
}
|
||||
.ztgg .ztgg_box{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding-left: 6px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.ztgg .ztgg_box .images{
|
||||
transition: transform 0.5s ease-in-out;
|
||||
}
|
||||
.ztgg .arrow-left{
|
||||
left: -20px;
|
||||
}
|
||||
.ztgg .arrow-left, .ztgg .arrow-right {
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 25px;
|
||||
top: 50%;
|
||||
z-index: 22;
|
||||
background-image: url(../home/base/i122.png);
|
||||
cursor: pointer;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.ztgg .arrow-right {
|
||||
right: -20px;
|
||||
background-position: right top;
|
||||
}
|
||||
.ariaskiptheme{
|
||||
margin:0;
|
||||
margin-right:30px;
|
||||
}
|
||||
.ariaskiptheme img{
|
||||
width: 300px;
|
||||
height: 70px;
|
||||
box-shadow: 0 0 10px 4px #ddd;
|
||||
transition: all 0.3s;
|
||||
|
||||
}
|
||||
#back-to-top {
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: 12%;
|
||||
right: 2%;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.3s;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
z-index: 100;
|
||||
}
|
||||
#back-to-top img {
|
||||
width: 100%;
|
||||
height: 100%
|
||||
}
|
||||
#back-to-top:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.lantieContent{
|
||||
width:100%;
|
||||
display:flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.lantieContent .right{
|
||||
width:100%;
|
||||
display:flex;
|
||||
flex-wrap:wrap;
|
||||
justify-content: space-around;
|
||||
overflow:auto;
|
||||
}
|
||||
.lantieContent .right li{
|
||||
position: relative;
|
||||
}
|
||||
.lantieContent .right li span{
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
margin-top: -8px;
|
||||
background-color: rgb(0 0 0 / 0.7);
|
||||
color: white;
|
||||
}
|
||||
.lantieContent .right li:hover span{
|
||||
color: #ffbb3f;
|
||||
}
|
||||
.lianjieBox{
|
||||
width:100%;
|
||||
display:flex;
|
||||
justify-content: space-between;
|
||||
height: 340px;
|
||||
}
|
||||
|
||||
.lianjieList li span {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 40px;
|
||||
height: 39px;
|
||||
color: #454545;
|
||||
}
|
||||
|
||||
.lianjieList li {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 315px;
|
||||
height: 39px;
|
||||
line-height: 39px;
|
||||
margin-bottom: 17px;
|
||||
margin-right: 13px;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
background-color: #e9f4ff;
|
||||
}
|
||||
.lianjieList li a{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.lianjieList li:hover{
|
||||
background-color: #c2dffd
|
||||
}
|
||||
.lianjieList{
|
||||
width:30%;
|
||||
height:100%;
|
||||
}
|
||||
.map{
|
||||
width:59%;
|
||||
max-height: 340px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.map li{
|
||||
width:100%;
|
||||
height:100%;
|
||||
position: relative;
|
||||
}
|
||||
.map li a{
|
||||
width: 33px;
|
||||
height: 28px;
|
||||
position: absolute; /* 设置定位元素为绝对定位 */
|
||||
top: 50%; /* 垂直居中 */
|
||||
left: 50%; /* 水平居中 */
|
||||
transform: translate(-50%, -50%); /* 移动元素到中心点 */
|
||||
font-size: 16px; /* 设置文本大小 */
|
||||
color: #593f2f; /* 设置文本颜色 */
|
||||
font-weight: bold;
|
||||
}
|
||||
.map li a img{
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.map li a img:hover{
|
||||
transform: translateY(-5%);
|
||||
}
|
||||
.map .font1{
|
||||
top: 58%;
|
||||
left: 52%;
|
||||
}
|
||||
.map .font2{
|
||||
top: 37%;
|
||||
left: 49%;
|
||||
}
|
||||
.map .font3{
|
||||
top: 53%;
|
||||
left: 44%;
|
||||
}
|
||||
.map .font4{
|
||||
top: 36%;
|
||||
left: 61%;
|
||||
}
|
||||
.map .lantie{
|
||||
width:30px;
|
||||
height:28px;
|
||||
}
|
||||
.map .wutie{
|
||||
width:30px;
|
||||
height:28px;
|
||||
}
|
||||
.map .xitie{
|
||||
width:30px;
|
||||
height:28px;
|
||||
}
|
||||
.map .yintie{
|
||||
width:30px;
|
||||
height:28px;
|
||||
}
|
||||
.sliderA{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
height: 42px;
|
||||
box-sizing: border-box;
|
||||
background-color: rgba(0, 61, 131,0.9);
|
||||
line-height: 25px;
|
||||
font-size: 18px;
|
||||
color: white;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.sliderA:hover{
|
||||
color: #ffbb3f;
|
||||
}
|
||||
.notice{
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
margin: 54px auto 22px;
|
||||
overflow: hidden;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
.notice a{
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.notice__inner{
|
||||
animation: roll 36s linear infinite;
|
||||
margin-top: 0
|
||||
}
|
||||
.notice__item{
|
||||
font-size: 38px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
padding: 0 12px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
|
||||
.xuanchuanImage {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.xuanchuanImage .slide {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: opacity 2s ease-in-out;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.xuanchuanImage .active {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.xuanchuanImage img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.first {
|
||||
/* 第一个元素的样式 */
|
||||
background-color: #0558b0 !important;
|
||||
height: 48px !important;
|
||||
line-height: 48px !important;
|
||||
}
|
||||
|
||||
.second {
|
||||
/* 第二个元素的样式 */
|
||||
background-color: #0558b0 !important;
|
||||
}
|
||||
|
||||
.third {
|
||||
/* 第三个元素的样式 */
|
||||
background-color: #0558b0 !important;
|
||||
}
|
||||
.firstLi a{
|
||||
font-size: 24px !important;
|
||||
height: 30px !important;
|
||||
vertical-align: -7px !important;
|
||||
font-weight: 700;
|
||||
}
|
||||
.secondLi a{
|
||||
font-size: 21px !important;
|
||||
height: 30px !important;
|
||||
vertical-align: -7px !important;
|
||||
font-weight: 400;
|
||||
}
|
||||
.thirdLi a{
|
||||
font-size: 16px !important;
|
||||
height: 30px !important;
|
||||
vertical-align: -7px !important;
|
||||
}
|
||||
|
||||
#ad {
|
||||
font-weight: bold;
|
||||
position: fixed;
|
||||
display: flex;
|
||||
width: 250px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999;
|
||||
}
|
||||
#ad span{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 32px;
|
||||
color: white;
|
||||
cursor:pointer;
|
||||
}
|
||||
#ad {
|
||||
-webkit-animation: rotate 5s linear infinite;
|
||||
-moz-animation: rotate 5s linear infinite;
|
||||
-o-animation: rotate 5s linear infinite;
|
||||
animation: rotate 5s linear infinite;
|
||||
}
|
||||
.systemBg{
|
||||
background: url(/home/base/down.png) no-repeat;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
background-position-y: bottom;
|
||||
background-position-x: center;
|
||||
text-align: center;
|
||||
font-size: 21px;
|
||||
font-weight: bold;
|
||||
color: #0b61d3;
|
||||
font-family: layui-icon!important;
|
||||
}
|
||||
|
||||
.layui-carousel-ind {
|
||||
/* 轮播的样式 */
|
||||
top: -31px;
|
||||
text-align: right;
|
||||
}
|
||||
.layui-carousel-ind ul {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
Before Width: | Height: | Size: 473 KiB After Width: | Height: | Size: 320 KiB |
After Width: | Height: | Size: 324 KiB |
After Width: | Height: | Size: 204 KiB |
After Width: | Height: | Size: 474 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 119 KiB |
After Width: | Height: | Size: 189 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 422 KiB |
After Width: | Height: | Size: 438 KiB |
After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 3.4 KiB |