Commit e02068d92ec50a357576415985b708a73a556eeb

Authored by wuxw
1 parent 595b8303

v1.9 报修相关功能优化

src/views/work/repairDetailList.vue
@@ -250,6 +250,7 @@ export default { @@ -250,6 +250,7 @@ export default {
250 try { 250 try {
251 const data = await getRepairDetail(this.repairDetailInfo.repairId) 251 const data = await getRepairDetail(this.repairDetailInfo.repairId)
252 Object.assign(this.repairDetailInfo, data) 252 Object.assign(this.repairDetailInfo, data)
  253 + this.changeTab('repairDetailPhotos')
253 } catch (error) { 254 } catch (error) {
254 this.$message.error(error.message) 255 this.$message.error(error.message)
255 } 256 }
src/views/work/repairTypeUserList.vue
1 <template> 1 <template>
2 - <div> 2 + <div class="padding">
3 <el-row> 3 <el-row>
4 <el-col :span="24"> 4 <el-col :span="24">
5 <el-card class="box-card"> 5 <el-card class="box-card">
6 - <div slot="header" class="clearfix">  
7 - <h5>{{ $t('repairTypeUser.title') }}</h5>  
8 - <div class="ibox-tools" style="top:10px;"> 6 + <div slot="header" class="flex justify-between">
  7 + <span>{{ $t('repairTypeUser.title') }}</span>
  8 + <div class="ibox-tools" >
9 <el-button type="primary" size="small" @click="_goBack"> 9 <el-button type="primary" size="small" @click="_goBack">
10 <i class="el-icon-close"></i>{{ $t('common.back') }} 10 <i class="el-icon-close"></i>{{ $t('common.back') }}
11 </el-button> 11 </el-button>