duy 1 年間 前
コミット
489b7f863e
1 ファイル変更4 行追加1 行削除
  1. 4 1
      src/views/transfer/write-report.vue

+ 4 - 1
src/views/transfer/write-report.vue

@@ -80,9 +80,10 @@ onMounted(() => {
 
 const state = ref(1)
 const docxUrl = ref('')
-const saveUrl = ref('http://192.168.0.128:8090/blade-archive/archivesauto/callbackSave' + '&Blade-Auth=' + token.value + '&' + 'projectId=' + projectId.value)
+const saveUrl = ref('http://192.168.0.128:8090/blade-archive/archivesauto/callbackSave?' + '&Blade-Auth=bearer' + token.value + '&' + 'projectId=' + projectId.value)
 const dataKey = ref('')
 //const docxUrl = ref('https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload/20230317/e2bdc6581e397b810b46ac7cd71b111b.docx')
+
 //获取文档地址
 const geDocxUrl = async ()=>{
     const { error, code, data } = await initialgApi.getArchiveConclusion({
@@ -91,6 +92,8 @@ const geDocxUrl = async ()=>{
     if (!error && code === 200) {
         docxUrl.value = data['worldUrl']
         dataKey.value = data['id'] + '_' + Math.random() + ''
+        console.log(dataKey.value, 'dataKey')
+      
     } else {
         docxUrl.value = ''
     }