Browse Source

修改bug

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

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

@ -531,22 +531,15 @@ export const Aql = useCrudSchemas(reactive<CrudSchema[]>([
width: 105 width: 105
} }
}, },
// {
// label: '是否可用',
// field: 'available',
// sort: 'custom',
// dictType: DICT_TYPE.TRUE_FALSE,
// dictClass: 'string', // 默认都是字符串类型其他暂不考虑
// form: {
// component: 'SelectV2'
// },
// },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: { table: {
width: 115 width: 115
} }

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

@ -32,16 +32,6 @@ export const InspectionMethod = useCrudSchemas(reactive<CrudSchema[]>([
field: 'operationGuidance', field: 'operationGuidance',
sort: 'custom', sort: 'custom',
}, },
// {
// label: '是否可用',
// field: 'available',
// sort: 'custom',
// dictType: DICT_TYPE.TRUE_FALSE,
// dictClass: 'string', // 默认都是字符串类型其他暂不考虑
// form: {
// component: 'SelectV2'
// },
// },
{ {
label: '文件', label: '文件',
field: 'videoAddress', field: 'videoAddress',
@ -68,6 +58,9 @@ export const InspectionMethod = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
}, },
{ {
label: '操作', label: '操作',

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

@ -94,6 +94,9 @@ export const SampleCode = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
}, },
{ {
label: '操作', label: '操作',

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

@ -73,6 +73,9 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
}, },
{ {
label: '操作', label: '操作',

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

@ -23,23 +23,15 @@ export const SamplingScheme = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
}, },
// {
// label: '是否可用',
// field: 'available',
// sort: 'custom',
// dictType: DICT_TYPE.TRUE_FALSE,
// dictClass: 'string', // 默认都是字符串类型其他暂不考虑
// isSearch: true,
// form: {
// component: 'SelectV2'
// },
// },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
}, },
{ {
label: '操作', label: '操作',

Loading…
Cancel
Save