From fe21a5802daca4a472ab9b8c0c32472978196f6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com>
Date: Thu, 14 Nov 2024 09:11:07 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E9=A1=B9=E7=9B=AE=E6=8E=92?=
=?UTF-8?q?=E5=BA=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/inspection/project/index.js | 9 ++++
.../project/DlInspectionProjectForm.vue | 6 +--
src/views/inspection/project/index.vue | 44 ++++++++++++++-----
3 files changed, 46 insertions(+), 13 deletions(-)
diff --git a/src/api/inspection/project/index.js b/src/api/inspection/project/index.js
index a5295f4..f4b54f5 100644
--- a/src/api/inspection/project/index.js
+++ b/src/api/inspection/project/index.js
@@ -18,6 +18,15 @@ export function updateDlInspectionProject(data) {
})
}
+// 更新检测项目排序
+export function updateSort(data) {
+ return request({
+ url: '/inspection/dl-inspection-project/updateSort',
+ method: 'put',
+ data: data
+ })
+}
+
// 删除检测项目
export function deleteDlInspectionProject(id) {
return request({
diff --git a/src/views/inspection/project/DlInspectionProjectForm.vue b/src/views/inspection/project/DlInspectionProjectForm.vue
index 776794f..685f5f3 100644
--- a/src/views/inspection/project/DlInspectionProjectForm.vue
+++ b/src/views/inspection/project/DlInspectionProjectForm.vue
@@ -19,9 +19,9 @@
-
-
-
+
+
+
diff --git a/src/views/inspection/project/index.vue b/src/views/inspection/project/index.vue
index 98aec07..618330e 100644
--- a/src/views/inspection/project/index.vue
+++ b/src/views/inspection/project/index.vue
@@ -16,12 +16,12 @@
/>
-
-
-
-
-
-
+
+
+
+
+
+
搜索
重置
@@ -32,7 +32,7 @@
新增
+ >新增
@@ -50,6 +50,17 @@
+
+
+
+
+
+
{{ parseTime(scope.row.createTime) }}
@@ -58,10 +69,10 @@
修改
+ >修改
删除
+ >删除
@@ -77,7 +88,7 @@