diff --git a/src/main/java/com/tenlion/twoduty/controller/api/articlecontent/ArticleContentController.java b/src/main/java/com/tenlion/twoduty/controller/api/articlecontent/ArticleContentController.java index 5d1f0f5..e9fabef 100644 --- a/src/main/java/com/tenlion/twoduty/controller/api/articlecontent/ArticleContentController.java +++ b/src/main/java/com/tenlion/twoduty/controller/api/articlecontent/ArticleContentController.java @@ -1,5 +1,7 @@ package com.tenlion.twoduty.controller.api.articlecontent; +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.exceptions.ParamsException; @@ -13,10 +15,12 @@ import com.tenlion.twoduty.pojo.dtos.articlecontent.ArticleContentDTO; import com.tenlion.twoduty.pojo.vos.articlecontent.ArticleContentVO; import com.tenlion.twoduty.service.articlecontent.IArticleContentService; import io.swagger.annotations.*; +import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.Arrays; +import java.util.HashMap; import java.util.List; import java.util.Map; @@ -34,6 +38,11 @@ public class ArticleContentController extends DefaultBaseController { @Autowired private IArticleContentService articleContentService; + @Autowired + private IArticleTypeService articleTypeService; + + + @ApiOperation(value = "两个责任文章内容管理分页列表(发布)", notes = "两个责任文章内容管理分页列表接口(发布)") @@ -77,6 +86,40 @@ public class ArticleContentController extends DefaultBaseController { + @GetMapping("getArticleType/{articleTypeId}") + public Map getArticleType(@PathVariable("articleTypeId") String articleTypeId){ + Map map = new HashMap<>(); + ArticleTypeDTO articleTypeDTO = articleTypeService.get(articleTypeId); + if(articleTypeDTO != null){ + map.put("ArticleTypeName",articleTypeDTO.getArticleTypeName()); + if(StringUtils.isBlank(articleTypeDTO.getArticleTypeClassifyId())){ + map.put("classIfIsShow","hide"); + }else{ + map.put("classIfIsShow","show"); + map.put("classIfId",articleTypeDTO.getArticleTypeClassifyId()); + } + } + return map; + } + + + @ApiOperation(value = "修改发布状态", notes = "修改发布状态接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "articleContentId", value = "两个责任文章内容管理ID", paramType = "path"), + @ApiImplicitParam(name = "isPublish", value = "发布状态", paramType = "path"), + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PutMapping("updateIsPublish/{articleContentId}/{isPublish}") + @CheckRequestBodyAnnotation + public SuccessResult updateIsPublish(@PathVariable("articleContentId") String articleContentId, @PathVariable("isPublish") String isPublish) { + articleContentService.updateIsPublish(articleContentId, isPublish); + return new SuccessResult(); + } + + + + + @ApiOperation(value = "新增两个责任文章内容管理", notes = "新增两个责任文章内容管理接口") @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) diff --git a/src/main/java/com/tenlion/twoduty/controller/api/departmentbase/DepartmentBaseController.java b/src/main/java/com/tenlion/twoduty/controller/api/departmentbase/DepartmentBaseController.java index 70e199e..3aca1c1 100644 --- a/src/main/java/com/tenlion/twoduty/controller/api/departmentbase/DepartmentBaseController.java +++ b/src/main/java/com/tenlion/twoduty/controller/api/departmentbase/DepartmentBaseController.java @@ -115,6 +115,10 @@ public class DepartmentBaseController extends DefaultBaseController { break; } } + + + + return list; } diff --git a/src/main/java/com/tenlion/twoduty/controller/route/articlecontent/ArticleContentRouteController.java b/src/main/java/com/tenlion/twoduty/controller/route/articlecontent/ArticleContentRouteController.java index dda0738..96de317 100644 --- a/src/main/java/com/tenlion/twoduty/controller/route/articlecontent/ArticleContentRouteController.java +++ b/src/main/java/com/tenlion/twoduty/controller/route/articlecontent/ArticleContentRouteController.java @@ -35,12 +35,24 @@ public class ArticleContentRouteController extends DefaultBaseController { - @GetMapping("list/{articleTypeId}") - public ModelAndView list(@PathVariable("articleTypeId") String articleTypeId) { + @GetMapping("list-type/{articleTypeId}") + public ModelAndView listType(@PathVariable("articleTypeId") String articleTypeId) { ModelAndView mv = new ModelAndView(); mv.addObject("articleTypeId",articleTypeId); mv.setViewName("articlecontent/type/list-type"); return mv; } + + @GetMapping("save-type") + public ModelAndView saveType() { + return new ModelAndView("articlecontent/type/save-type"); + } + + @GetMapping("update-type") + public ModelAndView updateType() { + return new ModelAndView("articlecontent/type/update-type"); + } + + } \ No newline at end of file diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/departmentsynopsis/DepartmentSynopsisDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/departmentsynopsis/DepartmentSynopsisDTO.java index a67a353..755ce38 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/dtos/departmentsynopsis/DepartmentSynopsisDTO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/departmentsynopsis/DepartmentSynopsisDTO.java @@ -22,6 +22,8 @@ public class DepartmentSynopsisDTO { private String departmentSynopsisId; @ApiModelProperty(name = "departmentSynopsisContent", value = "部门简介内容") private String departmentSynopsisContent; + @ApiModelProperty(name = "departmentSynopsisPhoto", value = "部门宣传照片") + private String departmentSynopsisPhoto; public String getDepartmentId() { return departmentId; @@ -47,5 +49,11 @@ public class DepartmentSynopsisDTO { this.departmentSynopsisContent = departmentSynopsisContent; } + public String getDepartmentSynopsisPhoto() { + return departmentSynopsisPhoto; + } + public void setDepartmentSynopsisPhoto(String departmentSynopsisPhoto) { + this.departmentSynopsisPhoto = departmentSynopsisPhoto; + } } diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/articlecontent/ArticleContentVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/articlecontent/ArticleContentVO.java index 53ae37e..babae03 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/articlecontent/ArticleContentVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/articlecontent/ArticleContentVO.java @@ -35,7 +35,7 @@ public class ArticleContentVO { @ApiModelProperty(name = "articleContentIsPublish", value = "是否发布") private String articleContentIsPublish; @ApiModelProperty(name = "articleContentPublishTime", value = "发布时间") - @CheckEmptyAnnotation(name = "发布时间", verifyType = "datetime") + @CheckEmptyAnnotation(name = "发布时间", verifyType = "date") private String articleContentPublishTime; @ApiModelProperty(name = "articleContentOrderBy", value = "文章排序") @CheckNumberAnnotation(name = "文章排序") diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/departmentsynopsis/DepartmentSynopsisVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/departmentsynopsis/DepartmentSynopsisVO.java index 88792e7..2dd5d04 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/departmentsynopsis/DepartmentSynopsisVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/departmentsynopsis/DepartmentSynopsisVO.java @@ -23,7 +23,8 @@ public class DepartmentSynopsisVO { private String departmentSynopsisId; @ApiModelProperty(name = "departmentSynopsisContent", value = "部门简介内容") private String departmentSynopsisContent; - + @ApiModelProperty(name = "departmentSynopsisPhoto", value = "部门宣传照片") + private String departmentSynopsisPhoto; public String getDepartmentSynopsisId() { return departmentSynopsisId; @@ -49,5 +50,11 @@ public class DepartmentSynopsisVO { this.departmentSynopsisContent = departmentSynopsisContent; } + public String getDepartmentSynopsisPhoto() { + return departmentSynopsisPhoto; + } + public void setDepartmentSynopsisPhoto(String departmentSynopsisPhoto) { + this.departmentSynopsisPhoto = departmentSynopsisPhoto; + } } diff --git a/src/main/java/com/tenlion/twoduty/service/articlecontent/IArticleContentService.java b/src/main/java/com/tenlion/twoduty/service/articlecontent/IArticleContentService.java index 74dec70..1ea5876 100644 --- a/src/main/java/com/tenlion/twoduty/service/articlecontent/IArticleContentService.java +++ b/src/main/java/com/tenlion/twoduty/service/articlecontent/IArticleContentService.java @@ -19,6 +19,13 @@ import java.util.Map; **/ public interface IArticleContentService { + /** + * 修改发布状态 + * @param articleContentId + * @param articleContentIsPublish + */ + void updateIsPublish(String articleContentId,String articleContentIsPublish); + /** * 新增两个责任文章内容管理 * diff --git a/src/main/java/com/tenlion/twoduty/service/articlecontent/impl/ArticleContentServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/articlecontent/impl/ArticleContentServiceImpl.java index 1b90dd0..21097df 100644 --- a/src/main/java/com/tenlion/twoduty/service/articlecontent/impl/ArticleContentServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/articlecontent/impl/ArticleContentServiceImpl.java @@ -48,6 +48,15 @@ public class ArticleContentServiceImpl extends DefaultBaseService implements IAr return saveReturnId(null, articleContentVO); } + public void updateIsPublish(String articleContentId,String articleContentIsPublish){ + Map params = new HashMap(); + params.put("articleContentId",articleContentId); + params.put("articleContentIsPublish",articleContentIsPublish); + setUpdateInfo(params); + articleContentDao.update(params); + } + + @Override public String saveReturnId(String token, ArticleContentVO articleContentVO) { String articleContentId = UUIDUtil.getUUID(); diff --git a/src/main/java/com/tenlion/twoduty/service/articletype/impl/ArticleTypeServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/articletype/impl/ArticleTypeServiceImpl.java index 1720dc7..9d8a748 100644 --- a/src/main/java/com/tenlion/twoduty/service/articletype/impl/ArticleTypeServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/articletype/impl/ArticleTypeServiceImpl.java @@ -1,6 +1,8 @@ package com.tenlion.twoduty.service.articletype.impl; +import com.tenlion.twoduty.service.articlecontent.IArticleContentService; import ink.wgink.common.base.DefaultBaseService; +import ink.wgink.exceptions.ParamsException; import ink.wgink.module.dictionary.pojo.dtos.DataDTO; import ink.wgink.module.dictionary.service.IDataService; import ink.wgink.pojo.ListPage; @@ -21,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.*; +import java.util.stream.Collectors; /** * @ClassName: ArticleTypeServiceImpl @@ -36,6 +39,8 @@ public class ArticleTypeServiceImpl extends DefaultBaseService implements IArtic private IArticleTypeDao articleTypeDao; @Autowired private IDataService dataService; + @Autowired + private IArticleContentService articleContentService; public List getTypeClassIfDetails(String articleTypeId){ @@ -84,6 +89,15 @@ public class ArticleTypeServiceImpl extends DefaultBaseService implements IArtic @Override public void remove(String token, List ids) { + List myList = ids.stream().distinct().collect(Collectors.toList()); + Map countParams = getHashMap(1); + for (String s : myList) { + countParams.put("articleTypeId",s); + Integer count = articleContentService.count(countParams); + if(count > 0){ + throw new ParamsException("文章目录有发布内容,请先删除内容"); + } + } Map params = getHashMap(2); params.put("articleTypeIds", ids); if (StringUtils.isBlank(token)) { diff --git a/src/main/resources/mybatis/mapper/articlecontent/article-content-mapper.xml b/src/main/resources/mybatis/mapper/articlecontent/article-content-mapper.xml index 1d7d053..bfde4f0 100644 --- a/src/main/resources/mybatis/mapper/articlecontent/article-content-mapper.xml +++ b/src/main/resources/mybatis/mapper/articlecontent/article-content-mapper.xml @@ -323,7 +323,7 @@ AND t1.article_content_is_publish = #{articleContentIsPublish} - ORDER BY t1.article_content_order_by DESC + ORDER BY t1.article_content_order_by @@ -428,6 +428,10 @@ duty_article_content t1 WHERE t1.is_delete = 0 + + AND + t1.article_type_id = #{articleTypeId} + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/departmentsynopsis/department-synopsis-mapper.xml b/src/main/resources/mybatis/mapper/departmentsynopsis/department-synopsis-mapper.xml index b8c06a4..ea5068b 100644 --- a/src/main/resources/mybatis/mapper/departmentsynopsis/department-synopsis-mapper.xml +++ b/src/main/resources/mybatis/mapper/departmentsynopsis/department-synopsis-mapper.xml @@ -6,6 +6,7 @@ + @@ -36,6 +37,7 @@ department_id, department_synopsis_id, department_synopsis_content, + department_synopsis_photo, creator, gmt_create, modifier, @@ -45,6 +47,7 @@ #{departmentId}, #{departmentSynopsisId}, #{departmentSynopsisContent}, + #{departmentSynopsisPhoto}, #{creator}, #{gmtCreate}, #{modifier}, @@ -86,6 +89,9 @@ SET department_synopsis_content = #{departmentSynopsisContent}, + + + department_synopsis_photo = #{departmentSynopsisPhoto}, gmt_modified = #{gmtModified}, modifier = #{modifier}, @@ -99,6 +105,7 @@ SELECT t1.department_id, t1.department_synopsis_content, + t1.department_synopsis_photo, t1.department_synopsis_id FROM duty_department_synopsis t1 @@ -161,7 +168,8 @@ SELECT t1.department_id, t1.department_synopsis_id, - t1.department_synopsis_content + t1.department_synopsis_content, + t1.department_synopsis_photo FROM duty_department_synopsis t1 WHERE diff --git a/src/main/resources/static/route/departmentsynopsis/save.html b/src/main/resources/static/route/departmentsynopsis/save.html index 490be4c..a6d4a1b 100644 --- a/src/main/resources/static/route/departmentsynopsis/save.html +++ b/src/main/resources/static/route/departmentsynopsis/save.html @@ -23,6 +23,40 @@
+ + +
+ +
+ +
+ +
+
+ +
@@ -118,6 +152,59 @@ } } + // 初始化宣传图片上传 + function initdepartmentSynopsisPhotoUploadFile() { + var files = $('#departmentSynopsisPhoto').val(); + initFileList('departmentSynopsisPhoto', files, function(fileName) { + var viewer = new Viewer(document.getElementById(fileName +'FileBox'), {navbar: false}); + viewerObj[fileName] = viewer; + }); + + form.on('button(departmentSynopsisPhotoUploadFile)', function(obj) { + var name = this.dataset.name; + var explain = this.dataset.explain; + top.dialog.file({ + type: 'image', + title: '上传'+ explain, + width: '400px', + height: '420px', + maxFileCount: '1', + onClose: function() { + var uploadFileArray = top.dialog.dialogData.uploadFileArray; + if(typeof(uploadFileArray) != 'undefined' && uploadFileArray.length > 0) { + var files = $('#'+ name).val(); + for(var j = 0, file = uploadFileArray[j]; file = uploadFileArray[j++];) { + if(files.length > 0) { + files += ','; + } + files += file.data; + } + initFileList(name, files, function(fileName) { + viewerObj[fileName].update(); + }); + } + } + }); + }); + + form.on('button(departmentSynopsisPhotoRemoveFile)', function(obj) { + var name = this.dataset.name; + var id = this.dataset.id; + var files = $('#'+ name).val().replace(id, ''); + files = files.replace(/\,+/g, ','); + if(files.charAt(0) == ',') { + files = files.substring(1); + } + if(files.charAt(files.length - 1) == ',') { + files = files.substring(0, files.length - 1); + } + initFileList(name, files, function(fileName) { + viewerObj[fileName].update(); + }); + }); + } + + // 初始化承诺书富文本 function initDepartmentSynopsisContentText() { var editor = UE.getEditor('departmentSynopsisContent', {autoHeightEnabled: false}); @@ -136,9 +223,10 @@ for(var i in data) { dataFormData[i] = data[i] +''; } - initDepartmentSynopsisContentText(); form.val('dataForm', dataFormData); form.render(null, 'dataForm'); + initDepartmentSynopsisContentText(); + initdepartmentSynopsisPhotoUploadFile(); }, function(code, data) { top.dialog.msg(data.msg); }, function() { diff --git a/src/main/resources/templates/articlecontent/list.html b/src/main/resources/templates/articlecontent/list.html index 4b1f8af..2b6e5b1 100644 --- a/src/main/resources/templates/articlecontent/list.html +++ b/src/main/resources/templates/articlecontent/list.html @@ -9,6 +9,13 @@ +
@@ -26,6 +33,16 @@
+
+ + @@ -57,13 +74,15 @@ base: 'assets/layuiadmin/' }).extend({ index: 'lib/index' - }).use(['index', 'table', 'laydate', 'common'], function() { + }).use(['index', 'table', 'laydate', 'common','form','laytpl'], function() { var $ = layui.$; var $win = $(window); var table = layui.table; var admin = layui.admin; + var laytpl = layui.laytpl; var laydate = layui.laydate; var common = layui.common; + var form = layui.form; var resizeTimeout = null; var tableUrl = 'api/articlecontent/listpage'; @@ -152,10 +171,14 @@ {field: 'articleContentIsPublish', width: 180, title: '发布操作', align:'center',fixed: 'right', templet: function(row) { var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; + var contentId = row['articleContentId']; + var swichHtml = ""; + if(rowData == 0){ + swichHtml = '' + }else{ + swichHtml = '' } - return rowData; + return swichHtml; } }, ] @@ -178,7 +201,8 @@ where: { keywords: $('#keywords').val(), startTime: $('#startTime').val(), - endTime: $('#endTime').val() + endTime: $('#endTime').val(), + articleTypeId: $('#articleTypeId').val() }, page: { curr: currentPage @@ -285,6 +309,41 @@ } } }); + + initArticleTypeIdTemplate(); + //初始化文章目录 + function initArticleTypeIdTemplate(){ + top.restAjax.get(top.restAjax.path("api/articletype/list",[]),{},null,function (code,data,args) { + laytpl(document.getElementById('articleTypeIdTemplate').innerHTML).render(data, function(html) { + document.getElementById('articleTypeIdTemplateBox').innerHTML = html; + }); + form.render('select', 'articleTypeIdTemplateBox'); + }); + } + + + form.on('switch(isPublish)', function(data){ + var checked = data.elem.checked + var contentId = data.value; + var isPublish; + if(checked){ + isPublish = 0; + }else{ + isPublish = 1; + } + var loadLayerIndex; + top.restAjax.put(top.restAjax.path('api/articlecontent/updateIsPublish/{articleContentId}/{isPublish}', [contentId,isPublish]), null, null, function(code, data) { + top.dialog.msg('修改成功'); + }, function(code, data) { + top.dialog.msg(data.msg); + }, function() { + loadLayerIndex = top.dialog.msg(top.dataMessage.committing, {icon: 16, time: 0, shade: 0.3}); + }, function() { + top.dialog.close(loadLayerIndex); + }); + + }); + }); diff --git a/src/main/resources/templates/articlecontent/save.html b/src/main/resources/templates/articlecontent/save.html index 1e90622..aba31d7 100644 --- a/src/main/resources/templates/articlecontent/save.html +++ b/src/main/resources/templates/articlecontent/save.html @@ -119,7 +119,7 @@
- +
@@ -58,13 +72,15 @@ base: 'assets/layuiadmin/' }).extend({ index: 'lib/index' - }).use(['index', 'table', 'laydate', 'common'], function() { + }).use(['index', 'table', 'laydate', 'common','form','laytpl'], function() { var $ = layui.$; var $win = $(window); var table = layui.table; var admin = layui.admin; var laydate = layui.laydate; + var laytpl = layui.laytpl; var common = layui.common; + var form = layui.form; var resizeTimeout = null; var tableUrl = 'api/articlecontent/listpage'; @@ -156,10 +172,14 @@ {field: 'articleContentIsPublish', width: 180, title: '发布操作', align:'center',fixed: 'right', templet: function(row) { var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; + var contentId = row['articleContentId']; + var swichHtml = ""; + if(rowData == 0){ + swichHtml = '' + }else{ + swichHtml = '' } - return rowData; + return swichHtml; } }, ] @@ -182,7 +202,8 @@ where: { keywords: $('#keywords').val(), startTime: $('#startTime').val(), - endTime: $('#endTime').val() + endTime: $('#endTime').val(), + articleClassifyId:$("#articleClassifyId").val() }, page: { curr: currentPage @@ -250,10 +271,11 @@ area: ['100%', '100%'], shadeClose: true, anim: 2, - content: top.restAjax.path('route/articlecontent/type/save-type', []), + content: top.restAjax.path('route/articlecontent/save-type?articleTypeId={articleTypeId}', [$("#articleTypeId").val()]), end: function() { reloadTable(); } + }); } else if(layEvent === 'updateEvent') { if(checkDatas.length === 0) { @@ -268,7 +290,7 @@ area: ['100%', '100%'], shadeClose: true, anim: 2, - content: top.restAjax.path('route/articlecontent/type/update-type?articleContentId={articleContentId}', [checkDatas[0].articleContentId]), + content: top.restAjax.path('route/articlecontent/update-type?articleContentId={articleContentId}&articleTypeId={articleTypeId}', [checkDatas[0].articleContentId,$("#articleTypeId").val()]), end: function() { reloadTable(); } @@ -289,6 +311,49 @@ } } }); + initArticleTypeName(); + + function initArticleTypeName(){ + top.restAjax.get(top.restAjax.path("api/articlecontent/getArticleType/{articleTypeId}",[$("#articleTypeId").val()]),{},null,function (code,data,args) { + if('show'== data.classIfIsShow){ + $('#articleClassifyIdTemplateBox').removeClass("layui-hide") + initArticleClassifyIdTemplate(data.classIfId) + } + }); + } + + //初始化文章分类 + function initArticleClassifyIdTemplate(dataParentId){ + top.restAjax.get(top.restAjax.path("api/data/listallbyparentid/{dataParentId}",[dataParentId]),{},null,function (code,data,args) { + laytpl(document.getElementById('articleClassifyIdTemplate').innerHTML).render(data, function(html) { + document.getElementById('articleClassifyIdTemplateBox').innerHTML = html; + }); + form.render('select', 'articleClassifyIdTemplateBox'); + }); + } + + + form.on('switch(isPublish)', function(data){ + var checked = data.elem.checked + var contentId = data.value; + var isPublish; + if(checked){ + isPublish = 0; + }else{ + isPublish = 1; + } + var loadLayerIndex; + top.restAjax.put(top.restAjax.path('api/articlecontent/updateIsPublish/{articleContentId}/{isPublish}', [contentId,isPublish]), null, null, function(code, data) { + top.dialog.msg('修改成功'); + }, function(code, data) { + top.dialog.msg(data.msg); + }, function() { + loadLayerIndex = top.dialog.msg(top.dataMessage.committing, {icon: 16, time: 0, shade: 0.3}); + }, function() { + top.dialog.close(loadLayerIndex); + }); + + }); }); diff --git a/src/main/resources/templates/articlecontent/type/save-type.html b/src/main/resources/templates/articlecontent/type/save-type.html index 1e90622..0752821 100644 --- a/src/main/resources/templates/articlecontent/type/save-type.html +++ b/src/main/resources/templates/articlecontent/type/save-type.html @@ -22,34 +22,19 @@
-
-
-
- -
- -
-
-
-
- -
- -
+
+
+
+ +
+
@@ -119,7 +104,7 @@
- +
-
-
-
-
- -
- -
+
+
+
+ +
+
@@ -119,7 +104,7 @@
- +
diff --git a/src/main/resources/templates/articlecontent/update.html b/src/main/resources/templates/articlecontent/update.html index 08e693e..1c67594 100644 --- a/src/main/resources/templates/articlecontent/update.html +++ b/src/main/resources/templates/articlecontent/update.html @@ -119,7 +119,7 @@
- +