Commit 107374bf by chenwq

ui走查

1 parent 781ca649
...@@ -5,8 +5,9 @@ ...@@ -5,8 +5,9 @@
:config="dialogConfig.setting" :config="dialogConfig.setting"
:dialog-config="dialogConfig.config" :dialog-config="dialogConfig.config"
@closeDialog="handleDetailClose" @closeDialog="handleDetailClose"
class="detail-content-1"
> >
<div class="detail-content-1" v-loading="loading"> <div v-loading="loading">
<div class="form_div"> <div class="form_div">
<el-form class="edit-sub-block" label-width="150px" :inline="true"> <el-form class="edit-sub-block" label-width="150px" :inline="true">
<el-form-item label="审批编号:"> <el-form-item label="审批编号:">
...@@ -45,7 +46,7 @@ ...@@ -45,7 +46,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form class="edit-sub-block-two" label-width="150px" :inline="true"> <el-form class="edit-sub-block-two" label-width="150px" :inline="true">
<el-form-item label="附件:" v-if="detailInfo.attachmentList"> <el-form-item label="附件:" v-if="detailInfo.attachmentList" style="margin-bottom: 20px;">
<div <div
v-for="(item, index) in detailInfo.attachmentList" v-for="(item, index) in detailInfo.attachmentList"
v-if="item.fileType == '1'" v-if="item.fileType == '1'"
...@@ -53,8 +54,7 @@ ...@@ -53,8 +54,7 @@
> >
<span>{{ item.fileName }}</span> <span>{{ item.fileName }}</span>
<a @click="download(item)" href="#" style="padding-left: 8px; color: #185efe;" <a @click="download(item)" href="#" style="padding-left: 8px; color: #185efe;"
>下载</a >下载</a>
>
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
...@@ -174,27 +174,7 @@ ...@@ -174,27 +174,7 @@
</div> </div>
</div> </div>
</div> </div>
<el-dialog <el-image-viewer v-if="imgVisible" :on-close="closeImgViewer" :url-list="imgList" :initial-index="initialIndex" />
:visible="imgVisible"
:before-close="handleEnlargeImg"
append-to-body
>
<el-carousel
:autoplay="false"
arrow="always"
trigger="click"
height="695px"
ref="carousel"
>
<el-carousel-item
v-for="(item, index) in imgList"
:key="index"
class="carousel"
>
<img :src="item[imgUrlName]" alt="" class="carousel-img" />
</el-carousel-item>
</el-carousel>
</el-dialog>
</baseDialog> </baseDialog>
<!-- 修改信息 --> <!-- 修改信息 -->
...@@ -214,7 +194,8 @@ import { ...@@ -214,7 +194,8 @@ import {
export default { export default {
name: "DetailDialog", name: "DetailDialog",
components: { components: {
refundUpdateDialog refundUpdateDialog,
'el-image-viewer': () => import('element-ui/packages/image/src/image-viewer')
}, },
props: { props: {
visible: { visible: {
...@@ -278,6 +259,7 @@ export default { ...@@ -278,6 +259,7 @@ export default {
imgVisible: false, imgVisible: false,
photoList: [], photoList: [],
imgList: [], imgList: [],
initialIndex: 0,
refundVisible: false, refundVisible: false,
merchantInfo: {}, merchantInfo: {},
// 业务信息展示字段 // 业务信息展示字段
...@@ -510,15 +492,22 @@ export default { ...@@ -510,15 +492,22 @@ export default {
handleEnlargeImg(url, name) { handleEnlargeImg(url, name) {
this.imgVisible = !this.imgVisible this.imgVisible = !this.imgVisible
this.imgList = url this.imgList = url.map(item => item.fileUrl)
this.imgUrlName = name this.imgUrlName = name
}, },
closeImgViewer() {
this.imgVisible = false
}
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.detail-content-1 { .detail-content-1 {
.el-icon-circle-close {
color: #ffffff;
}
.examine-record { .examine-record {
box-sizing: border-box; box-sizing: border-box;
width: 1040px; width: 1040px;
...@@ -693,6 +682,7 @@ export default { ...@@ -693,6 +682,7 @@ export default {
width: 50%; width: 50%;
height: 20px; height: 20px;
line-height: 20px; line-height: 20px;
margin-bottom: 6px;
.item-label { .item-label {
display: inline-block; display: inline-block;
width: 150px; width: 150px;
...@@ -735,15 +725,6 @@ export default { ...@@ -735,15 +725,6 @@ export default {
} }
} }
} }
.carousel {
overflow: scroll;
}
.carousel-img {
max-width: 100%;
height: 100%;
// overflow: scroll;
// object-fit: fill;
}
</style> </style>
......
...@@ -408,7 +408,7 @@ export default { ...@@ -408,7 +408,7 @@ export default {
} }
}) })
params.bankAccountNo = params.bankAccountNo.replace(/\s*/g, '') params.bankAccountNo = params.bankAccountNo.replace(/\s*/g, '')
console.log(params, 'params-----------') // console.log(params, 'params-----------')
update(params).then((res) => { update(params).then((res) => {
this.notice.okTips("操作成功") this.notice.okTips("操作成功")
this.$emit('refundConfirm') this.$emit('refundConfirm')
...@@ -433,10 +433,11 @@ export default { ...@@ -433,10 +433,11 @@ export default {
} }
.el-textarea .el-input__count { .el-textarea .el-input__count {
right: 90px; right: 10px;
bottom: -10px; bottom: -6px;
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
background-color: transparent;
} }
.tips { .tips {
......
...@@ -91,6 +91,14 @@ export default { ...@@ -91,6 +91,14 @@ export default {
min-width: 700px; min-width: 700px;
} }
::v-deep .el-textarea .el-input__count {
right: 10px;
bottom: -7px;
font-size: 12px;
color: #999999;
background-color: transparent;
}
.accountDailog .el-select-dropdown__item { .accountDailog .el-select-dropdown__item {
width: 395px !important; width: 395px !important;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!