diff --git a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue
index e4abc53ed..db047cf8f 100644
--- a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue
+++ b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue
@@ -133,33 +133,34 @@
@click="checkedClick(item)"
:class="{ 'null-input':item.checked }">
-
+
@@ -167,21 +168,21 @@
>
-
-
-
+
@@ -684,7 +685,7 @@
let index2 = fileName.length
let fileSuffix = fileName.substring(index1, index2)
if (fileSuffix == '.pdf') {
- window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id+'&userName='+this.userInfo().username))
+ window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id + '&userName=' + this.userInfo().username))
} else if (fileSuffix == '.docx') {
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
window.open(url, '_blank')
@@ -720,6 +721,10 @@
height: 18px !important;
line-height: 18px !important;
}
+
+ .tooltip-index {
+ max-width: calc(100% - 300px) !important;
+ }
\ No newline at end of file
diff --git a/jero-web/src/views/documentTools/searchCenter/components/monthlyReportRegulations.vue b/jero-web/src/views/documentTools/searchCenter/components/monthlyReportRegulations.vue
index 85b4932ba..a1e8e6ef0 100644
--- a/jero-web/src/views/documentTools/searchCenter/components/monthlyReportRegulations.vue
+++ b/jero-web/src/views/documentTools/searchCenter/components/monthlyReportRegulations.vue
@@ -10,7 +10,7 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -60,7 +82,7 @@
return {
checkboxText: [],
url: {
- getInfoList: 'search/document/getFullTextInfoList'
+ getInfoList: '/search/lawsMonthlyReport/page'
},
loading: false,
conList: [],
@@ -95,12 +117,18 @@
methods: {
...mapGetters(['userInfo']),
checkedClick(item) {
- if (item.checked) {
- this.checkboxText = this.checkboxText.filter(res => {
- return res !== item.id
- })
- } else {
- this.checkboxText.push(item.id)
+ let fileName = item.file_name
+ let index1 = fileName.lastIndexOf('.')
+ let index2 = fileName.length
+ let fileSuffix = fileName.substring(index1, index2)
+ if (fileSuffix == '.pdf') {
+ window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + item.file_id + '&userName=' + this.userInfo().username))
+ } else if (fileSuffix == '.docx') {
+ let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + item.file_id + fileSuffix)
+ window.open(url, '_blank')
+ } else if (fileSuffix == '.xlsx' || fileSuffix == '.xls') {
+ let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + item.file_id + fileSuffix)
+ window.open(url, '_blank')
}
},
ResetSearch() {
@@ -190,7 +218,7 @@
}
.tooltip-index {
- max-width: 600px !important;
+ max-width: calc(100% - 300px) !important;
}