yujialong 2 years ago
parent b722f938f8
commit b2dc8250e3
  1. 9
      src/pages/article/add/index.vue

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

Loading…
Cancel
Save