zhangli vor 1 Jahr
Ursprung
Commit
7f9d4ba9d9

+ 1 - 0
src/views/modules/knowledge/album/detail.vue

@@ -245,6 +245,7 @@
               maxWidth: '40vw',
               'overflow-x': 'auto'
             }"
+            changeOnSelect
             :getPopupContainer="triggerNode => { return triggerNode.parentNode }"
             :options="classifyListAdd" 
             :fieldNames="{ label: 'name', value: 'pkId', children: 'children' }"

+ 1 - 1
src/views/modules/knowledge/components/albumList.vue

@@ -171,7 +171,7 @@ export default {
             return false
           }
           let datares = res.data
-          if(this.item.documentPath.indexOf('dcc系统')==0){
+          if(this.item.documentPath.indexOf('dcc系统')==0||this.item.documentPath.indexOf('DCC系统')==0){
             var encrypts = encrypt(this.user.userId);
             window.open(datares.url+"&userId="+encrypts)
           }else{

+ 1 - 1
src/views/modules/knowledge/components/pageList.vue

@@ -202,7 +202,7 @@ export default {
             return false
           }
           let datares = res.data
-          if(this.item.documentPath.indexOf('dcc系统')==0){
+          if(this.item.documentPath.indexOf('dcc系统')==0||this.item.documentPath.indexOf('DCC系统')==0){
             var encrypts = encrypt(this.user.userId);
             window.open(datares.url+"&userId="+encrypts)
           }else{

+ 2 - 2
src/views/modules/knowledge/warehouse/knowledgeAddUpdate.vue

@@ -456,8 +456,8 @@ export default {
       this.option.isEdit = false
       this.option.lang = 'zh-CN'
       // this.option.url = 'http://10.5.100.64:9900/api-system/system/core/sysFile/previewFile?fileId=1597050108435845121'
-      //this.option.url = 'http://10.5.100.101/api/api-system/system/core/sysFile/previewFile?fileId='+ this.knowledgeForm.attachment,
-      this.option.url = 'http://www.hkcqjy.com.cn:8088/api/api-system/system/core/sysFile/previewFile?fileId='+ this.knowledgeForm.attachment,
+      this.option.url = 'http://10.5.100.101/api/api-system/system/core/sysFile/previewFile?fileId='+ this.knowledgeForm.attachment,
+      //this.option.url = 'http://www.hkcqjy.com.cn:8088/api/api-system/system/core/sysFile/previewFile?fileId='+ this.knowledgeForm.attachment,
       this.option.title = this.knowledgeForm.attachmentName
       this.option.fileType = this.knowledgeForm.attachmentName.split('.').slice(-1)[0]
       this.option.isPrint = false

+ 2 - 1
src/views/modules/knowledge/warehouse/knowledgeAuditInfo.vue

@@ -144,7 +144,8 @@ export default {
       this.option.canDownload = true
       this.option.canPrint = true
       this.option.lang = 'zh-CN'
-      this.option.url = 'http://www.hkcqjy.com.cn:8088/api/api-system/system/core/sysFile/previewFile?fileId='+this.knowledgeForm.attachment
+      this.option.url = 'http://10.5.100.101/api/api-system/system/core/sysFile/previewFile?fileId='+ this.knowledgeForm.attachment,
+      //this.option.url = 'http://www.hkcqjy.com.cn:8088/api/api-system/system/core/sysFile/previewFile?fileId='+this.knowledgeForm.attachment
       this.option.title = this.knowledgeForm.attachmentName.split(".")[0]
       this.option.fileType = this.knowledgeForm.attachmentName.split(".").pop()
       this.option.isPrint = false

+ 2 - 1
src/views/modules/knowledge/warehouse/knowledgeContentInfo.vue

@@ -89,7 +89,8 @@ export default {
       this.option.canDownload = true
       this.option.canPrint = true
       this.option.lang = 'zh-CN'
-      this.option.url = 'http://www.hkcqjy.com.cn:8088/api/api-system/system/core/sysFile/previewFile?fileId='+this.detailData.attachment
+      this.option.url = 'http://10.5.100.101/api/api-system/system/core/sysFile/previewFile?fileId='+ this.knowledgeForm.attachment,
+      //this.option.url = 'http://www.hkcqjy.com.cn:8088/api/api-system/system/core/sysFile/previewFile?fileId='+this.detailData.attachment
       this.option.title = this.detailData.attachmentName.split(".")[0]
       this.option.fileType = this.detailData.attachmentName.split(".").pop()
       this.option.isPrint = false