diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/SubjectEntity.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/SubjectEntity.java index 6ac9927..5d28480 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/SubjectEntity.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/model/SubjectEntity.java @@ -14,6 +14,9 @@ public class SubjectEntity { @TableId private String id; + private String seoTitle; + private String seoKeywords; + private String seoDescription; private String name; private String sort; @@ -86,5 +89,23 @@ public class SubjectEntity { public void setId(String id) { this.id = id; } + public String getSeoTitle() { + return seoTitle; + } + public void setSeoTitle(String seoTitle) { + this.seoTitle = seoTitle; + } + public String getSeoKeywords() { + return seoKeywords; + } + public void setSeoKeywords(String seoKeywords) { + this.seoKeywords = seoKeywords; + } + public String getSeoDescription() { + return seoDescription; + } + public void setSeoDescription(String seoDescription) { + this.seoDescription = seoDescription; + } } diff --git a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/service/impl/SubjectServiceImpl.java b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/service/impl/SubjectServiceImpl.java index d004f02..9de7b7e 100644 --- a/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/service/impl/SubjectServiceImpl.java +++ b/tamguo-modules-core/src/main/java/com/tamguo/modules/tiku/service/impl/SubjectServiceImpl.java @@ -58,6 +58,9 @@ public class SubjectServiceImpl extends ServiceImpl
- +
@@ -53,9 +53,40 @@ content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
+ * 排序号:
- + +
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+
diff --git a/tamguo-oms/src/main/resources/templates/modules/tiku/subject/list.html b/tamguo-oms/src/main/resources/templates/modules/tiku/subject/list.html index 1da1071..f4151f4 100644 --- a/tamguo-oms/src/main/resources/templates/modules/tiku/subject/list.html +++ b/tamguo-oms/src/main/resources/templates/modules/tiku/subject/list.html @@ -84,7 +84,7 @@ $('#dataGrid').dataGrid({ {header:'类型名称', name:'name', index:'a.post_name', width:200, align:"center", frozen:true, formatter: function(val, obj, row, act){ return ''+(val||row.uid)+''; }}, - {header:'类型编码', name:'uid', index:'a.post_code', width:200, align:"center"}, + {header:'类型编码', name:'id', index:'a.post_code', width:200, align:"center"}, {header:'排序号', name:'sort', index:'a.post_sort', width:80, align:"center"}, {header:'更新时间', name:'updateDate', index:'a.update_date', width:150, align:"center"}, {header:'备注信息', name:'remarks', index:'a.remarks', width:200, align:"left"}, @@ -99,14 +99,14 @@ $('#dataGrid').dataGrid({ }}, {header:'操作', name:'actions', width:130, sortable:false, title:false, formatter: function(val, obj, row, act){ var actions = []; - actions.push(' '); + actions.push(' '); if (row.status == "normal"){ - actions.push(' '); + actions.push(' '); } if (row.status == "disabled"){ - actions.push(' '); + actions.push(' '); } - actions.push(' '); + actions.push(' '); return actions.join(''); }} ], diff --git a/tamguo-oms/src/main/resources/templates/modules/tiku/subject/update.html b/tamguo-oms/src/main/resources/templates/modules/tiku/subject/update.html index cb52d13..4bc280c 100644 --- a/tamguo-oms/src/main/resources/templates/modules/tiku/subject/update.html +++ b/tamguo-oms/src/main/resources/templates/modules/tiku/subject/update.html @@ -42,9 +42,9 @@ content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
+ * 分类编码:
- +
@@ -53,13 +53,44 @@ content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
+ * 排序号:
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
diff --git a/tamguo-tms/src/main/resources/templates/chapter.html b/tamguo-tms/src/main/resources/templates/chapter.html index b019495..221f686 100644 --- a/tamguo-tms/src/main/resources/templates/chapter.html +++ b/tamguo-tms/src/main/resources/templates/chapter.html @@ -28,7 +28,7 @@