DFS_Shuo_Chen hai 3 meses
pai
achega
60c8d7c3ff

+ 2 - 0
admin.ui.plus-master/src/api/admin/PCBA/boardFunctionResultDto.ts

@@ -27,6 +27,8 @@
       code?: number
    /** 测试结果 */
       result?: number
+      /** 是否一次通过 */
+      onceTestPass?: number
    /** 测试次数 */
       testTimes?: number
    /** 成功次数 */

+ 3 - 1
admin.ui.plus-master/src/api/admin/PCBA/boardListDto.ts

@@ -33,6 +33,8 @@
       lastTestState?: number
    /** 最新检测员 */
       lastTestUser?: string
+      /** 是否一次通过 */
+      onceTestPass?: number
    /** 测试次数 */
       testTimes?: number
    /** 测试成功次数 */
@@ -52,4 +54,4 @@ export interface pageInput {
       CurrentPage: number | any
       /**展示页数 */
       PageSize: number | any
-    }
+    }

+ 1 - 0
admin.ui.plus-master/src/views/admin/PCBA/boardFunctionResult/index.vue

@@ -130,6 +130,7 @@ tableModel: [] as BoardFunctionResultDto,
 { prop: 'code', label: '功能码' },
 { prop: 'name', label: '功能名称' },
 { prop: 'result', label: '测试结果' },
+{ prop: 'onceTestPass', label: '是否一次通过' },
 { prop: 'testTimes', label: '测试次数' },
 { prop: 'successTimes', label: '成功次数' },
 { prop: 'createTime', label: '创建时间' },

+ 5 - 3
admin.ui.plus-master/src/views/admin/PCBA/boardList/index.vue

@@ -108,8 +108,7 @@ import type { pageInput } from "/@/api/admin/shareDto/shareDto";
       filter: {
 /**序列号 */
         serno: "",
-/**物料号 */
-        partno: "",
+
 /**boardType */
         boardType: -1,
 /**起始创建时间 */
@@ -133,8 +132,11 @@ tableModel: [] as BoardListDto,
 { prop: 'lastTestTime', label: '最近检测时间' },
 { prop: 'lastTestState', label: '最新检测状态' },
 { prop: 'lastTestUser', label: '最新检测员' },
+{ prop: 'onceTestPass', label: '是否一次通过' },
 { prop: 'testTimes', label: '测试次数' },
 { prop: 'successTimes', label: '测试成功次数' },
+{ prop: 'functionNum', label: '功能项数' },
+{ prop: 'functionSuccessNum', label: '功能项成功数' },
 { prop: 'duration', label: '测试总耗时' },
 { prop: 'info', label: '备注' },],
 /**分页标识 */
@@ -186,4 +188,4 @@ state.tableModel = res?.data?.list ?? []
         }
 </script>
 <style scoped lang="scss">
-  </style>
+  </style>