diff --git a/src/api/qms/dynamicRule/index.ts b/src/api/qms/dynamicRule/index.ts index 522cea36b..d08387fee 100644 --- a/src/api/qms/dynamicRule/index.ts +++ b/src/api/qms/dynamicRule/index.ts @@ -1,8 +1,8 @@ import request from '@/config/axios' export interface DynamicRuleVO { - number: string - describe: string + code: string + description: string available: string deletionTime: Date deleterId: string diff --git a/src/api/qms/inspectionStage/index.ts b/src/api/qms/inspectionStage/index.ts index 8439a6474..cc1d066dc 100644 --- a/src/api/qms/inspectionStage/index.ts +++ b/src/api/qms/inspectionStage/index.ts @@ -1,10 +1,10 @@ import request from '@/config/axios' export interface InspectionStageVO { - number: string + code: string masterId: number dynamicModifyCode: string - describe: string + description: string okTimes: number okTimeStage: number noOkTimes: number diff --git a/src/api/qms/selectedSet/index.ts b/src/api/qms/selectedSet/index.ts index 13c778883..69add3718 100644 --- a/src/api/qms/selectedSet/index.ts +++ b/src/api/qms/selectedSet/index.ts @@ -3,7 +3,7 @@ import request from '@/config/axios' export interface SelectedSetVO { id: number code: string - describe: string + description: string classification: string available: string deletionTime: Date diff --git a/src/views/qms/basicDataManage/dynamicRule/dynamicRule.data.ts b/src/views/qms/basicDataManage/dynamicRule/dynamicRule.data.ts index 580eb529f..213df1979 100644 --- a/src/views/qms/basicDataManage/dynamicRule/dynamicRule.data.ts +++ b/src/views/qms/basicDataManage/dynamicRule/dynamicRule.data.ts @@ -12,20 +12,20 @@ const trueFalse = [{ // 表单校验 export const DynamicRuleRules = reactive({ - describe: [required] + description: [required] }) export const DynamicRule = useCrudSchemas(reactive([ { label: '编码', - field: 'number', + field: 'code', sort: 'custom', isSearch: true, isForm: false, }, { label: '描述', - field: 'describe', + field: 'description', sort: 'custom', isSearch: true }, @@ -57,7 +57,7 @@ export const InspectionStage = useCrudSchemas(reactive([ { label: '描述', - field: 'describe', + field: 'description', sort: 'custom', isSearch: true }, diff --git a/src/views/qms/basicDataManage/dynamicRule/index.vue b/src/views/qms/basicDataManage/dynamicRule/index.vue index eaf60e016..5b9c4a306 100644 --- a/src/views/qms/basicDataManage/dynamicRule/index.vue +++ b/src/views/qms/basicDataManage/dynamicRule/index.vue @@ -27,9 +27,9 @@ v-model:currentPage="tableObject.currentPage" v-model:sort="tableObject.sort" > -