Commit b8952de5b1ca440d835d22389a4caa8db1bc22a1
1 parent
89cd2fed
v1.9 业主重置密码不显示问题
Showing
5 changed files
with
18 additions
and
11 deletions
src/api/fee/tempImportRoomFeeApi.js
| 1 | 1 | import request from '@/utils/request' |
| 2 | 2 | |
| 3 | 3 | export function importTempData(data) { |
| 4 | - return request({ | |
| 5 | - url: '/importRoomFee/importTempData', | |
| 6 | - method: 'post', | |
| 7 | - data | |
| 4 | + | |
| 5 | + return new Promise((resolve, reject) => { | |
| 6 | + request({ | |
| 7 | + url: '/callComponent/importRoomFee/importTempData', | |
| 8 | + method: 'post', | |
| 9 | + data | |
| 10 | + }).then(res => { | |
| 11 | + resolve(res.data) | |
| 12 | + }).catch(err => { | |
| 13 | + reject(err) | |
| 14 | + }) | |
| 8 | 15 | }) |
| 9 | -} | |
| 10 | 16 | \ No newline at end of file |
| 17 | +} | ... | ... |
src/api/owner/auditAuthOwnerApi.js
src/components/fee/tempImportRoomFee.vue
| ... | ... | @@ -161,9 +161,9 @@ export default { |
| 161 | 161 | ...this.form, |
| 162 | 162 | communityId: this.communityId |
| 163 | 163 | }) |
| 164 | - if (res.code === 0) { | |
| 164 | + if (res.code == 0) { | |
| 165 | 165 | this.dialogVisible = false |
| 166 | - this.$emit('notify') | |
| 166 | + this.$emit('success') | |
| 167 | 167 | this.$message.success(this.$t('tempImportRoomFee.createSuccess')) |
| 168 | 168 | } else { |
| 169 | 169 | this.$message.error(res.msg) | ... | ... |
src/components/owner/ResetStaffPwd.vue