This commit is contained in:
2026-05-29 09:21:40 +08:00
parent 45515c2108
commit 9d7fa18c53
7 changed files with 17 additions and 17 deletions
@@ -127,7 +127,7 @@ public class FitnessWalkCommonServiceImpl extends BaseServiceImpl<FitnessWalkAwa
redisService.setex(redisKey, CACHE_TIME, JSONObject.toJSONString(activity));
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("获取数据异常!");
// throw new RuntimeException("获取数据异常!");
}
}
@@ -329,7 +329,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()
})
@@ -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()
@@ -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()
@@ -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()
@@ -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()
@@ -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()
@@ -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()
})