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