25576
This commit is contained in:
@@ -155,7 +155,7 @@
|
|||||||
this.instance.post(`/app/appcontentmodulecategory/list`, null, {
|
this.instance.post(`/app/appcontentmodulecategory/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
...this.cateSearch,
|
...this.cateSearch,
|
||||||
moduleId: this.moduleId,
|
moduleId: this.$route.query.moduleId,
|
||||||
size: 100
|
size: 100
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.instance.post(`/app/appcontentinfo/addOrUpdate`, {
|
this.instance.post(`/app/appcontentinfo/addOrUpdate`, {
|
||||||
...this.form,
|
...this.form,
|
||||||
moduleId: this.moduleId,
|
moduleId: this.$route.query.moduleId,
|
||||||
createUserName: this.user.info.name,
|
createUserName: this.user.info.name,
|
||||||
createUserId: this.user.info.id,
|
createUserId: this.user.info.id,
|
||||||
categoryName: this.cateList.filter(v => v.id === this.form.categoryId)[0].categoryName,
|
categoryName: this.cateList.filter(v => v.id === this.form.categoryId)[0].categoryName,
|
||||||
|
|||||||
@@ -56,8 +56,7 @@
|
|||||||
|
|
||||||
props: {
|
props: {
|
||||||
instance: Function,
|
instance: Function,
|
||||||
dict: Object,
|
dict: Object
|
||||||
moduleId: String
|
|
||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
@@ -95,10 +94,9 @@
|
|||||||
|
|
||||||
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.$route.query.moduleId,
|
||||||
...this.search
|
...this.search
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user