内容发布
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
Detail
|
||||
},
|
||||
|
||||
mounted () {
|
||||
created () {
|
||||
this.moduleId = this.$route.query.moduleId
|
||||
},
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item prop="categoryId" label="分类" :rules="[{required: true, message: '请选择分类', trigger: 'change'}]">
|
||||
<el-form-item prop="categoryId" label="分类">
|
||||
<el-select style="width: 100%;" v-model="form.categoryId" size="small" placeholder="请选择分类">
|
||||
<el-option
|
||||
v-for="item in cateList"
|
||||
|
||||
@@ -94,6 +94,7 @@
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
console.log(this.moduleId)
|
||||
this.instance.post(`/app/appcontentinfo/list`, null, {
|
||||
params: {
|
||||
moduleId: this.moduleId,
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
colConfigs: [
|
||||
{ prop: 'moduleName', label: '模块名称', align: 'left', width: '200px' },
|
||||
{ prop: 'menuName', label: '关联菜单', align: 'center' },
|
||||
{ prop: 'id', label: 'ID', align: 'center' },
|
||||
{ prop: 'categoryStr', label: '文章分类', align: 'center' }
|
||||
],
|
||||
cateColConfigs: [
|
||||
|
||||
Reference in New Issue
Block a user