Commit 946eab95144af14885eebe17fed39c914402c318
1 parent
1f106db5
v1.9 优化客户周反馈bug
Showing
7 changed files
with
20 additions
and
9 deletions
src/api/simplify/simplifyOwnerTransactionCarApi.js
| ... | ... | @@ -16,9 +16,16 @@ export function listMachineTranslates(params) { |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | export function queryOwnerCars(params) { |
| 19 | - return request({ | |
| 20 | - url: '/owner.queryOwnerCars', | |
| 21 | - method: 'get', | |
| 22 | - params | |
| 19 | + return new Promise((resolve, reject) => { | |
| 20 | + request({ | |
| 21 | + url: '/owner.queryOwnerCars', | |
| 22 | + method: 'get', | |
| 23 | + params | |
| 24 | + }).then(response => { | |
| 25 | + const res = response.data | |
| 26 | + resolve(res) | |
| 27 | + }).catch(error => { | |
| 28 | + reject(error) | |
| 29 | + }) | |
| 23 | 30 | }) |
| 24 | 31 | } |
| 25 | 32 | \ No newline at end of file | ... | ... |
src/components/fee/simplifyMeterWaterLog.vue
src/components/owner/ownerDetailCar.vue
| ... | ... | @@ -160,7 +160,7 @@ export default { |
| 160 | 160 | }, |
| 161 | 161 | _addOwnerCar() { |
| 162 | 162 | this.$router.push({ |
| 163 | - path: '/pages/property/hireParkingSpace', | |
| 163 | + path: '/views/car/hireParkingSpace', | |
| 164 | 164 | query: { |
| 165 | 165 | ownerId: this.ownerDetailCarInfo.ownerId, |
| 166 | 166 | ownerName: this.ownerDetailCarInfo.ownerName | ... | ... |
src/components/owner/ownerDetailComplaint.vue
src/components/simplify/simplifyOwnerTransactionCar.vue
src/views/simplify/simplifyAcceptanceList.vue
| ... | ... | @@ -459,6 +459,7 @@ export default { |
| 459 | 459 | Object.assign(this.simplifyAcceptanceInfo, _owner) |
| 460 | 460 | this.simplifyAcceptanceInfo.ownerRemark = _owner.remark |
| 461 | 461 | this.simplifyAcceptanceInfo.ownerPhoto = _owner.faceUrl |
| 462 | + this.simplifyAcceptanceInfo.ownerName = _owner.name | |
| 462 | 463 | |
| 463 | 464 | if (!Object.prototype.hasOwnProperty.call(_owner, 'rooms')) { |
| 464 | 465 | return |
| ... | ... | @@ -531,7 +532,8 @@ export default { |
| 531 | 532 | ownerId: this.simplifyAcceptanceInfo.ownerId, |
| 532 | 533 | ownerName: this.simplifyAcceptanceInfo.ownerName, |
| 533 | 534 | roomId: this.simplifyAcceptanceInfo.roomId, |
| 534 | - roomName: this.simplifyAcceptanceInfo.roomName | |
| 535 | + roomName: this.simplifyAcceptanceInfo.roomName, | |
| 536 | + objId: this.simplifyAcceptanceInfo.roomId | |
| 535 | 537 | }) |
| 536 | 538 | } |
| 537 | 539 | }, 1000); | ... | ... |