mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
Compare commits
2 Commits
c54a6f92fb
...
d5f60d46cc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5f60d46cc | ||
|
|
1cfc4fea0a |
@ -21,7 +21,7 @@
|
|||||||
:placeholder="$t('roomDecorationRecord.remarkPlaceholder')" :rows="3" />
|
:placeholder="$t('roomDecorationRecord.remarkPlaceholder')" :rows="3" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('roomDecorationRecord.uploadImage')">
|
<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>
|
||||||
<el-form-item :label="$t('roomDecorationRecord.uploadVideo')">
|
<el-form-item :label="$t('roomDecorationRecord.uploadVideo')">
|
||||||
<upload-vedio ref="uploadVedio" @change="handleVideoChange" />
|
<upload-vedio ref="uploadVedio" @change="handleVideoChange" />
|
||||||
@ -94,7 +94,7 @@ export default {
|
|||||||
this.clearRoomDecorationRecordInfo()
|
this.clearRoomDecorationRecordInfo()
|
||||||
},
|
},
|
||||||
handleImageChange(photosUrl) {
|
handleImageChange(photosUrl) {
|
||||||
this.roomDecorationRecordInfo.photos = photosUrl.map(item => item.fileId)
|
this.roomDecorationRecordInfo.photos = photosUrl
|
||||||
},
|
},
|
||||||
handleVideoChange(videoInfo) {
|
handleVideoChange(videoInfo) {
|
||||||
this.roomDecorationRecordInfo.videoName = videoInfo.realFileName
|
this.roomDecorationRecordInfo.videoName = videoInfo.realFileName
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
<el-table-column prop="roomName" :label="$t('listRoomRenovationRecordDetails.room')" align="center" />
|
<el-table-column prop="roomName" :label="$t('listRoomRenovationRecordDetails.room')" align="center" />
|
||||||
<el-table-column :label="$t('listRoomRenovationRecordDetails.media')" align="center">
|
<el-table-column :label="$t('listRoomRenovationRecordDetails.media')" align="center">
|
||||||
<template slot-scope="scope">
|
<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"
|
<el-image :src="scope.row.url" :preview-src-list="[scope.row.url]" fit="cover"
|
||||||
style="width:50px;height:50px">
|
style="width:50px;height:50px">
|
||||||
<div slot="error" class="image-slot">
|
<div slot="error" class="image-slot">
|
||||||
|
|||||||
@ -116,8 +116,8 @@ export default {
|
|||||||
feeTypeCd: this.reportProficientInfo.conditions.feeTypeCd,
|
feeTypeCd: this.reportProficientInfo.conditions.feeTypeCd,
|
||||||
valid: '1'
|
valid: '1'
|
||||||
}
|
}
|
||||||
const { data } = await getFeeConfigList(params)
|
const { feeConfigs } = await getFeeConfigList(params)
|
||||||
this.reportProficientInfo.feeConfigDtos = data
|
this.reportProficientInfo.feeConfigDtos = feeConfigs
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('获取收费项失败:', error)
|
console.error('获取收费项失败:', error)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -181,7 +181,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res = await deployWorkflow({ modelId: row.modelId })
|
const res = await deployWorkflow({ modelId: row.modelId })
|
||||||
if (res.code === 0) {
|
if (res.code=== 0) {
|
||||||
this.$message.success(this.$t('common.operationSuccess'))
|
this.$message.success(this.$t('common.operationSuccess'))
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
} else {
|
} else {
|
||||||
@ -189,7 +189,7 @@ export default {
|
|||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('部署流程失败:', error)
|
console.error('部署流程失败:', error)
|
||||||
this.$message.error(this.$t('common.submitFailed'))
|
this.$message.error(error)
|
||||||
} finally {
|
} finally {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user