diff --git a/jero-web/src/components/SplitDetailTable/index.vue b/jero-web/src/components/SplitDetailTable/index.vue
index b36a8a66b..cc11a4884 100644
--- a/jero-web/src/components/SplitDetailTable/index.vue
+++ b/jero-web/src/components/SplitDetailTable/index.vue
@@ -4,9 +4,9 @@
{{record.iterms_conditions&&record.iterms_conditions!=='null'?record.iterms_conditions.replace(/<.*?>/ig, ' ') : ''}}
+
@@ -28,6 +29,11 @@
+
+
+ {{text && text.length > 18?text.slice(0,17)+'...':text}}
+
+
@@ -156,8 +162,13 @@
customRender: 'showContent'
}
}
+ if (res.urlClick) {
+ this.columns[index].scopedSlots = {
+ customRender: 'urlClick'
+ }
+ }
})
- // console.log('columns',this.columns)
+
let width = 0
if (this.OperationList.length > 0) {
for (let i = 0; i < this.OperationList.length; i++) {
@@ -173,7 +184,7 @@
scopedSlots: { customRender: 'operation' }
})
}
-
+ console.log('columns',this.columns)
}
})
},
@@ -183,7 +194,7 @@
this.getTableList()
},
getTableList() {
- console.log('this.searchParmestable',this.searchParmes)
+ // console.log('this.searchParmestable',this.searchParmes)
let pageNo = JSON.parse(JSON.stringify(this.pageNo))
let pageSize = JSON.parse(JSON.stringify(this.pageSize))
let params = {
@@ -235,6 +246,9 @@
},
showContent(item, index) {
this.$emit('showContent', item)
+ },
+ urlClick(item) {
+ window.open(item)
}
}
}
diff --git a/jero-web/src/components/SplitImport/index.vue b/jero-web/src/components/SplitImport/index.vue
index 9ce33e721..2308936a7 100644
--- a/jero-web/src/components/SplitImport/index.vue
+++ b/jero-web/src/components/SplitImport/index.vue
@@ -17,7 +17,7 @@
:showUploadList="false"
@change="handleChange">
-
{{ $t('import') }}
+
{{ $t('import') }}
@@ -96,12 +96,17 @@
// console.log('rrr',this.myfileList)
},
handleChange(info) {
- console.log('info',info)
+ // console.log('info',info)
let { file } = info;
const status = info.file.status;
info.fileList.forEach((val,index)=>{
if(val.response && !val.response.result){
- this.$message.success(val.response.message);
+ if(val.response.success){
+ this.$message.success(val.response.message);
+ }else{
+ this.$message.error(val.response.message);
+ }
+
info.fileList.splice(index,1)
}
})
diff --git a/jero-web/src/components/SplitSearch/index.vue b/jero-web/src/components/SplitSearch/index.vue
index b8bc4c5be..b31f9fbd0 100644
--- a/jero-web/src/components/SplitSearch/index.vue
+++ b/jero-web/src/components/SplitSearch/index.vue
@@ -44,7 +44,7 @@
{{item.db_field_txt}}
-
- {{item.db_field_txt}}
-
-
-
+
+
+
+
+
+
+
@@ -137,7 +137,7 @@