This commit is contained in:
yanran200730
2021-12-22 11:14:42 +08:00
parent 3964cc2769
commit a6d286d62d
2 changed files with 4 additions and 6 deletions

View File

@@ -155,7 +155,7 @@
this.instance.post(`/app/appcontentmodulecategory/list`, null, {
params: {
...this.cateSearch,
moduleId: this.moduleId,
moduleId: this.$route.query.moduleId,
size: 100
}
}).then(res => {
@@ -170,7 +170,7 @@
if (valid) {
this.instance.post(`/app/appcontentinfo/addOrUpdate`, {
...this.form,
moduleId: this.moduleId,
moduleId: this.$route.query.moduleId,
createUserName: this.user.info.name,
createUserId: this.user.info.id,
categoryName: this.cateList.filter(v => v.id === this.form.categoryId)[0].categoryName,

View File

@@ -56,8 +56,7 @@
props: {
instance: Function,
dict: Object,
moduleId: String
dict: Object
},
data() {
@@ -95,10 +94,9 @@
methods: {
getList() {
console.log(this.moduleId)
this.instance.post(`/app/appcontentinfo/list`, null, {
params: {
moduleId: this.moduleId,
moduleId: this.$route.query.moduleId,
...this.search
}
}).then(res => {