Browse Source

BUG修改

hella_online_20240829
parent
commit
e63520bb8a
  1. 19
      src/views/qms/aql/aql.data.ts
  2. 23
      src/views/qms/counter/counter.data.ts
  3. 1
      src/views/qms/dynamicRule/dynamicRule.data.ts
  4. 19
      src/views/qms/inspectionJob/inspectionJobMain.data.ts
  5. 1
      src/views/qms/inspectionMethod/inspectionMethod.data.ts
  6. 19
      src/views/qms/inspectionRecord/inspectionRecordMain.data.ts
  7. 19
      src/views/qms/inspectionRequest/inspectionRequestMain.data.ts
  8. 1
      src/views/qms/inspectionScheme/inspectionScheme.data.ts
  9. 1
      src/views/qms/inspectionTemplate/inspectionTemplate.data.ts
  10. 19
      src/views/qms/qualityNotice/qualityNoticeMain.data.ts
  11. 1
      src/views/qms/sampleCode/sampleCode.data.ts
  12. 4
      src/views/qms/samplingProcess/samplingProcess.data.ts
  13. 1
      src/views/qms/samplingScheme/samplingScheme.data.ts
  14. 1
      src/views/qms/selectedSet/selectedSet.data.ts

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

@ -536,6 +536,25 @@ export const Aql = useCrudSchemas(
width: 105 width: 105
} }
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
isSearch: true,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
table: {
width: 110
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

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

@ -153,10 +153,10 @@ export const Counter = useCrudSchemas(
field: 'nextStage', field: 'nextStage',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
form:{ form: {
component: 'Select', component: 'Select',
componentProps: { componentProps: {
options:[], options: [],
optionsAlias: { optionsAlias: {
labelField: 'stage', labelField: 'stage',
valueField: 'stage' valueField: 'stage'
@ -167,6 +167,25 @@ export const Counter = useCrudSchemas(
width: 140 width: 140
} }
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
isSearch: true,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
table: {
width: 110
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

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

@ -39,6 +39,7 @@ export const DynamicRule = useCrudSchemas(
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
isSearch: true,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: { form: {
component: 'Switch', component: 'Switch',

19
src/views/qms/inspectionJob/inspectionJobMain.data.ts

@ -572,6 +572,25 @@ export const InspectionJobMain = useCrudSchemas(
width: 150 width: 150
} }
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
table: {
width: 110
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

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

@ -55,6 +55,7 @@ export const InspectionMethod = useCrudSchemas(
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: { form: {

19
src/views/qms/inspectionRecord/inspectionRecordMain.data.ts

@ -445,6 +445,25 @@ export const InspectionRecordMain = useCrudSchemas(
width: 150 width: 150
} }
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
table: {
width: 110
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

19
src/views/qms/inspectionRequest/inspectionRequestMain.data.ts

@ -425,6 +425,25 @@ export const InspectionMain = useCrudSchemas(
width: 150 width: 150
} }
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
table: {
width: 110
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

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

@ -184,6 +184,7 @@ export const InspectionSchemeMain = useCrudSchemas(
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: { form: {

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

@ -59,6 +59,7 @@ export const InspectionTemplateMain = useCrudSchemas(
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: { form: {

19
src/views/qms/qualityNotice/qualityNoticeMain.data.ts

@ -317,6 +317,25 @@ export const QualityNoticeMain = useCrudSchemas(
width: 175 width: 175
} }
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
table: {
width: 110
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

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

@ -102,6 +102,7 @@ export const SampleCode = useCrudSchemas(
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
isSearch: true,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: { form: {
component: 'Switch', component: 'Switch',

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

@ -85,6 +85,7 @@ export const SamplingProcess = useCrudSchemas(
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
isSearch: true,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: { form: {
component: 'Switch', component: 'Switch',
@ -93,6 +94,9 @@ export const SamplingProcess = useCrudSchemas(
inactiveValue: 'FALSE', inactiveValue: 'FALSE',
activeValue: 'TRUE' activeValue: 'TRUE'
} }
},
table: {
width: 110
} }
}, },
{ {

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

@ -28,6 +28,7 @@ export const SamplingScheme = useCrudSchemas(
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
isSearch:true,
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: { form: {

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

@ -30,6 +30,7 @@ export const SelectedSet = useCrudSchemas(
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string', // 默认都是字符串类型其他暂不考虑
form: { form: {

Loading…
Cancel
Save