mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
代码暂存
This commit is contained in:
parent
6e130fdacf
commit
fb7bc2c7b9
@ -45,11 +45,7 @@ export function importRoomFeeData(formData) {
|
|||||||
}
|
}
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
const res = response.data
|
const res = response.data
|
||||||
if (res.code === 0) {
|
resolve(res)
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject(res.msg)
|
|
||||||
}
|
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
reject(error.response.data)
|
reject(error.response.data)
|
||||||
})
|
})
|
||||||
|
|||||||
@ -118,10 +118,17 @@ export default {
|
|||||||
})
|
})
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$message.success(this.$t('importRoomFee.message.importSuccess'))
|
this.$message.success(this.$t('importRoomFee.message.importSuccess'))
|
||||||
this.$emit('success')
|
|
||||||
this.visible = false
|
this.visible = false
|
||||||
|
this.$emit('success')
|
||||||
|
this.$router.push({
|
||||||
|
path: '/views/system/assetImportLogDetail',
|
||||||
|
query: {
|
||||||
|
logId: res.data.logId,
|
||||||
|
logType: 'importRoomFee'
|
||||||
|
}
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res)
|
this.$message.error(res.msg)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@ -44,8 +44,8 @@ export default {
|
|||||||
logo: '',
|
logo: '',
|
||||||
companyName:'',
|
companyName:'',
|
||||||
loginForm: {
|
loginForm: {
|
||||||
username: 'wuxw',
|
username: '',
|
||||||
passwd: 'admin',
|
passwd: '',
|
||||||
validateCode: ''
|
validateCode: ''
|
||||||
},
|
},
|
||||||
captchaUrl: '',
|
captchaUrl: '',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user