From fb0291ff99cbc0bc23a8b9373e04ce45958ee46b Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 30 Sep 2022 18:01:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/resourceClassification.vue | 111 +++++++++++++++++- .../components/resourceList.vue | 6 +- .../components/resourceManagement.vue | 7 +- 3 files changed, 113 insertions(+), 11 deletions(-) diff --git a/project/pengliuyang/apps/AppCommunityResource/components/resourceClassification.vue b/project/pengliuyang/apps/AppCommunityResource/components/resourceClassification.vue index da204480..36d26f4b 100644 --- a/project/pengliuyang/apps/AppCommunityResource/components/resourceClassification.vue +++ b/project/pengliuyang/apps/AppCommunityResource/components/resourceClassification.vue @@ -1,13 +1,118 @@ \ No newline at end of file diff --git a/project/pengliuyang/apps/AppCommunityResource/components/resourceList.vue b/project/pengliuyang/apps/AppCommunityResource/components/resourceList.vue index b4c35e82..8a15ca33 100644 --- a/project/pengliuyang/apps/AppCommunityResource/components/resourceList.vue +++ b/project/pengliuyang/apps/AppCommunityResource/components/resourceList.vue @@ -10,7 +10,7 @@ @@ -63,7 +63,7 @@ export default { label: "资源分类", name: "resourceClassification", comp: resourceClassification, - permission: "", + permission: "app_appresourcecategory_detail", }, ] } @@ -73,7 +73,7 @@ export default { }, methods: { - changeArea() { + changeAreaId() { this.$nextTick(() => { // this.$refs[this.tabs[Number(this.currIndex)].name][0].getList() }) diff --git a/project/pengliuyang/apps/AppCommunityResource/components/resourceManagement.vue b/project/pengliuyang/apps/AppCommunityResource/components/resourceManagement.vue index 6eb230e1..5fdbcf80 100644 --- a/project/pengliuyang/apps/AppCommunityResource/components/resourceManagement.vue +++ b/project/pengliuyang/apps/AppCommunityResource/components/resourceManagement.vue @@ -14,7 +14,8 @@ + @getList="getList()" :col-configs="colConfigs" :dict="dict"> + @@ -38,7 +39,6 @@ export default { size: 10, resourceName: '' }, - areaId: '', total: 0, tableData: [], } @@ -57,9 +57,6 @@ export default { this.getList() }, methods: { - addResource() { - - }, getList() { this.instance.post(`/app/appresourceinfo/list`,null,{ params: {