From f0dfa0cecabda52c7610d7bd53700f3af21c121f Mon Sep 17 00:00:00 2001
From: cdf <857448963@qq.com>
Date: Tue, 4 Jun 2024 14:45:35 +0800
Subject: [PATCH] =?UTF-8?q?=E5=86=80=E5=8C=97=E6=99=AE=E6=B5=8B=E8=AE=A1?=
=?UTF-8?q?=E5=88=92=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/process-boot/generalTest.ts | 38 ++++--
.../harmonicSurvey/components/planAdd.vue | 111 +++++++-----------
.../harmonicSurvey/components/planManage.vue | 12 +-
3 files changed, 79 insertions(+), 82 deletions(-)
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 @@
-
+