日志管理,误差体系

This commit is contained in:
sjl
2024-10-23 19:30:11 +08:00
parent 0d25e477d7
commit 7c5103ebb4
11 changed files with 791 additions and 110 deletions

View File

@@ -0,0 +1,36 @@
import type {ErrorSystem} from "./interface"
const errordata = ref<ErrorSystem.ErrorSystemList[]>([
{
'id': '1',
'name': 'Q/GDW 1650.2- 2016',
'year':'2016',
'level':'A级',
'details': [
{ measured: '详细1-1', deviceLevel: '详细1-2', condition: '详细1-3', maxErrorValue: '详细1-4' },
{ measured: '详细1-5', deviceLevel: '详细1-6', condition: '详细1-7', maxErrorValue: '详细1-8' },
],
},
{
'id': '2',
'name': 'Q/GDW 10650.2 - 2021',
'year':'2021',
'level':'A级',
'details': [
{ measured: '详细1-1', deviceLevel: '详细1-2', condition: '详细1-3', maxErrorValue: '详细1-4' },
{ measured: '详细1-5', deviceLevel: '详细1-6', condition: '详细1-7', maxErrorValue: '详细1-8' },
],
},
{
'id': '3',
'name': 'GBT 19862 - 2016',
'year':'2016',
'level':'A级',
'details': [
{ measured: '详细1-1', deviceLevel: '详细1-2', condition: '详细1-3', maxErrorValue: '详细1-4' },
{ measured: '详细1-5', deviceLevel: '详细1-6', condition: '详细1-7', maxErrorValue: '详细1-8' },
],
},
])
export default errordata

View File

@@ -0,0 +1,17 @@
// 误差体系模块
export namespace ErrorSystem {
// 误差体系列表
export interface ErrorSystemList {
id: string;//误差体系表Id
name: string;//误差体系名称
year:string;//标准实施年份
level:string;//使用设备等级
details?: Array<{
measured: string;//被测量
deviceLevel: string;//检测装置级别
condition: string;//测量条件
maxErrorValue: string;//最大误差
}>; // 详细信息
}
}