|
@@ -12,13 +12,13 @@ import (
|
|
|
"time"
|
|
|
)
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
-
|
|
|
-func (this *ReportController) AddDayWeekChapter() {
|
|
|
+
|
|
|
+func (this *ReportController) AddChapter() {
|
|
|
br := new(models.BaseResponse).Init()
|
|
|
defer func() {
|
|
|
this.Data["json"] = br
|
|
@@ -54,8 +54,8 @@ func (this *ReportController) AddDayWeekChapter() {
|
|
|
return
|
|
|
}
|
|
|
if reportInfo.State == 2 {
|
|
|
- br.Msg = "该报告已发布,不允许编辑"
|
|
|
- br.ErrMsg = "该报告已发布,不允许编辑"
|
|
|
+ br.Msg = "该报告已发布,不允许新增"
|
|
|
+ br.ErrMsg = "该报告已发布,不允许新增"
|
|
|
return
|
|
|
}
|
|
|
|
|
@@ -736,6 +736,10 @@ func (this *ReportController) GetDayWeekChapter() {
|
|
|
chapterInfo.ContentStruct = html.UnescapeString(chapterInfo.ContentStruct)
|
|
|
}
|
|
|
|
|
|
+ chapterInfo.Content = html.UnescapeString(chapterInfo.Content)
|
|
|
+ chapterInfo.ContentSub = html.UnescapeString(chapterInfo.ContentSub)
|
|
|
+ chapterInfo.ContentStruct = html.UnescapeString(chapterInfo.ContentStruct)
|
|
|
+
|
|
|
|
|
|
chapterGrantIdList := make([]int, 0)
|
|
|
|