Compare commits

...

2 Commits

Author SHA1 Message Date
wuxw
d5f60d46cc v1.9 优化 费用台账中费用项无法选择的问题 2025-11-03 19:16:35 +08:00
wuxw
1cfc4fea0a v1.9 优化装修图片上传bug 2025-11-03 18:59:26 +08:00
4 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@
:placeholder="$t('roomDecorationRecord.remarkPlaceholder')" :rows="3" />
</el-form-item>
<el-form-item :label="$t('roomDecorationRecord.uploadImage')">
<upload-image-url ref="uploadImageUrl" :image-count="99" @notifyUploadCoverImage="handleImageChange" />
<upload-image-url ref="uploadImageUrl" :image-count="1" @notifyUploadCoverImage="handleImageChange" />
</el-form-item>
<el-form-item :label="$t('roomDecorationRecord.uploadVideo')">
<upload-vedio ref="uploadVedio" @change="handleVideoChange" />
@ -94,7 +94,7 @@ export default {
this.clearRoomDecorationRecordInfo()
},
handleImageChange(photosUrl) {
this.roomDecorationRecordInfo.photos = photosUrl.map(item => item.fileId)
this.roomDecorationRecordInfo.photos = photosUrl
},
handleVideoChange(videoInfo) {
this.roomDecorationRecordInfo.videoName = videoInfo.realFileName

View File

@ -20,7 +20,7 @@
<el-table-column prop="roomName" :label="$t('listRoomRenovationRecordDetails.room')" align="center" />
<el-table-column :label="$t('listRoomRenovationRecordDetails.media')" align="center">
<template slot-scope="scope">
<div v-if="scope.row.relTypeCd === '19000'" class="image-container" @click="showImg(scope.row.url)">
<div v-if="scope.row.relTypeCd === '19000'" class="image-container" >
<el-image :src="scope.row.url" :preview-src-list="[scope.row.url]" fit="cover"
style="width:50px;height:50px">
<div slot="error" class="image-slot">

View File

@ -116,8 +116,8 @@ export default {
feeTypeCd: this.reportProficientInfo.conditions.feeTypeCd,
valid: '1'
}
const { data } = await getFeeConfigList(params)
this.reportProficientInfo.feeConfigDtos = data
const { feeConfigs } = await getFeeConfigList(params)
this.reportProficientInfo.feeConfigDtos = feeConfigs
} catch (error) {
console.error('获取收费项失败:', error)
}

View File

@ -181,7 +181,7 @@ export default {
try {
this.loading = true
const res = await deployWorkflow({ modelId: row.modelId })
if (res.code === 0) {
if (res.code=== 0) {
this.$message.success(this.$t('common.operationSuccess'))
this.fetchData()
} else {
@ -189,7 +189,7 @@ export default {
}
} catch (error) {
console.error('部署流程失败:', error)
this.$message.error(this.$t('common.submitFailed'))
this.$message.error(error)
} finally {
this.loading = false
}