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