diff --git a/.env.production b/.env.production
index 38fd6f0d..8db497fe 100644
--- a/.env.production
+++ b/.env.production
@@ -3,6 +3,8 @@ ENV = 'production'
NODE_ENV = 'production'
# base public path
VUE_APP_BASE_PATH = '/'
+# onlyoffice地址
+VUE_APP_ONLYOFFICE_URL = "https://onlyoffice.test.extimaging.com"
VUE_APP_IS_TEST = true
diff --git a/src/components/PreviewFile/index.vue b/src/components/PreviewFile/index.vue
index 003eac98..ebe10a04 100644
--- a/src/components/PreviewFile/index.vue
+++ b/src/components/PreviewFile/index.vue
@@ -12,7 +12,7 @@
-
+
{{ $t('common:button:delete') }}
@@ -71,6 +71,7 @@ const defaultSearchData = () => {
PageIndex: 1,
PageSize: 1000,
Asc: false,
+ OffLine: null,
SortField: null
}
}
@@ -91,6 +92,10 @@ export default {
}
}
},
+ isView: {
+ type: Boolean,
+ default: false
+ },
rowData: {
type: Object,
default: () => {
@@ -170,6 +175,9 @@ export default {
if (!this.SystemDocumentId) return false
this.loading = true
this.searchData.SystemDocumentId = this.SystemDocumentId
+ if (this.isView) {
+ this.searchData.OffLine = false
+ }
let res = await getSystemDocumentAttachmentList(this.searchData)
this.loading = false
if (res.IsSuccess) {
diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue b/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue
index 3f030790..0dd78fc9 100644
--- a/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue
+++ b/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue
@@ -78,7 +78,7 @@ const defaultSearchData = () => {
PageIndex: 1,
PageSize: 1000,
Asc: false,
- OffLine: false,
+ OffLine: null,
SortField: null
}
}
@@ -96,6 +96,10 @@ export default {
visible: {
type: Boolean,
default: false
+ },
+ isView: {
+ type: Boolean,
+ default: false
}
},
data() {
@@ -137,6 +141,9 @@ export default {
if (!this.SystemDocumentId) return false
this.loading = true
this.searchData.SystemDocumentId = this.SystemDocumentId
+ if (this.isView) {
+ this.searchData.OffLine = false
+ }
let res = await getSystemDocumentAttachmentList(this.searchData)
this.loading = false
if (res.IsSuccess) {
diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue
index c7f9702c..5b474e0d 100644
--- a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue
+++ b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue
@@ -84,7 +84,10 @@
- {{ scope.row.AttachmentCount }}
+
+ {{ scope.row.AttachmentCount }}
+
+
-
+
+ {{
+ $t('trials:signRecords:table:AttachmentCount') }} ({{
+ currentRow.AttachmentCount }})
@@ -174,7 +183,7 @@