|
|
@@ -346,7 +346,80 @@ INSERT INTO `t_data_dict` (`code`, `name`, `value`, `weight`, `remark`, `color`)
|
|
|
('notice_status', '已取消', '3', 4, '公告状态', 'danger'),
|
|
|
-- 是否
|
|
|
('yes_no', '否', '0', 1, '是否', 'info'),
|
|
|
-('yes_no', '是', '1', 2, '是否', 'success');
|
|
|
+('yes_no', '是', '1', 2, '是否', 'success'),
|
|
|
+-- 结算状态
|
|
|
+('Settlement.status', '待结算', '0', 1, '结算状态', 'info'),
|
|
|
+('Settlement.status', '已结算', '1', 2, '结算状态', 'success'),
|
|
|
+('Settlement.status', '异常结算', '2', 3, '结算状态', 'danger'),
|
|
|
+-- 操作日志 - 操作类型
|
|
|
+('OptLog.operationType', '新增', 'CREATE', 1, '操作类型', 'success'),
|
|
|
+('OptLog.operationType', '修改', 'UPDATE', 2, '操作类型', 'warning'),
|
|
|
+('OptLog.operationType', '删除', 'DELETE', 3, '操作类型', 'danger'),
|
|
|
+('OptLog.operationType', '查询', 'QUERY', 4, '操作类型', 'info'),
|
|
|
+('OptLog.operationType', '登录', 'LOGIN', 5, '操作类型', 'primary'),
|
|
|
+('OptLog.operationType', '登出', 'LOGOUT', 6, '操作类型', ''),
|
|
|
+('OptLog.operationType', '其他', 'OTHER', 7, '操作类型', ''),
|
|
|
+-- 操作日志 - 请求方式
|
|
|
+('OptLog.httpMethod', 'GET', 'GET', 1, '请求方式', 'success'),
|
|
|
+('OptLog.httpMethod', 'POST', 'POST', 2, '请求方式', 'primary'),
|
|
|
+('OptLog.httpMethod', 'PUT', 'PUT', 3, '请求方式', 'warning'),
|
|
|
+('OptLog.httpMethod', 'DELETE', 'DELETE', 4, '请求方式', 'danger'),
|
|
|
+-- 菜单类型
|
|
|
+('Menu.type', '菜单', '0', 1, '菜单类型', 'primary'),
|
|
|
+('Menu.type', 'iframe', '1', 2, '菜单类型', 'warning'),
|
|
|
+('Menu.type', '外链', '2', 3, '菜单类型', 'danger'),
|
|
|
+('Menu.type', '按钮', '3', 4, '菜单类型', 'info'),
|
|
|
+-- 用户性别
|
|
|
+('AdminUser.sex', '男', '0', 1, '用户性别', ''),
|
|
|
+('AdminUser.sex', '女', '1', 2, '用户性别', ''),
|
|
|
+-- 钱包明细类型
|
|
|
+('WalletDetail.type', '积分', '1', 1, '钱包明细类型', ''),
|
|
|
+('WalletDetail.type', '红包', '2', 2, '钱包明细类型', ''),
|
|
|
+('WalletDetail.type', '消费', '3', 3, '钱包明细类型', ''),
|
|
|
+-- 设备状态 (WashDevice.state)
|
|
|
+('WashDevice.status', '设备正在初始化', 'init', 1, '设备状态', '#52C41A'),
|
|
|
+('WashDevice.status', '设备空闲', 'idle', 2, '设备状态', '#52C41A'),
|
|
|
+('WashDevice.status', '设备忙碌', 'busy', 3, '设备状态', '#52C41A'),
|
|
|
+('WashDevice.status', '不在营业时间', 'sleep', 4, '设备状态', '#999999'),
|
|
|
+('WashDevice.status', '维护模式', 'maintenance', 5, '设备状态', '#FAAD14'),
|
|
|
+('WashDevice.status', '设备故障', 'fault', 6, '设备状态', '#F5222D'),
|
|
|
+-- 提现记录状态 (WithdrawnRecord.status)
|
|
|
+('WithdrawnRecord.status', '待审核', '0', 1, '提现状态', '#FA8C16'),
|
|
|
+('WithdrawnRecord.status', '审核通过', '1', 2, '提现状态', '#52C41A'),
|
|
|
+('WithdrawnRecord.status', '审核失败', '2', 3, '提现状态', '#FF4D4F'),
|
|
|
+-- 分账记录类型 (SplitRecord.type)
|
|
|
+('SplitRecord.type', '平台技术服务费', '0', 1, '分账类型', ''),
|
|
|
+('SplitRecord.type', '充值', '1', 2, '分账类型', ''),
|
|
|
+('SplitRecord.type', '消费', '2', 3, '分账类型', ''),
|
|
|
+('SplitRecord.type', '解冻', '3', 4, '分账类型', ''),
|
|
|
+('SplitRecord.type', '跨店支出', '4', 5, '分账类型', ''),
|
|
|
+('SplitRecord.type', '退款', '5', 6, '分账类型', ''),
|
|
|
+('SplitRecord.type', '跨店收入', '6', 7, '分账类型', ''),
|
|
|
+-- 分账记录状态 (SplitRecord.status)
|
|
|
+('SplitRecord.status', '处理中', '0', 1, '分账状态', '#FAAD14'),
|
|
|
+('SplitRecord.status', '成功', '1', 2, '分账状态', '#52C41A'),
|
|
|
+('SplitRecord.status', '失败', '2', 3, '分账状态', '#F5222D'),
|
|
|
+-- 订单状态 (WashOrder.orderStatus)
|
|
|
+('WashOrder.orderStatus', '未知', '-1', 1, '订单状态', '#999999'),
|
|
|
+('WashOrder.orderStatus', '开机', '0', 2, '订单状态', '#1890FF'),
|
|
|
+('WashOrder.orderStatus', '成功', '1', 3, '订单状态', '#52C41A'),
|
|
|
+('WashOrder.orderStatus', '失败', '2', 4, '订单状态', '#F5222D'),
|
|
|
+('WashOrder.orderStatus', '取消', '3', 5, '订单状态', '#999999'),
|
|
|
+-- 支付状态 (WashOrder.payStatus)
|
|
|
+('WashOrder.payStatus', '未支付', '0', 1, '支付状态', '#FAAD14'),
|
|
|
+('WashOrder.payStatus', '已支付', '1', 2, '支付状态', '#52C41A'),
|
|
|
+-- 关机方式 (WashOrder.closeType)
|
|
|
+('WashOrder.closeType', '维护按钮', 'button', 1, '关机方式', ''),
|
|
|
+('WashOrder.closeType', '网络命令', 'network', 2, '关机方式', ''),
|
|
|
+('WashOrder.closeType', '超过预设金额', 'no_balance', 3, '关机方式', ''),
|
|
|
+('WashOrder.closeType', '设备空闲超时', 'idle_timeout', 4, '关机方式', ''),
|
|
|
+('WashOrder.closeType', '操作超时', 'operation_timeout', 5, '关机方式', ''),
|
|
|
+('WashOrder.closeType', '刷卡', 'card', 6, '关机方式', ''),
|
|
|
+-- 发票状态 (WashOrder.invoiceStatus)
|
|
|
+('WashOrder.invoiceStatus', '待开票', '0', 1, '发票状态', '#FAAD14'),
|
|
|
+('WashOrder.invoiceStatus', '已开票', '1', 2, '发票状态', '#52C41A'),
|
|
|
+('WashOrder.invoiceStatus', '已作废', '2', 3, '发票状态', '#999999'),
|
|
|
+('WashOrder.invoiceStatus', '开票中', '3', 4, '发票状态', '#1890FF');
|
|
|
|
|
|
-- ----------------------------
|
|
|
-- 初始化消息(示例数据)
|