From 33367cf78c2f8540438dc84c98040895f6aef1ed Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Fri, 12 Apr 2024 09:01:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inspectionJob/inspectionJobMain.data.ts | 8 ++++- .../inspectionRecordMain.data.ts | 30 +++++++++++-------- .../inspectionRequest/inspectionMain.data.ts | 12 ++++++++ 3 files changed, 36 insertions(+), 14 deletions(-) diff --git a/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts b/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts index f73d21094..c66932fea 100644 --- a/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts +++ b/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts @@ -30,7 +30,7 @@ export const InspectionJobMain = useCrudSchemas(reactive([ } }, table: { - width: 150, + width: 165, fixed: 'left' } }, @@ -320,6 +320,9 @@ export const InspectionJobMain = useCrudSchemas(reactive([ disabled:true } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } @@ -346,6 +349,9 @@ export const InspectionJobMain = useCrudSchemas(reactive([ disabled:true } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } diff --git a/src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts b/src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts index c7e617e88..54cfb535e 100644 --- a/src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts +++ b/src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts @@ -16,7 +16,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive([ isSearch: true, isForm:false, table: { - width: 150, + width: 165, fixed: 'left' } }, @@ -254,6 +254,9 @@ export const InspectionRecordMain = useCrudSchemas(reactive([ valueFormat: 'x' } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } @@ -280,6 +283,9 @@ export const InspectionRecordMain = useCrudSchemas(reactive([ valueFormat: 'x' } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } @@ -306,6 +312,9 @@ export const InspectionRecordMain = useCrudSchemas(reactive([ valueFormat: 'x' } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } @@ -332,6 +341,9 @@ export const InspectionRecordMain = useCrudSchemas(reactive([ valueFormat: 'x' } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } @@ -358,17 +370,6 @@ export const InspectionRecordMain = useCrudSchemas(reactive([ width: 150 } }, - // { - // label: '是否可用', - // field: 'available', - // dictType: DICT_TYPE.TRUE_FALSE, - // sort: 'custom', - // isSearch: false, - // isForm:false, - // table: { - // width: 150 - // } - // }, { label: '使用决策', field: 'useDecision', @@ -395,8 +396,11 @@ export const InspectionRecordMain = useCrudSchemas(reactive([ } }, isForm: false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { - width: 150 + width: 170 } }, diff --git a/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts b/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts index 91b2828d0..d42f387df 100644 --- a/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts +++ b/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts @@ -75,6 +75,9 @@ export const InspectionMain = useCrudSchemas(reactive([ valueFormat: 'x' } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } @@ -100,6 +103,9 @@ export const InspectionMain = useCrudSchemas(reactive([ valueFormat: 'x' } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } @@ -125,6 +131,9 @@ export const InspectionMain = useCrudSchemas(reactive([ valueFormat: 'x' } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 } @@ -150,6 +159,9 @@ export const InspectionMain = useCrudSchemas(reactive([ valueFormat: 'x' } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 150 }