+
-
@@ -107,20 +106,46 @@ export default {
data() {
return {
areaId: '',
- tabIndex: 1,
- addressArea: ''
+ tabs: ['统计信息', '人员信息'],
+ tabIndex: 0,
+ addressArea: '',
}
},
computed: { ...mapState(['user']) },
mounted() {
this.areaId = this.user.areaId
+ this.areaName = this.user.areaName
+ this.getStatistic()
+ this.getUserList()
},
methods: {
- areaSelect() {
-
+ areaSelect(e) {
+ this.areaId = e.id
+ this.areaName = e.name
+ },
+ tabClick(index) {
+ this.tabIndex = index
+ },
+ getStatistic() {
+ this.$http.post(`/app/appapplicationinfo/specialStatistic?areaId=${this.areaId}&type=0`).then((res) => {
+ if (res.code == 0) {
+
+ }
+ })
+ },
+ getUserList() {
+ this.$http.post(`/app/appapplicationinfo/queryPeople?areaId=${this.areaId}&type=0`).then((res) => {
+ if (res.code == 0) {
+
+ }
+ })
+ },
+ toAdd() {
+ this.$emit('change', {
+ type: 'Add',
+ })
}
-
}
}
diff --git a/src/sass/AppMeetingNotice/meetingList.vue b/src/sass/AppMeetingNotice/meetingList.vue
index bf5cf034..768049b0 100644
--- a/src/sass/AppMeetingNotice/meetingList.vue
+++ b/src/sass/AppMeetingNotice/meetingList.vue
@@ -35,7 +35,6 @@