| | |
| | | package com.java110.core.language; |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.dto.menuCatalog.MenuCatalogDto; |
| | | import com.java110.utils.util.StringUtil; |
| | | import com.java110.vo.ResultVo; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public JSONArray getPrivilegeMenuDto(JSONArray tmpPrivilegeArrays) { |
| | | String menuName = ""; |
| | | JSONObject priObj = null; |
| | | for (int priIndex = 0;priIndex < tmpPrivilegeArrays.size(); priIndex++) { |
| | | priObj = tmpPrivilegeArrays.getJSONObject(priIndex); |
| | | menuName = menus.get(priObj.get("gName")); |
| | | if (!StringUtil.isEmpty(menuName)) { |
| | | priObj.put("gName", menuName); |
| | | } |
| | | |
| | | menuName = menus.get(priObj.get("mName")); |
| | | if (!StringUtil.isEmpty(menuName)) { |
| | | priObj.put("mName", menuName); |
| | | } |
| | | |
| | | menuName = menus.get(priObj.get("pName")); |
| | | if (!StringUtil.isEmpty(menuName)) { |
| | | priObj.put("pName", menuName); |
| | | } |
| | | |
| | | } |
| | | return tmpPrivilegeArrays; |
| | | } |
| | | |
| | | @Override |
| | | public ResultVo getResultVo(ResultVo resultVo) { |
| | | String msg = msgs.get(resultVo.getMsg()); |
| | | if (!StringUtil.isEmpty(msg)) { |
| | |
| | | |
| | | public String getLangMsg(String msg){ |
| | | String msgStr = msgs.get(msg); |
| | | if (!StringUtil.isEmpty(msg)) { |
| | | if (!StringUtil.isEmpty(msgStr)) { |
| | | return msgStr; |
| | | } |
| | | |
| | |
| | | menuCatalogs.put("设备","Machine"); |
| | | menuCatalogs.put("首页","Index"); |
| | | menuCatalogs.put("业务受理","Business"); |
| | | menuCatalogs.put("费用报表","report"); |
| | | menuCatalogs.put("费用报表","Report"); |
| | | menuCatalogs.put("物业服务","Service"); |
| | | menuCatalogs.put("设备停车","Parking"); |
| | | menuCatalogs.put("常用菜单","Tools"); |
| | | menuCatalogs.put("设置","Set up"); |
| | | |
| | | menus.put("小区管理","Community"); |
| | | menus.put("我的小区","My neighborhood"); |
| | | menus.put("小区大屏","Community large screen"); |
| | | menus.put("我的小区","My community"); |
| | | menus.put("小区大屏","Community statistics"); |
| | | menus.put("业务受理","Business acceptance"); |
| | | menus.put("房屋装修","House renovation"); |
| | | menus.put("结构图","Structure diagram"); |
| | | menus.put("车位结构图","Parking space structure"); |
| | | menus.put("结构图","Room structure"); |
| | | menus.put("车位结构图","Parking structure"); |
| | | menus.put("产权登记","Property registration"); |
| | | menus.put("视频监控","Video Surveillance"); |
| | | menus.put("视频监控","Video"); |
| | | menus.put("资产管理","Asset"); |
| | | menus.put("楼栋信息","Building"); |
| | | menus.put("楼栋信息","Floor"); |
| | | menus.put("单元信息","Unit"); |
| | | menus.put("房屋管理","Housing"); |
| | | menus.put("房屋管理","Room"); |
| | | menus.put("商铺管理","Shop"); |
| | | menus.put("业主管理","Owner"); |
| | | menus.put("业主信息","Owner"); |
| | | menus.put("业主成员","Owner members"); |
| | | menus.put("绑定业主","Bind the owner"); |
| | | menus.put("业主账号","Owner account"); |
| | | menus.put("费用管理","Expense"); |
| | | menus.put("费用项设置","Expense item settings"); |
| | | menus.put("房屋收费","Housing charges"); |
| | | menus.put("车辆收费","Vehicle charges"); |
| | | menus.put("费用管理","Fee"); |
| | | menus.put("费用项设置","Fee settings"); |
| | | menus.put("房屋收费","Room charges"); |
| | | menus.put("车辆收费","Car charges"); |
| | | menus.put("合同收费","Contract charges"); |
| | | menus.put("账单催缴","Bill payment"); |
| | | menus.put("费用导入","Cost import"); |
| | | menus.put("账单催缴","Bill fee"); |
| | | menus.put("费用导入","Fee import"); |
| | | menus.put("员工收费","Staff charges"); |
| | | menus.put("费用汇总表","Summary of Fees"); |
| | | menus.put("退费审核","Refund review"); |
| | | menus.put("欠费信息","Arrears"); |
| | | menus.put("退费审核","Refund audit"); |
| | | menus.put("欠费信息","Owe fee"); |
| | | menus.put("抄表类型","Meter reading type"); |
| | | menus.put("水电抄表","Water and electricity meter"); |
| | | menus.put("补打收据","Make-up receipt"); |
| | | menus.put("公摊公式","Public share formula"); |
| | | menus.put("补打收据","Reprint receipt"); |
| | | menus.put("公摊公式","Public area formula"); |
| | | menus.put("缴费审核","Payment audit"); |
| | | menus.put("折扣设置","Discount settings"); |
| | | menus.put("优惠申请","Concession application"); |
| | | menus.put("优惠类型","Offer type"); |
| | | menus.put("优惠申请","Discount apply"); |
| | | menus.put("优惠类型","Discount type"); |
| | | menus.put("临时车收费","Temporary car charges"); |
| | | menus.put("临时车缴费清单","Temporary car payment checklist"); |
| | | menus.put("取消费用","Cancellation fee"); |
| | | menus.put("智慧停车","Smart parking"); |
| | | menus.put("停车场管理","Parking lot"); |
| | | menus.put("车位信息","Parking"); |
| | | menus.put("临时车缴费清单","Temporary car fee"); |
| | | menus.put("取消费用","Cancel fee"); |
| | | menus.put("智慧停车","Parking"); |
| | | menus.put("停车场管理","Parking area"); |
| | | menus.put("车位信息","Parking space"); |
| | | menus.put("岗亭管理","Booth"); |
| | | menus.put("业主车辆","Owner vehicle"); |
| | | menus.put("进场记录","Approach record"); |
| | | menus.put("在场车辆","Vehicles present"); |
| | | menus.put("业主车辆","Owner car"); |
| | | menus.put("进场记录","inout record"); |
| | | menus.put("在场车辆","car present"); |
| | | menus.put("黑白名单","Black and white list"); |
| | | menus.put("剩余车位","Remaining parking spaces"); |
| | | menus.put("车位申请","Application for parking space"); |
| | | menus.put("车位申请","apply parking space"); |
| | | menus.put("报修管理","Repair"); |
| | | menus.put("报修设置","Repair settings"); |
| | | menus.put("电话报修","Telephone repair"); |
| | | menus.put("工单池","Ticket pool"); |
| | | menus.put("工单池","Repair pool"); |
| | | menus.put("报修待办","Repair pending"); |
| | | menus.put("报修已办","Repair has been done"); |
| | | menus.put("报修回访","Repair visit"); |
| | |
| | | menus.put("合同管理","Contract"); |
| | | menus.put("合同类型","Type of contract"); |
| | | menus.put("合同甲方","Party A"); |
| | | menus.put("起草合同","Drafting contracts"); |
| | | menus.put("合同查询","Contract query"); |
| | | menus.put("合同变更","Contract changes"); |
| | | menus.put("到期合同","Expired contract"); |
| | | menus.put("起草合同","Create contracts"); |
| | | menus.put("合同查询","Query contract"); |
| | | menus.put("合同变更","Changes contract "); |
| | | menus.put("到期合同","Contract expired "); |
| | | menus.put("报表管理","Report"); |
| | | menus.put("报表专家","Report Specialist"); |
| | | menus.put("楼栋费用表","Building fee schedule"); |
| | |
| | | menus.put("历史缴费导入","Import history fee"); |
| | | menus.put("打印配置","Print configuration"); |
| | | menus.put("收据模板","Receipt template"); |
| | | menus.put("基础数据","Basic data"); |
| | | menus.put("小区信息","Community information"); |
| | | menus.put("物业公司","Property company"); |
| | | menus.put("周边商家","Surrounding businesses"); |
| | | menus.put("入驻审核","Check in"); |
| | | menus.put("租赁管理","Rental"); |
| | | menus.put("租赁配置","Rental configuration"); |
| | | menus.put("房源信息","Listing information"); |
| | | menus.put("出租审核","Rental audit"); |
| | | menus.put("租赁预约","Rental appointment"); |
| | | menus.put("出租历史","Rental history"); |
| | | menus.put("智慧运营","Smart operation"); |
| | | menus.put("旧货甩卖","Thrift sale"); |
| | | menus.put("发布需求","Release requirements"); |
| | | menus.put("制作优惠券","Create coupons"); |
| | | menus.put("购买记录","Purchase history"); |
| | | menus.put("商家店铺","Merchant shop"); |
| | | menus.put("商城菜单","Mall menu"); |
| | | menus.put("开店审核","Shop audit"); |
| | | menus.put("店铺信息","Store nformation"); |
| | | menus.put("小区店铺","Community shop"); |
| | | menus.put("专区目录","Zone directory"); |
| | | menus.put("专区商品","Zone products"); |
| | | menus.put("店铺类型","Store type"); |
| | | menus.put("上架服务","Shelf service"); |
| | | menus.put("上架商品","Listings"); |
| | | menus.put("店铺变更","Store change"); |
| | | menus.put("财务管理","Financial management"); |
| | | menus.put("提现审核","Withdrawal audit"); |
| | | menus.put("提现付款","Withdrawal payment"); |
| | | menus.put("提现记录","Withdrawals record"); |
| | | menus.put("设置保证金","Set margin"); |
| | | menus.put("保证金明细","Margin details"); |
| | | menus.put("商户管理","Merchant management"); |
| | | menus.put("商户管理员","Merchant administrator"); |
| | | menus.put("营销中心","Marketing center"); |
| | | menus.put("发布广告","release ad"); |
| | | menus.put("便民菜单维护","Convenience menu maintenance"); |
| | | menus.put("订单中心","Order center"); |
| | | menus.put("受理单","Receipt"); |
| | | menus.put("登录日志","Login log"); |
| | | menus.put("商城订单","Mall order"); |
| | | menus.put("退货订单","Return order"); |
| | | menus.put("服务管理", "Service management"); |
| | | menus.put("应用信息","Application nformation"); |
| | | menus.put("服务信息","Service information"); |
| | | menus.put("服务注册","Service registration"); |
| | | menus.put("服务实现","Service implementation"); |
| | | menus.put("服务提供","Service provision"); |
| | | menus.put("业务轨迹","Business track"); |
| | | menus.put("菜单管理","Menu"); |
| | | menus.put("菜单目录","Menu list"); |
| | | menus.put("菜单组","Menu group"); |
| | | menus.put("菜单维护","Menu maintenance"); |
| | | menus.put("映射管理","Mapping"); |
| | | menus.put("编码映射","Encoding map"); |
| | | menus.put("属性管理","Attributes"); |
| | | menus.put("属性","Attributes"); |
| | | menus.put("报表开发","Report development"); |
| | | menus.put("报表组","Report group"); |
| | | menus.put("报表信息","Report information"); |
| | | menus.put("报表组件","Report component"); |
| | | menus.put("缓存管理","Cache management"); |
| | | menus.put("刷新缓存","Flush cache"); |
| | | menus.put("定时任务管理","Scheduled task"); |
| | | menus.put("定时任务","Scheduled task"); |
| | | menus.put("日志中心","Log center"); |
| | | menus.put("交互日志","Interaction log"); |
| | | menus.put("初始化小区","Initialize community"); |
| | | } |
| | | } |