|
@@ -60,6 +60,7 @@
|
|
|
</template>
|
|
|
<script setup>
|
|
|
import { ref } from "vue";
|
|
|
+import { getToken } from "@/utils/auth";
|
|
|
const baseUrl = import.meta.env.VITE_APP_BASE_API;
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
/*** 用户导入参数 */
|
|
@@ -97,6 +98,11 @@ const handleFileSuccess = (response, file, fileList) => {
|
|
|
);
|
|
|
};
|
|
|
|
|
|
+/** 提交上传文件 */
|
|
|
+function submitFileForm() {
|
|
|
+ proxy.$refs["uploadRef"].submit();
|
|
|
+}
|
|
|
+
|
|
|
/** 导出按钮操作 */
|
|
|
function handleExport() {
|
|
|
var item = {};
|