mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
Compare commits
4 Commits
0a3f3db0ed
...
ff94119c1f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff94119c1f | ||
|
|
6f0d0f5b94 | ||
|
|
e02068d92e | ||
|
|
595b83032a |
@ -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)
|
||||
|
||||
@ -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)
|
||||
}
|
||||
|
||||
@ -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: '定时任务处理中'
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user