Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
fc5020ed
Commit
fc5020ed
authored
Aug 04, 2020
by
vip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
静态文件
parent
ca7677f4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
form.ftl
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+8
-5
index.ftl
src/main/webapp/WEB-INF/manager/cms/category/index.ftl
+3
-0
No files found.
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
fc5020ed
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</el-row>
</el-row>
<el-row
<el-row
gutter=
"0"
gutter=
"0"
justify=
"start"
align=
"top"
>
justify=
"start"
align=
"top"
v-if=
"form.categoryType != '3'"
>
<el-col
span=
"12"
>
<el-col
span=
"12"
>
<el-form-item
prop=
"categoryUrl"
:label=
"form.categoryType =='1'? '内容模板' : '封面模板'"
>
<el-form-item
prop=
"categoryUrl"
:label=
"form.categoryType =='1'? '内容模板' : '封面模板'"
>
<el-select
v-model=
"form.categoryUrl"
<el-select
v-model=
"form.categoryUrl"
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
gutter=
"0"
justify=
"start"
align=
"top"
>
<el-row
gutter=
"0"
justify=
"start"
align=
"top"
>
<el-col
span=
"12"
>
<el-col
span=
"12"
>
<el-form-item
prop=
"categoryListUrl"
v-if=
"form.categoryType == '1'"
>
<el-form-item
prop=
"categoryListUrl"
v-if=
"form.categoryType == '1'"
>
<template
slot=
'label'
>
列表模板
<template
slot=
'label'
>
列表模板
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-form-item
label=
"栏目管理关键字"
prop=
"categoryKeyword"
>
<el-form-item
label=
"栏目管理关键字"
prop=
"categoryKeyword"
>
<template
slot=
'label'
>
栏目关键字
<template
slot=
'label'
>
栏目关键字
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/lan-mu-lie-biao-ms-channel.html"
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
placeholder=
"栏目管理描述,对栏目管理关键字的扩展"
>
placeholder=
"栏目管理描述,对栏目管理关键字的扩展"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
prop=
"categoryImg"
>
<el-form-item
label=
""
prop=
"categoryImg"
>
<template
slot=
'label'
>
缩略图
<template
slot=
'label'
>
缩略图
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<el-popover
slot=
"label"
placement=
"top-start"
title=
"提示"
trigger=
"hover"
>
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
<a
href=
"http://doc.ms.mingsoft.net/plugs-cms/biao-qian/nei-rong-biao-qian-ms-field.html"
...
@@ -275,6 +275,9 @@
...
@@ -275,6 +275,9 @@
},
{
},
{
"value"
:
"2"
,
"value"
:
"2"
,
"label"
:
"封面"
"label"
:
"封面"
},{
"value"
:
"3"
,
"label"
:
"链接"
}],
}],
categoryListUrlOptions
:
[],
categoryListUrlOptions
:
[],
categoryUrlOptions
:
[],
categoryUrlOptions
:
[],
...
@@ -354,7 +357,7 @@
...
@@ -354,7 +357,7 @@
if
(
that
.
form
.
id
>
0
)
{
if
(
that
.
form
.
id
>
0
)
{
url
=
ms
.
manager
+
"/cms/category/update.do"
;
url
=
ms
.
manager
+
"/cms/category/update.do"
;
}
}
console
.
log
(
"aaa"
)
this
.
$refs
.
form
.
validate
(
function
(
valid
)
{
this
.
$refs
.
form
.
validate
(
function
(
valid
)
{
if
(
valid
)
{
if
(
valid
)
{
//栏目属性为封面则不需要列表模板
//栏目属性为封面则不需要列表模板
...
...
src/main/webapp/WEB-INF/manager/cms/category/index.ftl
View file @
fc5020ed
...
@@ -99,6 +99,9 @@
...
@@ -99,6 +99,9 @@
},
{
},
{
"value"
:
"2"
,
"value"
:
"2"
,
"label"
:
"封面"
"label"
:
"封面"
},{
"value"
:
"3"
,
"label"
:
"链接"
}],
}],
//搜索表单
//搜索表单
form
:
{
form
:
{
...
...
Write
Preview
Markdown
is supported
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