标准库添加备案日期搜索条件,预警查询条件修改

This commit is contained in:
shenyanpei
2022-01-17 16:37:09 +08:00
parent 606de7167d
commit 1e4e130c13
4 changed files with 91 additions and 2 deletions
+34 -2
View File
@@ -166,7 +166,16 @@
<a @click="handlePreview(scope.row)">{{ scope.row.itemsName }}</a>
</template>
</el-table-column>
<el-table-column prop="termsConditions" label="条款内容" width="400" align="center" show-overflow-tooltip></el-table-column>
<el-table-column
prop="termsConditions"
label="条款内容"
width="400"
align="center">
<template slot-scope="scope">
<a v-if="scope.row.termsConditions === null"></a>
<a v-else @click="openDialog(scope.row.termsConditions)">{{ scope.row.termsConditions.replace(/<[^>]+>/g, '').slice(0,20) + '...' }}</a>
</template>
</el-table-column>
<el-table-column prop="issueTime" label="发布日期" width="120" align="center">
<template slot-scope="scope">
<span>{{ scope.row.issueTime ? scope.row.issueTime.substring(0, 10) : '' }}</span>
@@ -226,6 +235,16 @@
@click="exportExcel">提交</el-button>
</span>
</el-dialog>
<el-dialog
class="textDialog"
title="条款内容"
:visible.sync="detailTextDialog"
width="50%">
<span style="line-height: normal" v-html="detailText" ></span>
<div slot="footer" class="dialog-footer">
</div>
</el-dialog>
</div>
</template>
@@ -237,6 +256,8 @@ export default {
name: "standardWarning",
data() {
return {
detailTextDialog: false,
detailText: '',
selectedList: [],
exportName: '',
exportModelFlag: false,
@@ -653,7 +674,12 @@ export default {
// this.activeName === 'STANDARD' ? this.getEarlyDate() : this.getPolicyDate()
// this.field = field
},
...mapMutations(["setDetailMap"])
...mapMutations(["setDetailMap"]),
openDialog(text) {
this.detailText = text
this.detailTextDialog = true
}
},
props: {
reload: {
@@ -1049,5 +1075,11 @@ export default {
margin: 24px 0;
}
}
.textDialog {
/deep/ .el-dialog__body {
height: 400px;
overflow-y: auto;
}
}
}
</style>