diff --git a/client/src/api/laboratory.js b/client/src/api/laboratory.js
index 7662c3d..0f95aed 100644
--- a/client/src/api/laboratory.js
+++ b/client/src/api/laboratory.js
@@ -71,3 +71,40 @@ export function deleteTestOrgNotice(id) {
method: 'delete'
})
}
+
+
+export function getDetectionTaskList(query) {
+ return request({
+ url: '/laboratory/detectiontask/',
+ method: 'get',
+ params: query
+ })
+}
+export function getDetectionTask(id) {
+ return request({
+ url: `/laboratory/detectiontask/${id}/`,
+ method: 'get'
+ })
+}
+export function createDetectionTask(data) {
+ return request({
+ url: '/laboratory/detectiontask/',
+ method: 'post',
+ data
+ })
+}
+
+export function updateDetectionTask(id, data) {
+ return request({
+ url: `/laboratory/detectiontask/${id}/`,
+ method: 'put',
+ data
+ })
+}
+
+export function deleteDetectionTask(id) {
+ return request({
+ url: `/laboratory/detectiontask/${id}/`,
+ method: 'delete'
+ })
+}
diff --git a/client/src/views/certapp/certapphandle.vue b/client/src/views/certapp/certapphandle.vue
index 30a4afb..0ef1c92 100644
--- a/client/src/views/certapp/certapphandle.vue
+++ b/client/src/views/certapp/certapphandle.vue
@@ -85,7 +85,7 @@ import access from "@/views/accessment/access"
import Detectiontask from "@/views/certapp/detectiontask"
export default {
- components: { CCCform, Certunit, QMSform, Conclusion, Member, access, CHARGE, REVIEW},
+ components: { CCCform,Detectiontask, Certunit, QMSform, Conclusion, Member, access, CHARGE, REVIEW},
props: [],
data() {
diff --git a/client/src/views/certapp/detectiontask.vue b/client/src/views/certapp/detectiontask.vue
index 47af503..2552f7e 100644
--- a/client/src/views/certapp/detectiontask.vue
+++ b/client/src/views/certapp/detectiontask.vue
@@ -12,14 +12,11 @@
@row-click="rowClick"
>
-
- {{ scope.row.name }}
+
+ {{ scope.row.detnumber }}
-
- {{ scope.row.description }}
-
-
- {{ scope.row.standard_.fullname }}
+
+ {{ scope.row.testorg}}
@@ -45,37 +42,12 @@
:limit.sync="listQuery.page_size"
@pagination="getList"
/>
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
-
-
- 创建新记录
- 保存
- 重置
+
+
+
+
+
+
+
+
+