Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
7153e35eae
|
@ -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"
|
||||||
|
@ -275,6 +275,9 @@
|
||||||
}, {
|
}, {
|
||||||
"value": "2",
|
"value": "2",
|
||||||
"label": "封面"
|
"label": "封面"
|
||||||
|
},{
|
||||||
|
"value": "3",
|
||||||
|
"label": "链接"
|
||||||
}],
|
}],
|
||||||
categoryListUrlOptions: [],
|
categoryListUrlOptions: [],
|
||||||
categoryUrlOptions: [],
|
categoryUrlOptions: [],
|
||||||
|
@ -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) {
|
||||||
//栏目属性为封面则不需要列表模板
|
//栏目属性为封面则不需要列表模板
|
||||||
|
|
|
@ -43,6 +43,8 @@
|
||||||
<el-table-column label="标题" align="left" prop="categoryTitle">
|
<el-table-column label="标题" align="left" prop="categoryTitle">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="属性" align="center" prop="categoryType" :formatter="categoryTypeFormat" width="70">
|
<el-table-column label="属性" align="center" prop="categoryType" :formatter="categoryTypeFormat" width="70">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="排序" align="center" prop="categorySort" width="70">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="链接地址" align="left" prop="categoryPath" show-overflow-tooltip>
|
<el-table-column label="链接地址" align="left" prop="categoryPath" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
@ -99,6 +101,9 @@
|
||||||
}, {
|
}, {
|
||||||
"value": "2",
|
"value": "2",
|
||||||
"label": "封面"
|
"label": "封面"
|
||||||
|
},{
|
||||||
|
"value": "3",
|
||||||
|
"label": "链接"
|
||||||
}],
|
}],
|
||||||
//搜索表单
|
//搜索表单
|
||||||
form: {
|
form: {
|
||||||
|
|
Loading…
Reference in New Issue