|
@@ -35,7 +35,7 @@
|
|
|
size="small"
|
|
|
class="btn"
|
|
|
@click="
|
|
|
- exportData(
|
|
|
+ downloadSPCTemplate(
|
|
|
'/api/v1/spc/downloadTemplate',
|
|
|
'/spc/template/EWMA控制图数据导入模版.xlsx'
|
|
|
)
|
|
@@ -130,7 +130,7 @@ import { useCrud } from "@/hooks/userCrud";
|
|
|
const { Utils } = useCrud({
|
|
|
src: "/api/v1/spc/pDownloadTemplate",
|
|
|
});
|
|
|
-const { exportData } = Utils;
|
|
|
+const { downloadSPCTemplate } = Utils;
|
|
|
|
|
|
// 定义 props
|
|
|
const props = defineProps({
|