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
}
},
// {
// label: '是否可用',
// field: 'available',
// sort: 'custom',
// dictType: DICT_TYPE.TRUE_FALSE,
// dictClass: 'string', // 默认都是字符串类型其他暂不考虑
// form: {
// component: 'SelectV2'
// },
// },
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 115
}

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

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

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

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

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

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

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

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

Loading…
Cancel
Save