mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
Compare commits
5 Commits
1f106db540
...
5fec9cadc0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5fec9cadc0 | ||
|
|
7aa2ca341c | ||
|
|
edfcb91bcf | ||
|
|
52b5e4b9fb | ||
|
|
946eab9514 |
@ -16,9 +16,16 @@ export function listMachineTranslates(params) {
|
||||
}
|
||||
|
||||
export function queryOwnerCars(params) {
|
||||
return request({
|
||||
return new Promise((resolve, reject) => {
|
||||
request({
|
||||
url: '/owner.queryOwnerCars',
|
||||
method: 'get',
|
||||
params
|
||||
}).then(response => {
|
||||
const res = response.data
|
||||
resolve(res)
|
||||
}).catch(error => {
|
||||
reject(error)
|
||||
})
|
||||
})
|
||||
}
|
||||
@ -152,7 +152,7 @@ export default {
|
||||
|
||||
try {
|
||||
// 这里需要根据实际API实现查询房屋信息
|
||||
const { rooms } = await queryRooms({ roomName: this.form.roomName, page: 1, row: 10, communityId: getCommunityId() })
|
||||
const { rooms } = await queryRooms({ roomNum: this.form.roomName, page: 1, row: 10,flag:1, communityId: getCommunityId() })
|
||||
if (rooms.length > 0) {
|
||||
this.form.personName = rooms[0].ownerName
|
||||
this.form.personTel = rooms[0].link
|
||||
|
||||
@ -56,6 +56,7 @@ export default {
|
||||
form: {
|
||||
rId: '',
|
||||
roomName: '',
|
||||
roomId: '',
|
||||
state: '',
|
||||
remark: '',
|
||||
detailType: '1001',
|
||||
@ -68,6 +69,7 @@ export default {
|
||||
this.form = {
|
||||
rId: row.rId,
|
||||
roomName: row.roomName,
|
||||
roomId: row.roomId,
|
||||
state: '',
|
||||
remark: '',
|
||||
detailType: '1001',
|
||||
@ -80,6 +82,7 @@ export default {
|
||||
this.form = {
|
||||
rId: '',
|
||||
roomName: '',
|
||||
roomId: '',
|
||||
state: '',
|
||||
remark: '',
|
||||
detailType: '1001',
|
||||
|
||||
@ -38,6 +38,7 @@ export default {
|
||||
open(row) {
|
||||
this.form = {
|
||||
rId: row.rId,
|
||||
roomId: row.roomId,
|
||||
communityId: this.getCommunityId()
|
||||
}
|
||||
this.visible = true
|
||||
@ -46,6 +47,7 @@ export default {
|
||||
resetForm() {
|
||||
this.form = {
|
||||
rId: '',
|
||||
roomId: '',
|
||||
communityId: ''
|
||||
}
|
||||
},
|
||||
|
||||
@ -49,6 +49,7 @@ export default {
|
||||
open(row) {
|
||||
this.form = {
|
||||
rId: row.rId,
|
||||
roomId: row.roomId,
|
||||
roomName: row.roomName,
|
||||
state: '',
|
||||
examineRemark: '',
|
||||
@ -60,6 +61,7 @@ export default {
|
||||
resetForm() {
|
||||
this.form = {
|
||||
rId: '',
|
||||
roomId: '',
|
||||
roomName: '',
|
||||
state: '',
|
||||
examineRemark: '',
|
||||
|
||||
@ -84,7 +84,7 @@ export default {
|
||||
page,
|
||||
row,
|
||||
communityId: this.communityId,
|
||||
roomNum: this.simplifyMeterWaterFeeInfo.roomName,
|
||||
objId: this.simplifyMeterWaterFeeInfo.roomId,
|
||||
meterType: this.simplifyMeterWaterFeeInfo.meterType
|
||||
}
|
||||
|
||||
|
||||
@ -191,12 +191,12 @@ export default {
|
||||
}
|
||||
saveOwnerMember(params)
|
||||
.then(res => {
|
||||
if (res.code === 0) {
|
||||
if (res.code == 0) {
|
||||
this.$message.success(this.$t('common.saveSuccess'))
|
||||
this.dialogVisible = false
|
||||
this.$emit('success')
|
||||
} else {
|
||||
this.$message.error(res.data.msg || this.$t('common.saveFailed'))
|
||||
this.$message.error(res.msg || this.$t('common.saveFailed'))
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
|
||||
@ -160,7 +160,7 @@ export default {
|
||||
},
|
||||
_addOwnerCar() {
|
||||
this.$router.push({
|
||||
path: '/pages/property/hireParkingSpace',
|
||||
path: '/views/car/hireParkingSpace',
|
||||
query: {
|
||||
ownerId: this.ownerDetailCarInfo.ownerId,
|
||||
ownerName: this.ownerDetailCarInfo.ownerName
|
||||
|
||||
@ -83,6 +83,7 @@ export default {
|
||||
const params = {
|
||||
communityId: getCommunityId(),
|
||||
memberId: this.ownerDetailComplaintInfo.ownerId,
|
||||
tel: this.ownerDetailComplaintInfo.link,
|
||||
page: page,
|
||||
row: row
|
||||
}
|
||||
|
||||
@ -83,6 +83,7 @@ export default {
|
||||
})
|
||||
},
|
||||
async listMachineTranslates() {
|
||||
if(!this.simplifyOwnerTransactionCarInfo.carId) return
|
||||
try {
|
||||
const params = {
|
||||
page: this.currentPage,
|
||||
|
||||
@ -59,6 +59,8 @@ export const messages = {
|
||||
submitSuccess:'Submit successfully',
|
||||
submitFailed:'Submit failed',
|
||||
saveSuccess:'successfully',
|
||||
operationSuccess:'Operation successfully',
|
||||
operationFailed:'Operation failed',
|
||||
noData:'No Data',
|
||||
file:'File',
|
||||
hide:'Hide',
|
||||
@ -132,6 +134,8 @@ export const messages = {
|
||||
submitSuccess:'提交成功',
|
||||
submitFailed:'提交失败',
|
||||
saveSuccess:'成功',
|
||||
operationSuccess:'操作成功',
|
||||
operationFailed:'操作失败',
|
||||
noData:'暂无数据',
|
||||
file:'附件',
|
||||
hide:'隐藏',
|
||||
|
||||
@ -150,6 +150,7 @@ export default {
|
||||
},
|
||||
handleSuccess() {
|
||||
this.$refs.machineTypeTree.refreshTree()
|
||||
this.handleSwitchType(this.machineTypeInfo)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -459,6 +459,7 @@ export default {
|
||||
Object.assign(this.simplifyAcceptanceInfo, _owner)
|
||||
this.simplifyAcceptanceInfo.ownerRemark = _owner.remark
|
||||
this.simplifyAcceptanceInfo.ownerPhoto = _owner.faceUrl
|
||||
this.simplifyAcceptanceInfo.ownerName = _owner.name
|
||||
|
||||
if (!Object.prototype.hasOwnProperty.call(_owner, 'rooms')) {
|
||||
return
|
||||
@ -531,7 +532,8 @@ export default {
|
||||
ownerId: this.simplifyAcceptanceInfo.ownerId,
|
||||
ownerName: this.simplifyAcceptanceInfo.ownerName,
|
||||
roomId: this.simplifyAcceptanceInfo.roomId,
|
||||
roomName: this.simplifyAcceptanceInfo.roomName
|
||||
roomName: this.simplifyAcceptanceInfo.roomName,
|
||||
objId: this.simplifyAcceptanceInfo.roomId
|
||||
})
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user