From 33e8c7affcbe5ed54ff580b5c8fd3efc4e31e882 Mon Sep 17 00:00:00 2001
From: hailu <962012470@qq.com>
Date: 星期二, 09 四月 2024 17:47:39 +0800
Subject: [PATCH] 银保监
---
src/view/enterpriseControl/bankPunishEvent.vue | 53 ++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 36 insertions(+), 17 deletions(-)
diff --git a/src/view/enterpriseControl/bankPunishEvent.vue b/src/view/enterpriseControl/bankPunishEvent.vue
index 51181b8..c7d8bd7 100644
--- a/src/view/enterpriseControl/bankPunishEvent.vue
+++ b/src/view/enterpriseControl/bankPunishEvent.vue
@@ -165,7 +165,9 @@
<div v-html="params.row.title?params.row.title:''"></div>
</template>
<template slot="content" slot-scope="params">
- <div v-html="params.row.content?params.row.content:''"></div>
+
+ <div v-html="params.row.content? params.row.content.length>300?params.row.content.substring(0,300)+'...':params.row.content:''"></div>
+
</template>
<template slot="action" slot-scope="params">
<Tooltip content="鏌ョ湅" class="tableActionMargin" theme="light" transfer max-width="200" placement="top">
@@ -887,6 +889,7 @@
$('.rentScroll').animate({ scrollTop: 0 }, 'slow')
})
},
+
// checkTableLists(){
// if(this.checkTableLists.length>9){
// $('.timelong').css({'width':'720px'})
@@ -1457,6 +1460,9 @@
if (res.data.Check) {
this.rentList = res.data.Data.Items
this.TotalItems = res.data.Data.TotalItems
+ for(let i=0;i<this.rentList.length;i++){
+ this.rentList[i].content=this.rentList[i].content.replace(/\r\n/g, '<br>')
+ }
this.TotalPages = res.data.Data.TotalPages
this.loadingRent = false
@@ -1744,22 +1750,8 @@
width: 250,
slot: 'cfjd',
fixed: 'left',
-
})
- columns.push({
- title: '鎵�灞炵洃绠″眬',
- key: 'ssjgj',
- align: 'left',
- fixed: 'left',
- minWidth: 200,
- render: (h, params) => {
- if (params.row.ssjgj) {
- return h('span', params.row.ssjgj)
- } else {
- return h('span', '--')
- }
- }
- })
+
columns.push({
title: '浣滃嚭澶勭綒鍐冲畾鐨勬満鍏冲悕绉�',
key: 'jgmc',
@@ -1770,6 +1762,20 @@
return h('span', params.row.jgmc)
} else {
return h('span', '--')
+ }
+ }
+ })
+ columns.push({
+ title: '鎵�灞炵洃绠″眬',
+ key: 'ssjgj',
+ align: 'left',
+
+ minWidth: 100,
+ render: (h, params) => {
+ if (params.row.ssjgj) {
+ return h('span', params.row.ssjgj)
+ } else {
+ return h('span', params.row.jgmc?params.row.jgmc.replace('涓浗閾惰淇濋櫓鐩戠潱绠$悊濮斿憳浼�','').replace('涓浗閾剁洃浼�',''):'--')
}
}
})
@@ -1843,7 +1849,7 @@
title: '鍐呭',
key: 'content',
align: 'left',
- minWidth: 250,
+ minWidth: 300,
// slot: 'NameOfTenantSlot',
// fixed: 'left',
slot:"content"
@@ -1856,6 +1862,19 @@
// }
})
columns.push({
+ title: '鎵�灞炵洃绠″眬',
+ key: 'ssjgj',
+ align: 'left',
+ width: 150,
+ render: (h, params) => {
+ if (params.row.ssjgj) {
+ return h('span', params.row.ssjgj)
+ } else {
+ return h('span', '--')
+ }
+ }
+ })
+ columns.push({
title: '鍙戝竷鏃ユ湡',
key: 'gbrq',
align: 'center',
--
Gitblit v1.8.0