提交 b8161ce6 编写于 作者: zhentian.jia's avatar zhentian.jia

修改模板地址

上级 d2f6e948
...@@ -830,7 +830,7 @@ import { mapGetters } from "vuex"; ...@@ -830,7 +830,7 @@ import { mapGetters } from "vuex";
import { openLoading, closeLoading } from "../../utils/utils"; import { openLoading, closeLoading } from "../../utils/utils";
import * as commonUtil from "../../utils/utils"; import * as commonUtil from "../../utils/utils";
import * as operationData from "../../utils/operation"; import * as operationData from "../../utils/operation";
import { getItemFileUrl } from "@/utils/index"; import { getExeclUrl } from "@/utils/index";
import { uploadOrgExcel, uploadPersonExcel } from "@/utils/education/educationApi"; import { uploadOrgExcel, uploadPersonExcel } from "@/utils/education/educationApi";
import Sortable from 'sortablejs' import Sortable from 'sortablejs'
...@@ -3525,11 +3525,11 @@ export default { ...@@ -3525,11 +3525,11 @@ export default {
download(type) { download(type) {
let downloadUrl = ""; let downloadUrl = "";
if (type == "organization") { if (type == "organization") {
downloadUrl = getItemFileUrl( downloadUrl = getExeclUrl(
"%E6%95%99%E5%9F%B9%E9%A1%B9%E7%9B%AE%E8%AE%BE%E7%BD%AE%E6%9C%BA%E6%9E%84%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx" "%E6%95%99%E5%9F%B9%E9%A1%B9%E7%9B%AE%E8%AE%BE%E7%BD%AE%E6%9C%BA%E6%9E%84%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx"
); );
} else if (type == "person") { } else if (type == "person") {
downloadUrl = getItemFileUrl( downloadUrl = getExeclUrl(
"%E6%95%99%E5%9F%B9%E9%A1%B9%E7%9B%AE%E8%AE%BE%E7%BD%AE%E4%BA%BA%E5%91%98%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx" "%E6%95%99%E5%9F%B9%E9%A1%B9%E7%9B%AE%E8%AE%BE%E7%BD%AE%E4%BA%BA%E5%91%98%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx"
); );
} else if (type == "fail") { } else if (type == "fail") {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册