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