mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
v1.9 业主页面男女 bug 修复
This commit is contained in:
parent
6f0d0f5b94
commit
ff94119c1f
@ -96,7 +96,7 @@
|
|||||||
|
|
||||||
<el-table-column :label="$t('listOwner.columns.gender')" align="center">
|
<el-table-column :label="$t('listOwner.columns.gender')" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.sex === 0 ? $t('listOwner.gender.male') : $t('listOwner.gender.female') }}
|
{{ scope.row.sex == 0 ? $t('listOwner.gender.male') : $t('listOwner.gender.female') }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
@ -295,9 +295,9 @@ export default {
|
|||||||
page: this.currentPage,
|
page: this.currentPage,
|
||||||
row: this.pageSize
|
row: this.pageSize
|
||||||
}
|
}
|
||||||
const { data, records } = await queryOwners(params)
|
const { data, total } = await queryOwners(params)
|
||||||
this.owners = data
|
this.owners = data
|
||||||
this.total = records
|
this.total = total
|
||||||
this.dealOwnerAttr(data)
|
this.dealOwnerAttr(data)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Failed to get owner list:', error)
|
console.error('Failed to get owner list:', error)
|
||||||
|
|||||||
@ -44,8 +44,8 @@ export default {
|
|||||||
logo: '',
|
logo: '',
|
||||||
companyName:'',
|
companyName:'',
|
||||||
loginForm: {
|
loginForm: {
|
||||||
username: 'wuxw',
|
username: '',
|
||||||
passwd: 'admin',
|
passwd: '',
|
||||||
validateCode: ''
|
validateCode: ''
|
||||||
},
|
},
|
||||||
captchaUrl: '',
|
captchaUrl: '',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user