Compare commits

..

No commits in common. "ff94119c1f928441e3a9d6eb81d2949ee4f4e003" and "0a3f3db0ed0a5f9904f090a505b29c640a3115ed" have entirely different histories.

4 changed files with 7 additions and 18 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, total } = await queryOwners(params)
const { data, records } = await queryOwners(params)
this.owners = data
this.total = total
this.total = records
this.dealOwnerAttr(data)
} catch (error) {
console.error('Failed to get owner list:', error)

View File

@ -250,7 +250,6 @@ 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,11 +40,6 @@ 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: {
@ -88,11 +83,6 @@ export const messages = {
repairContent: '报修内容',
operationSuggestions: '说明',
endReason: '结束原因',
paidService: '付费服务',
freeService: '免费服务',
needMaterials: '需要材料',
noMaterialsNeeded: '不需要材料',
timedTaskProcessing: '定时任务处理中'
}
}
}

View File

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