commit
This commit is contained in:
@@ -752,9 +752,11 @@ layout("/mobile/platform.html"){
|
||||
this.$forceUpdate()
|
||||
}
|
||||
},
|
||||
async getConfigData() {
|
||||
const resp = await $.get('/platform/theRapyRecuperation/TheRapyConfig/findOne')
|
||||
this.configData = resp.data
|
||||
async getConfigData(year) {
|
||||
const resp = await $.get('/platform/theRapyRecuperation/TheRapyConfig/findOne', {
|
||||
year: year || this.lineData.year || new Date().getFullYear().toString()
|
||||
})
|
||||
this.$set(this, 'configData', resp.data)
|
||||
},
|
||||
handleClick(event, classArray = [], imagesArray = []) {
|
||||
if(event == null) {
|
||||
@@ -802,7 +804,6 @@ layout("/mobile/platform.html"){
|
||||
async created() {
|
||||
this.id = getQueryString('id') ? getQueryString('id') : ''
|
||||
this.index = getQueryString('index') ? getQueryString('index') : ''
|
||||
await this.getConfigData()
|
||||
//编辑传出来的参数
|
||||
this.fromUrlByMy = getQueryString('fromUrlByMy') ? getQueryString('fromUrlByMy') : ''
|
||||
this.enrollId = getQueryString('enrollId') ? getQueryString('enrollId') : ''
|
||||
@@ -811,6 +812,7 @@ layout("/mobile/platform.html"){
|
||||
await this.findSignUpInfoById()
|
||||
}
|
||||
await this.getData()
|
||||
await this.getConfigData(this.lineData.year)
|
||||
this.isLoad = true
|
||||
try {
|
||||
const parser = new DOMParser();
|
||||
|
||||
Reference in New Issue
Block a user