diff --git a/.env.production.sit b/.env.production.sit index 93172b43e..5c4611a9a 100644 --- a/.env.production.sit +++ b/.env.production.sit @@ -1,6 +1,6 @@ NODE_ENV=production # VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api -VUE_APP_API_SERVER = http://219.146.91.110:30801/api +VUE_APP_API_SERVER = http://192.168.1.140/api # VUE_APP_API_SERVER = http://192.168.1.60:8080/api VUE_APP_BIPASS_API_SERVER = http://dcommunity-dev.elinkservice.cn:30801/linkdata/linkdata-gateway/route VUE_APP_NODE_ENV=prod:sit diff --git a/src/views/modules/home/index.vue b/src/views/modules/home/index.vue index 357724212..7d6d8d1b2 100644 --- a/src/views/modules/home/index.vue +++ b/src/views/modules/home/index.vue @@ -171,7 +171,7 @@
服务团排名
-
+
@@ -186,14 +186,14 @@ {{ index + 1 }}
-
{{ team.name }}
+
{{ team.agencyName }}
志愿者: - {{ team.volunteers }} 人  + {{ team.volunteerNum }} 人  服务时长: - {{ team.hours.toLocaleString() }} 小时  + {{ team.serviceTime.toLocaleString() }} 小时  积分: - {{ team.points }} + {{ team.pointNum }}
@@ -226,30 +226,18 @@ export default { } return { teams: [ - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, - { name: "XX区XX服务团", volunteers: 11, hours: 1250, points: 3680 }, ], listOfServiceGroups: [ { - value: 0, + value: "volunteerNum", name: "志愿者" }, { - value: 1, + value: "serviceTime", name: "服务时长" }, { - value: 2, + value: "pointNum", name: "积分" }, ], @@ -349,18 +337,19 @@ export default { //获取服务团列表 async getlistServiceGroups() { - const url = "/actual/base/resiCategory/intelligentPredictioncategoryCountList"; - // let params = { - // }; - // const { data, code, msg } = await requestGet(url, params); - // if (code === 0) { - // if (data) { - // this.teams = data; - - // } - // } else { - // this.$message.error(msg); - // } + const url = "/voluntary/volunteerInfo/homePage/orderByVolunteerInfo"; + let params = { + agencyId: this.$store.state.user.agencyId, + orderBy:this.serviceGroupType + }; + const { data, code, msg } = await requestGet(url, params); + if (code === 0) { + if (data) { + this.teams = data; + } + } else { + this.$message.error(msg); + } }, handleChangeAgency(val) { diff --git a/src/views/modules/informationArchive/elderlyArchives/cpts/add-old.vue b/src/views/modules/informationArchive/elderlyArchives/cpts/add-old.vue index 89ac92c8f..a201383cd 100644 --- a/src/views/modules/informationArchive/elderlyArchives/cpts/add-old.vue +++ b/src/views/modules/informationArchive/elderlyArchives/cpts/add-old.vue @@ -10,7 +10,7 @@ - @@ -67,7 +67,7 @@ + > - - + + - @@ -303,7 +303,7 @@