|
@@ -36,6 +36,7 @@
|
|
|
import { ref } from 'vue';
|
|
|
import { Message } from 'element-ui';
|
|
|
import { acceptTypeList, useUpload } from '@/utils/upload';
|
|
|
+import { getUserInfo } from '@/utils/auth';
|
|
|
|
|
|
defineProps({
|
|
|
visible: {
|
|
@@ -99,7 +100,8 @@ let contentList = [
|
|
|
mailbox: 'nekssowp@163.com'
|
|
|
}
|
|
|
];
|
|
|
-const templateURL = `${process.env.VUE_APP_FILE}/CSFileStore/001/00101/D-8KCWO2CQE49QM5LQR2/F-ZIZUPTL6T777UYF46X.xls`;
|
|
|
+const { session_id, user_code, user_type } = getUserInfo();
|
|
|
+const templateURL = `${process.env.VUE_APP_BASE_API}/GCLSFileServer/WebFileDownload?UserCode=${user_code}&UserType=${user_type}&SessionID=${session_id}&FileID=00201-20220922-20-G4M7KBH7`;
|
|
|
|
|
|
function close() {
|
|
|
emits('update:visible', false);
|