| | |
| | | /* |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-09-07 09:34:58 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-20 14:35:16 |
| | | * @FilePath: \srs-police-affairs\.eslintrc.js |
| | | * @Description: |
| | | * |
| | | * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved. |
| | | */ |
| | | module.exports = { |
| | | root: true, |
| | | env: { |
| | | node: true |
| | | }, |
| | | 'extends': [ |
| | | 'plugin:vue/essential', |
| | | 'eslint:recommended' |
| | | ], |
| | | parserOptions: { |
| | | parser: 'babel-eslint' |
| | | }, |
| | | rules: { |
| | | 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', |
| | | 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' |
| | | } |
| | | root: true, |
| | | env: { |
| | | node: true |
| | | }, |
| | | 'extends': [ |
| | | 'plugin:vue/essential', |
| | | 'eslint:recommended' |
| | | ], |
| | | parserOptions: { |
| | | parser: 'babel-eslint' |
| | | }, |
| | | rules: { |
| | | 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', |
| | | 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', |
| | | "no-unused-vars": "off" |
| | | } |
| | | } |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-20 14:30:31 |
| | | * @LastEditTime: 2022-09-20 14:38:00 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | background: #ff0000; |
| | | } |
| | | } |
| | | ::v-deep .el-table tr:nth-child(2n) { |
| | | :deep(.el-table tr:nth-child(2n)) { |
| | | background: #03254c; |
| | | color: #fff; |
| | | } |
| | | ::v-deep .el-table tr:nth-child(2n-1) { |
| | | :deep(.el-table tr:nth-child(2n-1)) { |
| | | background: #26426a; |
| | | color: #fff; |
| | | } |
| | | ::v-deep .el-table tr:hover td { |
| | | :deep(.el-table tr:hover td) { |
| | | color: #000; |
| | | } |
| | | } |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-17 17:59:21 |
| | | * @LastEditTime: 2022-09-20 14:38:38 |
| | | * @FilePath: \srs-police-affairs\src\views\house\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | } |
| | | } |
| | | .police-info { |
| | | ::v-deep .el-table tr:nth-child(2n) { |
| | | :deep(.el-table tr:nth-child(2n)) { |
| | | background: #03254c; |
| | | color: #fff; |
| | | } |
| | | ::v-deep .el-table tr:nth-child(2n-1) { |
| | | :deep(.el-table tr:nth-child(2n-1)) { |
| | | background: #26426a; |
| | | color: #fff; |
| | | } |
| | | ::v-deep .el-table tr:hover td { |
| | | :deep(.el-table tr:hover td) { |
| | | color: #000; |
| | | cursor: pointer; |
| | | } |
| | | ::v-deep .el-dialog__header { |
| | | :deep(.el-dialog__header) { |
| | | margin-top: 150px; |
| | | } |
| | | ::v-deep .el-dialog__title { |
| | | :deep(.el-dialog__title) { |
| | | line-height: 24px; |
| | | font-size: 24px; |
| | | font-weight: 700; |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-17 09:58:40 |
| | | * @LastEditTime: 2022-09-20 14:34:22 |
| | | * @FilePath: \srs-police-affairs\src\views\police\index.vue |
| | | * @Description: 辖区管理 |
| | | * |
| | |
| | | }, |
| | | getData () { |
| | | for (let i = 0; i < 5; i++) { |
| | | // let lng = 120.381058 + Math.random() * 0.5 |
| | | // let lat = 31.101156 + Math.random() * 0.5 |
| | | let lng = 120.381058 + Math.random() * 0.5 |
| | | let lat = 31.101156 + Math.random() * 0.5 |
| | | let carNum = Math.random() * 5000000 + '' |
| | | // this.arr.push({ "carID": `#${carNum.slice(0, 6)}`, "carType": "大众", "position": `(${lng.toFixed(6)},${lat.toFixed(6)})` }) |
| | | this.arr.push({ "carID": `#${carNum.slice(0, 6)}`, "carType": "大众" }) |