UNPKG

yinghe-lowcode-zln

Version:

基于vue、ant-design-vue,datagrid的低代码平台

377 lines (368 loc) 5.58 kB
// 组件类型 const inputTypeList = [{ label: '输入框', value: 'string' }, { label: '选择框', value: 'select' }, { label: '数字框', value: 'number' }, { label: '上传框', value: 'upload' }, { label: '树框', value: 'tree' }, { label: '单选框', value: 'radio' }, { label: '多选', value: 'checkbox' }, { label: '开关框', value: 'boolean' }, { label: '文本框', value: 'textarea' }, { label: '时间框', value: 'time' }, { label: '时间范围', value: 'timerange' }, { label: '级联框', value: 'cascader' }, { label: '日期框', value: 'date' }, { label: '日期时间框', value: 'datetime' } ] // 查询条件 const tiaojians = [{ label: '等于', value: 'andEq' }, { label: 'in', value: 'andIn' }, { label: 'notIn', value: 'andNotIn' }, { label: '不等于', value: 'andNotEq' }, { label: 'notBetweenAnd', value: 'andNotBetween' }, { label: 'betweenAnd', value: 'andBetween' }, { label: '大于', value: 'andGreat' }, { label: '大于等于', value: 'andGreatEq' }, { label: '小于', value: 'andLess' }, { label: '小于等于', value: 'andLessEq' }, { label: 'like', value: 'andLike' }, { label: 'leftLike', value: 'andLeftLike' }, { label: 'rightLike', value: 'andRightLike' }, { label: '为空', value: 'andIsNull' }, { label: '不为空', value: 'andIsNotNull' } ] // 连接类型 const condition = [{ label: '左连接', value: 'leftJoin' }, { label: '内连接', value: 'innerJoin' }, { label: '一对一', value: 'oneToOne' }, { label: '一对多', value: 'oneToMany' } ] // yes or no const ynList = [{ label: '否', value: 'false' }, { label: '是', value: 'true' } ] // 对齐方式 const alignList = [{ label: '居左', value: 'left' }, { label: '居中', value: 'center' }, { label: '居右', value: 'right' } ] const dJobs = [{ value: 'DEG', label: '提空预约', children: [{ value: 'DEG', label: 'DEG一般提空' }, { value: 'DEK', label: 'DEK提管空箱' }] }, { value: 'DFG', label: '提重预约', children: [{ value: 'DFG', label: 'DFG一般提重' }, { value: 'DFO', label: 'DFO提退关箱' }, { value: 'DTG', label: 'DTG提转码头箱' } ] } ] const dGroupJobs = [{ value: 'DEG', label: '提空预约', children: [{ value: 'DEG', label: 'DEG一般提空' }] }, { value: 'DFG', label: '提重预约', children: [{ value: 'DFG', label: 'DFG一般提重' }, { value: 'DFO', label: 'DFO提退关箱' }, { value: 'DTG', label: 'DTG提转码头箱' } ] } ] const rJobs = [{ value: 'REG', label: '进空预约', children: [{ value: 'REG', label: 'REG一般进空' }, { value: 'RED', label: 'RED直装进空' } ] }, { value: 'RFG', label: '进重预约', children: [{ value: 'RFA', label: 'RFA迟到进重' }, { value: 'RFB', label: 'RFB提前进重' }, { value: 'RFC', label: 'RFC纯CFS进重' }, { value: 'RFD', label: 'RFD直装' }, { value: 'RFG', label: 'RFG一般进重' }, { value: 'RFP', label: 'RFP直装普货' }, { value: 'RFR', label: 'RFR进口汽车专场箱预约' }, { value: 'RFS', label: 'RFS进退运箱' }, { value: 'RFT', label: 'RFT转码头进重' }, { value: 'RFY', label: 'RFY提前进重/费率优惠' }, { value: 'RFH', label: 'RFH海铁箱进重' } ] } ] const rJobs2 = [ { value: '进空预约', label: '进空预约:', disabled: true }, { value: 'REG', label: ' REG一般进空', class: 'selectItem' }, { value: 'RED', label: ' RED直装进空', class: 'selectItem' }, { value: '进重预约', label: '进重预约:', disabled: true }, { value: 'RFA', label: 'RFA迟到进重', class: 'selectItem' }, { value: 'RFB', label: 'RFB提前进重', class: 'selectItem' }, { value: 'RFC', label: 'RFC纯CFS进重', class: 'selectItem' }, { value: 'RFD', label: 'RFD直装', class: 'selectItem' }, { value: 'RFG', label: 'RFG一般进重', class: 'selectItem' }, { value: 'RFP', label: 'RFP直装普货', class: 'selectItem' }, { value: 'RFR', label: 'RFR进口汽车专场箱预约', class: 'selectItem' }, { value: 'RFS', label: ' RFS进退运箱', class: 'selectItem' }, { value: 'RFT', label: ' RFT转码头进重', class: 'selectItem' }, { value: 'RFY', label: 'RFY提前进重/费率优惠', class: 'selectItem' }, { value: 'RFH', label: 'RFH海铁箱进重', class: 'selectItem' } ] export { condition, alignList, inputTypeList, tiaojians, rJobs, dJobs, dGroupJobs, rJobs2, ynList }