|
@@ -80,9 +80,10 @@ onMounted(() => {
|
|
|
|
|
|
const state = ref(1)
|
|
const state = ref(1)
|
|
const docxUrl = ref('')
|
|
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 dataKey = ref('')
|
|
//const docxUrl = ref('https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload/20230317/e2bdc6581e397b810b46ac7cd71b111b.docx')
|
|
//const docxUrl = ref('https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload/20230317/e2bdc6581e397b810b46ac7cd71b111b.docx')
|
|
|
|
+
|
|
//获取文档地址
|
|
//获取文档地址
|
|
const geDocxUrl = async ()=>{
|
|
const geDocxUrl = async ()=>{
|
|
const { error, code, data } = await initialgApi.getArchiveConclusion({
|
|
const { error, code, data } = await initialgApi.getArchiveConclusion({
|
|
@@ -91,6 +92,8 @@ const geDocxUrl = async ()=>{
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
docxUrl.value = data['worldUrl']
|
|
docxUrl.value = data['worldUrl']
|
|
dataKey.value = data['id'] + '_' + Math.random() + ''
|
|
dataKey.value = data['id'] + '_' + Math.random() + ''
|
|
|
|
+ console.log(dataKey.value, 'dataKey')
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
docxUrl.value = ''
|
|
docxUrl.value = ''
|
|
}
|
|
}
|