|
@@ -81,7 +81,6 @@ 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')
|
|
const saveUrl = ref('http://192.168.0.128:8090/blade-archive/archivesauto/callbackSave')
|
|
-const dataId = ref('')
|
|
|
|
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')
|
|
//获取文档地址
|
|
//获取文档地址
|
|
@@ -91,8 +90,7 @@ const geDocxUrl = async ()=>{
|
|
})
|
|
})
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
docxUrl.value = data['worldUrl']
|
|
docxUrl.value = data['worldUrl']
|
|
- dataId.value = data['id']
|
|
|
|
- dataKey.value = dataId.value + '_' + Math.random() + ''
|
|
|
|
|
|
+ dataKey.value = data['id'] + '_' + Math.random() + ''
|
|
} else {
|
|
} else {
|
|
docxUrl.value = ''
|
|
docxUrl.value = ''
|
|
}
|
|
}
|