diff --git a/frontend/src/api/plan/plan.ts b/frontend/src/api/plan/plan.ts
index 38b836e..623d5c1 100644
--- a/frontend/src/api/plan/plan.ts
+++ b/frontend/src/api/plan/plan.ts
@@ -122,4 +122,14 @@ export const getBoundStandardDevList = (params: Plan.ResPlan) => {
//根据计划ID获取已绑定的所有标准设备
export const getBoundStandardDevAllList = (params: Plan.ResPlan) => {
return http.get(`/adPlan/getBoundStandardDev?planId=${params.id}&all=1`)
+}
+
+// 导出子计划
+export const exportSubPlan = (params: Plan.ResPlan) => {
+ return http.download(`/adPlan/exportSubPlan?planId=${params.id}`)
+}
+
+// 导入子检测计划
+export const importSubPlan = (params: Device.ReqPqDevParams) => {
+ return http.upload(`/adPlan/importSubPlan`, params)
}
\ No newline at end of file
diff --git a/frontend/src/components/ImportZip/index.scss b/frontend/src/components/ImportZip/index.scss
new file mode 100644
index 0000000..3a61d6a
--- /dev/null
+++ b/frontend/src/components/ImportZip/index.scss
@@ -0,0 +1,3 @@
+.upload {
+ width: 80%;
+}
diff --git a/frontend/src/components/ImportZip/index.vue b/frontend/src/components/ImportZip/index.vue
new file mode 100644
index 0000000..df10b3c
--- /dev/null
+++ b/frontend/src/components/ImportZip/index.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或
+ 点击上传
+
+
+
+
+ 请上传 .zip 标准格式文件
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/views/plan/planList/components/childrenPlan.vue b/frontend/src/views/plan/planList/components/childrenPlan.vue
index 14c6277..ab4b58f 100644
--- a/frontend/src/views/plan/planList/components/childrenPlan.vue
+++ b/frontend/src/views/plan/planList/components/childrenPlan.vue
@@ -26,21 +26,20 @@
-
+
新增子计划
-
+
编辑子计划
-
+
+ 导出子计划元信息
+
+ 导入检测结果
+ 数据合并
@@ -106,7 +105,7 @@
@@ -133,17 +132,17 @@
-
\ No newline at end of file
+
\ No newline at end of file