## 开发 ```bash # 克隆项目 git clone https://gitee.com/y_project/yongtian-Vue # 进入项目目录 cd yongtian-ui # 安装依赖 npm install # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 npm install --registry=https://registry.npm.taobao.org # 启动服务 npm run dev ``` 浏览器访问 http://localhost:80 ## 发布 ```bash # 构建测试环境 npm run build:stage # 构建生产环境 npm run build:prod ``` 3.分页bug, 6.设备列表分页接口 没有返回单位名称、创建人、时间 (单位和建筑未关联 前端)1 7.设备通道分页没有单位名称, 删除异常1(删除异常) 8.检测点位(隐藏) 9.资产管理导出异常 ,新增无companyCode字段,单价字段类型改为string [ { "id": 6821179, "createDate": 1642473221000, "modifyDate": 1648110724000, "code": "A02", "roomNo": "305", "deviceId": "000C0000", "name": "廊灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821180, "createDate": 1648111477654, "modifyDate": 1648111477654, "code": "A02", "roomNo": "305", "deviceId": "01830000", "name": "总开", "value": 0, "valueType": 4, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821181, "createDate": 1648111477654, "modifyDate": 1648111477654, "code": "A02", "roomNo": "305", "deviceId": "01830100", "name": "总关", "value": 0, "valueType": 4, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821182, "createDate": 1642473222000, "modifyDate": 1648111265000, "code": "A02", "roomNo": "305", "deviceId": "000C0003", "name": "浴室灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821183, "createDate": 1642473222000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "000C0004", "name": "洗手盆射灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821184, "createDate": 1642473222000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "000C0001", "name": "排气扇", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821185, "createDate": 1642473222000, "modifyDate": 1648111265000, "code": "A02", "roomNo": "305", "deviceId": "000C0002", "name": "卫生间筒灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821186, "createDate": 1642473221000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "00050000", "name": "阳台灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821187, "createDate": 1642473222000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "000C0007", "name": "吧灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821188, "createDate": 1642473222000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "000C0008", "name": "床头射灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821189, "createDate": 1642473222000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "000C0005", "name": "卫生间灯带", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821190, "createDate": 1642473222000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "000C0006", "name": "雾化玻璃", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821191, "createDate": 1642473222000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "000C0009", "name": "影视筒灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821192, "createDate": 1642473221000, "modifyDate": 1647843744000, "code": "A02", "roomNo": "305", "deviceId": "02000001", "name": "空调-模式", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "制冷,制热,通风", "nickNames": "" }, { "id": 6821193, "createDate": 1642473221000, "modifyDate": 1648110681000, "code": "A02", "roomNo": "305", "deviceId": "02000000", "name": "空调-开关", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821194, "createDate": 1642473221000, "modifyDate": 1647843744000, "code": "A02", "roomNo": "305", "deviceId": "00010000", "name": "受控插座", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821195, "createDate": 1642473221000, "modifyDate": 1647843744000, "code": "A02", "roomNo": "305", "deviceId": "02000005", "name": "空调-最大设置温度", "value": 30, "valueType": 3, "valueUnit": "℃", "valueRange": "10,40", "nickNames": "" }, { "id": 6821196, "createDate": 1642473221000, "modifyDate": 1648095694000, "code": "A02", "roomNo": "305", "deviceId": "02000004", "name": "空调-当前温度", "value": 23, "valueType": 3, "valueUnit": "℃", "valueRange": "10,40", "nickNames": "" }, { "id": 6821197, "createDate": 1642473221000, "modifyDate": 1648110690000, "code": "A02", "roomNo": "305", "deviceId": "02000003", "name": "空调-温度", "value": 24, "valueType": 3, "valueUnit": "℃", "valueRange": "10,40", "nickNames": "" }, { "id": 6821198, "createDate": 1642473221000, "modifyDate": 1647843744000, "code": "A02", "roomNo": "305", "deviceId": "02000002", "name": "空调-风力", "value": 2, "valueType": 2, "valueUnit": "", "valueRange": "低速,中速,高速,,自动", "nickNames": "" }, { "id": 6821199, "createDate": 1642473221000, "modifyDate": 1647843744000, "code": "A02", "roomNo": "305", "deviceId": "02000006", "name": "空调-最小设置温度", "value": 16, "valueType": 3, "valueUnit": "℃", "valueRange": "10,40", "nickNames": "" }, { "id": 6821200, "createDate": 1642473221000, "modifyDate": 1647843744000, "code": "A02", "roomNo": "305", "deviceId": "01050100", "name": "SOS", "value": 0, "valueType": 1, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821201, "createDate": 1648111477654, "modifyDate": 1648111477654, "code": "A02", "roomNo": "305", "deviceId": "01050000", "name": "门铃", "value": 0, "valueType": 1, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821202, "createDate": 1642473222000, "modifyDate": 1648110726000, "code": "A02", "roomNo": "305", "deviceId": "000C000A", "name": "房顶灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821203, "createDate": 1642473222000, "modifyDate": 1648084256000, "code": "A02", "roomNo": "305", "deviceId": "000C000B", "name": "夜灯", "value": 1, "valueType": 2, "valueUnit": "", "valueRange": "关闭,打开,禁用,启用", "nickNames": "" }, { "id": 6821204, "createDate": 1648111477654, "modifyDate": 1648111477654, "code": "A02", "roomNo": "305", "deviceId": "01050500", "name": "洗衣", "value": 0, "valueType": 1, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821205, "createDate": 1648111477654, "modifyDate": 1648111477654, "code": "A02", "roomNo": "305", "deviceId": "01050400", "name": "请稍候", "value": 0, "valueType": 1, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821206, "createDate": 1642473221000, "modifyDate": 1647843745000, "code": "A02", "roomNo": "305", "deviceId": "01050300", "name": "请即清理", "value": 0, "valueType": 1, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821207, "createDate": 1642473221000, "modifyDate": 1648110700000, "code": "A02", "roomNo": "305", "deviceId": "03000000", "name": "窗帘", "value": 0, "valueType": 9, "valueUnit": "", "valueRange": "关闭,打开,停止,禁用,启用", "nickNames": "" }, { "id": 6821208, "createDate": 1642473221000, "modifyDate": 1647843745000, "code": "A02", "roomNo": "305", "deviceId": "01050200", "name": "请勿打扰", "value": 0, "valueType": 1, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821209, "createDate": 1642473221000, "modifyDate": 1648111432000, "code": "A02", "roomNo": "305", "deviceId": "03000001", "name": "窗纱", "value": 0, "valueType": 9, "valueUnit": "", "valueRange": "关闭,打开,停止,禁用,启用", "nickNames": "" }, { "id": 6821210, "createDate": 1648111477654, "modifyDate": 1648111477654, "code": "A02", "roomNo": "305", "deviceId": "01050700", "name": "其他", "value": 0, "valueType": 1, "valueUnit": "", "valueRange": "", "nickNames": "" }, { "id": 6821211, "createDate": 1648111477654, "modifyDate": 1648111477654, "code": "A02", "roomNo": "305", "deviceId": "01050600", "name": "退房", "value": 0, "valueType": 1, "valueUnit": "", "valueRange": "", "nickNames": "" } ]