import {BasicColumn} from '/@/components/Table'; import {FormSchema} from '/@/components/Table'; import { rules} from '/@/utils/helper/validator'; import { render } from '/@/utils/common/renderUtils'; import { getWeekMonthQuarterYear } from '/@/utils'; //列表数据 export const columns: BasicColumn[] = [ { title: '服务类别id', align: "center", sorter: true, dataIndex: 'categoryId_dictText' }, { title: '服务类型id', align: "center", sorter: true, dataIndex: 'typeId_dictText' }, { title: '指令标签id', align: "center", dataIndex: 'instructionTagId_dictText' }, { title: '服务指令名称', align: "center", dataIndex: 'directiveName' }, { title: '收费价格', align: "center", dataIndex: 'tollPrice' }, { title: '提成价格', align: "center", dataIndex: 'comPrice' }, { title: '是否参与医保报销 0不报销 1报销', align: "center", dataIndex: 'izReimbursement_dictText' }, { title: '是否参与机构优惠 0不参与 1参与', align: "center", dataIndex: 'izPreferential_dictText' }, { title: '收费频次', align: "center", dataIndex: 'chargingFrequency_dictText' }, { title: '周期类型', align: "center", dataIndex: 'cycleType_dictText' }, { title: '排序', align: "center", sorter: true, dataIndex: 'sort' }, { title: '服务说明', align: "center", dataIndex: 'serviceContent' }, { title: '服务时长(分钟)', align: "center", dataIndex: 'serviceDuration' }, { title: '是否启用', align: "center", dataIndex: 'izEnabled_dictText' }, { title: '创建人', align: "center", dataIndex: 'createBy' }, { title: '创建日期', align: "center", sorter: true, dataIndex: 'createTime' }, { title: '更新人', align: "center", dataIndex: 'updateBy' }, { title: '更新日期', align: "center", sorter: true, dataIndex: 'updateTime' }, { title: '语音文件', align: "center", dataIndex: 'mp3File', }, { title: '视频文件', align: "center", dataIndex: 'mp4File', }, ]; // 高级查询数据 export const superQuerySchema = { categoryId: {title: '服务类别id',order: 0,view: 'list', type: 'string',dictCode: '',}, typeId: {title: '服务类型id',order: 1,view: 'list', type: 'string',dictCode: '',}, instructionTagId: {title: '指令标签id',order: 2,view: 'list', type: 'string',dictCode: 'instruction_tag',}, directiveName: {title: '服务指令名称',order: 3,view: 'text', type: 'string',}, tollPrice: {title: '收费价格',order: 4,view: 'number', type: 'number',}, comPrice: {title: '提成价格',order: 5,view: 'number', type: 'number',}, izReimbursement: {title: '是否参与医保报销 0不报销 1报销',order: 6,view: 'radio', type: 'string',dictCode: '',}, izPreferential: {title: '是否参与机构优惠 0不参与 1参与',order: 7,view: 'radio', type: 'string',dictCode: '',}, chargingFrequency: {title: '收费频次',order: 8,view: 'list', type: 'string',dictCode: '',}, cycleType: {title: '周期类型',order: 9,view: 'list', type: 'string',dictCode: '',}, sort: {title: '排序',order: 10,view: 'number', type: 'number',}, serviceContent: {title: '服务说明',order: 11,view: 'textarea', type: 'string',}, serviceDuration: {title: '服务时长(分钟)',order: 12,view: 'text', type: 'string',}, izEnabled: {title: '是否启用',order: 13,view: 'radio', type: 'string',dictCode: '',}, createBy: {title: '创建人',order: 14,view: 'text', type: 'string',}, createTime: {title: '创建日期',order: 15,view: 'datetime', type: 'string',}, updateBy: {title: '更新人',order: 16,view: 'text', type: 'string',}, updateTime: {title: '更新日期',order: 17,view: 'datetime', type: 'string',}, mp3File: {title: '语音文件',order: 18,view: 'file', type: 'string',}, mp4File: {title: '视频文件',order: 19,view: 'file', type: 'string',}, };