mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
Compare commits
2 Commits
c54a6f92fb
...
d5f60d46cc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5f60d46cc | ||
|
|
1cfc4fea0a |
@ -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
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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)
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user