Commit acfe91a9acbd42a80e89caa17738e847a89c2617
1 parent
6ec243d6
v1.9 修复客户反馈车位结构图部分bug
Showing
11 changed files
with
90 additions
and
63 deletions
src/components/community/RoomDecorationAcceptance.vue
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | width="40%" | 5 | width="40%" |
| 6 | @close="resetForm" | 6 | @close="resetForm" |
| 7 | > | 7 | > |
| 8 | - <el-form :model="form" ref="form" label-width="120px"> | 8 | + <el-form :model="form" ref="form" :rules="rules" label-width="120px"> |
| 9 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName"> | 9 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName"> |
| 10 | <el-input | 10 | <el-input |
| 11 | v-model.trim="form.roomName" | 11 | v-model.trim="form.roomName" |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | /> | 13 | /> |
| 14 | </el-form-item> | 14 | </el-form-item> |
| 15 | 15 | ||
| 16 | - <el-form-item :label="$t('roomRenovationManage.status')" prop="state" required> | 16 | + <el-form-item :label="$t('roomRenovationManage.status')" prop="state" > |
| 17 | <el-select v-model="form.state"> | 17 | <el-select v-model="form.state"> |
| 18 | <el-option | 18 | <el-option |
| 19 | :label="$t('roomRenovationManage.acceptanceSuccess')" | 19 | :label="$t('roomRenovationManage.acceptanceSuccess')" |
| @@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
| 26 | </el-select> | 26 | </el-select> |
| 27 | </el-form-item> | 27 | </el-form-item> |
| 28 | 28 | ||
| 29 | - <el-form-item :label="$t('roomRenovationManage.acceptanceOpinion')" prop="remark" required> | 29 | + <el-form-item :label="$t('roomRenovationManage.acceptanceOpinion')" prop="remark" > |
| 30 | <el-input | 30 | <el-input |
| 31 | v-model.trim="form.remark" | 31 | v-model.trim="form.remark" |
| 32 | type="textarea" | 32 | type="textarea" |
| @@ -61,6 +61,14 @@ export default { | @@ -61,6 +61,14 @@ export default { | ||
| 61 | remark: '', | 61 | remark: '', |
| 62 | detailType: '1001', | 62 | detailType: '1001', |
| 63 | communityId: '' | 63 | communityId: '' |
| 64 | + }, | ||
| 65 | + rules: { | ||
| 66 | + state: [ | ||
| 67 | + { required: true, message: this.$t('common.required'), trigger: 'change' } | ||
| 68 | + ], | ||
| 69 | + remark: [ | ||
| 70 | + { required: true, message: this.$t('common.required'), trigger: 'blur' } | ||
| 71 | + ] | ||
| 64 | } | 72 | } |
| 65 | } | 73 | } |
| 66 | }, | 74 | }, |
src/components/community/RoomDecorationRecord.vue
| @@ -118,7 +118,11 @@ export default { | @@ -118,7 +118,11 @@ export default { | ||
| 118 | 118 | ||
| 119 | 119 | ||
| 120 | 120 | ||
| 121 | - await updateRoomDecorationRecord(this.roomDecorationRecordInfo) | 121 | + const {code,msg} = await updateRoomDecorationRecord(this.roomDecorationRecordInfo) |
| 122 | + if(code != 0){ | ||
| 123 | + this.$message.error(msg); | ||
| 124 | + return; | ||
| 125 | + } | ||
| 122 | this.$message.success(this.$t('common.operationSuccess')) | 126 | this.$message.success(this.$t('common.operationSuccess')) |
| 123 | this.$emit('success') | 127 | this.$emit('success') |
| 124 | this.visible = false | 128 | this.visible = false |
src/components/community/RoomToExamine.vue
| 1 | <template> | 1 | <template> |
| 2 | <el-dialog :title="$t('roomRenovationManage.review')" :visible.sync="visible" width="40%" @close="resetForm"> | 2 | <el-dialog :title="$t('roomRenovationManage.review')" :visible.sync="visible" width="40%" @close="resetForm"> |
| 3 | - <el-form :model="form" ref="form" label-width="120px"> | 3 | + <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName"> | 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName"> |
| 5 | <el-input v-model.trim="form.roomName" disabled /> | 5 | <el-input v-model.trim="form.roomName" disabled /> |
| 6 | </el-form-item> | 6 | </el-form-item> |
| 7 | 7 | ||
| 8 | - <el-form-item :label="$t('roomRenovationManage.status')" prop="state" required> | 8 | + <el-form-item :label="$t('roomRenovationManage.status')" prop="state"> |
| 9 | <el-select v-model="form.state"> | 9 | <el-select v-model="form.state"> |
| 10 | <el-option :label="$t('roomRenovationManage.reviewPass')" value="3000" /> | 10 | <el-option :label="$t('roomRenovationManage.reviewPass')" value="3000" /> |
| 11 | <el-option :label="$t('roomRenovationManage.reviewReject')" value="2000" /> | 11 | <el-option :label="$t('roomRenovationManage.reviewReject')" value="2000" /> |
| 12 | </el-select> | 12 | </el-select> |
| 13 | </el-form-item> | 13 | </el-form-item> |
| 14 | 14 | ||
| 15 | - <el-form-item :label="$t('roomRenovationManage.reviewOpinion')" prop="examineRemark" required> | 15 | + <el-form-item :label="$t('roomRenovationManage.reviewOpinion')" prop="examineRemark"> |
| 16 | <el-input v-model.trim="form.examineRemark" type="textarea" /> | 16 | <el-input v-model.trim="form.examineRemark" type="textarea" /> |
| 17 | </el-form-item> | 17 | </el-form-item> |
| 18 | </el-form> | 18 | </el-form> |
| @@ -42,6 +42,14 @@ export default { | @@ -42,6 +42,14 @@ export default { | ||
| 42 | state: '', | 42 | state: '', |
| 43 | examineRemark: '', | 43 | examineRemark: '', |
| 44 | communityId: '' | 44 | communityId: '' |
| 45 | + }, | ||
| 46 | + rules: { | ||
| 47 | + state: [ | ||
| 48 | + { required: true, message: this.$t('common.pleaseSelect'), trigger: 'change' } | ||
| 49 | + ], | ||
| 50 | + examineRemark: [ | ||
| 51 | + { required: true, message: this.$t('common.pleaseInput'), trigger: 'blur' } | ||
| 52 | + ] | ||
| 45 | } | 53 | } |
| 46 | } | 54 | } |
| 47 | }, | 55 | }, |
| @@ -67,18 +75,24 @@ export default { | @@ -67,18 +75,24 @@ export default { | ||
| 67 | examineRemark: '', | 75 | examineRemark: '', |
| 68 | communityId: '' | 76 | communityId: '' |
| 69 | } | 77 | } |
| 78 | + this.$refs.form && this.$refs.form.resetFields() | ||
| 70 | }, | 79 | }, |
| 71 | 80 | ||
| 72 | async saveRoomToExamine() { | 81 | async saveRoomToExamine() { |
| 73 | - try { | ||
| 74 | - await updateRoomToExamine(this.form) | ||
| 75 | - this.$message.success(this.$t('common.operationSuccess')) | ||
| 76 | - this.visible = false | ||
| 77 | - this.$emit('success') | ||
| 78 | - } catch (error) { | ||
| 79 | - console.error('保存审核信息失败:', error) | ||
| 80 | - this.$message.error(error.message || this.$t('common.operationFailed')) | ||
| 81 | - } | 82 | + this.$refs.form.validate(async (valid) => { |
| 83 | + if (!valid) { | ||
| 84 | + return false | ||
| 85 | + } | ||
| 86 | + try { | ||
| 87 | + await updateRoomToExamine(this.form) | ||
| 88 | + this.$message.success(this.$t('common.operationSuccess')) | ||
| 89 | + this.visible = false | ||
| 90 | + this.$emit('success') | ||
| 91 | + } catch (error) { | ||
| 92 | + console.error('保存审核信息失败:', error) | ||
| 93 | + this.$message.error(error.message || this.$t('common.operationFailed')) | ||
| 94 | + } | ||
| 95 | + }) | ||
| 82 | } | 96 | } |
| 83 | } | 97 | } |
| 84 | } | 98 | } |
src/components/owner/ownerDetailRoom.vue
| @@ -76,7 +76,7 @@ | @@ -76,7 +76,7 @@ | ||
| 76 | </div> | 76 | </div> |
| 77 | 77 | ||
| 78 | <edit-room ref="editRoom" @refresh="_loadOwnerDetailRoomData" /> | 78 | <edit-room ref="editRoom" @refresh="_loadOwnerDetailRoomData" /> |
| 79 | - <owner-exit-room ref="ownerExitRoom" @refresh="_loadOwnerDetailRoomData" /> | 79 | + <owner-exit-room ref="ownerExitRoom" @success="_loadOwnerDetailRoomData" /> |
| 80 | </div> | 80 | </div> |
| 81 | </template> | 81 | </template> |
| 82 | 82 |
src/components/owner/ownerExitRoom.vue
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | 42 | ||
| 43 | const res = await exitRoom(params) | 43 | const res = await exitRoom(params) |
| 44 | if (res.code === 0) { | 44 | if (res.code === 0) { |
| 45 | - this.$emit('exit-success') | 45 | + this.$emit('success') |
| 46 | this.close() | 46 | this.close() |
| 47 | this.$message.success('退房成功') | 47 | this.$message.success('退房成功') |
| 48 | } else { | 48 | } else { |
src/components/owner/showOwnerRoom.vue
| @@ -104,7 +104,7 @@ | @@ -104,7 +104,7 @@ | ||
| 104 | </el-col> | 104 | </el-col> |
| 105 | </el-row> | 105 | </el-row> |
| 106 | 106 | ||
| 107 | - <owner-exit-room ref="exitRoomDialog" @exit-success="handleExitSuccess" /> | 107 | + <owner-exit-room ref="exitRoomDialog" @success="handleExitSuccess" /> |
| 108 | </div> | 108 | </div> |
| 109 | </template> | 109 | </template> |
| 110 | 110 |
src/components/room/deletePropertyRightRegistration.vue
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | }, | 42 | }, |
| 43 | async handleConfirm() { | 43 | async handleConfirm() { |
| 44 | try { | 44 | try { |
| 45 | - const res = await deletePropertyRightRegistration(this.deleteData) | 45 | + const res = await deletePropertyRightRegistration(this.deleteData.prrId) |
| 46 | if (res.code === 0) { | 46 | if (res.code === 0) { |
| 47 | this.$message.success(this.$t('common.operationSuccess')) | 47 | this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.visible = false | 48 | this.visible = false |
src/components/room/editPropertyRightRegistrationDetail.vue
| @@ -7,21 +7,22 @@ | @@ -7,21 +7,22 @@ | ||
| 7 | :placeholder="$t('propertyRightDetail.edit.materialTypePlaceholder')" disabled /> | 7 | :placeholder="$t('propertyRightDetail.edit.materialTypePlaceholder')" disabled /> |
| 8 | </el-form-item> | 8 | </el-form-item> |
| 9 | 9 | ||
| 10 | - <template v-if="editPropertyRightRegistrationDetailInfo.securities === '001'"> | 10 | + <template v-if="editPropertyRightRegistrationDetailInfo.securities == '001'"> |
| 11 | <el-form-item :label="$t('propertyRightDetail.edit.idCardPhoto')"> | 11 | <el-form-item :label="$t('propertyRightDetail.edit.idCardPhoto')"> |
| 12 | <upload-image-url ref="idCardUpload" :image-count="2" @notifyUploadCoverImage="handleIdCardImageChange" /> | 12 | <upload-image-url ref="idCardUpload" :image-count="2" @notifyUploadCoverImage="handleIdCardImageChange" /> |
| 13 | <p class="help-block">*{{ $t('propertyRightDetail.edit.idCardPhotoTip') }}*</p> | 13 | <p class="help-block">*{{ $t('propertyRightDetail.edit.idCardPhotoTip') }}*</p> |
| 14 | </el-form-item> | 14 | </el-form-item> |
| 15 | </template> | 15 | </template> |
| 16 | 16 | ||
| 17 | - <template v-if="editPropertyRightRegistrationDetailInfo.securities === '002'"> | 17 | + <template v-if="editPropertyRightRegistrationDetailInfo.securities == '002'"> |
| 18 | <el-form-item :label="$t('propertyRightDetail.edit.houseContract')"> | 18 | <el-form-item :label="$t('propertyRightDetail.edit.houseContract')"> |
| 19 | - <upload-image-url ref="housePurchaseUpload" :image-count="10" @notifyUploadCoverImage="handleHousePurchaseImageChange" /> | 19 | + <upload-image-url ref="housePurchaseUpload" :image-count="10" |
| 20 | + @notifyUploadCoverImage="handleHousePurchaseImageChange" /> | ||
| 20 | <p class="help-block">*{{ $t('propertyRightDetail.edit.houseContractTip') }}*</p> | 21 | <p class="help-block">*{{ $t('propertyRightDetail.edit.houseContractTip') }}*</p> |
| 21 | </el-form-item> | 22 | </el-form-item> |
| 22 | </template> | 23 | </template> |
| 23 | 24 | ||
| 24 | - <template v-if="editPropertyRightRegistrationDetailInfo.securities === '003'"> | 25 | + <template v-if="editPropertyRightRegistrationDetailInfo.securities == '003'"> |
| 25 | <el-form-item :label="$t('propertyRightDetail.edit.repairFund')"> | 26 | <el-form-item :label="$t('propertyRightDetail.edit.repairFund')"> |
| 26 | <el-select v-model="editPropertyRightRegistrationDetailInfo.isTrue" style="width: 100%" | 27 | <el-select v-model="editPropertyRightRegistrationDetailInfo.isTrue" style="width: 100%" |
| 27 | :placeholder="$t('propertyRightDetail.edit.repairFundPlaceholder')"> | 28 | :placeholder="$t('propertyRightDetail.edit.repairFundPlaceholder')"> |
| @@ -31,14 +32,14 @@ | @@ -31,14 +32,14 @@ | ||
| 31 | </el-select> | 32 | </el-select> |
| 32 | </el-form-item> | 33 | </el-form-item> |
| 33 | 34 | ||
| 34 | - <template v-if="editPropertyRightRegistrationDetailInfo.isTrue === 'true'"> | 35 | + <template v-if="editPropertyRightRegistrationDetailInfo.isTrue == 'true'"> |
| 35 | <el-form-item :label="$t('propertyRightDetail.edit.repairFundPhoto')"> | 36 | <el-form-item :label="$t('propertyRightDetail.edit.repairFundPhoto')"> |
| 36 | <upload-image-url ref="repairUpload" :image-count="3" @notifyUploadCoverImage="handleRepairImageChange" /> | 37 | <upload-image-url ref="repairUpload" :image-count="3" @notifyUploadCoverImage="handleRepairImageChange" /> |
| 37 | </el-form-item> | 38 | </el-form-item> |
| 38 | </template> | 39 | </template> |
| 39 | </template> | 40 | </template> |
| 40 | 41 | ||
| 41 | - <template v-if="editPropertyRightRegistrationDetailInfo.securities === '004'"> | 42 | + <template v-if="editPropertyRightRegistrationDetailInfo.securities == '004'"> |
| 42 | <el-form-item :label="$t('propertyRightDetail.edit.deedTax')"> | 43 | <el-form-item :label="$t('propertyRightDetail.edit.deedTax')"> |
| 43 | <el-select v-model="editPropertyRightRegistrationDetailInfo.isTrue" style="width: 100%" | 44 | <el-select v-model="editPropertyRightRegistrationDetailInfo.isTrue" style="width: 100%" |
| 44 | :placeholder="$t('propertyRightDetail.edit.deedTaxPlaceholder')"> | 45 | :placeholder="$t('propertyRightDetail.edit.deedTaxPlaceholder')"> |
| @@ -48,7 +49,7 @@ | @@ -48,7 +49,7 @@ | ||
| 48 | </el-select> | 49 | </el-select> |
| 49 | </el-form-item> | 50 | </el-form-item> |
| 50 | 51 | ||
| 51 | - <template v-if="editPropertyRightRegistrationDetailInfo.isTrue === 'true'"> | 52 | + <template v-if="editPropertyRightRegistrationDetailInfo.isTrue == 'true'"> |
| 52 | <el-form-item :label="$t('propertyRightDetail.edit.deedTaxPhoto')"> | 53 | <el-form-item :label="$t('propertyRightDetail.edit.deedTaxPhoto')"> |
| 53 | <upload-image-url ref="deedTaxUpload" :image-count="3" @notifyUploadCoverImage="handleDeedTaxImageChange" /> | 54 | <upload-image-url ref="deedTaxUpload" :image-count="3" @notifyUploadCoverImage="handleDeedTaxImageChange" /> |
| 54 | </el-form-item> | 55 | </el-form-item> |
| @@ -79,14 +80,9 @@ export default { | @@ -79,14 +80,9 @@ export default { | ||
| 79 | components: { | 80 | components: { |
| 80 | UploadImageUrl | 81 | UploadImageUrl |
| 81 | }, | 82 | }, |
| 82 | - props: { | ||
| 83 | - visible: { | ||
| 84 | - type: Boolean, | ||
| 85 | - default: false | ||
| 86 | - } | ||
| 87 | - }, | ||
| 88 | data() { | 83 | data() { |
| 89 | return { | 84 | return { |
| 85 | + visible: false, | ||
| 90 | editPropertyRightRegistrationDetailInfo: { | 86 | editPropertyRightRegistrationDetailInfo: { |
| 91 | prrdId: '', | 87 | prrdId: '', |
| 92 | prrId: '', | 88 | prrId: '', |
| @@ -101,7 +97,8 @@ export default { | @@ -101,7 +97,8 @@ export default { | ||
| 101 | housePurchasePhotos: [], | 97 | housePurchasePhotos: [], |
| 102 | repairPhotos: [], | 98 | repairPhotos: [], |
| 103 | deedTaxPhotos: [], | 99 | deedTaxPhotos: [], |
| 104 | - communityId: '' | 100 | + communityId: '', |
| 101 | + | ||
| 105 | } | 102 | } |
| 106 | } | 103 | } |
| 107 | }, | 104 | }, |
| @@ -115,28 +112,28 @@ export default { | @@ -115,28 +112,28 @@ export default { | ||
| 115 | }, | 112 | }, |
| 116 | loadPhotos() { | 113 | loadPhotos() { |
| 117 | setTimeout(() => { | 114 | setTimeout(() => { |
| 118 | - if (this.editPropertyRightRegistrationDetailInfo.securities === '001' && this.editPropertyRightRegistrationDetailInfo.idCardUrl) { | ||
| 119 | - const urls = this.editPropertyRightRegistrationDetailInfo.idCardUrl | ||
| 120 | - if (urls) { | ||
| 121 | - this.$refs.idCardUpload.setImages(urls.split(',')) | 115 | + if (this.editPropertyRightRegistrationDetailInfo.securities == '001' && this.editPropertyRightRegistrationDetailInfo.idCardUrl) { |
| 116 | + const urls = this.editPropertyRightRegistrationDetailInfo.idCardUrl | ||
| 117 | + if (urls) { | ||
| 118 | + this.$refs.idCardUpload.setImages(urls) | ||
| 119 | + } | ||
| 122 | } | 120 | } |
| 123 | - } | ||
| 124 | - if (this.editPropertyRightRegistrationDetailInfo.securities === '002' && this.editPropertyRightRegistrationDetailInfo.housePurchaseUrl) { | ||
| 125 | - const urls = this.editPropertyRightRegistrationDetailInfo.housePurchaseUrl | ||
| 126 | - if (urls) { | ||
| 127 | - this.$refs.housePurchaseUpload.setImages(urls.split(',')) | 121 | + if (this.editPropertyRightRegistrationDetailInfo.securities == '002' && this.editPropertyRightRegistrationDetailInfo.housePurchaseUrl) { |
| 122 | + const urls = this.editPropertyRightRegistrationDetailInfo.housePurchaseUrl | ||
| 123 | + if (urls) { | ||
| 124 | + this.$refs.housePurchaseUpload.setImages(urls) | ||
| 125 | + } | ||
| 128 | } | 126 | } |
| 129 | - } | ||
| 130 | - if (this.editPropertyRightRegistrationDetailInfo.securities === '003' && this.editPropertyRightRegistrationDetailInfo.repairUrl) { | ||
| 131 | - const urls = this.editPropertyRightRegistrationDetailInfo.repairUrl | ||
| 132 | - if (urls) { | ||
| 133 | - this.$refs.repairUpload.setImages(urls.split(',')) | 127 | + if (this.editPropertyRightRegistrationDetailInfo.securities == '003' && this.editPropertyRightRegistrationDetailInfo.repairUrl) { |
| 128 | + const urls = this.editPropertyRightRegistrationDetailInfo.repairUrl | ||
| 129 | + if (urls) { | ||
| 130 | + this.$refs.repairUpload.setImages(urls) | ||
| 131 | + } | ||
| 134 | } | 132 | } |
| 135 | - } | ||
| 136 | - if (this.editPropertyRightRegistrationDetailInfo.securities === '004' && this.editPropertyRightRegistrationDetailInfo.deedTaxUrl) { | ||
| 137 | - const urls = this.editPropertyRightRegistrationDetailInfo.deedTaxUrl | ||
| 138 | - if (urls) { | ||
| 139 | - this.$refs.deedTaxUpload.setImages(urls.split(',')) | 133 | + if (this.editPropertyRightRegistrationDetailInfo.securities == '004' && this.editPropertyRightRegistrationDetailInfo.deedTaxUrl) { |
| 134 | + const urls = this.editPropertyRightRegistrationDetailInfo.deedTaxUrl | ||
| 135 | + if (urls) { | ||
| 136 | + this.$refs.deedTaxUpload.setImages(urls) | ||
| 140 | } | 137 | } |
| 141 | } | 138 | } |
| 142 | }, 1000) | 139 | }, 1000) |
| @@ -159,13 +156,13 @@ export default { | @@ -159,13 +156,13 @@ export default { | ||
| 159 | } | 156 | } |
| 160 | 157 | ||
| 161 | const params = { ...this.editPropertyRightRegistrationDetailInfo } | 158 | const params = { ...this.editPropertyRightRegistrationDetailInfo } |
| 162 | - if (params.securities === '001') { | 159 | + if (params.securities == '001') { |
| 163 | params.idCardUrl = params.idCardPhotos && params.idCardPhotos.length > 0 ? params.idCardPhotos.join(',') : '' | 160 | params.idCardUrl = params.idCardPhotos && params.idCardPhotos.length > 0 ? params.idCardPhotos.join(',') : '' |
| 164 | - } else if (params.securities === '002') { | 161 | + } else if (params.securities == '002') { |
| 165 | params.housePurchaseUrl = params.housePurchasePhotos && params.housePurchasePhotos.length > 0 ? params.housePurchasePhotos.join(',') : '' | 162 | params.housePurchaseUrl = params.housePurchasePhotos && params.housePurchasePhotos.length > 0 ? params.housePurchasePhotos.join(',') : '' |
| 166 | - } else if (params.securities === '003') { | 163 | + } else if (params.securities == '003') { |
| 167 | params.repairUrl = params.repairPhotos && params.repairPhotos.length > 0 ? params.repairPhotos.join(',') : '' | 164 | params.repairUrl = params.repairPhotos && params.repairPhotos.length > 0 ? params.repairPhotos.join(',') : '' |
| 168 | - } else if (params.securities === '004') { | 165 | + } else if (params.securities == '004') { |
| 169 | params.deedTaxUrl = params.deedTaxPhotos && params.deedTaxPhotos.length > 0 ? params.deedTaxPhotos.join(',') : '' | 166 | params.deedTaxUrl = params.deedTaxPhotos && params.deedTaxPhotos.length > 0 ? params.deedTaxPhotos.join(',') : '' |
| 170 | } | 167 | } |
| 171 | 168 |
src/views/car/carStructureList.vue
| @@ -6,9 +6,9 @@ | @@ -6,9 +6,9 @@ | ||
| 6 | </el-col> | 6 | </el-col> |
| 7 | <el-col :span="20"> | 7 | <el-col :span="20"> |
| 8 | <el-card class="box-card margin-bottom car-list-card"> | 8 | <el-card class="box-card margin-bottom car-list-card"> |
| 9 | - <el-row :gutter="10" class="margin-top"> | 9 | + <el-row :gutter="10" class=""> |
| 10 | <el-col v-for="(car, index) in carStructureInfo.cars" :key="index" :span="4" | 10 | <el-col v-for="(car, index) in carStructureInfo.cars" :key="index" :span="4" |
| 11 | - class="text-center margin-bottom padding car-card" :style="{ 'background-color': getBgColor(car) }" | 11 | + class="text-center margin-bottom car-card margin-sm" :style="{ 'background-color': getBgColor(car) }" |
| 12 | @dblclick.native="toSimplifyAcceptance(car)"> | 12 | @dblclick.native="toSimplifyAcceptance(car)"> |
| 13 | <div>{{ car.areaNum }}-{{ car.num }}</div> | 13 | <div>{{ car.areaNum }}-{{ car.num }}</div> |
| 14 | <div>{{ car.carNum }}</div> | 14 | <div>{{ car.carNum }}</div> |
| @@ -52,6 +52,7 @@ export default { | @@ -52,6 +52,7 @@ export default { | ||
| 52 | }, | 52 | }, |
| 53 | methods: { | 53 | methods: { |
| 54 | switchFloorUnit(data) { | 54 | switchFloorUnit(data) { |
| 55 | + this.carStructureInfo.cars = [] | ||
| 55 | if (!data.unitId) { | 56 | if (!data.unitId) { |
| 56 | return | 57 | return |
| 57 | } | 58 | } |
src/views/community/roomRenovationManageList.vue
| @@ -342,8 +342,11 @@ export default { | @@ -342,8 +342,11 @@ export default { | ||
| 342 | this.$router.push({ | 342 | this.$router.push({ |
| 343 | path: '/views/community/listRoomDecorationRecord', | 343 | path: '/views/community/listRoomDecorationRecord', |
| 344 | query: { | 344 | query: { |
| 345 | + roomId: row.roomId, | ||
| 345 | rId: row.rId, | 346 | rId: row.rId, |
| 346 | - roomName: row.roomName | 347 | + roomName: row.roomName, |
| 348 | + state: row.state, | ||
| 349 | + stateName: row.stateName | ||
| 347 | } | 350 | } |
| 348 | }) | 351 | }) |
| 349 | } | 352 | } |
src/views/work/addItemReleaseViewList.vue
| @@ -111,8 +111,8 @@ | @@ -111,8 +111,8 @@ | ||
| 111 | 111 | ||
| 112 | <el-row v-if="form.audit.assignee === '-2'" :gutter="20" class="mt-20"> | 112 | <el-row v-if="form.audit.assignee === '-2'" :gutter="20" class="mt-20"> |
| 113 | <el-col :span="24"> | 113 | <el-col :span="24"> |
| 114 | - | ||
| 115 | - <div slot="header" class="clearfix"> | 114 | + <el-card> |
| 115 | + <div slot="header" class="flex justify-between"> | ||
| 116 | <span>{{ $t('addItemReleaseView.approverInfo') }}</span> | 116 | <span>{{ $t('addItemReleaseView.approverInfo') }}</span> |
| 117 | </div> | 117 | </div> |
| 118 | <el-form label-width="120px"> | 118 | <el-form label-width="120px"> |
| @@ -130,7 +130,7 @@ | @@ -130,7 +130,7 @@ | ||
| 130 | </el-col> | 130 | </el-col> |
| 131 | </el-row> | 131 | </el-row> |
| 132 | </el-form> | 132 | </el-form> |
| 133 | - | 133 | + </el-card> |
| 134 | </el-col> | 134 | </el-col> |
| 135 | </el-row> | 135 | </el-row> |
| 136 | 136 |