diff --git a/jero-web/src/components/SplitTable/index.vue b/jero-web/src/components/SplitTable/index.vue
index b275fbeea..1c35e175b 100644
--- a/jero-web/src/components/SplitTable/index.vue
+++ b/jero-web/src/components/SplitTable/index.vue
@@ -34,16 +34,11 @@
{{text && text.length > 18?text.slice(0,17)+'...':text}}
-
-
-
-
-
-
-
-
-
-
+
+
+ {{text}}
+
+
@@ -130,7 +125,9 @@
this.getTableList()
},
methods: {
-
+ urlClick(text,record) {
+ this.$emit('detailClick', record)
+ },
getTextWith(text, fontStyle) {
var canvas = document.createElement('canvas')
var context = canvas.getContext('2d')
@@ -159,9 +156,14 @@
// scope.row.itermsConditions ? scope.row.itermsConditions.replace(/<.*?>/ig, ' ') : ''
}
+ this.columns[index].scopedSlots = {
+ customRender: 'detailText'
+ }
+ if(res.db_field_txt === "编号" || res.db_field_txt === "标题" ){
this.columns[index].scopedSlots = {
- customRender: 'detailText'
+ customRender: 'detail'
}
+ }
})
let width = 0