From e4d6eff2720dbf7aac52d806fe5a64ab55fc1b5b Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Wed, 10 Apr 2024 10:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AE=BD=E5=BA=A6=EF=BC=8C?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qms/aql/aql.data.ts | 172 ++++++++++++++++++ .../inspectionMethod/inspectionMethod.data.ts | 3 + src/views/qms/sampleCode/sampleCode.data.ts | 4 + .../samplingProcess/samplingProcess.data.ts | 3 + .../qms/samplingScheme/samplingScheme.data.ts | 3 + 5 files changed, 185 insertions(+) diff --git a/src/views/qms/aql/aql.data.ts b/src/views/qms/aql/aql.data.ts index 5cd5baa56..f91dc68e6 100644 --- a/src/views/qms/aql/aql.data.ts +++ b/src/views/qms/aql/aql.data.ts @@ -23,6 +23,10 @@ export const Aql = useCrudSchemas(reactive([ field: 'code', sort: 'custom', isSearch: true, + table: { + width: 175, + fixed: 'left' + } }, { label: '检验严格性', @@ -34,277 +38,442 @@ export const Aql = useCrudSchemas(reactive([ form: { component: 'SelectV2' }, + table: { + width: 130 + } }, { label: '样本字码', field: 'sampleCharacterCode', sort: 'custom', isSearch: true, + table: { + width: 110 + } }, { label: '样本量', field: 'sampleSize', sort: 'custom', + table: { + width: 95 + } }, { label: 'A0_010', field: 'a0separator010', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_010', field: 'r0separator010', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_015', field: 'a0separator015', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_015', field: 'r0separator015', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_025', field: 'a0separator025', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_025', field: 'r0separator025', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_040', field: 'a0separator040', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_040', field: 'r0separator040', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_065', field: 'a0separator065', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_065', field: 'r0separator065', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_10', field: 'a0separator10', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_10', field: 'r0separator10', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_15', field: 'a0separator15', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_15', field: 'r0separator15', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_25', field: 'a0separator25', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_25', field: 'r0separator25', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_40', field: 'a0separator40', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_40', field: 'r0separator40', sort: 'custom', + table: { + width: 105 + } }, { label: 'A0_65', field: 'a0separator65', sort: 'custom', + table: { + width: 105 + } }, { label: 'R0_65', field: 'r0separator65', sort: 'custom', + table: { + width: 105 + } }, { label: 'A1_0', field: 'a1separator0', sort: 'custom', + table: { + width: 105 + } }, { label: 'R1_0', field: 'r1separator0', sort: 'custom', + table: { + width: 105 + } }, { label: 'A1_5', field: 'a1separator5', sort: 'custom', + table: { + width: 105 + } }, { label: 'R1_5', field: 'r1separator5', sort: 'custom', + table: { + width: 105 + } }, { label: 'A2_5', field: 'a2separator5', sort: 'custom', + table: { + width: 105 + } }, { label: 'R2_5', field: 'r2separator5', sort: 'custom', + table: { + width: 105 + } }, { label: 'A4_0', field: 'a4separator0', sort: 'custom', + table: { + width: 105 + } }, { label: 'R4_0', field: 'r4separator0', sort: 'custom', + table: { + width: 105 + } }, { label: 'A6_5', field: 'a6separator5', sort: 'custom', + table: { + width: 105 + } }, { label: 'R6_5', field: 'r6separator5', sort: 'custom', + table: { + width: 105 + } }, { label: 'A10', field: 'a10', sort: 'custom', + table: { + width: 105 + } }, { label: 'R10', field: 'r10', sort: 'custom', + table: { + width: 105 + } }, { label: 'A15', field: 'a15', sort: 'custom', + table: { + width: 105 + } }, { label: 'R15', field: 'r15', sort: 'custom', + table: { + width: 105 + } }, { label: 'A25', field: 'a25', sort: 'custom', + table: { + width: 105 + } }, { label: 'R25', field: 'r25', sort: 'custom', + table: { + width: 105 + } }, { label: 'A40', field: 'a40', sort: 'custom', + table: { + width: 105 + } }, { label: 'R40', field: 'r40', sort: 'custom', + table: { + width: 105 + } }, { label: 'A65', field: 'a65', sort: 'custom', + table: { + width: 105 + } }, { label: 'R65', field: 'r65', sort: 'custom', + table: { + width: 105 + } }, { label: 'A100', field: 'a100', sort: 'custom', + table: { + width: 105 + } }, { label: 'R100', field: 'r100', sort: 'custom', + table: { + width: 105 + } }, { label: 'A150', field: 'a150', sort: 'custom', + table: { + width: 105 + } }, { label: 'R150', field: 'r150', sort: 'custom', + table: { + width: 105 + } }, { label: 'A250', field: 'a250', sort: 'custom', + table: { + width: 105 + } }, { label: 'R250', field: 'r250', sort: 'custom', + table: { + width: 105 + } }, { label: 'A400', field: 'a400', sort: 'custom', + table: { + width: 105 + } }, { label: 'R400', field: 'r400', sort: 'custom', + table: { + width: 105 + } }, { label: 'A650', field: 'a650', sort: 'custom', + table: { + width: 105 + } }, { label: 'R650', field: 'r650', sort: 'custom', + table: { + width: 105 + } }, { label: 'A1000', field: 'a1000', sort: 'custom', + table: { + width: 105 + } }, { label: 'R1000', field: 'r1000', sort: 'custom', + table: { + width: 105 + } }, // { // label: '是否可用', @@ -322,6 +491,9 @@ export const Aql = useCrudSchemas(reactive([ sort: 'custom', formatter: dateFormatter, isForm: false, + table: { + width: 115 + } }, { label: '操作', diff --git a/src/views/qms/inspectionMethod/inspectionMethod.data.ts b/src/views/qms/inspectionMethod/inspectionMethod.data.ts index c07ff64cf..efb10478a 100644 --- a/src/views/qms/inspectionMethod/inspectionMethod.data.ts +++ b/src/views/qms/inspectionMethod/inspectionMethod.data.ts @@ -21,6 +21,9 @@ export const InspectionMethod = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, isForm:false, + table: { + fixed: 'left' + } }, { label: '描述', diff --git a/src/views/qms/sampleCode/sampleCode.data.ts b/src/views/qms/sampleCode/sampleCode.data.ts index 6a8d31c98..eeefd1c1b 100644 --- a/src/views/qms/sampleCode/sampleCode.data.ts +++ b/src/views/qms/sampleCode/sampleCode.data.ts @@ -31,6 +31,10 @@ export const SampleCode = useCrudSchemas(reactive([ valueField: 'code' }, } + }, + table: { + width: 175, + fixed: 'left' } }, { diff --git a/src/views/qms/samplingProcess/samplingProcess.data.ts b/src/views/qms/samplingProcess/samplingProcess.data.ts index ba7f06d33..5440362ac 100644 --- a/src/views/qms/samplingProcess/samplingProcess.data.ts +++ b/src/views/qms/samplingProcess/samplingProcess.data.ts @@ -23,6 +23,9 @@ export const SamplingProcess = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, isForm: false, + table: { + fixed: 'left' + } }, { label: '描述', diff --git a/src/views/qms/samplingScheme/samplingScheme.data.ts b/src/views/qms/samplingScheme/samplingScheme.data.ts index be0d12e81..22150b72b 100644 --- a/src/views/qms/samplingScheme/samplingScheme.data.ts +++ b/src/views/qms/samplingScheme/samplingScheme.data.ts @@ -21,6 +21,9 @@ export const SamplingScheme = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, isForm: false, + table: { + fixed: 'left' + } }, { label: '描述',