Browse Source

QMS查询和导出功能的检查与修改 HL-5424

hella_online_20240904
parent
commit
078915b959
  1. 8
      src/views/qms/aql/aql.data.ts
  2. 7
      src/views/qms/counter/counter.data.ts
  3. 6
      src/views/qms/dynamicRule/dynamicRule.data.ts
  4. 6
      src/views/qms/inspectionMethod/inspectionMethod.data.ts
  5. 34
      src/views/qms/inspectionQ1/inspectionQ1.data.ts
  6. 34
      src/views/qms/inspectionQ2/inspectionQ2.data.ts
  7. 35
      src/views/qms/inspectionQ3/inspectionQ3.data.ts
  8. 12
      src/views/qms/inspectionScheme/inspectionScheme.data.ts
  9. 6
      src/views/qms/inspectionTemplate/inspectionTemplate.data.ts
  10. 6
      src/views/qms/samplingProcess/samplingProcess.data.ts
  11. 6
      src/views/qms/selectedSet/selectedSet.data.ts

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

@ -586,8 +586,8 @@ export const Aql = useCrudSchemas(
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
},
},
}
}
},
{
label: '创建者',
@ -604,7 +604,7 @@ export const Aql = useCrudSchemas(
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -627,7 +627,7 @@ export const Aql = useCrudSchemas(
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

7
src/views/qms/counter/counter.data.ts

@ -217,7 +217,7 @@ export const Counter = useCrudSchemas(
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
}
},
{
label: '创建者',
@ -234,7 +234,7 @@ export const Counter = useCrudSchemas(
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -257,12 +257,11 @@ export const Counter = useCrudSchemas(
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}
},
{
label: '操作',
field: 'action',

6
src/views/qms/dynamicRule/dynamicRule.data.ts

@ -85,7 +85,7 @@ export const DynamicRule = useCrudSchemas(
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
}
},
{
label: '创建者',
@ -102,7 +102,7 @@ export const DynamicRule = useCrudSchemas(
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -125,7 +125,7 @@ export const DynamicRule = useCrudSchemas(
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

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

@ -102,7 +102,7 @@ export const InspectionMethod = useCrudSchemas(
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
}
},
{
label: '创建者',
@ -119,7 +119,7 @@ export const InspectionMethod = useCrudSchemas(
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -142,7 +142,7 @@ export const InspectionMethod = useCrudSchemas(
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

34
src/views/qms/inspectionQ1/inspectionQ1.data.ts

@ -431,6 +431,40 @@ export const Q1 = useCrudSchemas(
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x'
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: true,
table: {
width: 150
}
},
{
label: '操作',
field: 'action',

34
src/views/qms/inspectionQ2/inspectionQ2.data.ts

@ -713,6 +713,40 @@ export const Q2 = useCrudSchemas(
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x'
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: true,
table: {
width: 150
}
},
{
label: '操作',
field: 'action',

35
src/views/qms/inspectionQ3/inspectionQ3.data.ts

@ -230,7 +230,40 @@ export const InspectionQ3Main = useCrudSchemas(
}
}
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x'
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: true,
table: {
width: 150
}
},
{
label: '操作',
field: 'action',

12
src/views/qms/inspectionScheme/inspectionScheme.data.ts

@ -62,7 +62,7 @@ export const InspectionSchemeMain = useCrudSchemas(
},
isSearch: true
},
{
label: '方案描述',
field: 'description',
@ -98,7 +98,7 @@ export const InspectionSchemeMain = useCrudSchemas(
width: 175
}
},
{
label: '动态修改规则',
field: 'dynamicUpdateCode',
@ -115,7 +115,7 @@ export const InspectionSchemeMain = useCrudSchemas(
width: 140
}
},
{
label: '生效时间',
field: 'effectiveDate',
@ -210,7 +210,7 @@ export const InspectionSchemeMain = useCrudSchemas(
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
}
},
{
label: '创建者',
@ -227,7 +227,7 @@ export const InspectionSchemeMain = useCrudSchemas(
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -250,7 +250,7 @@ export const InspectionSchemeMain = useCrudSchemas(
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

6
src/views/qms/inspectionTemplate/inspectionTemplate.data.ts

@ -105,7 +105,7 @@ export const InspectionTemplateMain = useCrudSchemas(
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
}
},
{
label: '创建者',
@ -122,7 +122,7 @@ export const InspectionTemplateMain = useCrudSchemas(
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -145,7 +145,7 @@ export const InspectionTemplateMain = useCrudSchemas(
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

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

@ -131,7 +131,7 @@ export const SamplingProcess = useCrudSchemas(
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
}
},
{
label: '创建者',
@ -148,7 +148,7 @@ export const SamplingProcess = useCrudSchemas(
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -171,7 +171,7 @@ export const SamplingProcess = useCrudSchemas(
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

6
src/views/qms/selectedSet/selectedSet.data.ts

@ -77,7 +77,7 @@ export const SelectedSet = useCrudSchemas(
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
}
},
{
label: '创建者',
@ -94,7 +94,7 @@ export const SelectedSet = useCrudSchemas(
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -117,7 +117,7 @@ export const SelectedSet = useCrudSchemas(
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

Loading…
Cancel
Save