Browse Source

调整宽度,固定编码

master_hella_20240701
zhaoyiran 8 months ago
parent
commit
e4d6eff272
  1. 172
      src/views/qms/aql/aql.data.ts
  2. 3
      src/views/qms/inspectionMethod/inspectionMethod.data.ts
  3. 4
      src/views/qms/sampleCode/sampleCode.data.ts
  4. 3
      src/views/qms/samplingProcess/samplingProcess.data.ts
  5. 3
      src/views/qms/samplingScheme/samplingScheme.data.ts

172
src/views/qms/aql/aql.data.ts

@ -23,6 +23,10 @@ export const Aql = useCrudSchemas(reactive<CrudSchema[]>([
field: 'code', field: 'code',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 175,
fixed: 'left'
}
}, },
{ {
label: '检验严格性', label: '检验严格性',
@ -34,277 +38,442 @@ export const Aql = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
component: 'SelectV2' component: 'SelectV2'
}, },
table: {
width: 130
}
}, },
{ {
label: '样本字码', label: '样本字码',
field: 'sampleCharacterCode', field: 'sampleCharacterCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 110
}
}, },
{ {
label: '样本量', label: '样本量',
field: 'sampleSize', field: 'sampleSize',
sort: 'custom', sort: 'custom',
table: {
width: 95
}
}, },
{ {
label: 'A0_010', label: 'A0_010',
field: 'a0separator010', field: 'a0separator010',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_010', label: 'R0_010',
field: 'r0separator010', field: 'r0separator010',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_015', label: 'A0_015',
field: 'a0separator015', field: 'a0separator015',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_015', label: 'R0_015',
field: 'r0separator015', field: 'r0separator015',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_025', label: 'A0_025',
field: 'a0separator025', field: 'a0separator025',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_025', label: 'R0_025',
field: 'r0separator025', field: 'r0separator025',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_040', label: 'A0_040',
field: 'a0separator040', field: 'a0separator040',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_040', label: 'R0_040',
field: 'r0separator040', field: 'r0separator040',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_065', label: 'A0_065',
field: 'a0separator065', field: 'a0separator065',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_065', label: 'R0_065',
field: 'r0separator065', field: 'r0separator065',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_10', label: 'A0_10',
field: 'a0separator10', field: 'a0separator10',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_10', label: 'R0_10',
field: 'r0separator10', field: 'r0separator10',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_15', label: 'A0_15',
field: 'a0separator15', field: 'a0separator15',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_15', label: 'R0_15',
field: 'r0separator15', field: 'r0separator15',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_25', label: 'A0_25',
field: 'a0separator25', field: 'a0separator25',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_25', label: 'R0_25',
field: 'r0separator25', field: 'r0separator25',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_40', label: 'A0_40',
field: 'a0separator40', field: 'a0separator40',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_40', label: 'R0_40',
field: 'r0separator40', field: 'r0separator40',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A0_65', label: 'A0_65',
field: 'a0separator65', field: 'a0separator65',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R0_65', label: 'R0_65',
field: 'r0separator65', field: 'r0separator65',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A1_0', label: 'A1_0',
field: 'a1separator0', field: 'a1separator0',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R1_0', label: 'R1_0',
field: 'r1separator0', field: 'r1separator0',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A1_5', label: 'A1_5',
field: 'a1separator5', field: 'a1separator5',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R1_5', label: 'R1_5',
field: 'r1separator5', field: 'r1separator5',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A2_5', label: 'A2_5',
field: 'a2separator5', field: 'a2separator5',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R2_5', label: 'R2_5',
field: 'r2separator5', field: 'r2separator5',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A4_0', label: 'A4_0',
field: 'a4separator0', field: 'a4separator0',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R4_0', label: 'R4_0',
field: 'r4separator0', field: 'r4separator0',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A6_5', label: 'A6_5',
field: 'a6separator5', field: 'a6separator5',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R6_5', label: 'R6_5',
field: 'r6separator5', field: 'r6separator5',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A10', label: 'A10',
field: 'a10', field: 'a10',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R10', label: 'R10',
field: 'r10', field: 'r10',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A15', label: 'A15',
field: 'a15', field: 'a15',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R15', label: 'R15',
field: 'r15', field: 'r15',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A25', label: 'A25',
field: 'a25', field: 'a25',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R25', label: 'R25',
field: 'r25', field: 'r25',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A40', label: 'A40',
field: 'a40', field: 'a40',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R40', label: 'R40',
field: 'r40', field: 'r40',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A65', label: 'A65',
field: 'a65', field: 'a65',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R65', label: 'R65',
field: 'r65', field: 'r65',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A100', label: 'A100',
field: 'a100', field: 'a100',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R100', label: 'R100',
field: 'r100', field: 'r100',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A150', label: 'A150',
field: 'a150', field: 'a150',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R150', label: 'R150',
field: 'r150', field: 'r150',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A250', label: 'A250',
field: 'a250', field: 'a250',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R250', label: 'R250',
field: 'r250', field: 'r250',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A400', label: 'A400',
field: 'a400', field: 'a400',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R400', label: 'R400',
field: 'r400', field: 'r400',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A650', label: 'A650',
field: 'a650', field: 'a650',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R650', label: 'R650',
field: 'r650', field: 'r650',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'A1000', label: 'A1000',
field: 'a1000', field: 'a1000',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
{ {
label: 'R1000', label: 'R1000',
field: 'r1000', field: 'r1000',
sort: 'custom', sort: 'custom',
table: {
width: 105
}
}, },
// { // {
// label: '是否可用', // label: '是否可用',
@ -322,6 +491,9 @@ export const Aql = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
table: {
width: 115
}
}, },
{ {
label: '操作', label: '操作',

3
src/views/qms/inspectionMethod/inspectionMethod.data.ts

@ -21,6 +21,9 @@ export const InspectionMethod = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
isForm:false, isForm:false,
table: {
fixed: 'left'
}
}, },
{ {
label: '描述', label: '描述',

4
src/views/qms/sampleCode/sampleCode.data.ts

@ -31,6 +31,10 @@ export const SampleCode = useCrudSchemas(reactive<CrudSchema[]>([
valueField: 'code' valueField: 'code'
}, },
} }
},
table: {
width: 175,
fixed: 'left'
} }
}, },
{ {

3
src/views/qms/samplingProcess/samplingProcess.data.ts

@ -23,6 +23,9 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
isForm: false, isForm: false,
table: {
fixed: 'left'
}
}, },
{ {
label: '描述', label: '描述',

3
src/views/qms/samplingScheme/samplingScheme.data.ts

@ -21,6 +21,9 @@ export const SamplingScheme = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
isForm: false, isForm: false,
table: {
fixed: 'left'
}
}, },
{ {
label: '描述', label: '描述',

Loading…
Cancel
Save