commit
This commit is contained in:
+1
-1
@@ -127,7 +127,7 @@ public class FitnessWalkCommonServiceImpl extends BaseServiceImpl<FitnessWalkAwa
|
|||||||
redisService.setex(redisKey, CACHE_TIME, JSONObject.toJSONString(activity));
|
redisService.setex(redisKey, CACHE_TIME, JSONObject.toJSONString(activity));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
throw new RuntimeException("获取数据异常!");
|
// throw new RuntimeException("获取数据异常!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
unionChange(val) {
|
unionChange(val) {
|
||||||
this.pageForm.unitId = null
|
this.pageForm.unitId = null
|
||||||
getUnits(val).then((res) => {
|
this.$businessTool.listUnit(val).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.doSearch()
|
this.doSearch()
|
||||||
})
|
})
|
||||||
@@ -372,9 +372,9 @@ layout("/layouts/platform.html"){
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
getUnions(null).then((res) => {
|
this.$businessTool.listUnion().then((res) => {
|
||||||
this.unionOptions = res
|
this.unionOptions = res
|
||||||
return getUnits(null)
|
return this.$businessTool.listUnit()
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.getCascadersActivity()
|
this.getCascadersActivity()
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
unionChange(val) {
|
unionChange(val) {
|
||||||
this.pageForm.unitId = null
|
this.pageForm.unitId = null
|
||||||
getUnits(val).then((res) => {
|
this.$businessTool.listUnit(val).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.doSearch()
|
this.doSearch()
|
||||||
})
|
})
|
||||||
@@ -388,9 +388,9 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
getUnions(null).then((res) => {
|
this.$businessTool.listUnion().then((res) => {
|
||||||
this.unionOptions = res
|
this.unionOptions = res
|
||||||
return getUnits(null)
|
return this.$businessTool.listUnit()
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.getCascadersActivity()
|
this.getCascadersActivity()
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
unionChange(val) {
|
unionChange(val) {
|
||||||
this.pageForm.unitId = null
|
this.pageForm.unitId = null
|
||||||
getUnits(val).then((res) => {
|
this.$businessTool.listUnit(val).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.doSearch()
|
this.doSearch()
|
||||||
})
|
})
|
||||||
@@ -192,9 +192,9 @@ layout("/layouts/platform.html"){
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
getUnions(null).then((res) => {
|
this.$businessTool.listUnion().then((res) => {
|
||||||
this.unionOptions = res
|
this.unionOptions = res
|
||||||
return getUnits(null)
|
return this.$businessTool.listUnit()
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.getCascadersActivity()
|
this.getCascadersActivity()
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
unionChange(val) {
|
unionChange(val) {
|
||||||
this.pageForm.unitId = null
|
this.pageForm.unitId = null
|
||||||
getUnits(val).then((res) => {
|
this.$businessTool.listUnit(val).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.doSearch()
|
this.doSearch()
|
||||||
})
|
})
|
||||||
@@ -216,9 +216,9 @@ layout("/layouts/platform.html"){
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
getUnions(null).then((res) => {
|
this.$businessTool.listUnion().then((res) => {
|
||||||
this.unionOptions = res
|
this.unionOptions = res
|
||||||
return getUnits(null)
|
return this.$businessTool.listUnit()
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.getCascadersActivity()
|
this.getCascadersActivity()
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
unionChange(val) {
|
unionChange(val) {
|
||||||
this.pageForm.unitId = null
|
this.pageForm.unitId = null
|
||||||
getUnits(val).then((res) => {
|
this.$businessTool.listUnit(val).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.doSearch()
|
this.doSearch()
|
||||||
})
|
})
|
||||||
@@ -235,9 +235,9 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
getUnions(null).then((res) => {
|
this.$businessTool.listUnion().then((res) => {
|
||||||
this.unionOptions = res
|
this.unionOptions = res
|
||||||
return getUnits(null)
|
return this.$businessTool.listUnit()
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.unitOptions = res
|
this.unitOptions = res
|
||||||
this.getCascadersActivity()
|
this.getCascadersActivity()
|
||||||
|
|||||||
+1
-1
@@ -285,7 +285,7 @@ layout("/layouts/platform.html"){
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
getUnions(null).then(res => {
|
this.$businessTool.listUnion().then(res => {
|
||||||
this.$set(this, 'unionOptions', res || [])
|
this.$set(this, 'unionOptions', res || [])
|
||||||
this.getCascadersActivity()
|
this.getCascadersActivity()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user