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,QAAS,CAKP,E","sources":["webpack://hello-world/./src/locale/validate.js","webpack://hello-world/./src/JS/veeValidate.js","webpack://hello-world/./src/locale/lang/customZhCn.js","webpack://hello-world/./src/locale/lang/customEnUs.js","webpack://hello-world/./src/locale/index.js","webpack://hello-world/./src/store/configures.js","webpack://hello-world/./src/store/devices.js","webpack://hello-world/./src/store/dialog.js","webpack://hello-world/./src/store/mobile.js","webpack://hello-world/./src/store/store.js","webpack://hello-world/./src/store/system.js","webpack://hello-world/./src/store/users.js"],"sourcesContent":["// 自定义的规则的错误提示\r\nexport const customMessages = {\r\n 'zh-CN': {\r\n messages: {\r\n phone: field => field +'格式不正确',\r\n ChEnNum: field => field +'仅能包含中文、字母、数字',\r\n alpha_num_space: field => field + '仅能包含字母、数字、空格',\r\n notNullArray: field => field + '请至少选择一项',\r\n noBrackets: field => field + '不能包含括号',\r\n greater_than: () => '上限应大于下限', // 上限大于下限\r\n multiPhones: field => field +'格式不正确',\r\n }\r\n },\r\n 'en-US': {\r\n messages: {\r\n phone: field => field +'is incorrect format',\r\n ChEnNum: field => field +'can only contain chinese, alpha and numbers',\r\n alpha_num_space: field => field + 'can only contain alpha and numbers and space',\r\n notNullArray: field => field + 'plese at least choose one',\r\n noBrackets: field => field + 'can not contain brackets',\r\n greater_than: () => 'The lower limit exceeds the upper limit.', // 上限大于下限\r\n multiPhones: field => field +'is incorrect format',\r\n }\r\n }\r\n};","import { Validator } from \"vee-validate\";\n// 引入错误提示\nimport { customMessages } from \"@/locale/validate\";\n\n// 自定义校验规则\nValidator.extend(\"notNullArray\", {\n //验证数组不为空\n validate: (value) => value.length > 0,\n});\nValidator.extend(\"ChEnNum\", {\n //只能输入中文字母数字\n validate: (value) => /^[\\u4e00-\\u9fa5_a-zA-Z0-9]+$/.test(value),\n});\nValidator.extend(\"alpha_num_space\", {\n //只能输入字母数字空格\n validate: (value) => /^[ a-zA-Z0-9]+$/.test(value),\n});\nValidator.extend(\"phone\", {\n //手机号码\n validate: (value) => /^1[345789]\\d{9}$/.test(value),\n});\nValidator.extend(\"noBrackets\", {\n // 不包含括号 () [] {} ()【】{}\n validate: (value) => /^[^\\(\\)\\[\\]\\{\\}()【】]+$/.test(value),\n});\nValidator.extend(\"multiPhones\", {\n // 多个手机号,以逗号分隔\n validate: (value) => /^1[345789]\\d{9}(,1[345789]\\d{9})*$/.test(value),\n});\n\nValidator.extend(\n \"greater_than\",\n (value, [otherValue]) => {\n // A大于B\n return Number(value) > Number(otherValue);\n },\n {\n hasTarget: true,\n }\n);\n\n// Override and merge the dictionaries\nValidator.localize(customMessages);\n","export default {\r\n ok: '确定',\r\n cancel: '取消',\r\n start: '开始',\r\n end: '结束',\r\n choose: '请选择',\r\n enter: '请输入',\r\n user: '用户',\r\n username: '用户名',\r\n name: '名称',\r\n phone: '手机号',\r\n password: '密码',\r\n lang: '语言',\r\n finish: '完成',\r\n verificationCode: '验证码',\r\n next: '下一步',\r\n add: '添加',\r\n change: '修改',\r\n edit: '编辑',\r\n delete: '删除',\r\n import: '导入',\r\n export: '导出',\r\n operate: '操作',\r\n submit: '提交',\r\n save: '保存',\r\n search: '查询',\r\n check: '查看',\r\n noData: '暂无数据',\r\n noAuthority: '暂无权限',\r\n value: '值',\r\n date: '日期',\r\n time: '时间',\r\n day: '日',\r\n month: '月',\r\n months: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],\r\n year: '年',\r\n weeks: {\r\n sun: '星期日',\r\n mon: '星期一',\r\n tue: '星期二',\r\n wed: '星期三',\r\n thu: '星期四',\r\n fri: '星期五',\r\n sat: '星期六'\r\n },\r\n login: {\r\n login: '登录',\r\n userlogin: '用户登录',\r\n forgetPassword: '忘记密码',\r\n remember: '记住密码',\r\n auto: '自动登录',\r\n loginBtn: '登    录',\r\n noAccount: '没有账号',\r\n testAccount: '体验账号',\r\n demo: 'demo登录',\r\n companyInfo: `总机 : 0510 - 85134136 / 85134174 / 85134228\r\n 销售 : 0510 - 85123803\r\n 技术 : 4008 - 850 - 136\r\n 办公 : 无锡市滴翠路100号创意园7幢4层\r\n 生产 : 无锡市胡埭工业园(刘塘路9号)`, \r\n },\r\n register: {\r\n register: '注册',\r\n userRegister: '用户注册',\r\n createAccount: '创建账户',\r\n loginInfo: '会员登录信息',\r\n basicInfo: '会员基本信息',\r\n enterPhone: '请输入要注册的手机号',\r\n industry: '行业',\r\n customerType: '客户类型',\r\n corporateName: '公司名称',\r\n confirmRegister: '确认注册',\r\n finishInfo: '注册成功,3秒后页面将自动跳转至登录页面。。。',\r\n industryList: ['学校', '邮政', '港口设备', '交通', '设计院所', '经销公司', '工程公司', '电子', '冶金', '化工', '立体车库', '建筑机械', '控制柜', '陶瓷设备', '通讯', '电力', '半导体', '水处理', '制药机械', '机床', '电梯', '汽车', '锅炉', '纺机', '中央空调', '塑料机械', '印刷机械', '包装机械', '其他'],\r\n customerTypeList: ['最终用户', '代理店', '公司内部', '系统集成SI', 'OEM设备制造商', '分销商', '设计院/院校', '其他']\r\n },\r\n forgetPassword: {\r\n reset: '找回密码',\r\n verifyAccount: '验证账号',\r\n resetPpassword: '重置密码',\r\n enterPhone: '请输入已注册的手机号',\r\n getCode: '获取短信验证码',\r\n enterPsdAgain: '请再次输入密码',\r\n confirmPsd: '确认密码',\r\n confirmChange: '确认修改',\r\n finishInfo: '修改成功,3秒后页面将自动跳转至登录页面。。。',\r\n errorCode: '验证码不正确',\r\n errorPwd: '确认密码与密码不一致'\r\n },\r\n homepage: {\r\n homepage: '主页',\r\n item: '项目',\r\n config: '配置',\r\n ownership: '归属',\r\n authority: '权限',\r\n set: '设置',\r\n exit: '退出',\r\n security: '安全设置',\r\n originalPsd: '原密码',\r\n newPsd: '新密码',\r\n originalUsername: '原用户名',\r\n newUsername: '新用户名',\r\n enterNewPsdAgain: '请再次输入新密码'\r\n },\r\n project: {\r\n filter: '请输入关键字进行过滤',\r\n historyData: '历史数据',\r\n systemLog: '操作日志',\r\n levelColect: '条件采集',\r\n video: '视频',\r\n itemInfo: '项目信息',\r\n onlineStatistic: '在线统计',\r\n viewManage: '画面管理',\r\n addView: '添加画面',\r\n delView: '删除画面',\r\n viewName: '画面名称',\r\n changeViewName: '修改画面名称',\r\n editView: '编辑画面',\r\n toogleData: '切换数据',\r\n fullScreeen: '全屏',\r\n importView: '画面导入',\r\n emportView: '画面导出',\r\n configuration: '图形组态',\r\n importWarn: '此操作将覆盖原有画面,是否继续?',\r\n setData: '设定数据',\r\n dataName: '数据名称',\r\n value: '值/状态',\r\n dataCollect: '数据汇总',\r\n unit: '单位/备注',\r\n baseInfo: '基本信息',\r\n deviceOnline: '设备在线统计',\r\n },\r\n drawing: {\r\n toFront: '置于顶层',\r\n toBack: '置于底层',\r\n toLeft: '左对齐',\r\n toRight: '右对齐',\r\n toTop: '上对齐',\r\n toBottom: '下对齐',\r\n copy: '批量复制',\r\n },\r\n ownership: {\r\n group2: '二级组',\r\n device: '设备',\r\n ownership: '设备归属',\r\n addGroup2: '添加二级组',\r\n addItem: '添加项目',\r\n itemName: '项目名称',\r\n addDevice: '添加设备',\r\n deviceName: '设备名称',\r\n longlat: '经纬度',\r\n netDevice: '通讯设备',\r\n deviceType: '设备类型',\r\n highLowSwitch: '高低字转换',\r\n boxName: 'Box名称/密码',\r\n openMap: '请点击,打开弹窗后拖动锚点选择地址',\r\n warnCover: ' 此操作将完全覆盖原有配置,是否继续?',\r\n warnDelete: '即将删除{item},是否继续?',\r\n uploadOk: '上传成功',\r\n uploadFail: '上传失败',\r\n xdxgxl: ' XG系列/XD/XL以太网机型',\r\n TGM: 'TGM系列透传XD系列PLC',\r\n netNum: '网络号',\r\n siteNum: '站点号',\r\n mobileAlarm: '短信报警',\r\n mobileAlarmTip: \"请输入手机号,多个手机号以英文逗号分隔\"\r\n },\r\n config: {\r\n configTable: '配置表',\r\n dataConfig: '数据配置',\r\n funcConfig: '功能配置',\r\n templateCopy: '模板复制',\r\n template: '模板',\r\n dataBlock: '数据块',\r\n function: '功能',\r\n realtime: '实时',\r\n alarm: '报警',\r\n maintenance: '维保',\r\n addressType: '地址类型',\r\n startBit: '起始位',\r\n length: '长度',\r\n timeSpace: '时间间隔(ms)',\r\n operateBit: ' 按位操作',\r\n levelTrigger: '条件触发',\r\n condition: '触发条件(M)',\r\n triggerData: '触发数据',\r\n multiChars: '多段字符',\r\n checkMultiChars: '查看多段字符',\r\n isMultiChars: '是否多段字符',\r\n setMultiChars: '设定地址{0}的多段字符',\r\n unit: '单位',\r\n coefficient: '系数',\r\n dataType: '数据类型',\r\n dataTypeArr: [ '单字有符号', '单字无符号', '双字有符号', '双字无符号', 'Float','字节有符号','字节无符号','中文字符'],\r\n dataLen: '数据长度',\r\n selectData: '选择数据',\r\n addRow: '添加一行',\r\n address: '地址',\r\n write: '是否可写',\r\n save: '是否保存',\r\n hial: '上限报警',\r\n ioal: '下限报警',\r\n gradient: '斜率',\r\n yIntercept: 'Y轴截距',\r\n limitError: '下限超出了上限',\r\n },\r\n authority: {\r\n role: '角色',\r\n roleManage: '角色管理',\r\n userManage: '用户管理',\r\n userLevel: '用户级别',\r\n groupLevel: '组级别',\r\n creator: '创建者',\r\n createDate: '创建日期',\r\n roleName: '角色名称',\r\n roleLevel: '角色级别',\r\n rolePower: '角色权限',\r\n level2: '二级',\r\n level3: '三级'\r\n },\r\n alarm: {\r\n alarmTime: '报警时间',\r\n alarmInfo: '报警信息',\r\n people: '确认人员',\r\n okTime: '确认时间',\r\n remark: '备注',\r\n total: '报警汇总',\r\n deviceAlarm: '设备报警',\r\n serviceAlarm: '业务报警'\r\n },\r\n maintain: {\r\n operationTime: '作业时长',\r\n company: '维保单位',\r\n operator: '作业人员',\r\n contact: '联系方式',\r\n problem: '问题记录',\r\n solution: '解决方式',\r\n suggest: '运维建议',\r\n content: '维保内容',\r\n number: '服务编号',\r\n property: '服务性质',\r\n propertyOptions: ['检查', '维保', '更换', '大修', '报废'],\r\n startTime: '开始时间',\r\n endTime: '结束时间',\r\n info: '维保信息',\r\n total: '维保汇总'\r\n },\r\n history: {\r\n table: '表格',\r\n curve: '曲线图',\r\n bar: '柱状图',\r\n selectAll: '全选',\r\n },\r\n report: {\r\n report: '报表',\r\n reportName: '报表名称',\r\n day: '日报表',\r\n month: '月报表',\r\n year: '年报表',\r\n pie: '饼状图',\r\n totalOutput: '总产量',\r\n },\r\n view: {\r\n mainScreen: '主画面',\r\n viewSecret: '画面密码',\r\n selectMain: '选择主画面',\r\n },\r\n scada: {\r\n 基本元素: {\r\n base: '基本元素',\r\n 线段: '线段',\r\n 折线: '折线',\r\n 多边形: '多边形',\r\n 矩形: '矩形',\r\n 圆: '圆',\r\n 椭圆: '椭圆',\r\n 文本: '文本',\r\n 图片: '图片'\r\n },\r\n 基本控件: {\r\n base: '基本控件',\r\n 字符显示: '字符显示',\r\n 矩形灯: '矩形灯',\r\n 圆形灯: '圆形灯',\r\n 矩形按键: '矩形按键',\r\n 圆形按键: '圆形按键',\r\n 流体: '流体',\r\n 风扇: '风扇',\r\n 按键灯: '按键灯',\r\n 按键灯1: '按键灯1',\r\n 填充: '填充',\r\n 折线图: '折线图',\r\n 柱状图: '柱状图',\r\n 仪表盘: '仪表盘',\r\n 画面跳转: '画面跳转'\r\n },\r\n 数据: '数据',\r\n 画面跳转: '画面跳转',\r\n 启停: '启停',\r\n 流向: '流向',\r\n startX: '起点X',\r\n startY: '起点Y',\r\n endX: '终点X',\r\n endY: '终点Y',\r\n color: '线色',\r\n lineWidth: '线宽',\r\n pointStyle: '拐点样式',\r\n pointStyles: ['尖角', '圆角', '斜角'],\r\n fill: '填充色',\r\n width: '宽度',\r\n height: '高度',\r\n rx: '拐点半径',\r\n radius: '半径',\r\n horizontal: '横半径',\r\n vertical: '竖半径',\r\n centerX: '底部中点X',\r\n centerY: '底部中点Y',\r\n fontSize: '字体大小',\r\n fontColor: '字体颜色',\r\n fontWeight: '字体粗细',\r\n weights: ['正常', '加粗'],\r\n fontStyle: '字体倾斜',\r\n styles: ['正常', '倾斜'],\r\n mode: '文字方向',\r\n modes: ['横向', '竖向'],\r\n source: '资源',\r\n bgColor:'背景填充',\r\n borderColor: '边框颜色',\r\n borderWidth: '边框宽度',\r\n linkTitle: '跳转标题',\r\n onColor: 'ON 颜色',\r\n offColor: 'OFF 颜色',\r\n turn: '转向',\r\n turns: ['顺时针', '逆时针'],\r\n toogleMode: '切换模式',\r\n toogleModes: ['颜色', '明暗'],\r\n upLimit: '上限',\r\n downLimit: '下限',\r\n diagramName: '图表名称',\r\n title: '标题',\r\n min: '最小值',\r\n max: '最大值',\r\n opacity: '透明度',\r\n isLock: '是否锁定',\r\n basicStyle: '基本样式',\r\n yes: '是',\r\n no: '否',\r\n jumpTo: '跳转到',\r\n },\r\n input: {\r\n enterPhone: '@:enter @:phone',\r\n enterCode: '@:enter @:verificationCode',\r\n enterPsd: '@:enter @:password',\r\n enterOriginPsd: '@:enter @:homepage.originalPsd',\r\n enterNewPsd: '@:enter @:homepage.newPsd',\r\n enterNewUsername: '@:enter @:homepage.newUsername'\r\n },\r\n verify: {\r\n required: '是必须的',\r\n cnAlphaNum: '仅能包含中文、字母、数字',\r\n alphaNumSpace: '仅能包含字母、数字、空格',\r\n alphaNum: '仅能包含字母、数字',\r\n length: ' 长度为 {len} 个字符 ',\r\n max: '最大不超过{len}个字符',\r\n invalidFormat: '格式不正确',\r\n password: ' @:verify.alphaNum, @:verify.length',\r\n username: ' @:verify.cnAlphaNum, @:verify.length',\r\n groupName: '{name} @:verify.cnAlphaNum, 最大不超过10个字符',\r\n }\r\n}","export default {\r\n ok: 'ok',\r\n cancel: 'cancel',\r\n start: 'start',\r\n end: 'end',\r\n choose: 'Please choose',\r\n enter: 'Please enter',\r\n user: 'user',\r\n username: 'username',\r\n name: 'name',\r\n phone: 'mobile number',\r\n password: 'password',\r\n lang: 'Lang',\r\n finish: 'complete',\r\n verificationCode: 'verification code',\r\n next: 'next',\r\n add: 'add',\r\n change: 'change',\r\n edit: 'edit',\r\n delete: 'delete',\r\n import: 'import',\r\n export: 'export',\r\n operate: 'operate',\r\n submit: 'submit',\r\n save: 'save',\r\n search: 'search',\r\n check: 'check',\r\n noData: 'no data',\r\n noAuthority: 'no authority',\r\n value: 'value',\r\n date: 'date',\r\n time: 'time',\r\n day: 'day',\r\n month: 'month',\r\n months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\r\n year: 'year',\r\n weeks: {\r\n sun: 'Sun',\r\n mon: 'Mon',\r\n tue: 'Tue',\r\n wed: 'Wed',\r\n thu: 'Thu',\r\n fri: 'Fri',\r\n sat: 'Sat'\r\n },\r\n login: {\r\n login: 'login',\r\n userlogin: 'User login',\r\n forgetPassword: 'forget password',\r\n remember: 'remember password',\r\n auto: 'automatic login',\r\n loginBtn: 'Log    in',\r\n noAccount: 'No account',\r\n testAccount: 'Test account',\r\n demo: 'Demo login',\r\n companyInfo: `Tel : 0510 - 85134136 / 85134174 / 85134228\r\n Sales : 0510 - 85123803\r\n Service : 4008 - 850 - 136\r\n Office : 4th floor, Building 7, No.100 Dicui Road, Wuxi\r\n Factory : No. 9 Liutang Road, Hudai Industry Park, Wuxi`,\r\n },\r\n register: {\r\n register: 'register',\r\n userRegister: 'User Registration',\r\n createAccount: 'create account',\r\n loginInfo: 'Member login information',\r\n basicInfo: 'Basic member information',\r\n enterPhone: 'Please enter the phone number to be registered',\r\n industry: 'industry',\r\n customerType: 'customerType',\r\n corporateName: 'corporate name',\r\n confirmRegister: 'Confirmation of registration',\r\n finishInfo: 'The registration is successful and the page will automatically jump to the login page in 3 seconds.',\r\n industryList: ['School','Post','Port Equipment','Transportation','Design Institute','Distribution Company','Engineering Company','Electronics','Metallurgy','Chemical Industry','Stereo Garage','Construction Machinery','Control Cabinet','Ceramic Equipment','Communication','Electric Power','Semiconductor','Water Treatment','Pharmaceutical Machinery','Machine Tool','Elevator','Automobile','Boiler','Spinning Machine','Central Air Conditioning','Plastic Machinery','Packing machine', 'printing Machinery','Other'],\r\n customerTypeList: ['End User','Agent Store','Inside the Company','System Integration SI','OEM Equipment Manufacturer','Distributor','Design Institute/university','Other']\r\n },\r\n forgetPassword: {\r\n reset: 'Password Reset',\r\n verifyAccount: 'verify account',\r\n resetPpassword: 'reset password',\r\n enterPhone: 'Please enter the registered mobile phone number.',\r\n getCode: 'SMS verification code',\r\n enterPsdAgain: 'Please enter your password again',\r\n confirmPsd: 'confirm the password',\r\n confirmChange: 'confirm the change',\r\n finishInfo: 'Successful modification, 3 seconds later the page will automatically jump to the login page...',\r\n errorCode: '@:verificationCode error',\r\n errorPwd: 'Confirm that the password is inconsistent with the password', \r\n },\r\n homepage: {\r\n homepage: 'homepage',\r\n item: 'project',\r\n config: 'config',\r\n ownership: 'ownership',\r\n authority: 'authority',\r\n set: 'settings',\r\n exit: 'exit',\r\n security: 'security setting',\r\n originalPsd: 'original password',\r\n newPsd: 'new password',\r\n originalUsername: 'original User Name',\r\n newUsername: 'new user name',\r\n enterNewPsdAgain: 'Please enter the new password again.'\r\n },\r\n project: {\r\n filter: 'please enter keywords for filtering',\r\n historyData: 'historical data',\r\n systemLog: 'operation log',\r\n levelColect: 'conditional acquisition',\r\n video: 'video',\r\n itemInfo: 'project information',\r\n onlineStatistic: 'online statistics',\r\n viewManage: 'screen management',\r\n addView: 'add picture',\r\n delView: 'delete picture',\r\n viewName: 'screen name',\r\n changeViewName: 'change picture name',\r\n editView: 'edit picture',\r\n toogleData: 'switching data',\r\n fullScreeen: 'full screen',\r\n importView: 'import picture',\r\n emportView: 'export picture',\r\n configuration: 'Graphic SCADA',\r\n importWarn: 'This operation will cover the original screen. Do you want to continue?',\r\n setData: 'set data',\r\n dataName: 'data name',\r\n value: 'value/status',\r\n dataCollect: 'data collection',\r\n unit: 'unit/notes',\r\n baseInfo: 'basic information',\r\n deviceOnline: 'Equipment online Statistics',\r\n },\r\n drawing: {\r\n toFront: 'bring to front',\r\n toBack: 'send to back',\r\n toLeft: 'left alignment',\r\n toRight: 'right alignment',\r\n toTop: 'top alignment',\r\n toBottom: 'bottom alignment',\r\n copy: 'batch copy',\r\n },\r\n ownership: {\r\n group2: 'second-level group',\r\n device: 'equipment',\r\n ownership: 'Equipment ownership',\r\n addGroup2: 'add a second-level group',\r\n addItem: 'add project',\r\n itemName: 'project name',\r\n addDevice: 'add equipment',\r\n deviceName: 'equipment name',\r\n longlat: 'longitude and latitude',\r\n netDevice: 'communication equipment',\r\n deviceType: 'equipment type',\r\n highLowSwitch: 'high-low word switching',\r\n boxName: 'box name/password',\r\n openMap: 'please click, drag the anchor after opening the popup window',\r\n warnCover: ' This operation will completely cover the original configuration. Do you want to continue?',\r\n warnDelete: 'ready to delete {item}, continue?',\r\n uploadOk: 'Upload Success',\r\n uploadFail: 'Upload failure',\r\n xdxgxl: 'XG series/XD/XL Ethernet model',\r\n TGM: 'TGM series passthrough XD series PLC',\r\n netNum: 'network number',\r\n siteNum: 'site number',\r\n mobileAlarm: 'Short Message Alarm',\r\n mobileAlarmTip: \"Please enter cell phone number, multiple numbers are separated by ','\"\r\n },\r\n config: {\r\n configTable: 'configuration table',\r\n dataConfig: 'data configuration',\r\n funcConfig: 'function configuration',\r\n templateCopy: 'template replication',\r\n template: 'template',\r\n dataBlock: 'data block',\r\n function: 'function',\r\n realtime: 'real-time',\r\n alarm: 'alarm',\r\n maintenance: 'maintenance',\r\n addressType: 'address type',\r\n startBit: 'start bit',\r\n length: 'length',\r\n timeSpace: 'time space (ms)',\r\n operateBit: 'operate as bit',\r\n levelTrigger: 'condition triggering',\r\n condition: 'triggering condition (M)',\r\n triggerData: 'triggering data',\r\n multiChars: 'multi-segment character',\r\n checkMultiChars: 'check multi-segment character',\r\n isMultiChars: 'is multi-segment character',\r\n setMultiChars: 'multi-segment characters to set address {0}',\r\n unit: 'unit',\r\n coefficient: 'coefficient',\r\n dataType: 'data type',\r\n dataTypeArr: [ 'Word with symbols','Word without symbols','Double Word with symbols','Double Word without symbols','Float','Bytes with symbols','Bytes without symbols','Chinese characters'],\r\n dataLen: 'data length',\r\n selectData: 'select data',\r\n addRow: 'add a row',\r\n address: 'address',\r\n write: 'can write?',\r\n save: 'save?',\r\n hial: 'HIAL',\r\n ioal: 'IOAL',\r\n gradient: 'gradient',\r\n yIntercept: 'y-intercept',\r\n limitError: 'The lower limit exceeds the upper limit.',\r\n },\r\n authority: {\r\n role: 'role',\r\n roleManage: 'Role Management',\r\n userManage: 'User Management',\r\n userLevel: 'user level',\r\n groupLevel: 'group level',\r\n creator: 'creator',\r\n createDate: 'create date',\r\n roleName: 'role name',\r\n roleLevel: 'role level',\r\n rolePower: 'role authority',\r\n level2: 'second-level',\r\n level3: 'three-level'\r\n },\r\n alarm: {\r\n alarmTime: 'alarm time',\r\n alarmInfo: 'alarm information',\r\n people: 'confirmation personnel',\r\n okTime: 'confirmation time',\r\n remark: 'remarks',\r\n total: 'alarm collection',\r\n deviceAlarm: 'device alarm',\r\n serviceAlarm: 'maintenance'\r\n },\r\n maintain: {\r\n operationTime: 'operation time',\r\n company: 'maintenance company',\r\n operator: 'operator',\r\n contact: 'contact information',\r\n problem: 'problem log',\r\n solution: 'solution',\r\n suggest: 'operations and maintenance suggestions',\r\n content: 'maintenance content',\r\n number: 'service number',\r\n property: 'service property',\r\n propertyOptions: ['Inspection','Maintenance','Replacement','Overhaul','Scrap'],\r\n startTime: 'start time',\r\n endTime: 'end time',\r\n info: 'maintenance information',\r\n total: 'maintenance collection'\r\n },\r\n history: {\r\n table: 'table',\r\n curve: 'curve',\r\n bar: 'bar graph',\r\n selectAll: 'select all',\r\n },\r\n report: {\r\n report: 'report',\r\n reportName: 'report name',\r\n day: 'Daily Report',\r\n month: 'Monthly report',\r\n year: 'Annual Report',\r\n pie: 'Pie chart',\r\n totalOutput: 'total output',\r\n },\r\n view: {\r\n mainScreen: 'main screen',\r\n viewSecret: 'screen password',\r\n selectMain: 'select main screen',\r\n },\r\n scada: {\r\n 基本元素: {\r\n base: 'basic elements',\r\n 线段: 'line',\r\n 折线: 'polyline',\r\n 多边形: 'polygon',\r\n 矩形: 'rect',\r\n 圆: 'circle',\r\n 椭圆: 'ellipse',\r\n 文本: 'text',\r\n 图片: 'image'\r\n },\r\n 基本控件: {\r\n base: 'basic controls',\r\n 字符显示: 'character display',\r\n 矩形灯: 'Rectangular lamp',\r\n 圆形灯: 'Circular lamp',\r\n 矩形按键: 'Rectangular button',\r\n 圆形按键: 'circular button',\r\n 流体: 'fluid',\r\n 风扇: 'fan',\r\n 按键灯: 'button lamp',\r\n 按键灯1: 'button lamp1',\r\n 填充: 'fill',\r\n 折线图: 'line chart',\r\n 柱状图: 'Histogram',\r\n 仪表盘: 'Dashboard',\r\n 画面跳转: 'screen jump'\r\n },\r\n 数据: 'data',\r\n 画面跳转: 'screen jump',\r\n 启停: 'Start and Stop',\r\n 流向: 'Flow',\r\n startX: 'origin X',\r\n startY: 'origin Y',\r\n endX: 'finish X',\r\n endY: 'finish Y',\r\n color: 'line color',\r\n lineWidth: 'line width',\r\n pointStyle: 'knee point',\r\n pointStyles: ['sharp angle','round corner','oblique angle'],\r\n fill: 'fill',\r\n width: 'width',\r\n height: 'height',\r\n rx: 'border radius',\r\n radius: 'radius',\r\n horizontal: 'horizontal radius',\r\n vertical: 'vertical radius',\r\n centerX: 'Bottom midpoint X',\r\n centerY: 'Bottom midpoint Y',\r\n fontSize: 'font size',\r\n fontColor: 'font color',\r\n fontWeight: 'font weight',\r\n weights: ['normal','bold'],\r\n fontStyle: 'Font tilt',\r\n styles: ['normal','italic'],\r\n mode: 'Text orientation',\r\n modes: ['horizontal','vertical'],\r\n source: 'source',\r\n bgColor:'background filling',\r\n borderColor: 'Border color',\r\n borderWidth: 'Border width',\r\n linkTitle: 'Jump headlines',\r\n onColor: 'ON color',\r\n offColor: 'OFF color',\r\n turn: 'turn',\r\n turns: ['clockwise', 'counter-clockwise'],\r\n toogleMode: 'mode switching',\r\n toogleModes: ['color', 'Light and shade'],\r\n upLimit: 'Upper limit',\r\n downLimit: 'lower limit',\r\n diagramName: 'diagram name',\r\n title: 'title',\r\n min: 'min value',\r\n max: 'max value',\r\n opacity: 'transparency',\r\n isLock: 'Lock-in or not',\r\n basicStyle: 'basic styles',\r\n yes: 'yes',\r\n no: 'no',\r\n jumpTo: 'jump to',\r\n },\r\n input: {\r\n enterPhone: '@:enter the @:phone',\r\n enterCode: '@:enter the @:verificationCode',\r\n enterPsd: '@:enter @:password',\r\n enterOriginPsd: '@:enter @:homepage.originalPsd',\r\n enterNewPsd: '@:enter @:homepage.newPsd',\r\n enterNewUsername: '@:enter @:homepage.newUsername'\r\n },\r\n verify: {\r\n required: 'is required',\r\n cnAlphaNum: 'only can be Chinese, letters and numbers',\r\n alphaNumSpace: 'only can be letters, numbers, space',\r\n alphaNum: 'only can be letters, numbers',\r\n length: 'length {len} characters',\r\n max: 'less than {len} characters',\r\n invalidFormat: 'is not valid',\r\n password: 'this @:verify.alphaNum, @:verify.length',\r\n username: 'this @:verify.cnAlphaNum, @:verify.length',\r\n groupName: '{name} @:verify.cnAlphaNum, less than 10 characters',\r\n }\r\n}","import Vue from \"vue\";\nimport VueI18n from \"vue-i18n\";\nimport { localRead } from \"@/JS/common\";\nimport customZhCn from \"./lang/customZhCn\";\nimport customEnUs from \"./lang/customEnUs\";\nimport zhCnLocale from \"element-ui/lib/locale/lang/zh-CN\";\nimport enUsLocale from \"element-ui/lib/locale/lang/en\";\nimport ElementLocale from \"element-ui/lib/locale\";\n\nVue.use(VueI18n);\n\n// 自动根据浏览器系统语言设置语言\nconst navLang = navigator.language;\nconst localLang = navLang === \"zh-CN\" || navLang === \"en-US\" ? navLang : false;\nlet lang = localRead(\"local\") || localLang || \"zh-CN\";\n\nVue.config.lang = lang;\n\n// vue-i18n 6.x+写法\nVue.locale = () => {};\nconst messages = {\n \"zh-CN\": Object.assign(zhCnLocale, customZhCn),\n \"en-US\": Object.assign(enUsLocale, customEnUs),\n};\nconst i18n = new VueI18n({\n locale: lang,\n messages,\n silentTranslationWarn: true,\n});\n\nElementLocale.i18n((key, value) => i18n.t(key, value));\n\nexport default i18n;\n","/*系统模块*/\nexport const Configures = {\n namespaced: true,\n state: {\n current_group: null,\n current_block: null,\n current_data: null,\n },\n getters: {},\n mutations: {\n set_state(state, payload) {\n state[payload.name] = Object.assign({}, payload.row);\n },\n set_current_group(state, row) {\n state.current_group = { ...row };\n },\n set_current_block(state, row) {\n state.current_block = { ...row };\n },\n set_current_data(state, row) {\n state.current_data = { ...row };\n },\n },\n actions: {\n //cookie是否存在user与pwd\n ifLogin(context) {},\n },\n};\n","/*设备模块*/\nimport Vue from \"vue\";\nexport const Devices = {\n namespaced: true,\n state: {\n //项目目录\n //items_list: [],\n //设备目录\n devices_list: [],\n //一个项目里的画面列表\n views_list: JSON.parse(window.localStorage.getItem(\"views_list\")) || [],\n\n //汇总页面传递的维保信息\n busInfo: null,\n },\n getters: {\n computedItems: (state) => {\n let obj = {};\n for (let i in state.devices_list) {\n let {\n id: class1,\n label: class1_label,\n children: block1,\n } = state.devices_list[i];\n for (let j in block1) {\n let { id: class2, label: class2_label, children: block2 } = block1[j];\n for (let k in block2) {\n let { id: item_id, label: item_label } = block2[k];\n\n obj[item_id] = {\n label: item_label,\n class1: class1,\n class1_label: class1_label,\n class2: class2,\n class2_label: class2_label,\n };\n }\n }\n }\n //if (Object.keys(obj).length !== 0) {\n\n //}\n //console.log(JSON.parse(window.localStorage.getItem('computedItems')));\n return obj;\n },\n },\n mutations: {\n change(state, payload) {\n for (var i in payload) {\n eval(`state.${i} = payload['${i}']`);\n }\n },\n\n //汇总页面传递的维保信息\n //set_bus_info(state, obj) {\n // state.busInfo = { ...obj };\n //}\n },\n actions: {\n //更新项目列表\n //update_items({ state ,commit}) {\n // Form.process({ field: 'items', action: 'get_items_list' }, function (json) {\n // commit('change', {\n // items_list: json.data\n // });\n\n // });\n //},\n //更新设备列表\n update_devices({ state, commit }) {\n Form.process(\n { field: \"devices\", action: \"get_devices_list\" },\n function (json) {\n commit(\"change\", {\n devices_list: json.data,\n });\n //computedItems存到localStorage\n let obj = {};\n for (let i in state.devices_list) {\n let {\n id: class1,\n label: class1_label,\n children: block1,\n } = state.devices_list[i];\n for (let j in block1) {\n let {\n id: class2,\n label: class2_label,\n children: block2,\n } = block1[j];\n for (let k in block2) {\n let { id: item_id, label: item_label } = block2[k];\n\n obj[item_id] = {\n label: item_label,\n class1: class1,\n class1_label: class1_label,\n class2: class2,\n class2_label: class2_label,\n };\n }\n }\n }\n window.localStorage.setItem(\"computedItems\", JSON.stringify(obj));\n }\n );\n },\n //更新项目里的画面列表\n\n update_views_list({ commit }, item_id) {\n item_id = item_id || VM.$route.params.item_id;\n let computedItems = JSON.parse(\n window.localStorage.getItem(\"computedItems\")\n );\n\n return new Promise(function (resolve, reject) {\n //做一些异步操作\n Form.process(\n {\n field: \"items\",\n action: \"get_all_views_catalog\",\n class1: computedItems[item_id].class1,\n class2: computedItems[item_id].class2,\n item: item_id,\n },\n function (json) {\n commit(\"change\", {\n views_list: json.data,\n });\n window.localStorage.setItem(\n \"views_list\",\n JSON.stringify(json.data)\n );\n resolve(json);\n }\n );\n });\n },\n },\n};\n","/*Dialog模块*/\nexport const Dialog = {\n namespaced: true,\n state: {\n items: [],\n },\n getters: {},\n mutations: {\n add(state, item) {\n state.items.push(item);\n },\n edit_lnglat(state, lnglat) {\n state.items[0].form.Location = lnglat.toString();\n },\n },\n actions: {},\n};\n","/*手机模块*/\nimport Vue from \"vue\";\nexport const Mobile = {\n namespaced: true,\n state: {\n currentCluster: null, //当前设备簇\n clusterViews: null, //当前设备簇的画面列表\n currentDevice: null, //当前设备\n devicesViews: null, //当前设备的画面列表\n currentView: null, //当前组\n currentLevel: undefined, //3表示设备簇,4表示设备\n videoStr: \"\", //视频\n },\n getters: {},\n mutations: {\n set_state_value(state, payload) {\n if (Array.isArray(payload.value)) {\n state[payload.name] = [...payload.value];\n } else if (typeof payload.value === \"object\") {\n state[payload.name] = { ...payload.value };\n } else {\n state[payload.name] = payload.value;\n }\n },\n /*\n set_currentCluster(state, obj) {\n state.currentCluster = { ...obj };\n },\n set_currentDevice(state, obj) {\n state.currentDevice = { ...obj };\n },*/\n\n /*\n set_state_arr(state, payload) {\n\n },*/\n /*\n set_clusterViewsCatalog(state, arr) {\n state.clusterViewsCatalog = [ ...arr ];\n },\n set_devicesViewsCatalog(state, arr) {\n state.devicesViewsCatalog = [ ...arr ];\n },\n\n set_currentView(state, name) {\n state.currentView = name;\n },\n */\n //set_state_value(state, payload) {\n // state[payload.name] = payload.value;\n //},\n },\n actions: {},\n};\n","import Vue from \"vue\";\nimport Vuex from \"vuex\";\nimport { System } from \"./system\";\nimport { Dialog } from \"./dialog\";\nimport { Devices } from \"./devices\";\nimport { Users } from \"./users\";\nimport { Configures } from \"./configures\";\nimport { Mobile } from \"./mobile\";\n\nVue.use(Vuex);\n\nexport const Store = new Vuex.Store({\n state: {\n window_size: [$(window).width(), $(window).height()],\n },\n mutations: {\n change(state, payload) {\n for (var i in payload) {\n eval(`state.${i} = payload['${i}']`);\n }\n },\n },\n actions: {},\n modules: {\n system: System,\n dialog: Dialog,\n devices: Devices,\n users: Users,\n configures: Configures,\n mobile: Mobile,\n },\n});\n","/*系统模块*/\nexport const System = {\n namespaced: true,\n state: {\n current_year: new Date().getFullYear(),\n cookies: {\n user: getCookies()[\"user\"] || \"\",\n pwd: getCookies()[\"pwd\"] || \"\",\n remember: Boolean(getCookies()[\"remember\"]) || false,\n auto: Boolean(getCookies()[\"auto\"]) || false,\n },\n demoLogin: false,\n checkRules: checkRules,\n },\n getters: {},\n mutations: {\n change(state, payload) {\n for (var i in payload) {\n eval(`state.${i} = payload['${i}']`);\n }\n },\n },\n actions: {\n login(context) {\n var real_cookies = getCookies(),\n temp_cookies = context.state.cookies,\n if_need = false; //是否需要重写cookies\n //如果5个量至少一个发生变化,就重写cookies\n if (\n !(\n real_cookies[\"user\"] == temp_cookies[\"user\"] &&\n real_cookies[\"pwd\"] == temp_cookies[\"pwd\"] &&\n eval(real_cookies[\"remember\"]) == temp_cookies[\"remember\"] &&\n eval(real_cookies[\"auto\"]) == temp_cookies[\"auto\"]\n )\n ) {\n if_need = true;\n }\n var success = function (json) {\n if (json.notice.type == \"success\") {\n if (if_need) {\n setCookie(\"remember\", String(temp_cookies[\"remember\"]), 365);\n setCookie(\"auto\", String(temp_cookies[\"auto\"]), 365);\n if (temp_cookies[\"remember\"]) {\n //记住密码\n setCookie(\"user\", temp_cookies[\"user\"], 365);\n setCookie(\"pwd\", temp_cookies[\"pwd\"], 365);\n } else {\n //不记住密码\n setCookie(\"user\", temp_cookies[\"user\"]);\n setCookie(\"pwd\", temp_cookies[\"pwd\"]);\n }\n }\n context.commit(\"change\", {\n cookies: temp_cookies,\n demoLogin: false,\n });\n setCookie(\"demoLogin\", false, 365);\n if (VM.$route.path == \"/\") {\n //如果当前在登录页,则进行路由替换\n VM.$router.replace(\"Base\");\n }\n } else {\n VM.$message && VM.$message.error(json.notice.text);\n VM.$toast && VM.$toast(json.notice.text);\n }\n };\n Form.process(\n {\n field: \"system\",\n action: \"login\",\n user: temp_cookies[\"user\"],\n pwd: temp_cookies[\"pwd\"],\n },\n success\n );\n },\n demoLogin(context) {\n var success = function (json) {\n if (json.notice.type == \"success\") {\n context.commit(\"change\", {\n demoLogin: true,\n cookies: {\n user: demo[\"user\"],\n pwd: demo[\"pwd\"],\n remember: false,\n auto: false,\n },\n });\n setCookie(\"demoLogin\", true, 365);\n setCookie(\"user\", demo[\"user\"]);\n setCookie(\"pwd\", demo[\"pwd\"]);\n setCookie(\"remember\", false, 365);\n setCookie(\"auto\", false, 365);\n if (VM.$route.path == \"/\") {\n //如果当前在登录页,则进行路由替换\n VM.$router.replace(\"Base\");\n }\n } else {\n VM.$message && VM.$message.error(json.notice.text);\n VM.$toast && VM.$toast(json.notice.text);\n }\n };\n Form.process(\n {\n field: \"system\",\n action: \"login\",\n user: demo[\"user\"],\n pwd: demo[\"pwd\"],\n },\n success\n );\n },\n //注销\n logoff(context) {\n clearCookies(\"auto\");\n var real_cookies = getCookies();\n\n Form.process(\n {\n field: \"system\",\n action: \"logoff\",\n user: real_cookies[\"user\"],\n pwd: real_cookies[\"pwd\"],\n },\n function () {\n VM.$router.replace(\"/\");\n setCookie(\"demoLogin\", false, 365);\n if (window.webkit)\n window.webkit.messageHandlers.Logout.postMessage(\"logout\");\n }\n );\n },\n },\n};\n","/*用户模块*/\nexport const Users = {\n namespaced: true,\n state: {\n current_power: [],\n grade: \"\",\n //current_power: [\"1_1_r\", \"1_1_a\", \"1_1_e\", \"1_1_d\", \"1_2_1_r\", \"1_2_1_a\", \"1_2_1_e\", \"1_2_1_d\", \"1_2_1_1_r\", \"1_2_1_1_a\", \"1_2_1_1_e\", \"1_2_1_1_d\", \"2_1_r\", \"2_1_a\", \"2_1_e\", \"2_1_d\", \"2_1_1_r\", \"2_1_1_a\", \"2_1_1_e\", \"2_1_1_d\", \"2_1_1_1_r\", \"2_1_1_1_a\", \"2_1_1_1_e\", \"2_1_1_1_d\", \"2_1_1_1_1_r\", \"2_1_1_1_1_e\", \"3_1_a\", \"3_1_e\", \"3_1_d\", \"3_1_1_a\", \"3_1_1_e\", \"3_1_1_d\", \"3_1_1_1_a\", \"3_1_1_1_e\", \"3_1_1_1_d\", \"3_1_1_1_1_a\", \"3_1_1_1_1_e\", \"3_1_1_1_1_d\", \"4_a\", \"4_e\", \"4_d\", \"5_e\", \"5_1\", \"5_2_r\", \"5_2_e\", \"5_3_r\", \"5_3_e\", \"5_4_r\", \"5_4_e\", \"5_5\"],\n },\n getters: {\n checkId: (state) => (id) => {\n return state.current_power.indexOf(id) >= 0;\n },\n },\n mutations: {},\n actions: {\n //check_id({ state }, payload) {\n // let bool = state.current_power.indexOf(payload) < 0;\n // console.log(bool);\n // return bool;\n //}\n },\n};\n"],"names":["customMessages","messages","phone","field","ChEnNum","alpha_num_space","notNullArray","noBrackets","greater_than","multiPhones","Validator","extend","validate","value","length","test","otherValue","Number","hasTarget","localize","ok","cancel","start","end","choose","enter","user","username","name","password","lang","finish","verificationCode","next","add","change","edit","delete","import","export","operate","submit","save","search","check","noData","noAuthority","date","time","day","month","months","year","weeks","sun","mon","tue","wed","thu","fri","sat","login","userlogin","forgetPassword","remember","auto","loginBtn","noAccount","testAccount","demo","companyInfo","register","userRegister","createAccount","loginInfo","basicInfo","enterPhone","industry","customerType","corporateName","confirmRegister","finishInfo","industryList","customerTypeList","reset","verifyAccount","resetPpassword","getCode","enterPsdAgain","confirmPsd","confirmChange","errorCode","errorPwd","homepage","item","config","ownership","authority","set","exit","security","originalPsd","newPsd","originalUsername","newUsername","enterNewPsdAgain","project","filter","historyData","systemLog","levelColect","video","itemInfo","onlineStatistic","viewManage","addView","delView","viewName","changeViewName","editView","toogleData","fullScreeen","importView","emportView","configuration","importWarn","setData","dataName","dataCollect","unit","baseInfo","deviceOnline","drawing","toFront","toBack","toLeft","toRight","toTop","toBottom","copy","group2","device","addGroup2","addItem","itemName","addDevice","deviceName","longlat","netDevice","deviceType","highLowSwitch","boxName","openMap","warnCover","warnDelete","uploadOk","uploadFail","xdxgxl","TGM","netNum","siteNum","mobileAlarm","mobileAlarmTip","configTable","dataConfig","funcConfig","templateCopy","template","dataBlock","function","realtime","alarm","maintenance","addressType","startBit","timeSpace","operateBit","levelTrigger","condition","triggerData","multiChars","checkMultiChars","isMultiChars","setMultiChars","coefficient","dataType","dataTypeArr","dataLen","selectData","addRow","address","write","hial","ioal","gradient","yIntercept","limitError","role","roleManage","userManage","userLevel","groupLevel","creator","createDate","roleName","roleLevel","rolePower","level2","level3","alarmTime","alarmInfo","people","okTime","remark","total","deviceAlarm","serviceAlarm","maintain","operationTime","company","operator","contact","problem","solution","suggest","content","number","property","propertyOptions","startTime","endTime","info","history","table","curve","bar","selectAll","report","reportName","pie","totalOutput","view","mainScreen","viewSecret","selectMain","scada","基本元素","base","线段","折线","多边形","矩形","圆","椭圆","文本","图片","基本控件","字符显示","矩形灯","圆形灯","矩形按键","圆形按键","流体","风扇","按键灯","按键灯1","填充","折线图","柱状图","仪表盘","画面跳转","数据","启停","流向","startX","startY","endX","endY","color","lineWidth","pointStyle","pointStyles","fill","width","height","rx","radius","horizontal","vertical","centerX","centerY","fontSize","fontColor","fontWeight","weights","fontStyle","styles","mode","modes","source","bgColor","borderColor","borderWidth","linkTitle","onColor","offColor","turn","turns","toogleMode","toogleModes","upLimit","downLimit","diagramName","title","min","max","opacity","isLock","basicStyle","yes","no","jumpTo","input","enterCode","enterPsd","enterOriginPsd","enterNewPsd","enterNewUsername","verify","required","cnAlphaNum","alphaNumSpace","alphaNum","invalidFormat","groupName","Vue","use","VueI18n","navLang","navigator","language","localLang","localRead","locale","Object","assign","zhCnLocale","customZhCn","enUsLocale","customEnUs","i18n","silentTranslationWarn","ElementLocale","key","t","Configures","namespaced","state","current_group","current_block","current_data","getters","mutations","set_state","payload","row","set_current_group","set_current_block","set_current_data","actions","ifLogin","context","Devices","devices_list","views_list","JSON","parse","window","localStorage","getItem","busInfo","computedItems","obj","i","id","class1","label","class1_label","children","block1","j","class2","class2_label","block2","k","item_id","item_label","eval","update_devices","commit","Form","process","action","json","data","setItem","stringify","update_views_list","VM","$route","params","Promise","resolve","reject","Dialog","items","push","edit_lnglat","lnglat","form","Location","toString","Mobile","currentCluster","clusterViews","currentDevice","devicesViews","currentView","currentLevel","undefined","videoStr","set_state_value","Array","isArray","Vuex","Store","window_size","$","modules","system","System","dialog","devices","users","Users","configures","mobile","current_year","Date","getFullYear","cookies","getCookies","pwd","Boolean","demoLogin","checkRules","real_cookies","temp_cookies","if_need","success","notice","type","setCookie","String","path","$router","replace","$message","error","text","$toast","logoff","clearCookies","webkit","messageHandlers","Logout","postMessage","current_power","grade","checkId","indexOf"],"sourceRoot":""}