v1.9 报修相关功能优化

This commit is contained in:
wuxw 2025-07-30 11:53:04 +08:00
parent 595b83032a
commit e02068d92e
2 changed files with 5 additions and 4 deletions

View File

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

View File

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