Compare commits

...

4 Commits

Author SHA1 Message Date
wuxw
ff94119c1f v1.9 业主页面男女 bug 修复 2025-07-30 16:12:03 +08:00
wuxw
6f0d0f5b94 v1.9 报修相关功能优化 2025-07-30 11:57:03 +08:00
wuxw
e02068d92e v1.9 报修相关功能优化 2025-07-30 11:53:04 +08:00
wuxw
595b83032a v1.9 工作单办理bug 2025-07-30 11:37:27 +08:00
4 changed files with 18 additions and 7 deletions

View File

@ -96,7 +96,7 @@
<el-table-column :label="$t('listOwner.columns.gender')" align="center">
<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>
</el-table-column>
@ -295,9 +295,9 @@ export default {
page: this.currentPage,
row: this.pageSize
}
const { data, records } = await queryOwners(params)
const { data, total } = await queryOwners(params)
this.owners = data
this.total = records
this.total = total
this.dealOwnerAttr(data)
} catch (error) {
console.error('Failed to get owner list:', error)

View File

@ -250,6 +250,7 @@ export default {
try {
const data = await getRepairDetail(this.repairDetailInfo.repairId)
Object.assign(this.repairDetailInfo, data)
this.changeTab('repairDetailPhotos')
} catch (error) {
this.$message.error(error.message)
}

View File

@ -40,6 +40,11 @@ export const messages = {
repairContent: 'Repair Content',
operationSuggestions: 'Operation Suggestions',
endReason: 'End Reason',
paidService: 'Paid Service',
freeService: 'Free Service',
needMaterials: 'Need Materials',
noMaterialsNeeded: 'No Materials Needed',
timedTaskProcessing: 'Timed Task Processing'
}
},
zh: {
@ -83,6 +88,11 @@ export const messages = {
repairContent: '报修内容',
operationSuggestions: '说明',
endReason: '结束原因',
paidService: '付费服务',
freeService: '免费服务',
needMaterials: '需要材料',
noMaterialsNeeded: '不需要材料',
timedTaskProcessing: '定时任务处理中'
}
}
}

View File

@ -1,11 +1,11 @@
<template>
<div>
<div class="padding">
<el-row>
<el-col :span="24">
<el-card class="box-card">
<div slot="header" class="clearfix">
<h5>{{ $t('repairTypeUser.title') }}</h5>
<div class="ibox-tools" style="top:10px;">
<div slot="header" class="flex justify-between">
<span>{{ $t('repairTypeUser.title') }}</span>
<div class="ibox-tools" >
<el-button type="primary" size="small" @click="_goBack">
<i class="el-icon-close"></i>{{ $t('common.back') }}
</el-button>