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
911c4059
Commit
911c4059
authored
Jul 24, 2021
by
msgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解析优化
parent
14366861
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
35 deletions
+36
-35
IContentDao.xml
src/main/java/net/mingsoft/cms/dao/IContentDao.xml
+1
-1
form.ftl
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+35
-34
No files found.
src/main/java/net/mingsoft/cms/dao/IContentDao.xml
View file @
911c4059
...
...
@@ -255,7 +255,7 @@
(select id FROM cms_category where find_in_set('${categoryId}',CATEGORY_PARENT_IDS)>0))
</if>
<if
test=
"categoryId!=null and categoryId!='' and categoryType==2"
>
ct.category_id=#{categoryId}
and
ct.category_id=#{categoryId}
</if>
<if
test=
"beginTime!=null and beginTime!=''"
>
<if
test=
"_databaseId == 'mysql'"
>
...
...
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
911c4059
...
...
@@ -81,6 +81,25 @@
</el-col>
</el-row>
<el-row
gutter=
"0"
justify=
"start"
align=
"top"
>
<el-col
span=
"12"
>
<el-form-item
prop=
"categoryListUrl"
label=
"列表模板"
v-if=
"form.categoryType == '1'"
>
<el-select
v-model=
"form.categoryListUrl"
:style=
"{width: '100%'}"
:filterable=
"true"
:disabled=
"false"
:multiple=
"false"
:clearable=
"true"
placeholder=
"请选择列表模板"
>
<el-option
v-for=
'item in categoryListUrlOptions'
:key=
"item"
:value=
"item"
:label=
"item"
></el-option>
</el-select>
<div
class=
"ms-form-tip"
>
当栏目类型为
<b>
列表
</b>
时有效
</div>
</el-form-item>
</el-col>
</el-row>
<el-row
gutter=
"0"
justify=
"start"
align=
"top"
>
...
...
@@ -119,44 +138,10 @@
</el-form-item>
</el-col>
</el-row>
<el-row
gutter=
"0"
justify=
"start"
align=
"top"
>
<el-col
span=
"12"
>
<el-form-item
prop=
"categoryListUrl"
label=
"列表模板"
v-if=
"form.categoryType == '1'"
>
<el-select
v-model=
"form.categoryListUrl"
:style=
"{width: '100%'}"
:filterable=
"true"
:disabled=
"false"
:multiple=
"false"
:clearable=
"true"
placeholder=
"请选择列表模板"
>
<el-option
v-for=
'item in categoryListUrlOptions'
:key=
"item"
:value=
"item"
:label=
"item"
></el-option>
</el-select>
<div
class=
"ms-form-tip"
>
当栏目类型为
<b>
列表
</b>
时有效
</div>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"0"
justify=
"start"
align=
"top"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"栏目属性"
prop=
"categoryFlag"
>
<el-select
v-model=
"form.categoryFlag"
:style=
"{width: '100%'}"
:filterable=
"false"
:disabled=
"false"
:multiple=
"true"
:clearable=
"true"
placeholder=
"请选择栏目属性"
>
<el-option
v-for=
'item in categoryFlagOptions'
:key=
"item.dictValue"
:value=
"item.dictValue"
:label=
"item.dictLabel"
></el-option>
</el-select>
<div
class=
"ms-form-tip"
>
可以在自定义字典中管理
</div>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"生成路径"
prop=
"categoryPinyin"
>
<el-input
...
...
@@ -173,7 +158,23 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"栏目属性"
prop=
"categoryFlag"
>
<el-select
v-model=
"form.categoryFlag"
:style=
"{width: '100%'}"
:filterable=
"false"
:disabled=
"false"
:multiple=
"true"
:clearable=
"true"
placeholder=
"请选择栏目属性"
>
<el-option
v-for=
'item in categoryFlagOptions'
:key=
"item.dictValue"
:value=
"item.dictValue"
:label=
"item.dictLabel"
></el-option>
</el-select>
<div
class=
"ms-form-tip"
>
可以在自定义字典中管理
</div>
</el-form-item>
</el-col>
</el-row>
<el-form-item
label=
"关键字"
prop=
"categoryKeyword"
>
<el-input
...
...
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