diff --git a/src/api/process-boot/generalTest.ts b/src/api/process-boot/generalTest.ts
index 99600a09..ccd2e8ed 100644
--- a/src/api/process-boot/generalTest.ts
+++ b/src/api/process-boot/generalTest.ts
@@ -135,14 +135,10 @@ export function addPlanCycle(data: any) {
params: data
})
}
-// 批量提交审核
-export function submitAuditUser(data: any) {
- return createAxios({
- url: '/process-boot/rGeneralSurveyPlan/submitAuditUser',
- method: 'post',
- data
- })
-}
+
+
+
+
// 新增普测计划
export function addSurvey(data: any) {
return createAxios({
@@ -159,10 +155,15 @@ export function querySurveyDetail(data: any) {
params: data
})
}
+
+
+
+
+
// 修改普测计划
export function auditSurvey(data: any) {
return createAxios({
- url: '/supervision-boot/generalSurvey/auditSurvey',
+ url: '/supervision-boot/surveyPlan/update',
method: 'POST',
data
})
@@ -170,7 +171,7 @@ export function auditSurvey(data: any) {
// 取消普测计划
export function cancel(data: any) {
return createAxios({
- url: '/supervision-boot/generalSurvey/cancel',
+ url: '/supervision-boot/surveyPlan/cancel',
method: 'POST',
data
})
@@ -187,3 +188,20 @@ export function addSurveyPlan(data: any) {
data
})
}
+
+export function updateSurveyPlan(data: any) {
+ return createAxios({
+ url: '/supervision-boot/surveyPlan/update',
+ method: 'POST',
+ data
+ })
+}
+
+//新版普测计划管理新增
+export function getById(id: any) {
+ return createAxios({
+ url: '/supervision-boot/surveyPlan/getById',
+ method: 'get',
+ params:{id:id}
+ })
+}
diff --git a/src/views/pqs/supervise/harmonicSurvey/components/planAdd.vue b/src/views/pqs/supervise/harmonicSurvey/components/planAdd.vue
index a23a26cf..95e19cf7 100644
--- a/src/views/pqs/supervise/harmonicSurvey/components/planAdd.vue
+++ b/src/views/pqs/supervise/harmonicSurvey/components/planAdd.vue
@@ -37,14 +37,14 @@
- 是
- 否
+ 是
+ 否
@@ -72,7 +72,7 @@
:render-after-expand="false"
/> -->
-
+
@@ -118,15 +118,16 @@
diff --git a/src/views/pqs/supervise/harmonicSurvey/components/planManage.vue b/src/views/pqs/supervise/harmonicSurvey/components/planManage.vue
index 2fb5ef3d..cb357c15 100644
--- a/src/views/pqs/supervise/harmonicSurvey/components/planManage.vue
+++ b/src/views/pqs/supervise/harmonicSurvey/components/planManage.vue
@@ -7,9 +7,12 @@
-
+