You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
186 lines
4.0 KiB
186 lines
4.0 KiB
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
|
|
import { dateFormatter } from '@/utils/formatTime'
|
|
|
|
// 表单校验
|
|
export const CellEnvRules = reactive({
|
|
})
|
|
|
|
export const CellEnv = useCrudSchemas(reactive<CrudSchema[]>([
|
|
// {
|
|
// label: 'id',
|
|
// field: 'id',
|
|
// sort: 'custom',
|
|
// isForm: false,
|
|
// },
|
|
{
|
|
label: '一次注液车间温度允许值',
|
|
field: 'temOfPriinjectPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成前静置车间温度允许值',
|
|
field: 'temOfPreStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成车间温度允许值',
|
|
field: 'temOfStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成后静置车间温度允许值',
|
|
field: 'temOfAftStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '二次注液车间温度允许值',
|
|
field: 'temOfSecinjectPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '分容前静置车间温度允许值',
|
|
field: 'tempOfBefVolSepPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '分容车间温度允许值',
|
|
field: 'tempOfVolSepPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '组装车间湿度允许值',
|
|
field: 'humOfVolAssPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '一次注液车间湿度(露点)允许值',
|
|
field: 'humOfPriinjectPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成前静置车间湿度(露点)允许值',
|
|
field: 'humOfPreStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成车间湿度(露点)允许值',
|
|
field: 'humOfStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成后静置车间湿度(露点)允许值',
|
|
field: 'humOfAftStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '二次注液车间湿度(露点)允许值',
|
|
field: 'humOfSecinjectPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '分容前静置车间湿度允许值',
|
|
field: 'humpOfBefVolSepPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '分容车间湿度允许值',
|
|
field: 'humpOfVolSepPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '洁净度粉尘粒径管控标准',
|
|
field: 'standardOfClean',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '涂布车间洁净度允许值',
|
|
field: 'cleanOfCoatPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '辊压车间洁净度允许值',
|
|
field: 'cleanOfRollPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '分切车间洁净度允许值',
|
|
field: 'cleanOfSlitPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '卷绕或者叠片车间洁净度允许值',
|
|
field: 'cleanOfStackPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '一次注液车间洁净度允许值',
|
|
field: 'cleanOfPriInjectPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成前静置车间洁净度允许值',
|
|
field: 'cOfPreStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成车间洁净度允许值',
|
|
field: 'clOfStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '化成后静置车间洁净度允许值',
|
|
field: 'cleanOfAftStandPlant',
|
|
sort: 'custom',
|
|
isSearch: true,
|
|
},
|
|
{
|
|
label: '创建时间',
|
|
field: 'createTime',
|
|
sort: 'custom',
|
|
formatter: dateFormatter,
|
|
isSearch: true,
|
|
search: {
|
|
component: 'DatePicker',
|
|
componentProps: {
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
|
type: 'daterange',
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
|
|
}
|
|
},
|
|
isForm: false,
|
|
isTableForm:false
|
|
},
|
|
{
|
|
label: '操作',
|
|
field: 'action',
|
|
isForm: false,
|
|
table: {
|
|
width: 150,
|
|
fixed: 'right'
|
|
},
|
|
isTableForm:false
|
|
}
|
|
]))
|
|
|