内容发布

This commit is contained in:
yanran200730
2021-12-21 15:31:49 +08:00
parent 9dc6dbb4b7
commit 47e0b485ab
4 changed files with 4 additions and 2 deletions

View File

@@ -35,7 +35,7 @@
Detail
},
mounted () {
created () {
this.moduleId = this.$route.query.moduleId
},

View File

@@ -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"

View File

@@ -94,6 +94,7 @@
methods: {
getList() {
console.log(this.moduleId)
this.instance.post(`/app/appcontentinfo/list`, null, {
params: {
moduleId: this.moduleId,

View File

@@ -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: [