|
|
|
@ -194,7 +194,7 @@ |
|
|
|
|
<template v-if="form.articleTemplate === 25"> |
|
|
|
|
<div class="item-line"> |
|
|
|
|
<el-form-item prop="classificationId" label="所属分类"> |
|
|
|
|
<el-select style="width: 234px;" v-model="form.classificationId"> |
|
|
|
|
<el-select style="width: 234px;" v-model="form.classificationId" clearable> |
|
|
|
|
<template v-for="item in classifications"> |
|
|
|
|
<el-option |
|
|
|
|
v-if="item.classificationName" |
|
|
|
@ -237,7 +237,7 @@ |
|
|
|
|
|
|
|
|
|
<div v-if="form.articleTemplate === 22 || form.articleTemplate === 23" class="item-line"> |
|
|
|
|
<el-form-item prop="source" label="所属分类"> |
|
|
|
|
<el-select style="width: 234px;" v-model="form.classificationId"> |
|
|
|
|
<el-select style="width: 234px;" v-model="form.classificationId" clearable> |
|
|
|
|
<template v-for="item in classifications"> |
|
|
|
|
<el-option |
|
|
|
|
v-if="item.id" |
|
|
|
@ -696,7 +696,8 @@ export default { |
|
|
|
|
route: '/article' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.$route.query.columnName |
|
|
|
|
name: this.$route.query.columnName, |
|
|
|
|
route: '/article' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: this.$route.query.id ? '编辑' : '新增' |
|
|
|
@ -711,8 +712,6 @@ export default { |
|
|
|
|
// 获取栏目 |
|
|
|
|
getList() { |
|
|
|
|
this.$post(this.api.listWithTree, { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
siteId: this.site.id, |
|
|
|
|
columnName: '', |
|
|
|
|
templateId: '', |
|
|
|
|