From ef2842245e8a8c9911fdb74661ca7efabd8da9d3 Mon Sep 17 00:00:00 2001
From: 13176889840 <13176889840@163.com>
Date: Fri, 21 Jan 2022 14:17:25 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=85=9A=E5=91=98=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/visual/communityParty/party.vue | 29 ++++++++++++++-----
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/src/views/modules/visual/communityParty/party.vue b/src/views/modules/visual/communityParty/party.vue
index 7e0e1651..2aad8ed5 100644
--- a/src/views/modules/visual/communityParty/party.vue
+++ b/src/views/modules/visual/communityParty/party.vue
@@ -46,7 +46,7 @@
@@ -153,7 +153,10 @@ export default {
eduTotalCount: 0,
propTree: [],
value2: '',
+ visibleAgeLoading: true,
visibleLoading: true,
+ agencyId: '',
+ orgType: '',
pageNo: 1,
pageSize: 10,
agePageNo: 1,
@@ -596,6 +599,7 @@ export default {
}
}
})
+ this.ageTotalCount = 0
data.forEach(item => {
this.ageTotalCount += Number(item.value)
})
@@ -618,6 +622,7 @@ export default {
isClick: false
}
})
+ this.eduTotalCount = 0
data.forEach(item => {
this.eduTotalCount += Number(item.value)
})
@@ -627,7 +632,7 @@ export default {
},
async getAgeList(orgId, orgType, _code) {
- this.visibleLoading = true
+ this.visibleAgeLoading = true
const url = "/epmetuser/icresiuser/partymemberagelist";
let params = {
orgId,
@@ -649,9 +654,10 @@ export default {
this.$message.error(msg)
}
// if (_code == 0 || _code) this.noInit = true
- this.visibleLoading = false
+ this.visibleAgeLoading = false
},
async getEduList(orgId, orgType, _code) {
+ this.visibleLoading = true
const url = "/epmetuser/icresiuser/partymembereducationlist";
let params = {
orgId,
@@ -672,6 +678,7 @@ export default {
} else {
this.$message.error(msg)
}
+ this.visibleLoading = false
},
async getAgencyList(node, resolve) {
// const url = "/gov/org/customeragency/staffinagencylist";
@@ -683,6 +690,8 @@ export default {
if (code === 0) {
console.log('data-org----o', data)
this.selectAgency = [`${data.agencyId}-${data.level}`]
+ this.orgType = data.level
+ this.agencyId = data.agencyId
let arr = []
arr.push(data)
this.propTree = arr && this.getTreeData(arr)
@@ -728,6 +737,12 @@ export default {
console.log('val-vvv', val)
const _arr = val[val.length - 1].split('-')
const orgType = _arr[1] !== 'grid' ? 'agency': 'grid'
+ this.agencyId = _arr[0]
+ this.orgType = orgType
+ this.noInit = false
+ this.noEduInit = false
+ this.getAgeCount(_arr[0], orgType)
+ this.getEduCount(_arr[0], orgType)
this.getAgeList(_arr[0], orgType)
this.getEduList(_arr[0], orgType)
},
@@ -742,20 +757,20 @@ export default {
pageSizeChangeHandleAge(val) {
this.agePageNo = 1
this.agePageSize = val
- this.getAgeList()
+ this.getAgeList(this.agencyId, this.orgType)
},
pageCurrentChangeHandleAge (val) {
this.agePageSize = val
- this.getAgeList()
+ this.getAgeList(this.agencyId, this.orgType)
},
pageSizeChangeHandleNew(val) {
this.pageNo = 1;
this.pageSize = val;
- this.getEduList()
+ this.getEduList(this.agencyId, this.orgType)
},
pageCurrentChangeHandleNew(val) {
this.pageNo = val;
- this.getEduList()
+ this.getEduList(this.agencyId, this.orgType)
},
},
};
From f692fafc207fe3c133552edab5a97b895ccaa94a Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Fri, 21 Jan 2022 14:25:21 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E4=BA=BA=E5=91=98=E8=B0=83=E5=8A=A8?=
=?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=90=8E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/components/resiChangeRecord.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/components/resiChangeRecord.vue b/src/views/components/resiChangeRecord.vue
index 20066386..58722bdb 100644
--- a/src/views/components/resiChangeRecord.vue
+++ b/src/views/components/resiChangeRecord.vue
@@ -26,7 +26,7 @@
label="变更前"
width="230">
-