[update] 52992

This commit is contained in:
zhaomeijing
2022-05-26 14:55:10 +08:00
parent 891bbc5bc6
commit 9b49a52785
2 changed files with 14 additions and 9 deletions
@@ -13,12 +13,12 @@
@change="tableOnChange" @change="tableOnChange"
> >
<span slot="showContent" slot-scope="text, record" class="item-solt"> <span slot="showContent" slot-scope="text, record" class="item-solt">
<a-tooltip placement="top" class="item-content-tooltip" > <!-- <a-tooltip placement="top" class="item-content-tooltip" >-->
<template slot="title" class="item-content-title"> <!-- <template slot="title" class="item-content-title">-->
<span class="item-content-show" v-html="record.iterms_conditions"></span> <!-- <span class="item-content-show" v-html="record.iterms_conditions"></span>-->
</template> <!-- </template>-->
<span class="content-show" href="javascript:;" @click="showContent">{{record.iterms_conditions&&record.iterms_conditions!=='null'?record.iterms_conditions.replace(/<.*?>/ig, ' ') : ''}}</span> <span class="content-show" href="javascript:;" @click="showContent(text,record)">{{record.iterms_conditions&&record.iterms_conditions!=='null'?record.iterms_conditions.replace(/<.*?>/ig, ' ') : ''}}</span>
</a-tooltip> <!-- </a-tooltip>-->
</span> </span>
<span slot="operation" slot-scope="record" class="operate"> <span slot="operation" slot-scope="record" class="operate">
@@ -113,7 +113,7 @@
:footer="false" :footer="false"
@cancel="handleCancel" @cancel="handleCancel"
> >
<p>{{contentValue}}</p> <p v-html='contentValue'></p>
</a-modal> </a-modal>
<!-- 添加节点--> <!-- 添加节点-->
<a-modal <a-modal
@@ -332,8 +332,9 @@
}, },
methods: { methods: {
//显示条款内容弹框 //显示条款内容弹框
showContent(){ showContent(val){
// this.contentVisible=true this.contentVisible=true
this.contentValue = val
}, },
//关闭条款内容弹框 //关闭条款内容弹框
handleCancel(){ handleCancel(){
@@ -1283,6 +1284,10 @@
} }
} }
.ant-modal-body{
max-height: 500px;
overflow-y: auto;
}
.split-detail-table{ .split-detail-table{
.ant-table-body{ .ant-table-body{
overflow: auto!important; overflow: auto!important;