diff --git a/src/main/java/com/budwk/app/zhgh/activity/fitnesswalk/service/impl/FitnessWalkCommonServiceImpl.java b/src/main/java/com/budwk/app/zhgh/activity/fitnesswalk/service/impl/FitnessWalkCommonServiceImpl.java index acfebcee..1d275d56 100644 --- a/src/main/java/com/budwk/app/zhgh/activity/fitnesswalk/service/impl/FitnessWalkCommonServiceImpl.java +++ b/src/main/java/com/budwk/app/zhgh/activity/fitnesswalk/service/impl/FitnessWalkCommonServiceImpl.java @@ -127,7 +127,7 @@ public class FitnessWalkCommonServiceImpl extends BaseServiceImpl { + this.$businessTool.listUnit(val).then((res) => { this.unitOptions = res this.doSearch() }) @@ -372,9 +372,9 @@ layout("/layouts/platform.html"){ } }, created() { - getUnions(null).then((res) => { + this.$businessTool.listUnion().then((res) => { this.unionOptions = res - return getUnits(null) + return this.$businessTool.listUnit() }).then((res) => { this.unitOptions = res this.getCascadersActivity() diff --git a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepRaffle.html b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepRaffle.html index e5661a0e..433bec7a 100644 --- a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepRaffle.html +++ b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepRaffle.html @@ -353,7 +353,7 @@ layout("/layouts/platform.html"){ }, unionChange(val) { this.pageForm.unitId = null - getUnits(val).then((res) => { + this.$businessTool.listUnit(val).then((res) => { this.unitOptions = res this.doSearch() }) @@ -388,9 +388,9 @@ layout("/layouts/platform.html"){ }, }, created() { - getUnions(null).then((res) => { + this.$businessTool.listUnion().then((res) => { this.unionOptions = res - return getUnits(null) + return this.$businessTool.listUnit() }).then((res) => { this.unitOptions = res this.getCascadersActivity() diff --git a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepRanking.html b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepRanking.html index b96eba26..a710f0e6 100644 --- a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepRanking.html +++ b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepRanking.html @@ -174,7 +174,7 @@ layout("/layouts/platform.html"){ }, unionChange(val) { this.pageForm.unitId = null - getUnits(val).then((res) => { + this.$businessTool.listUnit(val).then((res) => { this.unitOptions = res this.doSearch() }) @@ -192,9 +192,9 @@ layout("/layouts/platform.html"){ } }, created() { - getUnions(null).then((res) => { + this.$businessTool.listUnion().then((res) => { this.unionOptions = res - return getUnits(null) + return this.$businessTool.listUnit() }).then((res) => { this.unitOptions = res this.getCascadersActivity() diff --git a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepStatistics.html b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepStatistics.html index 59a5d15b..c1880021 100644 --- a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepStatistics.html +++ b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepStatistics.html @@ -171,7 +171,7 @@ layout("/layouts/platform.html"){ }, unionChange(val) { this.pageForm.unitId = null - getUnits(val).then((res) => { + this.$businessTool.listUnit(val).then((res) => { this.unitOptions = res this.doSearch() }) @@ -216,9 +216,9 @@ layout("/layouts/platform.html"){ } }, created() { - getUnions(null).then((res) => { + this.$businessTool.listUnion().then((res) => { this.unionOptions = res - return getUnits(null) + return this.$businessTool.listUnit() }).then((res) => { this.unitOptions = res this.getCascadersActivity() diff --git a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepWining.html b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepWining.html index 4e1f0078..955d95b8 100644 --- a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepWining.html +++ b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/stepWining.html @@ -193,7 +193,7 @@ layout("/layouts/platform.html"){ }, unionChange(val) { this.pageForm.unitId = null - getUnits(val).then((res) => { + this.$businessTool.listUnit(val).then((res) => { this.unitOptions = res this.doSearch() }) @@ -235,9 +235,9 @@ layout("/layouts/platform.html"){ }, }, created() { - getUnions(null).then((res) => { + this.$businessTool.listUnion().then((res) => { this.unionOptions = res - return getUnits(null) + return this.$businessTool.listUnit() }).then((res) => { this.unitOptions = res this.getCascadersActivity() diff --git a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/userPunchStatistics.html b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/userPunchStatistics.html index 9ec5be76..49878daa 100644 --- a/src/main/resources/views/platform/zhgh/activity/fitnesswalk/userPunchStatistics.html +++ b/src/main/resources/views/platform/zhgh/activity/fitnesswalk/userPunchStatistics.html @@ -285,7 +285,7 @@ layout("/layouts/platform.html"){ } }, created() { - getUnions(null).then(res => { + this.$businessTool.listUnion().then(res => { this.$set(this, 'unionOptions', res || []) this.getCascadersActivity() })