精选动态

This commit is contained in:
liuye
2023-04-12 09:03:02 +08:00
parent 5e08712676
commit 39067e6285

View File

@@ -34,21 +34,23 @@ export default {
return { return {
list: [], list: [],
flag: false, flag: false,
current: 1 current: 1,
moduleId: ''
} }
}, },
methods: { methods: {
getModule() { getModule() {
this.$instance.post(`/app/appintegraluserapply/queryModuleByName`).then(res => { this.$instance.post(`/app/appintegraluserapply/queryModuleByName`).then(res => {
if (res?.data) { if (res?.data) {
this.getList(res.data) this.moduleId = res.data
this.getList()
} }
}) })
}, },
getList(moduleId) { getList() {
this.$instance.post(`/app/appcontentinfo/list-web`, null, { this.$instance.post(`/app/appcontentinfo/list-web`, null, {
params: { params: {
moduleId: moduleId, moduleId: this.moduleId,
current: this.current, current: this.current,
areaId: this.user.areaId, areaId: this.user.areaId,
containContent: true, containContent: true,