Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
d5254f40
Commit
d5254f40
authored
Jan 13, 2023
by
msgroup
Committed by
mingsoft
Jan 13, 2023
Browse files
up: 5.3.0 发布
parent
d0de5c3b
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/net/mingsoft/cms/resources/resources_zh_CN.properties
View file @
d5254f40
...
...
@@ -35,5 +35,5 @@ category.diy.url=\u81EA\u5B9A\u4E49\u94FE\u63A5
content.keyword
=
\u5173\u
952E
\u
5B57
template.file
=
\u
672A
\u
627E
\u5230\u
6A21
\u
677F
\u6587\u
4EF6
category.pinyin
=
\u
62FC
\u
97F3
datetime.format
=
\u
65f6
\u
95f4
\u
683c
\u
5f0f
datetime.format
=
时间格式
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
d5254f40
...
...
@@ -14,6 +14,7 @@
<el-button size="mini" icon="iconfont icon-fanhui" plain onclick="javascript:history.go(-1)">返回</el-button>
</el-header>
<el-main class="ms-container">
<el-scrollbar class="ms-scrollbar" style="height: 100%;">
<el-form ref="form" :model="form" :rules="rules" label-width="130px" size="mini">
<el-row
...
...
@@ -310,10 +311,10 @@
"required"
:
true
,
"message"
:
"请选择栏目管理名称"
}
]
,
//
categoryListUrl
:
[
{
//
"required"
:
true
,
//
"message"
:
"请选择列表模板"
//
}
]
,
categoryListUrl
:
[
{
"required"
:
true
,
"message"
:
"请选择列表模板"
}
]
,
categoryPinyin
:
[
{
validator
:
validatorCategoryPinyin
,
trigger
:
'
blur
'
},
{
...
...
@@ -321,10 +322,10 @@
"
message
": "
拼音格式不匹配
"
}],
// 内容模板
//
categoryUrl: [{
//
"
required
": true,
//
"
message
": "
请选择内容模板
"
//
}]
categoryUrl: [{
"
required
": true,
"
message
": "
请选择内容模板
"
}]
}
};
},
...
...
@@ -543,14 +544,14 @@
//获取categoryListUrl数据源
categoryListUrlOptionsGet: function () {
var that = this;
ms.http.get(ms.manager + "
/
template
/
queryTemplateFileForColumn
.do
", {}).then(function (data) {
ms.http.get(ms.manager + "
/
basic
/
template
/
queryTemplateFileForColumn
.do
", {}).then(function (data) {
that.categoryListUrlOptions = data.data;
});
},
//获取categoryUrl数据源
categoryUrlOptionsGet: function () {
var that = this;
ms.http.get(ms.manager + "
/
template
/
queryTemplateFileForColumn
.do
", {}).then(function (data) {
ms.http.get(ms.manager + "
/
basic
/
template
/
queryTemplateFileForColumn
.do
", {}).then(function (data) {
that.categoryUrlOptions = data.data;
});
},
...
...
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
View file @
d5254f40
...
...
@@ -245,7 +245,7 @@
//获取主题模板数据源
templateOptionsGet
:
function
()
{
var
that
=
this
;
ms
.http.get
(
ms
.manager
+
'/
template
/
queryTemplateFileForColumn
.do
'
,
{
ms
.http.get
(
ms
.manager
+
'/
basic
/
template
/
queryTemplateFileForColumn
.do
'
,
{
pageSize
:
99999
})
.then
(
function
(
data
)
{
that
.templateOptions
=
data
.data
;
//寻找主页
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment