import { DictionaryBase } from './types';

const SysOperationType = new DictionaryBase('操作日志操作类型', [
  {
    id: 0,
    name: '登录',
    symbol: 'LOGIN',
  },
  {
    id: 1,
    name: '手机登录',
    symbol: 'MOBILE_LOGIN',
  },
  {
    id: 5,
    name: '登出',
    symbol: 'LOGOUT',
  },
  {
    id: 10,
    name: '新增',
    symbol: 'ADD',
  },
  {
    id: 15,
    name: '修改',
    symbol: 'UPDATE',
  },
  {
    id: 20,
    name: '删除',
    symbol: 'DELETE',
  },
  {
    id: 35,
    name: '查询',
    symbol: 'LIST',
  },
  {
    id: 40,
    name: '分组查询',
    symbol: 'LIST_WITH_GROUP',
  },
  {
    id: 45,
    name: '导出',
    symbol: 'EXPORT',
  },
  {
    id: 25,
    name: '新增多对多关联',
    symbol: 'ADD_M2M',
  },
  {
    id: 30,
    name: '移除多对多关联',
    symbol: 'DELETE_M2M',
  },
  {
    id: 50,
    name: '上传',
    symbol: 'UPLOAD',
  },
  {
    id: 55,
    name: '下载',
    symbol: 'DOWNLOAD',
  },
  {
    id: 60,
    name: '重置缓存',
    symbol: 'RELOAD_CACHE',
  },
  {
    id: 65,
    name: '发布',
    symbol: 'PUBLISH',
  },
  {
    id: 70,
    name: '取消发布',
    symbol: 'UNPUBLISH',
  },
  {
    id: 75,
    name: '流程挂起',
    symbol: 'SUSPEND',
  },
  {
    id: 80,
    name: '流程恢复',
    symbol: 'RESUME',
  },
  {
    id: 100,
    name: '启动流程',
    symbol: 'START_FLOW',
  },
  {
    id: 105,
    name: '终止流程',
    symbol: 'STOP_FLOW',
  },
  {
    id: 110,
    name: '删除流程',
    symbol: 'DELETE_FLOW',
  },
  {
    id: 115,
    name: '撤销流程',
    symbol: 'CANCEL_FLOW',
  },
  {
    id: 120,
    name: '提交流程任务',
    symbol: 'SUBMIT_TASK',
  },
  {
    id: 125,
    name: '催办流程',
    symbol: 'REMIND_TASK',
  },
  {
    id: 126,
    name: '流程干预',
    symbol: 'INTERVENE_FLOW',
  },
  {
    id: 127,
    name: '流程数据补偿',
    symbol: 'FIX_FLOW_BUSINESS_DATA',
  },
]);

const SysPermModuleType = new DictionaryBase('权限分组类型', [
  {
    id: 0,
    name: '分组模块',
    symbol: 'GROUP',
  },
  {
    id: 1,
    name: '接口模块',
    symbol: 'CONTROLLER',
  },
]);

const SysPermCodeType = new DictionaryBase('权限字类型', [
  {
    id: 0,
    name: '表单',
    symbol: 'FORM',
  },
  {
    id: 1,
    name: '片段',
    symbol: 'FRAGMENT',
  },
  {
    id: 2,
    name: '操作',
    symbol: 'OPERATION',
  },
]);

/**
 * 菜单类型
 *
 * DIRECTORY(0: 目录)
 * MENU(1: 表单)
 * FRAGMENT(2: 片段)
 * BUTTON(3: 按钮)
 */
const SysMenuType = new DictionaryBase('菜单类型', [
  {
    id: 0,
    name: '目录',
    symbol: 'DIRECTORY',
  },
  {
    id: 1,
    name: '菜单',
    symbol: 'MENU',
  },
  {
    id: 2,
    name: '片段',
    symbol: 'FRAGMENT',
  },
  {
    id: 3,
    name: '按钮',
    symbol: 'BUTTON',
  },
]);

const MobileEntryType = new DictionaryBase('移动端首页配置项类型', [
  {
    id: 0,
    name: '轮播图',
    symbol: 'BANNER',
  },
  {
    id: 1,
    name: '九宫格',
    symbol: 'SUDOKU',
  },
  {
    id: 2,
    name: '分组',
    symbol: 'GROUP',
  },
]);

/**
 * 菜单绑定类型
 *
 * ROUTER(0: 路由菜单)
 * ONLINE_FORM(1: 在线表单)
 * WORK_ORDER(2: 工单列表)
 * REPORT(3: 报表页面)
 * THRID_URL(4: 外部链接)
 */
const SysMenuBindType = new DictionaryBase('菜单绑定类型', [
  {
    id: 0,
    name: '路由菜单',
    symbol: 'ROUTER',
  },
  {
    id: 1,
    name: '在线表单',
    symbol: 'ONLINE_FORM',
  },
  {
    id: 2,
    name: '工单列表',
    symbol: 'WORK_ORDER',
  },
  {
    id: 3,
    name: '报表页面',
    symbol: 'REPORT',
  },
  {
    id: 4,
    name: '外部链接',
    symbol: 'THRID_URL',
  },
]);

const SysDataPermType = new DictionaryBase('数据权限类型', [
  {
    id: 0,
    name: '查看全部',
    symbol: 'ALL',
  },
  {
    id: 1,
    name: '仅看自己',
    symbol: 'ONLY_USER',
  },
  {
    id: 2,
    name: '仅看所在部门',
    symbol: 'ONLY_DEPT',
  },
  {
    id: 3,
    name: '仅看所在部门及子部门',
    symbol: 'ONLY_DEPT_AND_CHILD',
  },
  {
    id: 4,
    name: '自选部门及子部门',
    symbol: 'CUSTOM_DEPT_AND_CHILD',
  },
  {
    id: 5,
    name: '仅自选部门',
    symbol: 'CUSTOM_DEPT',
  },
  {
    id: 6,
    name: '本部门用户',
    symbol: 'DEPT_USER',
  },
  {
    id: 7,
    name: '本部门及子部门用户',
    symbol: 'DEPT_AND_CHILD_USER',
  },
]);

const ScatterSymbolType = new DictionaryBase('纵轴位置', [
  {
    id: 0,
    name: '固定大小',
    symbol: 'FIXED',
  },
  {
    id: 1,
    name: '值大小',
    symbol: 'VALUE',
  },
]);

const SysCustomWidgetType = new DictionaryBase('组件类型', [
  {
    id: 0,
    name: '文本显示',
    symbol: 'Label',
  },
  {
    id: 1,
    name: '文本输入框',
    symbol: 'Input',
  },
  {
    id: 3,
    name: '数字输入框',
    symbol: 'NumberInput',
  },
  {
    id: 4,
    name: '数字范围输入框',
    symbol: 'NumberRange',
  },
  {
    id: 5,
    name: '开关组件',
    symbol: 'Switch',
  },
  {
    id: 6,
    name: '滑块组件',
    symbol: 'Slider',
  },
  {
    id: 7,
    name: '单选组件',
    symbol: 'Radio',
  },
  {
    id: 8,
    name: '复选框',
    symbol: 'CheckBox',
  },
  {
    id: 10,
    name: '下拉选择框',
    symbol: 'Select',
  },
  {
    id: 12,
    name: '级联选择框',
    symbol: 'Cascader',
  },
  {
    id: 13,
    name: '树形选择组件',
    symbol: 'Tree',
  },
  {
    id: 14,
    name: '评分组件',
    symbol: 'Rate',
  },
  {
    id: 15,
    name: '进步器',
    symbol: 'Stepper',
  },
  {
    id: 16,
    name: '日历组件',
    symbol: 'Calendar',
  },
  {
    id: 20,
    name: '日期选择框',
    symbol: 'Date',
  },
  {
    id: 21,
    name: '日期范围选择框',
    symbol: 'DateRange',
  },
  {
    id: 30,
    name: '颜色选择框',
    symbol: 'ColorPicker',
  },
  {
    id: 31,
    name: '上传组件',
    symbol: 'Upload',
  },
  {
    id: 32,
    name: '富文本编辑',
    symbol: 'RichEditor',
  },
  {
    id: 40,
    name: '分割线',
    symbol: 'Divider',
  },
  {
    id: 41,
    name: '文本',
    symbol: 'Text',
  },
  {
    id: 42,
    name: '图片',
    symbol: 'Image',
  },
  {
    id: 43,
    name: '超链接',
    symbol: 'Link',
  },
  {
    id: 100,
    name: '表格组件',
    symbol: 'Table',
  },
  {
    id: 101,
    name: '透视表',
    symbol: 'PivotTable',
  },
  {
    id: 102,
    name: '数据列表',
    symbol: 'List',
  },
  {
    id: 103,
    name: '查询列表',
    symbol: 'QueryList',
  },
  {
    id: 104,
    name: '工单列表',
    symbol: 'WorkOrderList',
  },
  {
    id: 200,
    name: '折线图',
    symbol: 'LineChart',
  },
  {
    id: 201,
    name: '柱状图',
    symbol: 'BarChart',
  },
  {
    id: 202,
    name: '饼图',
    symbol: 'PieChart',
  },
  {
    id: 203,
    name: '散点图',
    symbol: 'ScatterChart',
  },
  {
    id: 204,
    name: '普通表格',
    symbol: 'DataViewTable',
  },
  {
    id: 205,
    name: '轮播图',
    symbol: 'Carousel',
  },
  {
    id: 206,
    name: '富文本',
    symbol: 'RichText',
  },
  {
    id: 207,
    name: '仪表盘',
    symbol: 'GaugeChart',
  },
  {
    id: 208,
    name: '漏斗图',
    symbol: 'FunnelChart',
  },
  {
    id: 209,
    name: '雷达图',
    symbol: 'RadarChart',
  },
  {
    id: 210,
    name: '普通进度条',
    symbol: 'ProgressBar',
  },
  {
    id: 211,
    name: '环形进度条',
    symbol: 'ProgressCircle',
  },
  {
    id: 212,
    name: '通用卡片',
    symbol: 'DataCard',
  },
  {
    id: 213,
    name: '通用列表',
    symbol: 'CommonList',
  },
  {
    id: 214,
    name: '进度条卡片',
    symbol: 'DataProgressCard',
  },
  {
    id: 300,
    name: '基础块',
    symbol: 'Block',
  },
  {
    id: 301,
    name: '卡片组件',
    symbol: 'Card',
  },
  {
    id: 302,
    name: 'Tabs 组件',
    symbol: 'Tabs',
  },
  {
    id: 303,
    name: '图片卡片',
    symbol: 'ImageCard',
  },
  {
    id: 304,
    name: '分组容器',
    symbol: 'CellGroup',
  },
  {
    id: 400,
    name: '用户选择',
    symbol: 'UserSelect',
  },
  {
    id: 401,
    name: '部门选择',
    symbol: 'DeptSelect',
  },
  {
    id: 402,
    name: '关联选择',
    symbol: 'DataSelect',
  },
  {
    id: 403,
    name: '表格容器',
    symbol: 'TableContainer',
  },
  {
    id: 500,
    name: '单选过滤',
    symbol: 'MobileRadioFilter',
  },
  {
    id: 501,
    name: '多选过滤',
    symbol: 'MobileCheckBoxFilter',
  },
  {
    id: 502,
    name: '文本过滤',
    symbol: 'MobileInputFilter',
  },
  {
    id: 503,
    name: '开关过滤',
    symbol: 'MobileSwitchFilter',
  },
  {
    id: 504,
    name: '日期过滤',
    symbol: 'MobileDateRangeFilter',
  },
  {
    id: 505,
    name: '数字范围过滤',
    symbol: 'MobileNumberRangeFilter',
  },
  // 行内编辑组件
  {
    id: 600,
    name: '输入框',
    symbol: 'INLINE_INPUT',
  },
  {
    id: 601,
    name: '数字输入框',
    symbol: 'INLINE_NUMBER_INPUT',
  },
  {
    id: 602,
    name: '日期输入框',
    symbol: 'INLINE_DATE',
  },
  {
    id: 603,
    name: '下拉选择框',
    symbol: 'INLINE_SELECT',
  },
  {
    id: 604,
    name: '级联选择组件',
    symbol: 'INLINE_CASCADE',
  },
  {
    id: 605,
    name: '开关组件',
    symbol: 'INLINE_SWITCH',
  },
  {
    id: 606,
    name: '上传组件',
    symbol: 'INLINE_UPLOAD',
  },
]);

const OnlineFormEventType = new DictionaryBase('在线表单事件类型', [
  {
    id: 'change',
    name: '数据改变',
    symbol: 'CHANGE',
  },
  {
    id: 'disable',
    name: '是否禁用',
    symbol: 'DISABLE',
  },
  {
    id: 'visible',
    name: '是否可见',
    symbol: 'VISIBLE',
  },
  {
    id: 'dropdownChange',
    name: '下拉数据改变',
    symbol: 'DROPDOWN_CHANGE',
  },
  {
    id: 'linkHerf',
    name: '链接地址',
    symbol: 'LINK_HERF',
  },
  {
    id: 'disabledDate',
    name: '日期是否可用',
    symbol: 'DISABLED_DATE',
  },
  {
    id: 'afterLoadTableData',
    name: '表格加载数据后',
    symbol: 'AFTER_LOAD_TABLE_DATA',
  },
  {
    id: 'beforeLoadTableData',
    name: '表格加载数据前',
    symbol: 'BEFORE_LOAD_TABLE_DATA',
  },
  {
    id: 'afterLoadFormData',
    name: '页面加载数据后',
    symbol: 'AFTER_LOAD_FORM_DATA',
  },
  {
    id: 'beforeLoadFormData',
    name: '页面加载数据前',
    symbol: 'BEFORE_LOAD_FORM_DATA',
  },
  {
    id: 'beforeCommitFormData',
    name: '页面数据提交前',
    symbol: 'BEFORE_COMMIT_FORM_DATA',
  },
  {
    id: 'formCreated',
    name: '页面创建完毕',
    symbol: 'AFTER_CREATE_FORM',
  },
  {
    id: 'tableOperationVisible',
    name: '操作是否可见',
    symbol: 'OPERATION_VISIBLE',
  },
  {
    id: 'tableOperationDisbled',
    name: '操作是否禁用',
    symbol: 'OPERATION_DISABLED',
  },
]);

/**
 * 表单类型
 *
 * QUERY(1: 查询表单)
 * ADVANCE_QUERY(2: 左树右表查询)
 * ONE_TO_ONE_QUERY(3: 一对一查询)
 * FORM(5: 编辑表单)
 * FLOW(10: 流程表单)
 * WORK_ORDER(11: 工单列表)
 * REPORT(50: 报表页面)
 */
const SysOnlineFormType = new DictionaryBase('表单类型', [
  {
    id: 1,
    name: '查询表单',
    symbol: 'QUERY',
  },
  {
    id: 2,
    name: '左树右表查询',
    symbol: 'ADVANCE_QUERY',
  },
  {
    id: 3,
    name: '一对一查询',
    symbol: 'ONE_TO_ONE_QUERY',
  },
  {
    id: 5,
    name: '编辑表单',
    symbol: 'FORM',
  },
  {
    id: 10,
    name: '流程表单',
    symbol: 'FLOW',
  },
  {
    id: 11,
    name: '工单列表',
    symbol: 'WORK_ORDER',
  },
  {
    id: 50,
    name: '报表页面',
    symbol: 'REPORT',
  },
]);

const SysCustomWidgetOperationType = new DictionaryBase('操作类型', [
  {
    id: 0,
    name: '新建',
    symbol: 'ADD',
  },
  {
    id: 1,
    name: '编辑',
    symbol: 'EDIT',
  },
  {
    id: 2,
    name: '删除',
    symbol: 'DELETE',
  },
  {
    id: 3,
    name: '导出',
    symbol: 'EXPORT',
  },
  {
    id: 4,
    name: '导入',
    symbol: 'IMPORT',
  },
  {
    id: 5,
    name: '启动流程',
    symbol: 'START_FLOW',
  },
  {
    id: 10,
    name: '批量删除',
    symbol: 'BATCH_DELETE',
  },
  {
    id: 20,
    name: '表单操作',
    symbol: 'FORM',
  },
  {
    id: 21,
    name: '打印操作',
    symbol: 'PRINT',
  },
  {
    id: 22,
    name: '复制',
    symbol: 'COPY',
  },
  {
    id: 30,
    name: '保存',
    symbol: 'SAVE',
  },
  {
    id: 31,
    name: '取消',
    symbol: 'CANCEL',
  },
  {
    id: 40,
    name: '行内添加',
    symbol: 'INLINE_ADD',
  },
  {
    id: 41,
    name: '行内编辑',
    symbol: 'INLINE_EDIT',
  },
  {
    id: 50,
    name: '脚本操作',
    symbol: 'SCRIPT',
  },
  {
    id: 51,
    name: '下钻事件',
    symbol: 'DRILL',
  },
  {
    id: 52,
    name: '路由跳转',
    symbol: 'ROUTE',
  },
]);

const OnlineSystemVariableType = new DictionaryBase('系统变量类型', [
  {
    id: 0,
    name: '登录用户',
    symbol: 'CURRENT_USER',
  },
  {
    id: 1,
    name: '所属部门',
    symbol: 'CURRENT_DEPT',
  },
  {
    id: 10,
    name: '当前日期',
    symbol: 'CURRENT_DATE',
  },
  {
    id: 11,
    name: '当前时间',
    symbol: 'CURRENT_TIME',
  },
  {
    id: 20,
    name: '流程发起人',
    symbol: 'FLOW_CREATE_USER',
  },
]);

const SysCustomWidgetBindDataType = new DictionaryBase('组件绑定数据类型', [
  {
    id: 0,
    name: '字段',
    symbol: 'Column',
  },
  {
    id: 5,
    name: '系统变量',
    symbol: 'SYSTEM_VARIABLE',
  },
  {
    id: 10,
    name: '自定义字段',
    symbol: 'Custom',
  },
  {
    id: 20,
    name: '固定值',
    symbol: 'Fixed',
  },
]);

const SysMaskFieldType = new DictionaryBase('脱敏类型', [
  {
    id: 'CUSTOM',
    name: '自定义',
    symbol: 'CUSTOM',
  },
  {
    id: 'NAME',
    name: '姓名',
    symbol: 'NAME',
  },
  {
    id: 'MOBILE_PHONE',
    name: '移动电话',
    symbol: 'MOBILE_PHONE',
  },
  {
    id: 'FIXED_PHONE',
    name: '座机电话',
    symbol: 'FIXED_PHONE',
  },
  {
    id: 'ID_CARD',
    name: '身份证',
    symbol: 'ID_CARD',
  },
  {
    id: 'BANK_CARD',
    name: '银行卡号',
    symbol: 'BANK_CARD',
  },
  {
    id: 'CAR_LICENSE',
    name: '汽车牌照号',
    symbol: 'CAR_LICENSE',
  },
  {
    id: 'EMAIL',
    name: '电子邮箱地址',
    symbol: 'EMAIL',
  },
]);

const EnumFileType = new DictionaryBase('文件类型', [
  {
    id: 1,
    name: '图片',
    symbol: 'IMAGE',
  },
  {
    id: 2,
    name: '音频',
    symbol: 'AUDIO',
  },
  {
    id: 3,
    name: '视频',
    symbol: 'VIDEO',
  },
  {
    id: 4,
    name: 'PDF',
    symbol: 'PDF',
  },
  {
    id: 5,
    name: 'Word',
    symbol: 'WORD',
  },
  {
    id: 6,
    name: 'Excel',
    symbol: 'EXCEL',
  },
  /*
  {
    id: 7,
    name: 'PPT',
    symbol: 'PPT',
  },
  {
    id: 8,
    name: '文本',
    symbol: 'TEXT',
  },
  {
    id: 9,
    name: '压缩包',
    symbol: 'ZIP',
  },
  {
    id: 10,
    name: 'Markdown',
    symbol: 'MARKDOWN',
  },
  {
    id: 11,
    name: 'HTML',
    symbol: 'HTML',
  },
  */
  {
    id: 999,
    name: '其他文件',
    symbol: 'FILE',
  },
]);

const DirectionType = new DictionaryBase('方向', [
  {
    id: 0,
    name: '横轴',
    symbol: 'HORIZONTAL',
  },
  {
    id: 1,
    name: '纵轴',
    symbol: 'VERTICAL',
  },
]);

const DblinkType = new DictionaryBase('数据库连接类型', [
  {
    id: 0,
    name: 'MySQL',
    symbol: 'MYSQL',
  },
  {
    id: 1,
    name: 'PostgreSQL',
    symbol: 'POSTGRESQL',
  },
  {
    id: 2,
    name: 'Oracle',
    symbol: 'ORACLE',
  },
  {
    id: 6,
    name: 'SQL Server',
    symbol: 'SQL_SERVER'
  },
  {
    id: 3,
    name: '达梦数据库',
    symbol: 'DM_DB',
  },
  {
    id: 4,
    name: '人大金仓',
    symbol: 'KINGBASE',
  },
  {
    id: 5,
    name: '华为高斯',
    symbol: 'OPENGAUSS',
  },
  {
    id: 10,
    name: 'ClickHouse',
    symbol: 'CLICK_HOUSE',
  },
  {
    id: 11,
    name: 'Doris',
    symbol: 'DORIS',
  },
]);

const CriteriaFilterType = new DictionaryBase('条件过滤类型', [
  {
    id: 0,
    name: '等于',
    symbol: 'EQ',
  },
  {
    id: 1,
    name: '不等于',
    symbol: 'NOT_EQ',
  },
  {
    id: 2,
    name: '大于等于',
    symbol: 'GE',
  },
  {
    id: 3,
    name: '大于',
    symbol: 'GT',
  },
  {
    id: 4,
    name: '小于等于',
    symbol: 'LE',
  },
  {
    id: 5,
    name: '小于',
    symbol: 'LT',
  },
  {
    id: 6,
    name: 'LIKE',
    symbol: 'LIKE',
  },
  {
    id: 7,
    name: 'IN',
    symbol: 'IN',
  },
  {
    id: 8,
    name: 'NOT IN',
    symbol: 'NOT_IN',
  },
  {
    id: 9,
    name: 'BETWEEN',
    symbol: 'BETWEEN',
  },
  {
    id: 100,
    name: '不为空',
    symbol: 'NOT_NULL',
  },
  {
    id: 101,
    name: '为空',
    symbol: 'IS_NULL',
  },
]);

const FormulaItemKind = new DictionaryBase('公式项类型', [
  {
    id: 'varable',
    name: '变量',
    symbol: 'VARABLE',
  },
  {
    id: 'number',
    name: '数字',
    symbol: 'NUMBER',
  },
  {
    id: 'string',
    name: '字符串',
    symbol: 'STRING',
  },
  {
    id: 'operator',
    name: '操作符',
    symbol: 'OPERATOR',
  },
  {
    id: 'function',
    name: '函数',
    symbol: 'FUNCTION',
  },
]);

const SysOnlineRuleType = new DictionaryBase('验证规则类型', [
  {
    id: 1,
    name: '只允许整数',
    symbol: 'INTEGER_ONLY',
  },
  {
    id: 2,
    name: '只允许数字',
    symbol: 'DIGITAL_ONLY',
  },
  {
    id: 3,
    name: '只允许英文字符',
    symbol: 'LETTER_ONLY',
  },
  {
    id: 4,
    name: '范围验证',
    symbol: 'RANGE',
  },
  {
    id: 5,
    name: '邮箱格式验证',
    symbol: 'EMAIL',
  },
  {
    id: 6,
    name: '手机格式验证',
    symbol: 'MOBILE',
  },
  {
    id: 100,
    name: '自定义验证',
    symbol: 'CUSTOM',
  },
]);

const SysUserStatus = new DictionaryBase('用户状态', [
  {
    id: 0,
    name: '正常状态',
    symbol: 'NORMAL'
  },
  {
    id: 1,
    name: '锁定状态',
    symbol: 'LOCKED'
  }
]);

const SysUserType = new DictionaryBase('用户类型', [
  {
    id: 0,
    name: '管理员',
    symbol: 'ADMIN'
  },
  {
    id: 1,
    name: '系统操作员',
    symbol: 'SYSTEM'
  },
  {
    id: 2,
    name: '普通操作员',
    symbol: 'OPERATOR'
  }
]);

const CompanyType = new DictionaryBase('公司类型', [
  {
    id: 1,
    name: '旅游',
    symbol: 'TOURISM'
  },
  {
    id: 2,
    name: '劳务',
    symbol: 'JOB'
  }
]);

const Enable = new DictionaryBase('是否启用', [
  {
    id: 0,
    name: '禁用',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '启用',
    symbol: 'YES'
  }
]);

const Type = new DictionaryBase('banner类型', [
  {
    id: 0,
    name: 'PC',
    symbol: 'NO'
  },
  {
    id: 1,
    name: 'H5',
    symbol: 'YES'
  }
]);

const BannerType = new DictionaryBase('banner类型', [
  {
    id: 0,
    name: 'PC',
    symbol: 'BANNER_PC'
  },
  {
    id: 1,
    name: 'H5',
    symbol: 'BANNER_H5'
  }
]);

const Hotspot = new DictionaryBase('是否热点数据', [
  {
    id: 0,
    name: '非热点',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '热点',
    symbol: 'YES'
  }
]);

const IsFirst = new DictionaryBase('是否主banner', [
  {
    id: 0,
    name: '否',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  }
]);

const ProjectType = new DictionaryBase('项目类型', [
  {
    id: 1,
    name: '旅游项目',
    symbol: 'TOURISMPROJECT'
  },
  {
    id: 2,
    name: '劳务项目',
    symbol: 'JOBPROJECT'
  }
]);

const IsHotFood = new DictionaryBase('是否超火美食', [
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  },
  {
    id: -1,
    name: '不是',
    symbol: 'NO'
  }
]);

const IsDeliciousShop = new DictionaryBase('是否美味店铺', [
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  },
  {
    id: 2,
    name: '否',
    symbol: 'NO'
  }
]);

const IsSelectShop = new DictionaryBase('是否精选好店', [
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  },
  {
    id: 2,
    name: '否',
    symbol: 'NO'
  }
]);

const IsBestNewShop = new DictionaryBase('是否优选新店', [
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  },
  {
    id: 2,
    name: '否',
    symbol: 'NO'
  }
]);

const IsRecommendedShop = new DictionaryBase('是否推荐店铺', [
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  },
  {
    id: 2,
    name: '否',
    symbol: 'NO'
  }
]);

const IsWinnowDestination = new DictionaryBase('是否精选目的地', [
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  },
  {
    id: 2,
    name: '不是',
    symbol: 'NO'
  }
]);

const DeliveryAddressSex = new DictionaryBase('外卖地址性别', [
  {
    id: 1,
    name: '男',
    symbol: 'MALE'
  },
  {
    id: 2,
    name: '女',
    symbol: 'FEMALE'
  }
]);

const IsDefault = new DictionaryBase('是否默认地址', [
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  },
  {
    id: 2,
    name: '不是',
    symbol: 'NO'
  }
]);

const AuditState = new DictionaryBase('审核状态', [
  {
    id: 1,
    name: '待审核',
    symbol: 'UNAUDITSTATE'
  },
  {
    id: 2,
    name: '审核未通过',
    symbol: 'FAILAUDIT'
  },
  {
    id: 3,
    name: '审核通过',
    symbol: 'SUCCEEDAUDIT'
  },
  {
    id: 0,
    name: '草稿',
    symbol: 'DRAFT'
  }
]);

const IsComplete = new DictionaryBase('是否完成写作', [
  {
    id: 0,
    name: '未完成',
    symbol: 'UNCOMPLETED'
  },
  {
    id: 1,
    name: '完成',
    symbol: 'COMPLETED'
  }
]);

const UnmountState = new DictionaryBase('上下架状态', [
  {
    id: 0,
    name: '下架',
    symbol: 'DELIST'
  },
  {
    id: 1,
    name: '上架',
    symbol: 'LISTING'
  }
]);

const IsOriginal = new DictionaryBase('是否原创', [
  {
    id: 0,
    name: '非原创',
    symbol: 'NOT_ORIGINAL'
  },
  {
    id: 1,
    name: '原创',
    symbol: 'ORIGINAL'
  }
]);

const AudioState = new DictionaryBase('自动审核状态', [
  {
    id: 1,
    name: '自动审核通过',
    symbol: 'AGREE'
  },
  {
    id: 2,
    name: '自动审核未通过',
    symbol: 'REJECT'
  }
]);

const IsSaleByLandlord = new DictionaryBase('是否房东自售', [
  {
    id: 0,
    name: '不是',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  }
]);

const IsOnSale = new DictionaryBase('房屋是否在售', [
  {
    id: 0,
    name: '待售',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '在售',
    symbol: 'YES'
  }
]);

const IsSoleDwelling = new DictionaryBase('是否唯一住房', [
  {
    id: 0,
    name: '不是',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  }
]);

const IsGoldAdvisor = new DictionaryBase('是否金牌顾问', [
  {
    id: 0,
    name: '不是',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '是',
    symbol: 'YES'
  }
]);

const TourNoticeType = new DictionaryBase('消息类型', [
  {
    id: 1,
    name: '消息回复',
    symbol: 'NOTICE_REPLY'
  },
  {
    id: 2,
    name: '收藏提醒',
    symbol: 'COLLECTION_REMINDER'
  },
  {
    id: 3,
    name: '游记审核',
    symbol: 'TRAVEL_REVIEW'
  }
]);

const TourBeenRead = new DictionaryBase('已读未读', [
  {
    id: 1,
    name: '已读',
    symbol: 'READ'
  },
  {
    id: 2,
    name: '未读',
    symbol: 'UNREAD'
  }
]);

const RentState = new DictionaryBase('租房状态', [
  {
    id: 0,
    name: '未租出',
    symbol: 'ON_LEASE'
  },
  {
    id: 1,
    name: '已租出',
    symbol: 'RENTED_OUT'
  }
]);

const HouseEequipmentIsHave = new DictionaryBase('房屋配套设施有无', [
  {
    id: '0',
    name: '无',
    symbol: 'FALSE'
  },
  {
    id: '1',
    name: '有',
    symbol: 'TRUE'
  }
]);

const IsTrue = new DictionaryBase('是否', [
  {
    id: 0,
    name: '否',
    symbol: 'FALSE'
  },
  {
    id: 1,
    name: '是',
    symbol: 'TRUE'
  }
]);

const InterviewFlag = new DictionaryBase('面签字典', [
  {
    id: 0,
    name: '是',
    symbol: 'YES'
  },
  {
    id: 1,
    name: '否',
    symbol: 'NO'
  }
]);

const TourCarType = new DictionaryBase('包车车型归属', [
  {
    id: 1,
    name: '平台自营',
    symbol: 'PLATFORM_SELF_SUPPORT'
  },
  {
    id: 2,
    name: '三方个人',
    symbol: 'THIRD_PARTY_INDIVIDUAL'
  }
]);

const TourCarOrderState = new DictionaryBase('包车订单状态', [
  {
    id: 1,
    name: '已下单',
    symbol: 'PLACED_ORDER'
  },
  {
    id: 2,
    name: '已取消',
    symbol: 'CANCELLED'
  },
  {
    id: 3,
    name: '已完成',
    symbol: 'COMPLETED'
  }
]);

const VisaPayState = new DictionaryBase('签证支付状态', [
  {
    id: 0,
    name: '未支付',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '已支付',
    symbol: 'YES'
  },
  {
    id: 2,
    name: '已退款',
    symbol: 'BACK'
  }
]);

const VisaOrderState = new DictionaryBase('签证订单状态', [
  {
    id: 0,
    name: '材料初审',
    symbol: 'CREATE'
  },
  {
    id: 1,
    name: '递交使馆',
    symbol: 'UP'
  },
  {
    id: 2,
    name: '成功下签',
    symbol: 'FINSH'
  },
  {
    id: 3,
    name: '订单已取消',
    symbol: 'CANCEL'
  }
]);

const VisaConsoluerLevel = new DictionaryBase('签证顾问级别字典', [
  {
    id: 0,
    name: '低级顾问',
    symbol: 'LOW'
  },
  {
    id: 1,
    name: '中级顾问',
    symbol: 'MIDDLE'
  },
  {
    id: 2,
    name: '高级顾问',
    symbol: 'SUPER'
  }
]);

const VisaIndexFlag = new DictionaryBase('签证顾问显示列表字典', [
  {
    id: 0,
    name: '不显示',
    symbol: 'NO'
  },
  {
    id: 1,
    name: '显示',
    symbol: 'YES'
  }
]);

const Success = new DictionaryBase('拼团是否成功', [
  {
    id: 0,
    name: '正在拼团',
    symbol: 'FAIL'
  },
  {
    id: 1,
    name: '成功',
    symbol: 'SUCCESS'
  }
]);

const GroupPurchaseRebate = new DictionaryBase('拼团返利类型', [
  {
    id: 0,
    name: '邀请用户',
    symbol: 'INVITE_USER'
  },
  {
    id: 1,
    name: '邀请的用户取消订单',
    symbol: 'INVITE_USER_CANCEL'
  },
  {
    id: 2,
    name: '系统核销返利',
    symbol: 'SYSTEM_RETURN_ZERO'
  }
]);

export {
  SysDataPermType,
  SysOperationType,
  SysPermModuleType,
  SysPermCodeType,
  SysMenuBindType,
  MobileEntryType,
  SysMenuType,
  ScatterSymbolType,
  SysCustomWidgetType,
  OnlineFormEventType,
  SysOnlineFormType,
  SysCustomWidgetOperationType,
  OnlineSystemVariableType,
  SysCustomWidgetBindDataType,
  SysMaskFieldType,
  EnumFileType,
  DirectionType,
  DblinkType,
  CriteriaFilterType,
  FormulaItemKind,
  SysOnlineRuleType,
  SysUserStatus,
  SysUserType,
  CompanyType,
  Enable,
  BannerType,
  Hotspot,
  Type,
  IsFirst,
  ProjectType,
  IsHotFood,
  IsDeliciousShop,
  IsSelectShop,
  IsBestNewShop,
  IsRecommendedShop,
  IsWinnowDestination,
  DeliveryAddressSex,
  IsDefault,
  AuditState,
  IsComplete,
  UnmountState,
  IsOriginal,
  AudioState,
  IsSaleByLandlord,
  IsOnSale,
  IsSoleDwelling,
  IsGoldAdvisor,
  TourNoticeType,
  TourBeenRead,
  RentState,
  HouseEequipmentIsHave,
  IsTrue,
  InterviewFlag,
  TourCarType,
  TourCarOrderState,
  VisaPayState,
  VisaOrderState,
  VisaConsoluerLevel,
  VisaIndexFlag,
  Success,
  GroupPurchaseRebate
};
