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
911c4059
Commit
911c4059
authored
Jul 24, 2021
by
msgroup
Browse files
解析优化
parent
14366861
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
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