mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
v1.9 业主重置密码不显示问题
This commit is contained in:
parent
89cd2fed09
commit
b8952de5b1
@ -1,9 +1,16 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function importTempData(data) {
|
||||
return request({
|
||||
url: '/importRoomFee/importTempData',
|
||||
method: 'post',
|
||||
data
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
request({
|
||||
url: '/callComponent/importRoomFee/importTempData',
|
||||
method: 'post',
|
||||
data
|
||||
}).then(res => {
|
||||
resolve(res.data)
|
||||
}).catch(err => {
|
||||
reject(err)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ export function resetStaffPwd(data) {
|
||||
}
|
||||
}).then(response => {
|
||||
const res = response.data
|
||||
if (res.code === 0) {
|
||||
if (res.code == 0) {
|
||||
resolve(res)
|
||||
} else {
|
||||
reject(new Error(res.msg || '重置密码失败'))
|
||||
|
||||
@ -161,9 +161,9 @@ export default {
|
||||
...this.form,
|
||||
communityId: this.communityId
|
||||
})
|
||||
if (res.code === 0) {
|
||||
if (res.code == 0) {
|
||||
this.dialogVisible = false
|
||||
this.$emit('notify')
|
||||
this.$emit('success')
|
||||
this.$message.success(this.$t('tempImportRoomFee.createSuccess'))
|
||||
} else {
|
||||
this.$message.error(res.msg)
|
||||
|
||||
@ -41,7 +41,7 @@ export default {
|
||||
|
||||
const res = await resetStaffPwd(params)
|
||||
this.$message.success(
|
||||
this.$t('resetPwd.successMsg', { pwd: res.pwd }),
|
||||
this.$t('common.resetPwdSuccess', { pwd: res.pwd }),
|
||||
10000
|
||||
)
|
||||
this.closeDialog()
|
||||
|
||||
@ -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