Commit 107374bf by chenwq

ui走查

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