2021-10-21 以前修改的功能
This commit is contained in:
parent
f25c7d5d2c
commit
d8b4142c2b
@ -4,6 +4,7 @@ import com.tenlion.twoduty.pojo.dtos.articletype.ArticleTypeDTO;
|
||||
import com.tenlion.twoduty.service.articletype.IArticleTypeService;
|
||||
import ink.wgink.annotation.CheckRequestBodyAnnotation;
|
||||
import ink.wgink.common.base.DefaultBaseController;
|
||||
import ink.wgink.common.component.SecurityComponent;
|
||||
import ink.wgink.exceptions.ParamsException;
|
||||
import ink.wgink.interfaces.consts.ISystemConstant;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
@ -40,6 +41,8 @@ public class ArticleContentController extends DefaultBaseController {
|
||||
private IArticleContentService articleContentService;
|
||||
@Autowired
|
||||
private IArticleTypeService articleTypeService;
|
||||
@Autowired
|
||||
private SecurityComponent securityComponent;
|
||||
|
||||
|
||||
|
||||
@ -183,6 +186,7 @@ public class ArticleContentController extends DefaultBaseController {
|
||||
@GetMapping("listpage")
|
||||
public SuccessResultList<List<ArticleContentDTO>> listPage(ListPage page) {
|
||||
Map<String, Object> params = requestParams();
|
||||
params.put("creator",securityComponent.getCurrentUser().getUserId());
|
||||
page.setParams(params);
|
||||
return articleContentService.listPage(page);
|
||||
}
|
||||
|
@ -10,8 +10,10 @@ import ink.wgink.common.component.SecurityComponent;
|
||||
import ink.wgink.interfaces.consts.ISystemConstant;
|
||||
import ink.wgink.interfaces.department.IDepartmentBaseService;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.dtos.department.DepartmentSimpleDTO;
|
||||
import ink.wgink.pojo.dtos.department.DepartmentUserDTO;
|
||||
import ink.wgink.pojo.dtos.role.RoleDTO;
|
||||
import ink.wgink.pojo.dtos.role.RoleSimpleDTO;
|
||||
import ink.wgink.pojo.dtos.user.UserDTO;
|
||||
import ink.wgink.pojo.pos.DepartmentPO;
|
||||
import ink.wgink.pojo.pos.PositionPO;
|
||||
@ -97,19 +99,19 @@ public class DepartmentBaseController extends DefaultBaseController {
|
||||
public List<Map<String,Object>> listJur(){
|
||||
List<DepartmentPO> list = new ArrayList<>();
|
||||
List<Map<String,Object>> resultList = new ArrayList<>();
|
||||
List<RolePO> roles = securityComponent.getCurrentUser().getRoles();
|
||||
List<RoleSimpleDTO> roles = securityComponent.getCurrentUser().getRoles();
|
||||
if("admin".equals(securityComponent.getCurrentUser().getUserUsername())){
|
||||
list = departmentBaseService.listByParentId(GENGID);
|
||||
list = departmentBaseService.listPOByParentId(GENGID);
|
||||
}else{
|
||||
for (RolePO role : roles) {
|
||||
for (RoleSimpleDTO role : roles) {
|
||||
//市局角色
|
||||
if(ROLE_1_CODE.equals(role.getRoleCode())){
|
||||
list = departmentBaseService.listByParentId(GENGID);
|
||||
list = departmentBaseService.listPOByParentId(GENGID);
|
||||
break;
|
||||
}
|
||||
//旗县区角色
|
||||
if(ROLE_2_CODE.equals(role.getRoleCode())){
|
||||
for (DepartmentPO department : securityComponent.getCurrentUser().getDepartments()) {
|
||||
for (DepartmentSimpleDTO department : securityComponent.getCurrentUser().getDepartments()) {
|
||||
DepartmentPO po = departmentBaseService.getPO(department.getDepartmentId());
|
||||
if(po != null){
|
||||
list.add(po);
|
||||
|
@ -6,6 +6,7 @@ import ink.wgink.common.component.SecurityComponent;
|
||||
import ink.wgink.exceptions.SearchException;
|
||||
import ink.wgink.interfaces.consts.ISystemConstant;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.dtos.department.DepartmentSimpleDTO;
|
||||
import ink.wgink.pojo.pos.DepartmentPO;
|
||||
import ink.wgink.pojo.result.ErrorResult;
|
||||
import ink.wgink.pojo.result.SuccessResult;
|
||||
@ -104,7 +105,7 @@ public class DepartmentMemberController extends DefaultBaseController {
|
||||
public SuccessResultList<List<DepartmentMemberDTO>> listPage(ListPage page) {
|
||||
Map<String, Object> params = requestParams();
|
||||
page.setParams(params);
|
||||
List<DepartmentPO> departments = securityComponent.getCurrentUser().getDepartments();
|
||||
List<DepartmentSimpleDTO> departments = securityComponent.getCurrentUser().getDepartments();
|
||||
if(departments.size() != 0){
|
||||
//这块根据功能需要只能取第一个单位id
|
||||
params.put("departmentId",departments.get(0).getDepartmentId());
|
||||
@ -143,7 +144,7 @@ public class DepartmentMemberController extends DefaultBaseController {
|
||||
@GetMapping("count")
|
||||
SuccessResultData<Integer> count() {
|
||||
Map<String, Object> params = requestParams();
|
||||
List<DepartmentPO> departments = securityComponent.getCurrentUser().getDepartments();
|
||||
List<DepartmentSimpleDTO> departments = securityComponent.getCurrentUser().getDepartments();
|
||||
if(departments.size() != 0){
|
||||
//这块根据功能需要只能取第一个单位id
|
||||
params.put("departmentId",departments.get(0).getDepartmentId());
|
||||
|
@ -6,6 +6,7 @@ import ink.wgink.common.component.SecurityComponent;
|
||||
import ink.wgink.exceptions.SearchException;
|
||||
import ink.wgink.interfaces.consts.ISystemConstant;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.dtos.department.DepartmentSimpleDTO;
|
||||
import ink.wgink.pojo.pos.DepartmentPO;
|
||||
import ink.wgink.pojo.result.ErrorResult;
|
||||
import ink.wgink.pojo.result.SuccessResult;
|
||||
@ -47,7 +48,7 @@ public class DepartmentSynopsisController extends DefaultBaseController {
|
||||
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||
@GetMapping("get-now-department")
|
||||
public DepartmentSynopsisDTO getNowDepartment() {
|
||||
List<DepartmentPO> departments = securityComponent.getCurrentUser().getDepartments();
|
||||
List<DepartmentSimpleDTO> departments = securityComponent.getCurrentUser().getDepartments();
|
||||
if(departments.size() == 0){
|
||||
throw new SearchException("未绑定部门");
|
||||
}
|
||||
|
@ -5,8 +5,8 @@ import ink.wgink.common.base.DefaultBaseController;
|
||||
import ink.wgink.common.component.SecurityComponent;
|
||||
import ink.wgink.interfaces.consts.ISystemConstant;
|
||||
import ink.wgink.pojo.bos.UserInfoBO;
|
||||
import ink.wgink.pojo.pos.DepartmentPO;
|
||||
import ink.wgink.pojo.pos.RolePO;
|
||||
import ink.wgink.pojo.dtos.department.DepartmentSimpleDTO;
|
||||
import ink.wgink.pojo.dtos.role.RoleSimpleDTO;
|
||||
import ink.wgink.properties.ServerProperties;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
@ -16,13 +16,12 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*
|
||||
* @version 1.0
|
||||
* @author LY
|
||||
* @date 2021/4/13 15:40
|
||||
@ -62,12 +61,12 @@ public class indexWebController extends DefaultBaseController {
|
||||
@GetMapping("indexcount")
|
||||
public ModelAndView indexCount(){
|
||||
ModelAndView mv = new ModelAndView();
|
||||
List<RolePO> roles = securityComponent.getCurrentUser().getRoles();
|
||||
List<RoleSimpleDTO> roles = securityComponent.getCurrentUser().getRoles();
|
||||
if(roles.size() == 0){
|
||||
mv.setViewName("default-home");
|
||||
return mv;
|
||||
}
|
||||
for (RolePO role : roles) {
|
||||
for (RoleSimpleDTO role : roles) {
|
||||
if(ROLE_CODE_1.equals(role.getRoleCode())){
|
||||
mv.setViewName("default-home");
|
||||
//mv.setViewName("count_role_1");
|
||||
@ -91,7 +90,7 @@ public class indexWebController extends DefaultBaseController {
|
||||
}
|
||||
|
||||
public String initDepartmentId(UserInfoBO currentUser){
|
||||
List<DepartmentPO> departments = currentUser.getDepartments();
|
||||
List<DepartmentSimpleDTO> departments = currentUser.getDepartments();
|
||||
if(departments.size() == 0){
|
||||
return "0";
|
||||
}
|
||||
|
@ -3,6 +3,7 @@ package com.tenlion.twoduty.service.departmentmember.impl;
|
||||
import ink.wgink.common.base.DefaultBaseService;
|
||||
import ink.wgink.exceptions.SaveException;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.dtos.department.DepartmentSimpleDTO;
|
||||
import ink.wgink.pojo.pos.DepartmentPO;
|
||||
import ink.wgink.pojo.result.SuccessResult;
|
||||
import ink.wgink.pojo.result.SuccessResultList;
|
||||
@ -47,7 +48,7 @@ public class DepartmentMemberServiceImpl extends DefaultBaseService implements I
|
||||
|
||||
@Override
|
||||
public String saveReturnId(DepartmentMemberVO departmentMemberVO) {
|
||||
List<DepartmentPO> departments = securityComponent.getCurrentUser().getDepartments();
|
||||
List<DepartmentSimpleDTO> departments = securityComponent.getCurrentUser().getDepartments();
|
||||
if(departments.size() == 0){
|
||||
throw new SaveException("请绑定单位");
|
||||
}
|
||||
|
@ -20,6 +20,13 @@ import java.util.Map;
|
||||
**/
|
||||
public interface IIndexAuditService {
|
||||
|
||||
/**
|
||||
* 根据业务ID获取
|
||||
* @param bId
|
||||
* @return
|
||||
*/
|
||||
IndexAuditDTO getByBId(String bId);
|
||||
|
||||
/**
|
||||
* 用戶当月456上报统计
|
||||
* @return
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.tenlion.twoduty.service.indexaudit.impl;
|
||||
|
||||
import com.tenlion.twoduty.pojo.dtos.indexgeneral.IndexGeneralDTO;
|
||||
import com.tenlion.twoduty.pojo.dtos.indexlib.IndexLibDTO;
|
||||
import com.tenlion.twoduty.pojo.dtos.indextemplate.IndexTemplateDTO;
|
||||
import com.tenlion.twoduty.pojo.vos.indexaudit.AuditVO;
|
||||
@ -10,10 +11,12 @@ import com.tenlion.twoduty.service.indextemplate.IIndexTemplateService;
|
||||
import com.tenlion.twoduty.utils.AuditStatusEnum;
|
||||
import ink.wgink.common.base.DefaultBaseService;
|
||||
import ink.wgink.exceptions.SearchException;
|
||||
import ink.wgink.exceptions.UpdateException;
|
||||
import ink.wgink.interfaces.user.IUserBaseService;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.bos.UserInfoBO;
|
||||
import ink.wgink.pojo.dtos.role.RoleDTO;
|
||||
import ink.wgink.pojo.dtos.role.RoleSimpleDTO;
|
||||
import ink.wgink.pojo.dtos.user.UserDTO;
|
||||
import ink.wgink.pojo.pos.RolePO;
|
||||
import ink.wgink.pojo.result.SuccessResult;
|
||||
@ -218,16 +221,22 @@ public class IndexAuditServiceImpl extends DefaultBaseService implements IIndexA
|
||||
|
||||
|
||||
public void updateByBId(String bId,String bTitle){
|
||||
IndexAuditDTO byBId = this.getByBId(bId);
|
||||
if(byBId == null){
|
||||
throw new SearchException("系统异常");
|
||||
}
|
||||
if(byBId.getIndexAuditStatus().toString().equals(AuditStatusEnum.WAIT.getAuditStatus())){
|
||||
throw new UpdateException("该内容已审核通过,不能修改内容");
|
||||
}
|
||||
if(byBId.getIndexAuditStatus().toString().equals(AuditStatusEnum.PASS.getAuditStatus())){
|
||||
throw new UpdateException("审核已归档,不能修改内容");
|
||||
}
|
||||
|
||||
Map<String, Object> params = new HashMap<>(4);
|
||||
params.put("indexAuditStatus",AuditStatusEnum.NORMAL.getAuditStatus());
|
||||
params.put("indexBId",bId);
|
||||
params.put("indexBTitle",bTitle);
|
||||
indexAuditDao.updateByBId(params);
|
||||
|
||||
IndexAuditDTO byBId = this.getByBId(bId);
|
||||
if(byBId == null){
|
||||
throw new SearchException("系统异常");
|
||||
}
|
||||
//新增上报日志
|
||||
this.saveAuditLog(byBId.getIndexAuditId(),"00","重新上报指标");
|
||||
}
|
||||
@ -325,8 +334,8 @@ public class IndexAuditServiceImpl extends DefaultBaseService implements IIndexA
|
||||
public void setAuth(Map<String,Object> params){
|
||||
Object departmentId = params.get("departmentId");
|
||||
UserInfoBO currentUser = securityComponent.getCurrentUser();
|
||||
List<RolePO> roles = currentUser.getRoles();
|
||||
for (RolePO role : roles) {
|
||||
List<RoleSimpleDTO> roles = currentUser.getRoles();
|
||||
for (RoleSimpleDTO role : roles) {
|
||||
if(ROLE_CODE_1.equals(role.getRoleCode())){
|
||||
if(departmentId != null && !StringUtils.isBlank(departmentId.toString())){
|
||||
List<String> strings = departmentUserService.listUserId(departmentId.toString());
|
||||
@ -346,8 +355,8 @@ public class IndexAuditServiceImpl extends DefaultBaseService implements IIndexA
|
||||
public List<String> setButton(){
|
||||
List<String> list = new ArrayList<>(6);
|
||||
UserInfoBO currentUser = securityComponent.getCurrentUser();
|
||||
List<RolePO> roles = currentUser.getRoles();
|
||||
for (RolePO role : roles) {
|
||||
List<RoleSimpleDTO> roles = currentUser.getRoles();
|
||||
for (RoleSimpleDTO role : roles) {
|
||||
if(ROLE_CODE_1.equals(role.getRoleCode())){
|
||||
list.add("1");//审核按钮
|
||||
list.add("2");//归档按钮
|
||||
|
@ -7,6 +7,7 @@ import com.tenlion.twoduty.service.indexauditlog.IIndexAuditLogService;
|
||||
import com.tenlion.twoduty.utils.AuditStatusEnum;
|
||||
import ink.wgink.common.base.DefaultBaseService;
|
||||
import ink.wgink.common.component.SecurityComponent;
|
||||
import ink.wgink.exceptions.UpdateException;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.result.SuccessResult;
|
||||
import ink.wgink.pojo.result.SuccessResultList;
|
||||
@ -133,6 +134,9 @@ public class IndexGeneralServiceImpl extends DefaultBaseService implements IInde
|
||||
this.updateAudit(indexGeneralId,indexGeneralVO.getIndexGeneralTitle());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public IndexGeneralDTO get(Map<String, Object> params) {
|
||||
return indexGeneralDao.get(params);
|
||||
|
@ -9,6 +9,7 @@ import ink.wgink.common.component.SecurityComponent;
|
||||
import ink.wgink.exceptions.ParamsException;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.bos.UserInfoBO;
|
||||
import ink.wgink.pojo.dtos.role.RoleSimpleDTO;
|
||||
import ink.wgink.pojo.pos.RolePO;
|
||||
import ink.wgink.pojo.result.SuccessResult;
|
||||
import ink.wgink.pojo.result.SuccessResultList;
|
||||
@ -309,11 +310,11 @@ public class IndexLibServiceImpl extends DefaultBaseService implements IIndexLib
|
||||
|
||||
public List<String> initWebButton(){
|
||||
List<String> list = new ArrayList<>();
|
||||
List<RolePO> roles = securityComponent.getCurrentUser().getRoles();
|
||||
List<RoleSimpleDTO> roles = securityComponent.getCurrentUser().getRoles();
|
||||
if(roles.size() == 0){
|
||||
return list;
|
||||
}
|
||||
for (RolePO role : roles) {
|
||||
for (RoleSimpleDTO role : roles) {
|
||||
if(ROLE_CODE_2.equals(role.getRoleCode())){
|
||||
list.add("1");
|
||||
list.add("2");
|
||||
|
@ -318,6 +318,10 @@
|
||||
<if test="articleClassifyId != null and articleClassifyId != ''">
|
||||
AND
|
||||
t1.article_classify_id = #{articleClassifyId}
|
||||
</if>
|
||||
<if test="creator != null and creator != ''">
|
||||
AND
|
||||
t1.creator = #{creator}
|
||||
</if>
|
||||
<if test="articleContentIsPublish != null">
|
||||
AND
|
||||
|
@ -1,23 +1,26 @@
|
||||
.header{width:100%;height:550px;min-width:1200px;position:relative;background:url(../images/header-bg-2.png) no-repeat center;background-size:1920px 100%}
|
||||
.date{overflow:hidden;width:1200px;margin:0 auto;height:40px;line-height:40px;font-size:12px;color:#000}
|
||||
.header{width:100%;height:550px;min-width:1200px;position:relative;background:url(../images/header-bg-7.png) no-repeat center;background-size:1920px 100%}
|
||||
.date-outer{background:rgba(255,255,255,0.6)}
|
||||
.date{overflow:hidden;width:1200px;margin:0 auto;height:40px;line-height:40px;font-size:15px;color:#000}
|
||||
.date span{color:#b09158}
|
||||
.day{float:left;}
|
||||
.weather{float:right;}
|
||||
.weather img{margin-left: 10px;width: 20px;height: 20px;vertical-align: middle;margin-top:-3px}
|
||||
.logo-nav{padding:10px 0;background:rgba(255,255,255,.6)}
|
||||
.logo-nav{position:absolute;bottom:50px;left:0;right:0;background:linear-gradient(to bottom, #c21300, #a90600)}
|
||||
.logo-nav-content{width:1200px;margin:0 auto}
|
||||
.logo-nav-content:after,.nav ul:after{content:'';display:block;clear:both}
|
||||
.logo-nav .logo{float:left;cursor:pointer}
|
||||
.nav{float:left;margin-left:140px}
|
||||
.nav ul{margin-top:10px}
|
||||
.nav ul li{float:left;border-right:1px solid #bb1511;position:relative}
|
||||
/*.nav{float:left;margin-left:140px}*/
|
||||
/*.nav ul{margin-top:10px}*/
|
||||
.nav ul li{float:left;position:relative;width:14%;height:40px;line-height: 40px;}
|
||||
.nav ul li:after{content: '';display:block;width: 1px;height:20px;position: absolute;right:0;top:50%;margin-top:-10px;background:#bb1511}
|
||||
.nav ul li:last-child{border-right:none}
|
||||
.nav ul li>a,.nav ul li>span{display:block;padding:0 15px;color:#bb1511;position:relative;cursor: pointer}
|
||||
.child{display:none;position:absolute;left:0;top:100%;width:100%;padding:10px;background:rgba(255,255,255,.6);box-sizing:border-box}
|
||||
.nav ul li>a,.nav ul li>span{color:#fff;display:block;padding:0 15px;position:relative;cursor: pointer;text-align: center;font-size: 20px}
|
||||
.child{z-index:100;display:none;position:absolute;left:0;top:100%;width:100%;padding:10px;background:rgba(255,255,255,.6);box-sizing:border-box}
|
||||
.nav ul li:hover .child{display:block}
|
||||
.child span, .child a{display:block;text-align:center;color:#000;font-size:18px;line-height:25px;cursor:pointer;font-weight:400}
|
||||
.child span:hover,.nav ul li>a:hover{color:#bb1511;font-weight:700}
|
||||
.news{width:1200px;margin:50px auto 0}
|
||||
.child span, .child a{display:block;text-align:center;color:#000;font-size:18px;line-height:35px;cursor:pointer;font-weight:400;border-bottom: 1px solid #eee;}
|
||||
.child span:last-child, .child a:last-child{border-bottom: 0}
|
||||
.child span:hover,.nav ul li>a:hover{font-weight:700}
|
||||
.news{width:1200px;margin:0 auto;position: relative;}
|
||||
.head-news{text-align:center}
|
||||
.head-news a{display:block;font-weight:bold;font-size:40px;color:#ce0c0d;height:47px;line-height:47px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:20px}
|
||||
.head-news h3 img{width:105px;height:47px}
|
||||
@ -28,15 +31,16 @@
|
||||
.title-line{width:900px;height:10px;background:url(../images/news-line-r.png) no-repeat center;background-size:100% 100%;float:left;margin:18px 0 0 25px}
|
||||
.news-box-title a{float:right;color:#b50100;margin-top:10px}
|
||||
.news-slide{overflow:hidden;margin-top:30px}
|
||||
.news-left{width:515px;float:left}
|
||||
.news-left ul li{padding:15px 0 15px;border-bottom:1px dashed #dcdcdc}
|
||||
.news-left ul li a{display:block;padding-left:15px;position:relative;font-size:18px;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
||||
.news-left ul li a:hover{color:#b50100;}
|
||||
.news-left ul li a:after{content:'';display:block;width:4px;height:4px;background:#000;border-radius:50%;position:absolute;top:50%;left:0;transform:translate(0,-50%)}
|
||||
.news-left ul li p{font-size:18px;color:#000;line-height:25px}
|
||||
.news-left ul li:first-child a{font-size:20px;color:#000;font-weight:700;border-left:4px solid #b09158;padding-left:10px}
|
||||
.news-left ul li:first-child a:after{display:none}
|
||||
.news-right{width:540px;float:right;position:relative}
|
||||
.news-left{width:600px;height:311px;float:left;background: #015ab8;border: 3px solid #015ab8}
|
||||
/*.news-left ul{line-height: 100%}*/
|
||||
.news-left ul li{padding:15px 0 15px;border-bottom:1px solid #dcdcdc;line-height: 37px}
|
||||
.news-left ul li a{display:block;text-align:center;position:relative;font-size:22px;color: #ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
||||
/*.news-left ul li a:hover{color:#b50100;}*/
|
||||
/*.news-left ul li a:after{content:'';display:block;width:4px;height:4px;background:#000;border-radius:50%;position:absolute;top:50%;left:0;transform:translate(0,-50%)}*/
|
||||
.news-left ul li p{height:37px;font-size:18px;color: #ffffff;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
||||
/*.news-left ul li:first-child a{font-size:20px;color:#000;font-weight:700;border-left:4px solid #b09158;padding-left:10px}*/
|
||||
/*.news-left ul li:first-child a:after{display:none}*/
|
||||
.news-right{width:540px;float:right;position:relative;border: 5px solid #a90403}
|
||||
.news-right .bd a{display:block;position:relative}
|
||||
.news-right .bd a img{width:540px;height:305px}
|
||||
.news-right .bd a p{position:absolute;left:0;right:0;bottom:0;padding:0 100px 0 10px;background:rgba(0,0,0,.6);line-height:35px;color:#fff;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
|
||||
@ -52,21 +56,22 @@
|
||||
.three-box-title a{line-height:28px;float:right;color:#999}
|
||||
.three-box-list{margin-top:15px;overflow: hidden}
|
||||
.three-box-list ul{height:140px;overflow-y: scroll;width:110%;}
|
||||
.three-box-list ul li a{display:block;line-height:35px;font-size:18px;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;padding-left:20px}
|
||||
.three-box-list ul li a{font-family:'黑体';display:block;line-height:35px;font-size:18px;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;padding-left:20px}
|
||||
.three-box-list ul li a:after{content:'';display:block;width:8px;height:8px;background:#d60000;border-radius:50%;position:absolute;left:0;top:50%;transform:translate(0,-50%)}
|
||||
.three-box-list ul li a:hover{color:#d60000}
|
||||
.street{margin-top:30px;padding:25px 0 85px;background:url(../images/street-bg.png) no-repeat center;background-size:100% 100%}
|
||||
.street-content{width:1200px;margin:0 auto}
|
||||
.street-title{margin-bottom:15px;background:url(../images/news-line-w.png) no-repeat right center;background-size:80% 10px}
|
||||
.street-list ul{overflow:hidden}
|
||||
.street-list ul li{float:left;width:23.5%;margin-right:2%;margin-bottom:18px}
|
||||
.street-content{width:1200px;margin:30px auto 0;}
|
||||
.street-title{margin-bottom:30px;background:url(../images/news-line-w.png) no-repeat right center;background-size:80% 10px}
|
||||
.street-list ul:after{content:'';display:block;clear: both;}
|
||||
.street-list ul li{float:left;width:23.5%;margin-right:2%;margin-bottom:18px;box-shadow: 0 0 10px #aaa;}
|
||||
.street-list ul li:hover{box-shadow: 0 0 10px #015ab8}
|
||||
.street-list ul li:nth-child(4n){margin-right:0}
|
||||
.street-list ul li span{color:#fff;font-size:18px}
|
||||
.street-img-name{position:relative;margin-top:5px}
|
||||
.street-img-name{position:relative;}
|
||||
.street-img-name,.street-img-name img{width:100%;height:180px}
|
||||
.street-img-name a{display:block;position:relative}
|
||||
.street-img-name p{position:absolute;left:0;right:0;bottom:0;text-align:center;line-height:30px;color:#fff;font-size:18px;background:rgba(0,0,0,.6)}
|
||||
.base{padding:50px 0;background:url(../images/base-bg.png) no-repeat center;background-size:100% 100%}
|
||||
/*.base{padding:50px 0;background:url(../images/base-bg.png) no-repeat center;background-size:100% 100%}*/
|
||||
.base-content{width:1200px;margin:0 auto}
|
||||
.base-title{background:url(../images/news-line-r.png) no-repeat 220px center;background-size:75% 10px}
|
||||
.base-title a{float:right;font-size:18px;color:#b50100;line-height:40px}
|
||||
@ -74,7 +79,7 @@
|
||||
.base-news-left{width:49.5%;float:left;border:5px solid #a90403;box-sizing:border-box;position: relative}
|
||||
.base-news-left a{display:block}
|
||||
.base-news-left img{height:330px;width:100%}
|
||||
.base-news-left .hd{position: absolute;bottom: 10px;left:50%;transform: translate(-50%,0)}
|
||||
.base-news-left .hd{position: absolute;bottom: 12px;right:0;/*transform: translate(-50%,0)*/}
|
||||
.base-news-left .hd li{float: left;width: 10px;height: 10px;border-radius: 50%;cursor: pointer;background: #fff;margin-right: 5px;}
|
||||
.base-news-left .hd li.on{background: #015ab8}
|
||||
.base-news-right{width:49.5%;height:340px;float:right;padding:15px;border:1px solid #dcdcdc;background:rgba(247,243,240,.6);box-sizing:border-box}
|
||||
@ -93,7 +98,9 @@
|
||||
|
||||
|
||||
/*-------二级页面--------*/
|
||||
.child-header{background:url(../images/child-header.jpg) no-repeat center;background-size:1920px 100%}
|
||||
.page-main{width:1200px;margin: 0 auto 20px;box-shadow: 0 0 10px #eee;padding: 0 20px 20px;overflow:hidden;}
|
||||
.child-nav ul li{width: 16.6666%}
|
||||
.child-header{background:url(../images/header-bg-7.png) no-repeat center;background-size:1920px 100%}
|
||||
.child-header .date{color:#fff}
|
||||
.page-container{width:1200px;margin:20px auto;}
|
||||
.page-container:after{content:'';display:block;clear:both}
|
||||
|
@ -136,6 +136,9 @@
|
||||
}
|
||||
rowData +='<button type="button" class="layui-btn layui-btn-xs" lay-event="show">详情</button>';
|
||||
rowData +='<button type="button" class="layui-btn layui-btn-normal layui-btn-xs" lay-event="log">日志</button>';
|
||||
if(buttonIsShow.indexOf("1") == -1){
|
||||
rowData +='<button type="button" class="layui-btn layui-btn-xs" lay-event="update">修改</button>';
|
||||
}
|
||||
if(buttonIsShow.indexOf("1") > -1) {
|
||||
rowData += '<button type="button" class="layui-btn layui-btn-danger layui-btn-xs" lay-event="remove">删除</button>';
|
||||
}
|
||||
@ -246,6 +249,19 @@
|
||||
});
|
||||
}else if(layEvent === 'remove'){
|
||||
removeData(data.indexAuditId)
|
||||
}else if(layEvent === 'update'){
|
||||
var indexBId = data.indexBId
|
||||
var indexBTitle = data.indexBTitle
|
||||
var loadLayerIndex;
|
||||
top.restAjax.get(top.restAjax.path('api/indexaudit/getAuditIndexConfig/{indexAuditId}', [data.indexAuditId]), {}, null, function(code, data) {
|
||||
show(data.indexTemplateUploadPath+indexBId,indexBTitle);
|
||||
}, function(code, data) {
|
||||
top.dialog.msg(data.msg);
|
||||
}, function() {
|
||||
loadLayerIndex = top.dialog.msg(top.dataMessage.loading, {icon: 16, time: 0, shade: 0.3});
|
||||
}, function() {
|
||||
top.dialog.close(loadLayerIndex);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -10,9 +10,9 @@
|
||||
<body style="background: #f5f5f5">
|
||||
<div id="app">
|
||||
<div class="header assessment-header">
|
||||
<div class="banner">
|
||||
<!--<div class="banner">
|
||||
<img src="assets/web/images/assessment-banner1.png" alt="">
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="nav">
|
||||
<ul class="clearFloat">
|
||||
<li>
|
||||
|
@ -11,24 +11,26 @@
|
||||
<body style="background: #f5f5f5">
|
||||
<div id="app">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<!--<div class="logo">
|
||||
<a href="indexweb">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav">
|
||||
</div>-->
|
||||
<div class="nav child-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
@ -55,13 +57,7 @@
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <span th:text="${userParams.userName}"></span>-->
|
||||
<!-- <div class="child">-->
|
||||
<!-- <a href="default-main">后台</a>-->
|
||||
<!-- <a href="oauth/logout">退出</a>-->
|
||||
<!-- </div>-->
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,24 +11,26 @@
|
||||
<body style="background: #f4f4f4">
|
||||
<div id="app">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<!-- <div class="logo">
|
||||
<a href="indexweb">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav">
|
||||
</div>-->
|
||||
<div class="nav child-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
@ -55,9 +57,6 @@
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a href="javascript: void(0);">管理员账户</a>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,24 +11,26 @@
|
||||
<body style="background: #f4f4f4">
|
||||
<div id="app">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<!-- <div class="logo">
|
||||
<a href="indexweb">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav">
|
||||
</div>-->
|
||||
<div class="nav child-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
@ -55,9 +57,6 @@
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a href="javascript: void(0);">管理员账户</a>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,9 +10,9 @@
|
||||
<body style="background: #f5f5f5">
|
||||
<div id="app">
|
||||
<div class="header assessment-header">
|
||||
<div class="banner">
|
||||
<!--<div class="banner">
|
||||
<img src="assets/web/images/assessment-banner1.png" alt="">
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="nav child">
|
||||
<ul class="clearFloat" v-cloak>
|
||||
<li>
|
||||
|
@ -10,24 +10,26 @@
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<!-- <div class="logo">
|
||||
<a href="indexweb">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav">
|
||||
</div>-->
|
||||
<div class="nav child-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
@ -54,9 +56,6 @@
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <span th:text="${userParams.userName}"></span>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -119,7 +118,7 @@
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
版权所有:沧州纪委监察局 备案号:冀ICP备 14000612 技术支持:山西腾狮科技有限公司
|
||||
版权所有:沧州市运河区纪律检查委员会
|
||||
</div>
|
||||
|
||||
<div class="loading" v-if="isLoading">
|
||||
|
@ -10,24 +10,26 @@
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<!--<div class="logo">
|
||||
<a href="indexweb">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav">
|
||||
</div>-->
|
||||
<div class="nav child-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
@ -54,9 +56,6 @@
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a href="javascript: void(0);">管理员账户</a>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -114,7 +113,7 @@
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
版权所有:沧州纪委监察局 备案号:冀ICP备 14000612 技术支持:山西腾狮科技有限公司
|
||||
版权所有:沧州市运河区纪律检查委员会
|
||||
</div>
|
||||
|
||||
<div class="loading" v-if="isLoading">
|
||||
|
@ -10,9 +10,9 @@
|
||||
<body style="background: #f5f5f5">
|
||||
<div id="app">
|
||||
<div class="header assessment-header">
|
||||
<div class="banner">
|
||||
<!-- <div class="banner">
|
||||
<img src="assets/web/images/assessment-banner1.png" alt="">
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="nav child">
|
||||
<ul class="clearFloat" v-cloak>
|
||||
<li>
|
||||
|
@ -11,24 +11,26 @@
|
||||
<body style="background: #f5f5f5">
|
||||
<div id="app">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<!-- <div class="logo">
|
||||
<a href="indexweb">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav">
|
||||
</div>-->
|
||||
<div class="nav child-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
@ -55,9 +57,6 @@
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a href="javascript: void(0);">管理员账户</a>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,24 +11,26 @@
|
||||
<body style="background: #f5f5f5;">
|
||||
<div id="app">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<!-- <div class="logo">
|
||||
<a href="indexweb">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav">
|
||||
</div>-->
|
||||
<div class="nav child-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
@ -55,9 +57,6 @@
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a href="javascript: void(0);">管理员账户</a>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,24 +11,26 @@
|
||||
<body style="background: #f4f4f4">
|
||||
<div id="app">
|
||||
<div class="header child-header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<!-- <div class="logo">
|
||||
<a href="indexweb">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav">
|
||||
</div>-->
|
||||
<div class="nav child-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="indexweb">首页</a>
|
||||
@ -55,9 +57,6 @@
|
||||
<li>
|
||||
<a href="route/web/news-list-column.html?pageId=79da7965-1bff-4471-babe-7874474cb418">学习园地</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a href="javascript: void(0);">管理员账户</a>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -398,8 +398,13 @@
|
||||
}
|
||||
},
|
||||
photos:function (value,item) {
|
||||
if(value == ''){
|
||||
return '请上传封面图片';
|
||||
if("ed2fae3a-c89d-4a2d-9c4c-defc250f1436" == articleTypeId ||
|
||||
"ccb93228-d911-4384-ad7d-26fda5182105" == articleTypeId
|
||||
)
|
||||
{
|
||||
if(value == ''){
|
||||
return '请上传封面图片';
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -10,21 +10,24 @@
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="header">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
<div class="date-outer">
|
||||
<div class="date">
|
||||
<div class="day" v-cloak>
|
||||
<span>今天是:</span>{{today}}
|
||||
</div>
|
||||
<div class="weather" v-cloak>
|
||||
今天:{{weatherInfo.city}}
|
||||
<img :src="weatherInfo.image" alt="">
|
||||
{{weatherInfo.text}}{{weatherInfo.temperature}}℃
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="logo-nav">
|
||||
<div class="logo-nav-content">
|
||||
<div class="logo">
|
||||
<img src="assets/web/images/logo.png" alt="">
|
||||
</div>
|
||||
<!--<div class="logo">-->
|
||||
<!--<img src="assets/web/images/logo.png" alt="">-->
|
||||
<!--</div>-->
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li>
|
||||
@ -64,104 +67,114 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news">
|
||||
<div class="head-news" v-cloak>
|
||||
<a :href="'route/web/detail.html?contentId=' + headNews.articleContentId" :title="headNews.articleContentTitle">
|
||||
<img src="assets/web/images/head-news.png" alt="">
|
||||
{{headNews.articleContentTitle}}
|
||||
</a>
|
||||
<p>{{headNews.articleContentSubTitle}}</p>
|
||||
</div>
|
||||
<div class="news-box">
|
||||
<div class="news-box-title">
|
||||
<div class="news-tile-img">
|
||||
<img src="assets/web/images/news-icon.png" alt="">
|
||||
<div class="title-line"></div>
|
||||
<a href="route/web/news-list.html?pageId=256caf34-c00e-4524-8de6-3803c0a4dff7">更多+</a>
|
||||
<div class="page-main">
|
||||
<div class="news">
|
||||
<!-- <div class="head-news" v-cloak>
|
||||
<a :href="'route/web/detail.html?contentId=' + headNews.articleContentId" :title="headNews.articleContentTitle">
|
||||
<img src="assets/web/images/head-news.png" alt="">
|
||||
{{headNews.articleContentTitle}}
|
||||
</a>
|
||||
<p>{{headNews.articleContentSubTitle}}</p>
|
||||
</div>-->
|
||||
<div class="news-box">
|
||||
<div class="news-box-title">
|
||||
<div class="news-tile-img">
|
||||
<img src="assets/web/images/news-icon.png" alt="">
|
||||
<div class="title-line"></div>
|
||||
<a href="route/web/news-list.html?pageId=256caf34-c00e-4524-8de6-3803c0a4dff7">更多+</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news-slide">
|
||||
<div class="news-left">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in newsList">
|
||||
<a :href="'route/web/detail.html?contentId=' + news.articleContentId" :title="news.articleContentTitle">
|
||||
{{news.articleContentTitle}}
|
||||
</a>
|
||||
<p v-if="idx == 0">{{news.articleContentSubTitle}}</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="news-right">
|
||||
<div class="bd">
|
||||
<div class="news-slide">
|
||||
<div class="news-left">
|
||||
<ul v-cloak>
|
||||
<li v-for="banner in newsBanner">
|
||||
<a :href="'route/web/detail.html?contentId=' + banner.articleContentId" :title="banner.articleContentTitle">
|
||||
<img :src="'route/file/download/true/' + banner.articleContentCoverPhotos" alt="" v-if="banner.articleContentCoverPhotos">
|
||||
<p>{{banner.articleContentTitle}}</p>
|
||||
<li v-for="(news,idx) in newsList">
|
||||
<a :href="'route/web/detail.html?contentId=' + news.articleContentId" :title="news.articleContentTitle">
|
||||
{{news.articleContentTitle}}
|
||||
</a>
|
||||
<!-- v-if="idx == 0"-->
|
||||
<p>{{news.articleContentSubTitle}}</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<li v-for="banner in newsBanner"></li>
|
||||
<div class="news-right">
|
||||
<div class="bd">
|
||||
<ul v-cloak>
|
||||
<li v-for="banner in newsBanner">
|
||||
<a :href="'route/web/detail.html?contentId=' + banner.articleContentId" :title="banner.articleContentTitle">
|
||||
<img :src="'route/file/download/true/' + banner.articleContentCoverPhotos" alt="" v-if="banner.articleContentCoverPhotos">
|
||||
<p>{{banner.articleContentTitle}}</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<li v-for="banner in newsBanner"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three">
|
||||
<div class="news-box-title" style="margin-bottom: 30px">
|
||||
<div class="news-tile-img">
|
||||
<img src="assets/web/images/work-logo.png" alt="">
|
||||
<div class="title-line" style="width:975px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<img src="assets/web/images/work-logo.png" alt="" style="display: block;margin-bottom: 36px">-->
|
||||
<div class="three-box">
|
||||
<div class="three-box-title">
|
||||
<span>四个清单</span>
|
||||
<a href="route/web/public.html?id=6f0ec363-49a9-4174-a48f-290b69495dfc">更多+</a>
|
||||
</div>
|
||||
<div class="three-box-list">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in fourList">
|
||||
<a :href="'route/web/public.html?id=' + news.pId + '&contentId=' + news.id +'&idx=' + idx" :title="news.name">{{news.name}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three-box">
|
||||
<div class="three-box-title">
|
||||
<span>五项流程</span>
|
||||
<a href="route/web/public.html?id=cdd5ffd5-ebd7-4901-afce-f2e98d506c97">更多+</a>
|
||||
</div>
|
||||
<div class="three-box-list">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in fiveStep">
|
||||
<a :href="'route/web/public.html?id=' + news.pId + '&contentId=' + news.id +'&idx=' + idx" :title="news.name">{{news.name}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three-box">
|
||||
<div class="three-box-title">
|
||||
<span>六本台账</span>
|
||||
<a href="route/web/public.html?id=c912f0ff-d1e6-4346-a0cd-c955ea559a0b">更多+</a>
|
||||
</div>
|
||||
<div class="three-box-list">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in sixBook">
|
||||
<a :href="'route/web/public.html?id=' + news.pId + '&contentId=' + news.id +'&idx=' + idx" :title="news.name">{{news.name}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three">
|
||||
<img src="assets/web/images/work-logo.png" alt="" style="display: block;margin-bottom: 36px">
|
||||
<div class="three-box">
|
||||
<div class="three-box-title">
|
||||
<span>四个清单</span>
|
||||
<a href="route/web/public.html?id=6f0ec363-49a9-4174-a48f-290b69495dfc">更多+</a>
|
||||
</div>
|
||||
<div class="three-box-list">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in fourList">
|
||||
<a :href="'route/web/public.html?id=' + news.pId + '&contentId=' + news.id +'&idx=' + idx" :title="news.name">{{news.name}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three-box">
|
||||
<div class="three-box-title">
|
||||
<span>五项流程</span>
|
||||
<a href="route/web/public.html?id=cdd5ffd5-ebd7-4901-afce-f2e98d506c97">更多+</a>
|
||||
</div>
|
||||
<div class="three-box-list">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in fiveStep">
|
||||
<a :href="'route/web/public.html?id=' + news.pId + '&contentId=' + news.id +'&idx=' + idx" :title="news.name">{{news.name}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three-box">
|
||||
<div class="three-box-title">
|
||||
<span>六本台账</span>
|
||||
<a href="route/web/public.html?id=c912f0ff-d1e6-4346-a0cd-c955ea559a0b">更多+</a>
|
||||
</div>
|
||||
<div class="three-box-list">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in sixBook">
|
||||
<a :href="'route/web/public.html?id=' + news.pId + '&contentId=' + news.id +'&idx=' + idx" :title="news.name">{{news.name}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="street">
|
||||
<div class="street-content">
|
||||
<div class="street-title">
|
||||
<img src="assets/web/images/street-logo.png" alt="">
|
||||
<div class="news-box-title" style="margin-bottom: 30px">
|
||||
<div class="news-tile-img">
|
||||
<img src="assets/web/images/street-logo-1.png" alt="">
|
||||
<div class="title-line" style="width:975px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="street-list">
|
||||
<ul v-cloak>
|
||||
<li v-for="(item,idx) in streetList" :title="item.departmentName">
|
||||
<span>0{{idx+1}}/</span>
|
||||
<!-- <span>0{{idx+1}}/</span>-->
|
||||
<div class="street-img-name">
|
||||
<a :href="'route/web/street.html?departmentId=' + item.departmentId">
|
||||
<img src="assets/web/images/header-bg.png" alt="" v-if="!item.departmentPhoto">
|
||||
@ -173,51 +186,52 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="base">
|
||||
<div class="base-content">
|
||||
<div class="base-title">
|
||||
<img src="assets/web/images/base-logo.png" alt="">
|
||||
<a href="route/web/news-list.html?pageId=ccb93228-d911-4384-ad7d-26fda5182105">更多+</a>
|
||||
</div>
|
||||
<div class="base-news">
|
||||
<div class="base-news-left">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<div class="base">
|
||||
<div class="base-content">
|
||||
<div class="base-title">
|
||||
<img src="assets/web/images/base-logo.png" alt="">
|
||||
<a href="route/web/news-list.html?pageId=ccb93228-d911-4384-ad7d-26fda5182105">更多+</a>
|
||||
</div>
|
||||
<div class="base-news">
|
||||
<div class="base-news-left">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li v-for="(news,idx) in baseList">
|
||||
<a :href="'route/web/detail.html?contentId=' + news.articleContentId">
|
||||
<img :src="'route/file/download/true/' + news.articleContentCoverPhotos" alt="">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<li v-for="(news,idx) in baseList"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="base-news-right">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in baseList">
|
||||
<a :href="'route/web/detail.html?contentId=' + news.articleContentId">
|
||||
<img :src="'route/file/download/true/' + news.articleContentCoverPhotos" alt="">
|
||||
<a :href="'route/web/detail.html?contentId=' + news.articleContentId" :title="news.articleContentTitle">
|
||||
<span v-if="idx <= 2">最新</span>
|
||||
{{news.articleContentTitle}}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<li v-for="(news,idx) in baseList"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bottom-nav">
|
||||
<div class="bottom-nav-title">
|
||||
门户导航
|
||||
</div>
|
||||
<div class="bottom-nav-list" v-cloak>
|
||||
<a :href="nav.dataSummary" v-for="nav in bottomNavList" target="_blank">{{nav.dataName}}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="base-news-right">
|
||||
<ul v-cloak>
|
||||
<li v-for="(news,idx) in baseList">
|
||||
<a :href="'route/web/detail.html?contentId=' + news.articleContentId" :title="news.articleContentTitle">
|
||||
<span v-if="idx <= 2">最新</span>
|
||||
{{news.articleContentTitle}}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom-nav">
|
||||
<div class="bottom-nav-title">
|
||||
门户导航
|
||||
</div>
|
||||
<div class="bottom-nav-list" v-cloak>
|
||||
<a :href="nav.dataSummary" v-for="nav in bottomNavList" target="_blank">{{nav.dataName}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
版权所有:沧州市运河区纪律检查委员会
|
||||
</div>
|
||||
@ -319,17 +333,18 @@
|
||||
var self = this
|
||||
var info = {
|
||||
page: 1,
|
||||
rows: 6,
|
||||
rows: 3,
|
||||
articleTypeId: '256caf34-c00e-4524-8de6-3803c0a4dff7'
|
||||
}
|
||||
top.restAjax.get(top.restAjax.path('api/articlecontent/listpage-publish', []), info, null, function(code, data) {
|
||||
var result = []
|
||||
for (let i = 0; i < data.rows.length; i++) {
|
||||
if (i == 0) {
|
||||
self.headNews = data.rows[i]
|
||||
} else {
|
||||
result.push(data.rows[i])
|
||||
}
|
||||
// if (i == 0) {
|
||||
// self.headNews = data.rows[i]
|
||||
// } else {
|
||||
// result.push(data.rows[i])
|
||||
// }
|
||||
result.push(data.rows[i])
|
||||
}
|
||||
self.newsList = result
|
||||
}, function(code, data) {
|
||||
|
Loading…
Reference in New Issue
Block a user