Commit 20613542 authored by zhengjiangtao's avatar zhengjiangtao

Merge branch 'developer' of http://172.16.10.76/station/station-elec-manage-view into developer

parents 4e85a43b 9c3c23f1
{
"header": {
"reportVersion": 1,
"event": "Allocation failed - JavaScript heap out of memory",
"trigger": "FatalError",
"filename": "report.20200525.173259.11892.0.001.json",
"dumpEventTime": "2020-05-25T17:32:59Z",
"dumpEventTimeStamp": "1590399179263",
"processId": 11892,
"cwd": "G:\\git\\station-elec-manage-view",
"commandLine": [
"node",
"G:\\git\\station-elec-manage-view\\node_modules\\.bin\\\\..\\webpack-dev-server\\bin\\webpack-dev-server.js"
],
"nodejsVersion": "v12.16.1",
"wordSize": 64,
"arch": "x64",
"platform": "win32",
"componentVersions": {
"node": "12.16.1",
"v8": "7.8.279.23-node.31",
"uv": "1.34.0",
"zlib": "1.2.11",
"brotli": "1.0.7",
"ares": "1.15.0",
"modules": "72",
"nghttp2": "1.40.0",
"napi": "5",
"llhttp": "2.0.4",
"http_parser": "2.9.3",
"openssl": "1.1.1d",
"cldr": "35.1",
"icu": "64.2",
"tz": "2019c",
"unicode": "12.1"
},
"release": {
"name": "node",
"lts": "Erbium",
"headersUrl": "https://nodejs.org/download/release/v12.16.1/node-v12.16.1-headers.tar.gz",
"sourceUrl": "https://nodejs.org/download/release/v12.16.1/node-v12.16.1.tar.gz",
"libUrl": "https://nodejs.org/download/release/v12.16.1/win-x64/node.lib"
},
"osName": "Windows_NT",
"osRelease": "10.0.18362",
"osVersion": "Windows 10 Pro",
"osMachine": "x86_64",
"cpus": [
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 11801671,
"nice": 0,
"sys": 28939343,
"idle": 813653062,
"irq": 21148593
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 24806718,
"nice": 0,
"sys": 9213625,
"idle": 820373312,
"irq": 134281
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 12757843,
"nice": 0,
"sys": 5642781,
"idle": 835993031,
"irq": 80234
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 12001875,
"nice": 0,
"sys": 3730265,
"idle": 838661515,
"irq": 87984
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 8210109,
"nice": 0,
"sys": 3869765,
"idle": 842313781,
"irq": 65828
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 6569765,
"nice": 0,
"sys": 3647265,
"idle": 844176609,
"irq": 56875
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 6810875,
"nice": 0,
"sys": 4919156,
"idle": 842663609,
"irq": 61171
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 20768390,
"nice": 0,
"sys": 6194906,
"idle": 827430343,
"irq": 86437
}
],
"networkInterfaces": [
{
"name": "以太网",
"internal": false,
"mac": "e4:54:e8:bc:0d:82",
"address": "fe80::f930:c231:c236:b1f3",
"netmask": "ffff:ffff:ffff:ffff::",
"family": "IPv6",
"scopeid": 9
},
{
"name": "以太网",
"internal": false,
"mac": "e4:54:e8:bc:0d:82",
"address": "172.16.3.77",
"netmask": "255.255.0.0",
"family": "IPv4"
},
{
"name": "Loopback Pseudo-Interface 1",
"internal": true,
"mac": "00:00:00:00:00:00",
"address": "::1",
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
"family": "IPv6",
"scopeid": 0
},
{
"name": "Loopback Pseudo-Interface 1",
"internal": true,
"mac": "00:00:00:00:00:00",
"address": "127.0.0.1",
"netmask": "255.0.0.0",
"family": "IPv4"
}
],
"host": "DESKTOP-KKH52JE"
},
"javascriptStack": {
"message": "No stack.",
"stack": [
"Unavailable."
]
},
"nativeStack": [
{
"pc": "0x00007ff6832119f9",
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+10873"
},
{
"pc": "0x00007ff683215e1c",
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+28316"
},
{
"pc": "0x00007ff683214dd8",
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+24152"
},
{
"pc": "0x00007ff6833134cb",
"symbol": "v8::base::CPU::has_sse+38363"
},
{
"pc": "0x00007ff683b29f4e",
"symbol": "v8::Isolate::ReportExternalAllocationLimitReached+94"
},
{
"pc": "0x00007ff683b12021",
"symbol": "v8::SharedArrayBuffer::Externalize+833"
},
{
"pc": "0x00007ff6839de57c",
"symbol": "v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436"
},
{
"pc": "0x00007ff6839da289",
"symbol": "v8::internal::Heap::AddRetainedMap+2713"
},
{
"pc": "0x00007ff6839fb4ab",
"symbol": "v8::internal::Factory::NewFixedArrayWithFiller+107"
},
{
"pc": "0x00007ff6839fb431",
"symbol": "v8::internal::Factory::NewUninitializedFixedArray+65"
},
{
"pc": "0x00007ff6838d857f",
"symbol": "v8::debug::Script::GetIsolate+8527"
},
{
"pc": "0x00007ff68378824a",
"symbol": "v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+162938"
},
{
"pc": "0x00007ff683f74ddd",
"symbol": "v8::internal::SetupIsolateDelegate::SetupHeap+546637"
},
{
"pc": "0x000001918cb9f19a",
"symbol": ""
}
],
"javascriptHeap": {
"totalMemory": 2152259584,
"totalCommittedMemory": 2152259584,
"usedMemory": 2145091808,
"availableMemory": 47650624,
"memoryLimit": 2197815296,
"heapSpaces": {
"read_only_space": {
"memorySize": 262144,
"committedMemory": 262144,
"capacity": 32808,
"used": 32808,
"available": 0
},
"new_space": {
"memorySize": 1048576,
"committedMemory": 1048576,
"capacity": 1047456,
"used": 0,
"available": 1047456
},
"old_space": {
"memorySize": 273301504,
"committedMemory": 273301504,
"capacity": 271849864,
"used": 271849864,
"available": 0
},
"code_space": {
"memorySize": 2002944,
"committedMemory": 2002944,
"capacity": 1687424,
"used": 1687424,
"available": 0
},
"map_space": {
"memorySize": 5771264,
"committedMemory": 5771264,
"capacity": 2216560,
"used": 2216560,
"available": 0
},
"large_object_space": {
"memorySize": 1869250560,
"committedMemory": 1869250560,
"capacity": 1868760864,
"used": 1868760864,
"available": 0
},
"code_large_object_space": {
"memorySize": 622592,
"committedMemory": 622592,
"capacity": 544288,
"used": 544288,
"available": 0
},
"new_large_object_space": {
"memorySize": 0,
"committedMemory": 0,
"capacity": 1047456,
"used": 0,
"available": 1047456
}
}
},
"resourceUsage": {
"userCpuSeconds": 280.718,
"kernelCpuSeconds": 28.328,
"cpuConsumptionPercent": 3.0057,
"maxRss": 1729818624,
"pageFaults": {
"IORequired": 18973419,
"IONotRequired": 0
},
"fsActivity": {
"reads": 7666,
"writes": 123
}
},
"libuv": [
],
"environmentVariables": {
"=G:": "G:\\git\\station-elec-manage-view",
"ALLUSERSPROFILE": "C:\\ProgramData",
"APPDATA": "C:\\Users\\DELL\\AppData\\Roaming",
"CLASSPATH": ".;F:\\java\\jdk\\lib\\dt.jar;F:\\java\\jdk\\lib\\tools.jar",
"COLORTERM": "truecolor",
"CommonProgramFiles": "C:\\Program Files\\Common Files",
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
"CommonProgramW6432": "C:\\Program Files\\Common Files",
"COMPUTERNAME": "DESKTOP-KKH52JE",
"ComSpec": "C:\\Windows\\system32\\cmd.exe",
"dp0": "G:\\git\\station-elec-manage-view\\node_modules\\.bin\\",
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
"GIT_ASKPASS": "c:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",
"GRADLE_HOME": "F:\\gradle-5.5.1",
"HOME": "C:\\Users\\DELL",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\DELL",
"INIT_CWD": "G:\\git\\station-elec-manage-view",
"JAVA_HOME": "F:\\java\\jdk",
"LANG": "zh_CN.UTF-8",
"LOCALAPPDATA": "C:\\Users\\DELL\\AppData\\Local",
"LOGONSERVER": "\\\\DESKTOP-KKH52JE",
"M2_HOME": "F:\\apache-maven-3.6.1",
"NODE": "C:\\Program Files\\nodejs\\node.exe",
"NODE_ENV": "development ",
"NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe",
"NODE_PATH": "C:\\Program Files\\nodejs\\node_global\\node_modules",
"NPM_CLI_JS": "C:\\Program Files\\nodejs\\\\node_modules\\npm\\bin\\npm-cli.js",
"npm_config_access": "",
"npm_config_allow_same_version": "",
"npm_config_also": "",
"npm_config_always_auth": "",
"npm_config_argv": "{\"remain\":[],\"cooked\":[\"start\"],\"original\":[\"start\"]}",
"npm_config_audit": "true",
"npm_config_audit_level": "low",
"npm_config_auth_type": "legacy",
"npm_config_before": "",
"npm_config_bin_links": "true",
"npm_config_browser": "",
"npm_config_ca": "",
"npm_config_cache": "C:\\Program Files\\nodejs\\node_cache",
"npm_config_cache_lock_retries": "10",
"npm_config_cache_lock_stale": "60000",
"npm_config_cache_lock_wait": "10000",
"npm_config_cache_max": "Infinity",
"npm_config_cache_min": "10",
"npm_config_cafile": "",
"npm_config_cert": "",
"npm_config_cidr": "",
"npm_config_color": "true",
"npm_config_commit_hooks": "true",
"npm_config_depth": "Infinity",
"npm_config_description": "true",
"npm_config_dev": "",
"npm_config_dry_run": "",
"npm_config_editor": "notepad.exe",
"npm_config_engine_strict": "",
"npm_config_fetch_retries": "2",
"npm_config_fetch_retry_factor": "10",
"npm_config_fetch_retry_maxtimeout": "60000",
"npm_config_fetch_retry_mintimeout": "10000",
"npm_config_force": "",
"npm_config_format_package_lock": "true",
"npm_config_fund": "true",
"npm_config_git": "git",
"npm_config_git_tag_version": "true",
"npm_config_global": "",
"npm_config_globalconfig": "C:\\Program Files\\nodejs\\node_global\\etc\\npmrc",
"npm_config_globalignorefile": "C:\\Program Files\\nodejs\\node_global\\etc\\npmignore",
"npm_config_global_style": "",
"npm_config_group": "",
"npm_config_ham_it_up": "",
"npm_config_heading": "npm",
"npm_config_https_proxy": "",
"npm_config_if_present": "",
"npm_config_ignore_prepublish": "",
"npm_config_ignore_scripts": "",
"npm_config_init_author_email": "",
"npm_config_init_author_name": "",
"npm_config_init_author_url": "",
"npm_config_init_license": "ISC",
"npm_config_init_module": "C:\\Users\\DELL\\.npm-init.js",
"npm_config_init_version": "1.0.0",
"npm_config_json": "",
"npm_config_key": "",
"npm_config_legacy_bundling": "",
"npm_config_link": "",
"npm_config_local_address": "",
"npm_config_loglevel": "notice",
"npm_config_logs_max": "10",
"npm_config_long": "",
"npm_config_maxsockets": "50",
"npm_config_message": "%s",
"npm_config_metrics_registry": "http://172.16.11.26:9696/",
"npm_config_node_gyp": "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
"npm_config_node_options": "",
"npm_config_node_version": "12.16.1",
"npm_config_noproxy": "",
"npm_config_offline": "",
"npm_config_onload_script": "",
"npm_config_only": "",
"npm_config_optional": "true",
"npm_config_otp": "",
"npm_config_package_lock": "",
"npm_config_package_lock_only": "",
"npm_config_parseable": "",
"npm_config_prefer_offline": "",
"npm_config_prefer_online": "",
"npm_config_prefix": "C:\\Program Files\\nodejs\\node_global",
"npm_config_preid": "",
"npm_config_production": "",
"npm_config_progress": "true",
"npm_config_proxy": "",
"npm_config_read_only": "",
"npm_config_rebuild_bundle": "true",
"npm_config_registry": "http://172.16.11.26:9696/",
"npm_config_rollback": "true",
"npm_config_sass_binary_site": "http://172.16.11.26:8888/node-sass",
"npm_config_save": "",
"npm_config_save_bundle": "",
"npm_config_save_dev": "",
"npm_config_save_exact": "",
"npm_config_save_optional": "",
"npm_config_save_prefix": "^",
"npm_config_save_prod": "",
"npm_config_scope": "",
"npm_config_scripts_prepend_node_path": "warn-only",
"npm_config_script_shell": "",
"npm_config_searchexclude": "",
"npm_config_searchlimit": "20",
"npm_config_searchopts": "",
"npm_config_searchstaleness": "900",
"npm_config_send_metrics": "",
"npm_config_shell": "C:\\Windows\\system32\\cmd.exe",
"npm_config_shrinkwrap": "true",
"npm_config_sign_git_commit": "",
"npm_config_sign_git_tag": "",
"npm_config_sso_poll_frequency": "500",
"npm_config_sso_type": "oauth",
"npm_config_strict_ssl": "true",
"npm_config_tag": "latest",
"npm_config_tag_version_prefix": "v",
"npm_config_timing": "",
"npm_config_tmp": "C:\\Users\\DELL\\AppData\\Local\\Temp",
"npm_config_umask": "0000",
"npm_config_unicode": "",
"npm_config_unsafe_perm": "true",
"npm_config_update_notifier": "true",
"npm_config_usage": "",
"npm_config_user": "",
"npm_config_userconfig": "C:\\Users\\DELL\\.npmrc",
"npm_config_user_agent": "npm/6.13.4 node/v12.16.1 win32 x64",
"npm_config_version": "",
"npm_config_versions": "",
"npm_config_viewer": "browser",
"npm_execpath": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js",
"npm_lifecycle_event": "start",
"npm_lifecycle_script": "set NODE_ENV=development && nodemon --exec \"webpack-dev-server\"",
"npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe",
"npm_package_author_name": "ilex.h",
"npm_package_dependencies_amos_amap": "^1.0.6",
"npm_package_dependencies_amos_core": "^2.0.27",
"npm_package_dependencies_amos_devgrid": "^1.0.10",
"npm_package_dependencies_amos_dll": "^1.0.4",
"npm_package_dependencies_amos_icon": "^1.0.3",
"npm_package_dependencies_amos_processor": "^1.2.18",
"npm_package_dependencies_amos_security": "2.0.10",
"npm_package_dependencies_amos_tool": "^1.2.34",
"npm_package_dependencies_amos_viz": "^1.1.0",
"npm_package_dependencies_amos_websocket": "^1.0.0",
"npm_package_dependencies_canvg": "^2.0.0",
"npm_package_dependencies_classnames": "^2.2.5",
"npm_package_dependencies_dt2react": "^1.0.7",
"npm_package_dependencies_html2canvas": "^1.0.0-rc.3",
"npm_package_dependencies_lodash": "^4.17.4",
"npm_package_dependencies_lodash_debounce": "^4.0.8",
"npm_package_dependencies_raphael": "^2.3.0",
"npm_package_dependencies_ray_animate": "^1.0.0",
"npm_package_dependencies_ray_eventpool": "^1.0.0",
"npm_package_dependencies_ray_mediaquery": "^1.0.0",
"npm_package_dependencies_ray_progress": "^1.0.0",
"npm_package_dependencies_ray_tween": "^1.0.2",
"npm_package_dependencies_react": "~16.0.0",
"npm_package_dependencies_react_dom": "~16.0.0",
"npm_package_dependencies_react_svg": "^10.0.19",
"npm_package_dependencies_vertx3_eventbus_client": "^3.4.1",
"npm_package_devDependencies_amos_build": "^3.x",
"npm_package_devDependencies_amos_core": "^2.0.27",
"npm_package_devDependencies_amos_framework": "^1.0.35",
"npm_package_devDependencies_cross_env": "^5.2.0",
"npm_package_devDependencies_eslint_config_ray": "^1.0.25",
"npm_package_devDependencies_mockjs": "^1.0.1-beta3",
"npm_package_devDependencies_stylelint_config_ray": "^2.x",
"npm_package_devDependencies_ws": "^4.0.0",
"npm_package_gitHead": "4f698c35ed2ad64c343589a3129cd909d1fc04f6",
"npm_package_lint_staged____js_json_css__0": "prettier --write",
"npm_package_lint_staged____js_json_css__1": "git add",
"npm_package_name": "amos-toip",
"npm_package_private": "true",
"npm_package_scripts_build": "set NODE_ENV=production && npm run clean && webpack",
"npm_package_scripts_build_dev": "set NODE_ENV=development && npm run clean && webpack",
"npm_package_scripts_build_pro": "set NODE_ENV=production && npm run clean && webpack",
"npm_package_scripts_clean": "rimraf dist released",
"npm_package_scripts_compile_dev": "set NODE_ENV=development && npm run clean && webpack --config webpack.config.dev.js",
"npm_package_scripts_compile_pro": "set NODE_ENV=production && npm run clean && webpack --config webpack.config.prod.js",
"npm_package_scripts_format": "prettier --write \"src/**/*.{js,jsx,css,scss,less,sass}\"",
"npm_package_scripts_lint": "eslint src tests",
"npm_package_scripts_lint_fix": "npm run lint -- --fix",
"npm_package_scripts_precommit": "lint-staged",
"npm_package_scripts_pub": "npm run compile:pro && amos-run extraReleased",
"npm_package_scripts_pub_build": "npm run build:pro && amos-run extraReleased",
"npm_package_scripts_pub_dev": "npm run compile:dev && amos-run extraReleased",
"npm_package_scripts_server": "nodemon server/index.js --watch server",
"npm_package_scripts_start": "set NODE_ENV=development && nodemon --exec \"webpack-dev-server\"",
"npm_package_scripts_start2": "set NODE_ENV=development && webpack-dev-server",
"npm_package_scripts_startDev": "set NODE_ENV=development && webpack-dev-server --config webpack.config.dev.js",
"npm_package_scripts_stylelint": "stylelint src",
"npm_package_scripts_themes": "amos-run themes",
"npm_package_scripts_themes_watch": "amos-run themes-watch",
"npm_package_scripts_watch": "webpack -w",
"npm_package_scripts_zip": "amos-run released2zip",
"npm_package_version": "1.0.0",
"NPM_PREFIX_NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js",
"NUMBER_OF_PROCESSORS": "8",
"OneDrive": "C:\\Users\\DELL\\OneDrive",
"OS": "Windows_NT",
"Path": "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;G:\\git\\station-elec-manage-view\\node_modules\\.bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\system32\\Wbem;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\system32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;F:\\xshell;F:\\xftp;F:\\java\\jdk\\bin;F:\\java\\jdk\\jre\\bin;F:\\Git\\cmd;F:\\svn\\bin;F:\\apache-maven-3.6.1\\bin;F:\\gradle-5.5.1\\bin;C:\\Program Files\\nodejs\\;C:\\Python27;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;D:\\develop\\FrontEnd\\Basic\\nodejs\\;D:\\develop\\FrontEnd\\Basic\\node_global\\npm;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;F:\\Program Files\\Git\\cmd;C:\\Users\\DELL\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\DELL\\AppData\\Local\\GitHubDesktop\\bin;F:\\Bandizip\\;C:\\Program Files\\nodejs\\node_global;C:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"PATH": "G:\\git\\station-elec-manage-view/node_modules/.bin:C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;G:\\git\\station-elec-manage-view\\node_modules\\.bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\system32\\Wbem;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\system32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;F:\\xshell;F:\\xftp;F:\\java\\jdk\\bin;F:\\java\\jdk\\jre\\bin;F:\\Git\\cmd;F:\\svn\\bin;F:\\apache-maven-3.6.1\\bin;F:\\gradle-5.5.1\\bin;C:\\Program Files\\nodejs\\;C:\\Python27;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;D:\\develop\\FrontEnd\\Basic\\nodejs\\;D:\\develop\\FrontEnd\\Basic\\node_global\\npm;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;F:\\Program Files\\Git\\cmd;C:\\Users\\DELL\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\DELL\\AppData\\Local\\GitHubDesktop\\bin;F:\\Bandizip\\;C:\\Program Files\\nodejs\\node_global;C:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC;.CPL",
"PROCESSOR_ARCHITECTURE": "AMD64",
"PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 158 Stepping 13, GenuineIntel",
"PROCESSOR_LEVEL": "6",
"PROCESSOR_REVISION": "9e0d",
"ProgramData": "C:\\ProgramData",
"ProgramFiles": "C:\\Program Files",
"ProgramFiles(x86)": "C:\\Program Files (x86)",
"ProgramW6432": "C:\\Program Files",
"PROMPT": "$P$G",
"PSModulePath": "C:\\Users\\DELL\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",
"PUBLIC": "C:\\Users\\Public",
"SystemDrive": "C:",
"SystemRoot": "C:\\Windows",
"TEMP": "C:\\Users\\DELL\\AppData\\Local\\Temp",
"TERM_PROGRAM": "vscode",
"TERM_PROGRAM_VERSION": "1.45.1",
"TMP": "C:\\Users\\DELL\\AppData\\Local\\Temp",
"USERDOMAIN": "DESKTOP-KKH52JE",
"USERDOMAIN_ROAMINGPROFILE": "DESKTOP-KKH52JE",
"USERNAME": "DELL",
"USERPROFILE": "C:\\Users\\DELL",
"VS140COMNTOOLS": "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\",
"VSCODE_GIT_ASKPASS_MAIN": "c:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",
"VSCODE_GIT_ASKPASS_NODE": "C:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",
"VSCODE_GIT_IPC_HANDLE": "\\\\.\\pipe\\vscode-git-1acf11dbfb-sock",
"windir": "C:\\Windows",
"_prog": "node"
},
"sharedObjects": [
"C:\\Program Files\\nodejs\\node.exe",
"C:\\Windows\\SYSTEM32\\ntdll.dll",
"C:\\Windows\\System32\\KERNEL32.DLL",
"C:\\Windows\\System32\\KERNELBASE.dll",
"C:\\Windows\\System32\\WS2_32.dll",
"C:\\Windows\\System32\\RPCRT4.dll",
"C:\\Windows\\SYSTEM32\\dbghelp.dll",
"C:\\Windows\\System32\\PSAPI.DLL",
"C:\\Windows\\System32\\ucrtbase.dll",
"C:\\Windows\\System32\\ADVAPI32.dll",
"C:\\Windows\\System32\\msvcrt.dll",
"C:\\Windows\\System32\\sechost.dll",
"C:\\Windows\\SYSTEM32\\IPHLPAPI.DLL",
"C:\\Windows\\SYSTEM32\\USERENV.dll",
"C:\\Windows\\System32\\profapi.dll",
"C:\\Windows\\System32\\USER32.dll",
"C:\\Windows\\System32\\win32u.dll",
"C:\\Windows\\System32\\GDI32.dll",
"C:\\Windows\\System32\\gdi32full.dll",
"C:\\Windows\\System32\\msvcp_win.dll",
"C:\\Windows\\System32\\CRYPT32.dll",
"C:\\Windows\\System32\\MSASN1.dll",
"C:\\Windows\\System32\\bcrypt.dll",
"C:\\Windows\\SYSTEM32\\WINMM.dll",
"C:\\Windows\\SYSTEM32\\WINMMBASE.dll",
"C:\\Windows\\System32\\cfgmgr32.dll",
"C:\\Windows\\System32\\bcryptPrimitives.dll",
"C:\\Windows\\System32\\IMM32.DLL",
"C:\\Windows\\System32\\powrprof.dll",
"C:\\Windows\\System32\\UMPDC.dll",
"C:\\Windows\\SYSTEM32\\CRYPTBASE.DLL",
"C:\\Windows\\system32\\uxtheme.dll",
"C:\\Windows\\System32\\combase.dll",
"C:\\Windows\\system32\\mswsock.dll",
"C:\\Windows\\System32\\kernel.appcore.dll",
"C:\\Windows\\System32\\NSI.dll",
"C:\\Windows\\SYSTEM32\\dhcpcsvc6.DLL",
"C:\\Windows\\SYSTEM32\\dhcpcsvc.DLL",
"C:\\Windows\\SYSTEM32\\DNSAPI.dll",
"\\\\?\\G:\\git\\station-elec-manage-view\\node_modules\\node-sass\\vendor\\win32-x64-72\\binding.node",
"C:\\Windows\\system32\\napinsp.dll",
"C:\\Windows\\system32\\pnrpnsp.dll",
"C:\\Windows\\System32\\winrnr.dll",
"C:\\Windows\\system32\\NLAapi.dll",
"C:\\Windows\\system32\\wshbth.dll"
]
}
\ No newline at end of file
{
"header": {
"reportVersion": 1,
"event": "Allocation failed - JavaScript heap out of memory",
"trigger": "FatalError",
"filename": "report.20200526.130100.16728.0.001.json",
"dumpEventTime": "2020-05-26T13:01:00Z",
"dumpEventTimeStamp": "1590469260390",
"processId": 16728,
"cwd": "G:\\git\\station-elec-manage-view",
"commandLine": [
"node",
"G:\\git\\station-elec-manage-view\\node_modules\\.bin\\\\..\\webpack-dev-server\\bin\\webpack-dev-server.js"
],
"nodejsVersion": "v12.16.1",
"wordSize": 64,
"arch": "x64",
"platform": "win32",
"componentVersions": {
"node": "12.16.1",
"v8": "7.8.279.23-node.31",
"uv": "1.34.0",
"zlib": "1.2.11",
"brotli": "1.0.7",
"ares": "1.15.0",
"modules": "72",
"nghttp2": "1.40.0",
"napi": "5",
"llhttp": "2.0.4",
"http_parser": "2.9.3",
"openssl": "1.1.1d",
"cldr": "35.1",
"icu": "64.2",
"tz": "2019c",
"unicode": "12.1"
},
"release": {
"name": "node",
"lts": "Erbium",
"headersUrl": "https://nodejs.org/download/release/v12.16.1/node-v12.16.1-headers.tar.gz",
"sourceUrl": "https://nodejs.org/download/release/v12.16.1/node-v12.16.1.tar.gz",
"libUrl": "https://nodejs.org/download/release/v12.16.1/win-x64/node.lib"
},
"osName": "Windows_NT",
"osRelease": "10.0.18362",
"osVersion": "Windows 10 Pro",
"osMachine": "x86_64",
"cpus": [
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 14415125,
"nice": 0,
"sys": 31694281,
"idle": 878365796,
"irq": 22721765
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 31756109,
"nice": 0,
"sys": 10956234,
"idle": 881762437,
"irq": 161953
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 15494125,
"nice": 0,
"sys": 6716453,
"idle": 902264203,
"irq": 96812
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 13909000,
"nice": 0,
"sys": 4369328,
"idle": 906196453,
"irq": 102296
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 10075437,
"nice": 0,
"sys": 4419156,
"idle": 909980187,
"irq": 81015
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 8042078,
"nice": 0,
"sys": 4179656,
"idle": 912253031,
"irq": 76734
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 8340203,
"nice": 0,
"sys": 5550390,
"idle": 910584171,
"irq": 78796
},
{
"model": "Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz",
"speed": 3000,
"user": 25839250,
"nice": 0,
"sys": 7296187,
"idle": 891339328,
"irq": 102781
}
],
"networkInterfaces": [
{
"name": "以太网",
"internal": false,
"mac": "e4:54:e8:bc:0d:82",
"address": "fe80::f930:c231:c236:b1f3",
"netmask": "ffff:ffff:ffff:ffff::",
"family": "IPv6",
"scopeid": 9
},
{
"name": "以太网",
"internal": false,
"mac": "e4:54:e8:bc:0d:82",
"address": "172.16.3.77",
"netmask": "255.255.0.0",
"family": "IPv4"
},
{
"name": "Loopback Pseudo-Interface 1",
"internal": true,
"mac": "00:00:00:00:00:00",
"address": "::1",
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
"family": "IPv6",
"scopeid": 0
},
{
"name": "Loopback Pseudo-Interface 1",
"internal": true,
"mac": "00:00:00:00:00:00",
"address": "127.0.0.1",
"netmask": "255.0.0.0",
"family": "IPv4"
}
],
"host": "DESKTOP-KKH52JE"
},
"javascriptStack": {
"message": "No stack.",
"stack": [
"Unavailable."
]
},
"nativeStack": [
{
"pc": "0x00007ff6832119f9",
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+10873"
},
{
"pc": "0x00007ff683215e1c",
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+28316"
},
{
"pc": "0x00007ff683214dd8",
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+24152"
},
{
"pc": "0x00007ff6833134cb",
"symbol": "v8::base::CPU::has_sse+38363"
},
{
"pc": "0x00007ff683b29f4e",
"symbol": "v8::Isolate::ReportExternalAllocationLimitReached+94"
},
{
"pc": "0x00007ff683b12021",
"symbol": "v8::SharedArrayBuffer::Externalize+833"
},
{
"pc": "0x00007ff6839de57c",
"symbol": "v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436"
},
{
"pc": "0x00007ff6839e97d0",
"symbol": "v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312"
},
{
"pc": "0x00007ff6839e62f4",
"symbol": "v8::internal::Heap::PageFlagsAreConsistent+3204"
},
{
"pc": "0x00007ff6839dbb13",
"symbol": "v8::internal::Heap::CollectGarbage+1283"
},
{
"pc": "0x00007ff6839daf04",
"symbol": "v8::internal::Heap::CollectAllAvailableGarbage+196"
},
{
"pc": "0x00007ff6839da204",
"symbol": "v8::internal::Heap::AddRetainedMap+2580"
},
{
"pc": "0x00007ff6839fb4ab",
"symbol": "v8::internal::Factory::NewFixedArrayWithFiller+107"
},
{
"pc": "0x00007ff6839fb431",
"symbol": "v8::internal::Factory::NewUninitializedFixedArray+65"
},
{
"pc": "0x00007ff6838d857f",
"symbol": "v8::debug::Script::GetIsolate+8527"
},
{
"pc": "0x00007ff68378824a",
"symbol": "v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+162938"
},
{
"pc": "0x00007ff683f74ddd",
"symbol": "v8::internal::SetupIsolateDelegate::SetupHeap+546637"
},
{
"pc": "0x0000013f40e5c09a",
"symbol": ""
}
],
"javascriptHeap": {
"totalMemory": 2151137280,
"totalCommittedMemory": 2151137280,
"usedMemory": 2141173400,
"availableMemory": 48772928,
"memoryLimit": 2197815296,
"heapSpaces": {
"read_only_space": {
"memorySize": 262144,
"committedMemory": 262144,
"capacity": 32808,
"used": 32808,
"available": 0
},
"new_space": {
"memorySize": 2097152,
"committedMemory": 2097152,
"capacity": 1047456,
"used": 0,
"available": 1047456
},
"old_space": {
"memorySize": 265175040,
"committedMemory": 265175040,
"capacity": 263949008,
"used": 263949008,
"available": 0
},
"code_space": {
"memorySize": 2265088,
"committedMemory": 2265088,
"capacity": 1867456,
"used": 1867456,
"available": 0
},
"map_space": {
"memorySize": 7606272,
"committedMemory": 7606272,
"capacity": 2231520,
"used": 2231520,
"available": 0
},
"large_object_space": {
"memorySize": 1873108992,
"committedMemory": 1873108992,
"capacity": 1872548320,
"used": 1872548320,
"available": 0
},
"code_large_object_space": {
"memorySize": 622592,
"committedMemory": 622592,
"capacity": 544288,
"used": 544288,
"available": 0
},
"new_large_object_space": {
"memorySize": 0,
"committedMemory": 0,
"capacity": 1047456,
"used": 0,
"available": 1047456
}
}
},
"resourceUsage": {
"userCpuSeconds": 268.203,
"kernelCpuSeconds": 26.25,
"cpuConsumptionPercent": 0.420383,
"maxRss": 1937813504,
"pageFaults": {
"IORequired": 17687433,
"IONotRequired": 0
},
"fsActivity": {
"reads": 7771,
"writes": 90
}
},
"libuv": [
],
"environmentVariables": {
"=G:": "G:\\git\\station-elec-manage-view",
"ALLUSERSPROFILE": "C:\\ProgramData",
"APPDATA": "C:\\Users\\DELL\\AppData\\Roaming",
"CLASSPATH": ".;F:\\java\\jdk\\lib\\dt.jar;F:\\java\\jdk\\lib\\tools.jar",
"COLORTERM": "truecolor",
"CommonProgramFiles": "C:\\Program Files\\Common Files",
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
"CommonProgramW6432": "C:\\Program Files\\Common Files",
"COMPUTERNAME": "DESKTOP-KKH52JE",
"ComSpec": "C:\\Windows\\system32\\cmd.exe",
"dp0": "G:\\git\\station-elec-manage-view\\node_modules\\.bin\\",
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
"GIT_ASKPASS": "c:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh",
"GRADLE_HOME": "F:\\gradle-5.5.1",
"HOME": "C:\\Users\\DELL",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\DELL",
"INIT_CWD": "G:\\git\\station-elec-manage-view",
"JAVA_HOME": "F:\\java\\jdk",
"LANG": "zh_CN.UTF-8",
"LOCALAPPDATA": "C:\\Users\\DELL\\AppData\\Local",
"LOGONSERVER": "\\\\DESKTOP-KKH52JE",
"M2_HOME": "F:\\apache-maven-3.6.1",
"NODE": "C:\\Program Files\\nodejs\\node.exe",
"NODE_ENV": "development ",
"NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe",
"NODE_PATH": "C:\\Program Files\\nodejs\\node_global\\node_modules",
"NPM_CLI_JS": "C:\\Program Files\\nodejs\\\\node_modules\\npm\\bin\\npm-cli.js",
"npm_config_access": "",
"npm_config_allow_same_version": "",
"npm_config_also": "",
"npm_config_always_auth": "",
"npm_config_argv": "{\"remain\":[],\"cooked\":[\"start\"],\"original\":[\"start\"]}",
"npm_config_audit": "true",
"npm_config_audit_level": "low",
"npm_config_auth_type": "legacy",
"npm_config_before": "",
"npm_config_bin_links": "true",
"npm_config_browser": "",
"npm_config_ca": "",
"npm_config_cache": "C:\\Program Files\\nodejs\\node_cache",
"npm_config_cache_lock_retries": "10",
"npm_config_cache_lock_stale": "60000",
"npm_config_cache_lock_wait": "10000",
"npm_config_cache_max": "Infinity",
"npm_config_cache_min": "10",
"npm_config_cafile": "",
"npm_config_cert": "",
"npm_config_cidr": "",
"npm_config_color": "true",
"npm_config_commit_hooks": "true",
"npm_config_depth": "Infinity",
"npm_config_description": "true",
"npm_config_dev": "",
"npm_config_dry_run": "",
"npm_config_editor": "notepad.exe",
"npm_config_engine_strict": "",
"npm_config_fetch_retries": "2",
"npm_config_fetch_retry_factor": "10",
"npm_config_fetch_retry_maxtimeout": "60000",
"npm_config_fetch_retry_mintimeout": "10000",
"npm_config_force": "",
"npm_config_format_package_lock": "true",
"npm_config_fund": "true",
"npm_config_git": "git",
"npm_config_git_tag_version": "true",
"npm_config_global": "",
"npm_config_globalconfig": "C:\\Program Files\\nodejs\\node_global\\etc\\npmrc",
"npm_config_globalignorefile": "C:\\Program Files\\nodejs\\node_global\\etc\\npmignore",
"npm_config_global_style": "",
"npm_config_group": "",
"npm_config_ham_it_up": "",
"npm_config_heading": "npm",
"npm_config_https_proxy": "",
"npm_config_if_present": "",
"npm_config_ignore_prepublish": "",
"npm_config_ignore_scripts": "",
"npm_config_init_author_email": "",
"npm_config_init_author_name": "",
"npm_config_init_author_url": "",
"npm_config_init_license": "ISC",
"npm_config_init_module": "C:\\Users\\DELL\\.npm-init.js",
"npm_config_init_version": "1.0.0",
"npm_config_json": "",
"npm_config_key": "",
"npm_config_legacy_bundling": "",
"npm_config_link": "",
"npm_config_local_address": "",
"npm_config_loglevel": "notice",
"npm_config_logs_max": "10",
"npm_config_long": "",
"npm_config_maxsockets": "50",
"npm_config_message": "%s",
"npm_config_metrics_registry": "http://172.16.11.26:9696/",
"npm_config_node_gyp": "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
"npm_config_node_options": "",
"npm_config_node_version": "12.16.1",
"npm_config_noproxy": "",
"npm_config_offline": "",
"npm_config_onload_script": "",
"npm_config_only": "",
"npm_config_optional": "true",
"npm_config_otp": "",
"npm_config_package_lock": "",
"npm_config_package_lock_only": "",
"npm_config_parseable": "",
"npm_config_prefer_offline": "",
"npm_config_prefer_online": "",
"npm_config_prefix": "C:\\Program Files\\nodejs\\node_global",
"npm_config_preid": "",
"npm_config_production": "",
"npm_config_progress": "true",
"npm_config_proxy": "",
"npm_config_read_only": "",
"npm_config_rebuild_bundle": "true",
"npm_config_registry": "http://172.16.11.26:9696/",
"npm_config_rollback": "true",
"npm_config_sass_binary_site": "http://172.16.11.26:8888/node-sass",
"npm_config_save": "",
"npm_config_save_bundle": "",
"npm_config_save_dev": "",
"npm_config_save_exact": "",
"npm_config_save_optional": "",
"npm_config_save_prefix": "^",
"npm_config_save_prod": "",
"npm_config_scope": "",
"npm_config_scripts_prepend_node_path": "warn-only",
"npm_config_script_shell": "",
"npm_config_searchexclude": "",
"npm_config_searchlimit": "20",
"npm_config_searchopts": "",
"npm_config_searchstaleness": "900",
"npm_config_send_metrics": "",
"npm_config_shell": "C:\\Windows\\system32\\cmd.exe",
"npm_config_shrinkwrap": "true",
"npm_config_sign_git_commit": "",
"npm_config_sign_git_tag": "",
"npm_config_sso_poll_frequency": "500",
"npm_config_sso_type": "oauth",
"npm_config_strict_ssl": "true",
"npm_config_tag": "latest",
"npm_config_tag_version_prefix": "v",
"npm_config_timing": "",
"npm_config_tmp": "C:\\Users\\DELL\\AppData\\Local\\Temp",
"npm_config_umask": "0000",
"npm_config_unicode": "",
"npm_config_unsafe_perm": "true",
"npm_config_update_notifier": "true",
"npm_config_usage": "",
"npm_config_user": "",
"npm_config_userconfig": "C:\\Users\\DELL\\.npmrc",
"npm_config_user_agent": "npm/6.13.4 node/v12.16.1 win32 x64",
"npm_config_version": "",
"npm_config_versions": "",
"npm_config_viewer": "browser",
"npm_execpath": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js",
"npm_lifecycle_event": "start",
"npm_lifecycle_script": "set NODE_ENV=development && nodemon --exec \"webpack-dev-server\"",
"npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe",
"npm_package_author_name": "ilex.h",
"npm_package_dependencies_amos_amap": "^1.0.6",
"npm_package_dependencies_amos_core": "^2.0.27",
"npm_package_dependencies_amos_devgrid": "^1.0.10",
"npm_package_dependencies_amos_dll": "^1.0.4",
"npm_package_dependencies_amos_icon": "^1.0.3",
"npm_package_dependencies_amos_processor": "^1.2.18",
"npm_package_dependencies_amos_security": "2.0.10",
"npm_package_dependencies_amos_tool": "^1.2.34",
"npm_package_dependencies_amos_viz": "^1.1.0",
"npm_package_dependencies_amos_websocket": "^1.0.0",
"npm_package_dependencies_canvg": "^2.0.0",
"npm_package_dependencies_classnames": "^2.2.5",
"npm_package_dependencies_dt2react": "^1.0.7",
"npm_package_dependencies_html2canvas": "^1.0.0-rc.3",
"npm_package_dependencies_lodash": "^4.17.4",
"npm_package_dependencies_lodash_debounce": "^4.0.8",
"npm_package_dependencies_raphael": "^2.3.0",
"npm_package_dependencies_ray_animate": "^1.0.0",
"npm_package_dependencies_ray_eventpool": "^1.0.0",
"npm_package_dependencies_ray_mediaquery": "^1.0.0",
"npm_package_dependencies_ray_progress": "^1.0.0",
"npm_package_dependencies_ray_tween": "^1.0.2",
"npm_package_dependencies_react": "~16.0.0",
"npm_package_dependencies_react_dom": "~16.0.0",
"npm_package_dependencies_react_svg": "^10.0.19",
"npm_package_dependencies_vertx3_eventbus_client": "^3.4.1",
"npm_package_devDependencies_amos_build": "^3.x",
"npm_package_devDependencies_amos_core": "^2.0.27",
"npm_package_devDependencies_amos_framework": "^1.0.35",
"npm_package_devDependencies_cross_env": "^5.2.0",
"npm_package_devDependencies_eslint_config_ray": "^1.0.25",
"npm_package_devDependencies_mockjs": "^1.0.1-beta3",
"npm_package_devDependencies_stylelint_config_ray": "^2.x",
"npm_package_devDependencies_ws": "^4.0.0",
"npm_package_gitHead": "4f698c35ed2ad64c343589a3129cd909d1fc04f6",
"npm_package_lint_staged____js_json_css__0": "prettier --write",
"npm_package_lint_staged____js_json_css__1": "git add",
"npm_package_name": "amos-toip",
"npm_package_private": "true",
"npm_package_scripts_build": "set NODE_ENV=production && npm run clean && webpack",
"npm_package_scripts_build_dev": "set NODE_ENV=development && npm run clean && webpack",
"npm_package_scripts_build_pro": "set NODE_ENV=production && npm run clean && webpack",
"npm_package_scripts_clean": "rimraf dist released",
"npm_package_scripts_compile_dev": "set NODE_ENV=development && npm run clean && webpack --config webpack.config.dev.js",
"npm_package_scripts_compile_pro": "set NODE_ENV=production && npm run clean && webpack --config webpack.config.prod.js",
"npm_package_scripts_format": "prettier --write \"src/**/*.{js,jsx,css,scss,less,sass}\"",
"npm_package_scripts_lint": "eslint src tests",
"npm_package_scripts_lint_fix": "npm run lint -- --fix",
"npm_package_scripts_precommit": "lint-staged",
"npm_package_scripts_pub": "npm run compile:pro && amos-run extraReleased",
"npm_package_scripts_pub_build": "npm run build:pro && amos-run extraReleased",
"npm_package_scripts_pub_dev": "npm run compile:dev && amos-run extraReleased",
"npm_package_scripts_server": "nodemon server/index.js --watch server",
"npm_package_scripts_start": "set NODE_ENV=development && nodemon --exec \"webpack-dev-server\"",
"npm_package_scripts_start2": "set NODE_ENV=development && webpack-dev-server",
"npm_package_scripts_startDev": "set NODE_ENV=development && webpack-dev-server --config webpack.config.dev.js",
"npm_package_scripts_stylelint": "stylelint src",
"npm_package_scripts_themes": "amos-run themes",
"npm_package_scripts_themes_watch": "amos-run themes-watch",
"npm_package_scripts_watch": "webpack -w",
"npm_package_scripts_zip": "amos-run released2zip",
"npm_package_version": "1.0.0",
"NPM_PREFIX_NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js",
"NUMBER_OF_PROCESSORS": "8",
"OneDrive": "C:\\Users\\DELL\\OneDrive",
"OS": "Windows_NT",
"Path": "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;G:\\git\\station-elec-manage-view\\node_modules\\.bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\system32\\Wbem;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\system32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;F:\\xshell;F:\\xftp;F:\\java\\jdk\\bin;F:\\java\\jdk\\jre\\bin;F:\\Git\\cmd;F:\\svn\\bin;F:\\apache-maven-3.6.1\\bin;F:\\gradle-5.5.1\\bin;C:\\Program Files\\nodejs\\;C:\\Python27;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;D:\\develop\\FrontEnd\\Basic\\nodejs\\;D:\\develop\\FrontEnd\\Basic\\node_global\\npm;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;F:\\Program Files\\Git\\cmd;C:\\Users\\DELL\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\DELL\\AppData\\Local\\GitHubDesktop\\bin;F:\\Bandizip\\;C:\\Program Files\\nodejs\\node_global;C:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"PATH": "G:\\git\\station-elec-manage-view/node_modules/.bin:C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;G:\\git\\station-elec-manage-view\\node_modules\\.bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\system32\\Wbem;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\system32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;F:\\xshell;F:\\xftp;F:\\java\\jdk\\bin;F:\\java\\jdk\\jre\\bin;F:\\Git\\cmd;F:\\svn\\bin;F:\\apache-maven-3.6.1\\bin;F:\\gradle-5.5.1\\bin;C:\\Program Files\\nodejs\\;C:\\Python27;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;D:\\develop\\FrontEnd\\Basic\\nodejs\\;D:\\develop\\FrontEnd\\Basic\\node_global\\npm;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;F:\\Program Files\\Git\\cmd;C:\\Users\\DELL\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\DELL\\AppData\\Local\\GitHubDesktop\\bin;F:\\Bandizip\\;C:\\Program Files\\nodejs\\node_global;C:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC;.CPL",
"PROCESSOR_ARCHITECTURE": "AMD64",
"PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 158 Stepping 13, GenuineIntel",
"PROCESSOR_LEVEL": "6",
"PROCESSOR_REVISION": "9e0d",
"ProgramData": "C:\\ProgramData",
"ProgramFiles": "C:\\Program Files",
"ProgramFiles(x86)": "C:\\Program Files (x86)",
"ProgramW6432": "C:\\Program Files",
"PROMPT": "$P$G",
"PSModulePath": "C:\\Users\\DELL\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",
"PUBLIC": "C:\\Users\\Public",
"SystemDrive": "C:",
"SystemRoot": "C:\\Windows",
"TEMP": "C:\\Users\\DELL\\AppData\\Local\\Temp",
"TERM_PROGRAM": "vscode",
"TERM_PROGRAM_VERSION": "1.45.1",
"TMP": "C:\\Users\\DELL\\AppData\\Local\\Temp",
"USERDOMAIN": "DESKTOP-KKH52JE",
"USERDOMAIN_ROAMINGPROFILE": "DESKTOP-KKH52JE",
"USERNAME": "DELL",
"USERPROFILE": "C:\\Users\\DELL",
"VS140COMNTOOLS": "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\",
"VSCODE_GIT_ASKPASS_MAIN": "c:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js",
"VSCODE_GIT_ASKPASS_NODE": "C:\\Users\\DELL\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe",
"VSCODE_GIT_IPC_HANDLE": "\\\\.\\pipe\\vscode-git-1acf11dbfb-sock",
"windir": "C:\\Windows",
"_prog": "node"
},
"sharedObjects": [
"C:\\Program Files\\nodejs\\node.exe",
"C:\\Windows\\SYSTEM32\\ntdll.dll",
"C:\\Windows\\System32\\KERNEL32.DLL",
"C:\\Windows\\System32\\KERNELBASE.dll",
"C:\\Windows\\System32\\WS2_32.dll",
"C:\\Windows\\System32\\RPCRT4.dll",
"C:\\Windows\\SYSTEM32\\dbghelp.dll",
"C:\\Windows\\System32\\PSAPI.DLL",
"C:\\Windows\\System32\\ucrtbase.dll",
"C:\\Windows\\System32\\ADVAPI32.dll",
"C:\\Windows\\System32\\msvcrt.dll",
"C:\\Windows\\System32\\sechost.dll",
"C:\\Windows\\SYSTEM32\\IPHLPAPI.DLL",
"C:\\Windows\\System32\\USER32.dll",
"C:\\Windows\\SYSTEM32\\USERENV.dll",
"C:\\Windows\\System32\\win32u.dll",
"C:\\Windows\\System32\\profapi.dll",
"C:\\Windows\\System32\\GDI32.dll",
"C:\\Windows\\System32\\gdi32full.dll",
"C:\\Windows\\System32\\msvcp_win.dll",
"C:\\Windows\\System32\\CRYPT32.dll",
"C:\\Windows\\System32\\MSASN1.dll",
"C:\\Windows\\System32\\bcrypt.dll",
"C:\\Windows\\SYSTEM32\\WINMM.dll",
"C:\\Windows\\SYSTEM32\\winmmbase.dll",
"C:\\Windows\\System32\\cfgmgr32.dll",
"C:\\Windows\\System32\\bcryptPrimitives.dll",
"C:\\Windows\\System32\\IMM32.DLL",
"C:\\Windows\\System32\\powrprof.dll",
"C:\\Windows\\System32\\UMPDC.dll",
"C:\\Windows\\SYSTEM32\\CRYPTBASE.DLL",
"C:\\Windows\\system32\\uxtheme.dll",
"C:\\Windows\\System32\\combase.dll",
"C:\\Windows\\system32\\mswsock.dll",
"C:\\Windows\\System32\\kernel.appcore.dll",
"C:\\Windows\\System32\\NSI.dll",
"C:\\Windows\\SYSTEM32\\dhcpcsvc6.DLL",
"C:\\Windows\\SYSTEM32\\dhcpcsvc.DLL",
"C:\\Windows\\SYSTEM32\\DNSAPI.dll",
"\\\\?\\G:\\git\\station-elec-manage-view\\node_modules\\node-sass\\vendor\\win32-x64-72\\binding.node",
"C:\\Windows\\system32\\napinsp.dll",
"C:\\Windows\\system32\\pnrpnsp.dll",
"C:\\Windows\\System32\\winrnr.dll",
"C:\\Windows\\system32\\NLAapi.dll",
"C:\\Windows\\system32\\wshbth.dll"
]
}
\ No newline at end of file
import combineRoutes from 'amos-pluggable/lib/combineRoutes'; import combineRoutes from 'amos-pluggable/lib/combineRoutes';
/** /**
* 系统自定义路由 * 系统自定义路由
*/ */
export const customRoutes = [ export const customRoutes = [
]; ];
...@@ -16,7 +14,6 @@ export const customRoutes = [ ...@@ -16,7 +14,6 @@ export const customRoutes = [
* const stage = parseText(pathMapping.stage, { objkey }); * const stage = parseText(pathMapping.stage, { objkey });
*/ */
export const pathMapping = { export const pathMapping = {
}; };
export const activitiMapping = { export const activitiMapping = {
......
.mainContent{ .mainContent{
width: 1440px; width: 100%;
height: 810px; height: 100%;
background: url('../../../../assets/detail/bgImg.png') no-repeat; background: url('../../assets/detail/bgImg.png') no-repeat;
background-size: cover; background-size: cover;
margin: -60px 0;
position: absolute;
z-index: 9999;
.amos-layout{ .amos-layout{
widows:1400px; widows:100%;
height:780px; height:100%;
background:linear-gradient(180deg,rgba(17,12,48,1) 0%,rgba(0,0,0,0.19) 100%); background:linear-gradient(180deg,rgba(17,12,48,1) 0%,rgba(0,0,0,0.19) 100%);
opacity:1; opacity:1;
.contentHeader{ .contentHeader{
width:1440px; padding: 0;
background: url('../../../../assets/detail/bg-header.png') no-repeat; width:100%;
height: 64px;
background: url('../../assets/detail/bg-header.png') no-repeat;
background-size: cover; background-size: cover;
box-shadow: pxToRem(0px) pxToRem(3px) pxToRem(6px) rgba(0,0,0,0.16); box-shadow:0px 3px 6px rgba(0,0,0,0.16);
opacity:1; opacity:1;
margin-left: pxToRem(-6px);
margin-top: pxToRem(-6px);
.headerLeft{ .headerLeft{
width: pxToRem(200px); width: 280px;
height: pxToRem(32px); height: 55px;
font-size: pxToRem(18px); font-size: 25px;
margin-top: pxToRem(18px); margin-top: 22px;
color: #F7FF00; color: #F7FF00;
line-height: pxToRem(32px); line-height: 32px;
float: left; float: left;
margin-left: pxToRem(40px); margin-left: 40px;
} }
.headerRight{ .headerRight{
margin-top: pxToRem(17px); margin-top: 15px;
width: pxToRem(32px); width: 42px;
height: pxToRem(32px); height:42px;
float: right; float: right;
} }
} }
.content{ .content{
overflow: auto; padding: 0px 22.5px;
padding: pxToRem(0px) pxToRem(22.5px);
background:linear-gradient(180deg,rgba(0,0,0,0.57) 0%,rgba(12,181,213,0.1) 100%); background:linear-gradient(180deg,rgba(0,0,0,0.57) 0%,rgba(12,181,213,0.1) 100%);
opacity:1; opacity:1;
.contentInfo{ .contentInfo{
border: pxToRem(1px) solid rgba(95,255,253,1); border:1px solid rgba(95,255,253,1);
height: pxToRem(732px); height: 980px;
opacity: 1; opacity: 1;
margin-top: 18px;
.infoHeader{ .infoHeader{
background:rgba(0,35,51,1); background:rgba(0,35,51,1);
height: pxToRem(67px); height: 89px;
opacity: 1; opacity: 1;
.amos-search{
.ant-input-group{
width: pxToRem(217.5px) ;
margin-top: pxToRem(21px);
text-align: center;
.titleInput{
border: 0; border: 0;
height: pxToRem(25.5px); height:35px ;
width: pxToRem(180px); width: 290px ;
background:rgba(0,185,255,0.3); background:rgba(0,185,255,0.3);
border-radius: pxToRem(13px) pxToRem(0px) pxToRem(0px) pxToRem(13px); border-radius:17px;
margin-left: pxToRem(590px); top: 30px;
} margin-left: 880px;
.ant-input-group-addon{ color: #5FFFFD;
border: 0; .amos-search-icon-right{
height: pxToRem(25.5px) ; left: 255px;
margin-left: pxToRem(-2px); }
background:rgba(0,185,255,0.3); .amos-search-inner{
border-radius: pxToRem(0px) pxToRem(13px) pxToRem(13px) pxToRem(0px); color: white;
display: block;
height: 37px;
background: transparent;
border-radius: 17px;
} }
} }
} }
.infoContent{ .infoContent{
height: pxToRem(665px); height:888px;
opacity: 1; opacity: 1;
.ant-table-content{ .ant-table-content{
height: 800px;
opacity:1; opacity:1;
.ant-table-placeholder{ .ant-table-placeholder{
background:rgba(14,127,180,0.29); background:rgba(14,127,180,0.29);
opacity:0.63; opacity:0.63;
} }
.ant-table-tbody { .ant-table-tbody {
width: 100%;
height: 100%;
.ant-table-row{ .ant-table-row{
margin-left: pxToRem(10px); margin-left: 13px;
width: pxToRem(1362px) ; width: 100% ;
} }
}
table {
width: 100%;
} }
.ant-table-body>.clickRowStyl:hover>td { .ant-table-body>.clickRowStyl:hover>td {
background-color: #00b4ed; background-color: #00b4ed;
} }
} }
.ant-table-pagination{ .ant-table-pagination{
float: none; float: none;
text-align: center; text-align: center;
.ant-pagination-total-text{ .ant-pagination-total-text{
color: white; color: white;
font-size: 13px;
} }
} }
.ant-table-pagination > li { .ant-table-pagination > li {
...@@ -102,6 +108,82 @@ ...@@ -102,6 +108,82 @@
border-radius: 0; border-radius: 0;
opacity:1; opacity:1;
margin:0; margin:0;
display: inline-block;
width: 24px;
}
}
}
}
/**
* 换流站风险详情页
*/
.riskcontent{
display: inline-block;
width: 100%;
height: 100%;
.blockOneHeader{
width: 95%;
height: 59%;
margin: 1% 2%;
background-color:transparent;
.oneChildHeader{
height:40px;
width: 256px;
border:1px solid rgba(95,255,253,1);
}
.oneHeaderContent{
border:1px solid rgba(95,255,253,1);
text-align: center;
height:575px;
background:linear-gradient(180deg,rgba(0,0,0,0.57) 0%,rgba(12,181,213,0.1) 100%);
}
}
.blockOneContent{
width:47%;
height: 370px;
margin-left: 30px;
display: inline-block;
.oneChildLayout {
background: transparent;
height: 360px;
.oneChildSider{
background-color:transparent;
height: 360px;
.twoChildHeader{
background:'none';
height:40px;
width: 277px;
border:1px solid rgba(95,255,253,1);
}
.twoHeaderContent{
height:330px;
width: 748px;
border:1px solid rgba(95,255,253,1);
}
}
}
}
.blockTwoContent{
width:47%;
height: 370px;
display: inline-block;
margin-left: 35px;
.oneChildLayout {
height: 360px;
background: transparent;
.oneChildSider{
background-color:transparent;
height: 360px;
.twoChildHeader{
background:'none';
height: 40px;
width: 277px;
border:1px solid rgba(95,255,253,1);
}
.twoHeaderContent{
height:330px;
width: 748px;
border:1px solid rgba(95,255,253,1);
} }
} }
} }
...@@ -111,45 +193,60 @@ ...@@ -111,45 +193,60 @@
} }
} }
.risksider{ .risksider{
height: pxToRem(733px); height:1020px;
flex: 0 0 pxToRem(300px)!important; flex: 0 0 486px!important;
width: pxToRem(340px)!important; width: 486px!important;
margin: pxToRem(70px) pxToRem(30px) pxToRem(0px) pxToRem(0px); margin: 6px 40px 0px 0px;
background: transparent; background: transparent;
.amos-layout-sider-children{
margin-top: 10px;
.risksiderHeader{ .risksiderHeader{
height: pxToRem(29px); height:40px;
background: transparent; background: transparent;
margin-left: -50px;
}
.risksiderHeader >img{
width: 256px;
height: 40px;
margin: 0px;
border:1px solid rgba(95,255,253,1);
} }
.risksiderContent{ .risksiderContent{
height: pxToRem(704px); margin-top: -3px;
height:980px;
border:1px solid rgba(95,255,253,1); border:1px solid rgba(95,255,253,1);
} }
} }
} }
}
.tableDetail{ .tableDetail{
height: pxToRem(35px); height: 46px;
width: 100%;
.ant-table-thead > tr > th { .ant-table-thead > tr > th {
background:rgba(0,185,255,0.38); background:rgba(0,185,255,0.38)!important;
font-size: pxToRem(15px); font-size:20p!important;
font-family:Microsoft YaHei; font-family:Microsoft YaHei;
font-weight:bold; font-weight:bold;
color:rgba(255,255,255,1); color:rgba(255,255,255,1);
text-align: center; text-align: center;
padding: pxToRem(6px) pxToRem(8px); padding: 9px 10px!important;
opacity: 1; opacity: 1;
} }
.ant-table-body > tr{ .ant-table-body > tr{
margin: pxToRem(0px) pxToRem(12px); margin: 0px 14px!important;
} }
.ant-table-tbody > tr > td{ .ant-table-tbody > tr > td{
font-size: pxToRem(15px); font-size:20px!important;
font-family:Microsoft YaHei; font-family:Microsoft YaHei;
color:rgba(255,255,255,1); color:rgba(255,255,255,1);
font-weight:bold;
border: 0; border: 0;
text-align: center; text-align: center;
padding: pxToRem(6px) pxToRem(8px); padding: 9px 10px!important;
} }
} }
...@@ -163,93 +260,49 @@ ...@@ -163,93 +260,49 @@
background-color: rgba(14,127,180,0.29);; background-color: rgba(14,127,180,0.29);;
} }
/**
* 换流站风险详情页
*/
.riskcontent{
display: inline-block;
width: pxToRem(1080px);
.blockOneHeader{
width: pxToRem(1038px);
height: pxToRem(460px);
margin: pxToRem(14px) pxToRem(23px);
background-color:transparent;
.oneChildHeader{
height: pxToRem(29px);
width: pxToRem(192px);
border:1px solid rgba(95,255,253,1);
}
.oneHeaderContent{
border:1px solid rgba(95,255,253,1);
text-align: center;
height: pxToRem(431px);
background:linear-gradient(180deg,rgba(0,0,0,0.57) 0%,rgba(12,181,213,0.1) 100%);
}
}
.blockOneContent{
width: pxToRem(520px);
height: pxToRem(257px);
margin-left: pxToRem(23px);
display: inline-block;
.oneChildLayout {
height: pxToRem(257px);
.oneChildSider{
background-color:transparent;
height: pxToRem(257px);
.twoChildHeader{
background:'none';
height: pxToRem(29px);
width: pxToRem(208px);
border: pxToRem(1px) solid rgba(95,255,253,1);
}
.twoHeaderContent{
height: pxToRem(227px);
width: pxToRem(520px);
border: pxToRem(1px) solid rgba(95,255,253,1);
}
}
}
}
.blockTwoContent{ .blockTwoContent{
width: pxToRem(496px); width: 699;
height: pxToRem(257px); height: 342px;
margin-left: pxToRem(23px);
display: inline-block; display: inline-block;
.oneChildLayout { .oneChildLayout {
height: pxToRem(257px); height: 342px;
.oneChildSider{ .oneChildSider{
background-color:transparent; background-color:transparent;
height: pxToRem(257px); height: 342px;
.twoChildHeader{ .twoChildHeader{
background:'none'; background:'none';
height: pxToRem(29px); height:38px;
width: pxToRem(208px); width: 277px;
border: pxToRem(1px) solid rgba(95,255,253,1); border:1px solid rgba(95,255,253,1);
} }
.twoHeaderContent{ .twoHeaderContent{
height: pxToRem(227px); height:304px;
width: pxToRem(496px); width: 661px;
border: pxToRem(1px) solid rgba(95,255,253,1); border:1px solid rgba(95,255,253,1);
} }
} }
} }
} }
.situation-map-legend { .situation-map-legend {
position: unset;
width: pxToRem(80px);
color: ivory; color: ivory;
font-size: pxToRem(14px); font-size: 18px;
display: inline-block; display: inline-block;
margin-top: pxToRem(275px); margin-top: 380px;
margin-left: pxToRem(80px); margin-left: 140px;
position: initial;
width: 108px;
height:30px;
.situation-map-legend-item{ .situation-map-legend-item{
height: pxToRem(23px); height:30px;
.situation-map-legend-block{ .situation-map-legend-block{
float: left; float: left;
width: pxToRem(15px); width: 20px;
height: pxToRem(10px); height: 15px;
margin-right: pxToRem(10px); margin-right: -10px;
}
div{
height: 30px;
line-height: 15px;
} }
} }
......
@import './situation/situation.scss'; @import './situation/situation.scss';
@import './detail/detail.scss';
.biz-view-root { .biz-view-root {
height: 100%; height: 100%;
background: url('/src/assets/bg/biz-bg.png') no-repeat; background: url('/src/assets/bg/biz-bg.png') no-repeat;
......
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import {Layout } from 'amos-framework'; import {Layout,Search } from 'amos-framework';
import {Input,Table, Button } from 'amos-antd'; import {Input,Table, Button } from 'amos-antd';
import './../../../../styles/view/biz/detail/detail.scss';
import JsonData from './data'; import JsonData from './data';
import RiskAssessment from './riskDetail'; import RiskAssessment from './riskDetail';
...@@ -22,14 +21,20 @@ class CentralInfoView extends Component { ...@@ -22,14 +21,20 @@ class CentralInfoView extends Component {
riskVisable: 'none', riskVisable: 'none',
buttonVisable:'block', buttonVisable:'block',
type:'', //当前表格类型 type:'', //当前表格类型
detailTitle:'' detailTitle:'',
}; };
} }
componentDidMount(){
this.props.onRef&&this.props.onRef(this)
}
/** /**
* 安全指数详情 * 安全指数详情
*/ */
kpsi = () => { kpsi = (values) => {
console.log(values);
this.setState({ this.setState({
title: "安全指数", title: "安全指数",
divVisable: 'block', divVisable: 'block',
...@@ -98,7 +103,7 @@ class CentralInfoView extends Component { ...@@ -98,7 +103,7 @@ class CentralInfoView extends Component {
dataIndex: 'ka', dataIndex: 'ka',
width: 100, width: 100,
render : (text, record) => { render : (text, record) => {
return(<div style={{color:'yellow'}}>{text}</div>) return(<div style={{color:'yellow',fontWeight: 'normal'}}>{text}</div>)
} }
}, },
{ {
...@@ -167,7 +172,7 @@ class CentralInfoView extends Component { ...@@ -167,7 +172,7 @@ class CentralInfoView extends Component {
dataIndex: 'ka', dataIndex: 'ka',
width: 100, width: 100,
render : (text, record) => { render : (text, record) => {
return(<div style={{color:'yellow'}}>{text}</div>) return(<div style={{color:'yellow',fontWeight: 'normal'}}>{text}</div>)
} }
}, },
{ {
...@@ -234,7 +239,10 @@ class CentralInfoView extends Component { ...@@ -234,7 +239,10 @@ class CentralInfoView extends Component {
{ {
title: '换流站', title: '换流站',
dataIndex: 'da', dataIndex: 'da',
width: 120 width: 120,
render : (text, record) => {
return(<div style={{fontWeight: 'normal'}}>{text}</div>)
}
}, },
{ {
title: '告警', title: '告警',
...@@ -255,7 +263,10 @@ class CentralInfoView extends Component { ...@@ -255,7 +263,10 @@ class CentralInfoView extends Component {
{ {
title: '换流站', title: '换流站',
dataIndex: 'sa', dataIndex: 'sa',
width: 100 width: 100,
render : (text, record) => {
return(<div style={{fontWeight: 'normal'}}>{text}</div>)
}
}, },
{ {
title: '类型', title: '类型',
...@@ -374,26 +385,19 @@ class CentralInfoView extends Component { ...@@ -374,26 +385,19 @@ class CentralInfoView extends Component {
const _pageNation={pageSize:pageSize,size:'small',showTotal:this.showTotalPage}; const _pageNation={pageSize:pageSize,size:'small',showTotal:this.showTotalPage};
return ( return (
<div> <div>
<div style={{display:buttonVisable}}>
<Button onClick={this.kpsi}>安全指数</Button>
<Button onClick={this.safetyRiskFailure}>安全风险失效</Button>
<Button onClick={this.dangerWeekCensus}>告警隐患周增幅统计</Button>
<Button onClick={this.sevenDaysRiskCensus}>七日风险统计</Button>
</div>
<div className="mainContent" style={{display:divVisable}} > <div className="mainContent" style={{display:divVisable}} >
<Layout> <Layout>
<Header className="contentHeader"> <Header className="contentHeader">
<div className="headerLeft" style={{display:'inline'}}>{title}</div> <div className="headerLeft" style={{display:'inline'}}>{title}</div>
<div className="headerRight" style={{display:'inline'}}> <div className="headerRight" style={{display:'inline'}}>
<img src="/src/assets/detail/close.png" onClick={this.closeDiv} width="36px"/> <img src="/src/assets/detail/close.png" onClick={this.closeDiv} width="42px" style={{marginTop:'5px'}}/>
</div> </div>
</Header> </Header>
<Content className="content"> <Content className="content">
<div className="contentInfo"> <div className="contentInfo">
<div className="infoHeader"> <div className="infoHeader">
<Input className="titleInput" addonAfter={<img src="/src/assets/detail/search.png" style={{width:20}}/>} /> {/* <Input className="titleInput" value=" 搜索" addonAfter={<img src="/src/assets/detail/search.png" onClick={this.} style={{width:20,marginTop:27,marginLeft:-33}}/>} /> */}
<Search icon="search" value=" 搜索" onChange={this.onChange} onIconClick={this.onIconClick} />
</div> </div>
<div className="infoContent"> <div className="infoContent">
<Table className="tableDetail" <Table className="tableDetail"
......
...@@ -8,6 +8,7 @@ import IncidenceSeverityMatrix from './echarts/IncidenceSeverityMatrix'; ...@@ -8,6 +8,7 @@ import IncidenceSeverityMatrix from './echarts/IncidenceSeverityMatrix';
/** /**
* 风险评估 * 风险评估
*/ */
class RiskAssessment extends Component { class RiskAssessment extends Component {
//获取等级 //获取等级
...@@ -38,30 +39,30 @@ class RiskAssessment extends Component { ...@@ -38,30 +39,30 @@ class RiskAssessment extends Component {
); );
} }
onClick=()=>{ onClick=()=>{
this.props.updateParents({ divVisable: 'block',riskVisable:'none'}); this.props.updateParents({ divVisable:'block', riskVisable:'none'});
} }
render() { render() {
return ( return (
<div className="mainContent" style={{ width: '100%', height: '100%', display: this.props.riskVisable }}> <div className="mainContent" style={{display: this.props.riskVisable }}>
<Layout> <Layout>
<Layout style={{width : 900}}>
<Header className="contentHeader"> <Header className="contentHeader">
<div className="headerLeft" style={{ display: 'inline' }}>{this.props.detailTitle}</div> <div className="headerLeft" style={{ display: 'inline' }}>{this.props.detailTitle}</div>
<div className="headerRight" style={{ display: 'inline' }}> <div className="headerRight" style={{ display: 'inline' }}>
<img src="/src/assets/detail/return.png" onClick={this.onClick} width="36px" /> <img src="/src/assets/detail/return.png" onClick={this.onClick} width="42px" style={{marginTop:5}} />
</div> </div>
</Header> </Header>
<Layout>
<Content className="riskcontent"> <Content className="riskcontent">
<Header className="blockOneHeader"> <Header className="blockOneHeader">
<Header className="oneChildHeader"> <Header className="oneChildHeader">
<img src="/src/assets/detail/secondTitle1.png" style={{ width: 192, height: 29, margin: 0 }} /> <img src="/src/assets/detail/secondTitle1.png" style={{ width: 256, height: 38, margin: 0 }} />
</Header> </Header>
<Content className="oneHeaderContent"> <Content className="oneHeaderContent">
<img src="/src/assets/detail/RPNr.png" style={{ width: 922, height: 503, marginTop: 35 ,marginLeft:248}} />
<img src="/src/assets/detail/RPNr.png" style={{ width: 692, height: 378, marginTop: 20 ,marginLeft: 100}} />
{this.getLegend()} {this.getLegend()}
</Content> </Content>
...@@ -70,15 +71,15 @@ class RiskAssessment extends Component { ...@@ -70,15 +71,15 @@ class RiskAssessment extends Component {
<Layout className="oneChildLayout"> <Layout className="oneChildLayout">
<Sider className="oneChildSider"> <Sider className="oneChildSider">
<Header className="twoChildHeader"> <Header className="twoChildHeader">
<img src="/src/assets/detail/secondTitle2.png" style={{ width: 192, height: 29, margin: 0 }} /> <img src="/src/assets/detail/secondTitle2.png" style={{ width: 277, height: 38, margin: 0 }} />
</Header> </Header>
<Content className="twoHeaderContent"> <Content className="twoHeaderContent">
<div className="risk-degree-pie"> <div className="risk-degree-pie">
<div className="risk-degree-pie1"> <div className="risk-degree-pie1">
{/* <RiskDegreePie /> */} {/* <RiskDegreePie /> */}
{/* <div>5</div> <div>5</div>
<div>2%</div> <div>2%</div>
<div>本年风险</div> */} <div>本年风险</div>
</div> </div>
</div> </div>
</Content> </Content>
...@@ -89,7 +90,7 @@ class RiskAssessment extends Component { ...@@ -89,7 +90,7 @@ class RiskAssessment extends Component {
<Layout className="oneChildLayout"> <Layout className="oneChildLayout">
<Sider className="oneChildSider"> <Sider className="oneChildSider">
<Header className="twoChildHeader"> <Header className="twoChildHeader">
<img src="/src/assets/detail/secondTitle3.png" style={{ width: 208, height: 29, margin: 0 }} /> <img src="/src/assets/detail/secondTitle3.png" style={{ width: 277, height: 38, margin: 0 }} />
</Header> </Header>
<Content className="twoHeaderContent"> <Content className="twoHeaderContent">
{/* <IncidenceSeverityMatrix /> */} {/* <IncidenceSeverityMatrix /> */}
...@@ -97,18 +98,19 @@ class RiskAssessment extends Component { ...@@ -97,18 +98,19 @@ class RiskAssessment extends Component {
</Sider> </Sider>
</Layout> </Layout>
</Content> </Content>
</Content> </Content>
</Layout>
<Sider className="risksider"> <Sider className="risksider">
<Header className="risksiderHeader"> <Header className="risksiderHeader">
<img src="/src/assets/detail/secondTitle4.png" style={{ width: 192, height: 29, margin: 0 }} /> <img src="/src/assets/detail/secondTitle4.png" style={{ width: 256, height: 38, margin: 0 }} />
</Header> </Header>
<Content className="risksiderContent"> <Content className="risksiderContent">
{/* <RiskDegreeHistogram /> */} {/* <RiskDegreeHistogram /> */}
</Content> </Content>
</Sider> </Sider>
</Layout> </Layout>
</Layout>
</div> </div>
); );
} }
......
...@@ -7,6 +7,8 @@ class GrowthStatistics extends Component { ...@@ -7,6 +7,8 @@ class GrowthStatistics extends Component {
<div className='growth-statistics-view common-margin'> <div className='growth-statistics-view common-margin'>
<div className='daily-title daily-title-content'>告警隐患周增幅统计</div> <div className='daily-title daily-title-content'>告警隐患周增幅统计</div>
<div className='growth-content'> <div className='growth-content'>
<div style={{position:"initial",width:28,height:28,marginTop:-23,marginLeft:358}}
onClick={this.props.onWarnClick}></div>
<div className='growth-item growth-item-header'> <div className='growth-item growth-item-header'>
<div>日期</div> <div>日期</div>
<div>告警隐患</div> <div>告警隐患</div>
......
...@@ -34,6 +34,8 @@ class RecentStatistics extends Component { ...@@ -34,6 +34,8 @@ class RecentStatistics extends Component {
<Button size='sm' children={<span>隐患</span>} className='button-style' value="2" style={(value == '2')?select:noselect}/> <Button size='sm' children={<span>隐患</span>} className='button-style' value="2" style={(value == '2')?select:noselect}/>
</ButtonGroup> </ButtonGroup>
<div className='recent-statistics-content'> <div className='recent-statistics-content'>
<div style={{position:"initial",width:28,height:28,marginTop:-14,marginLeft:362}}
onClick={this.props.onStatisticClick}></div>
<ReactEcharts option={recentData} style={{ height: '100%', width: '100%' }} /> <ReactEcharts option={recentData} style={{ height: '100%', width: '100%' }} />
</div> </div>
</div> </div>
......
...@@ -8,6 +8,8 @@ class RiskFailure extends Component { ...@@ -8,6 +8,8 @@ class RiskFailure extends Component {
<div className='risk-failure-view common-margin daily-title'> <div className='risk-failure-view common-margin daily-title'>
<div className='daily-title daily-title-content'>安全风险失效 TOP10</div> <div className='daily-title daily-title-content'>安全风险失效 TOP10</div>
<div className='top-ten-content'> <div className='top-ten-content'>
<div style={{position:"initial",width:28,height:28,marginTop:-32,marginLeft:352}}
onClick={this.props.onRiskClick}></div>
{ {
riskFailureData.map((item,index)=> riskFailureData.map((item,index)=>
<div className='top-ten-item' key={index}> <div className='top-ten-item' key={index}>
......
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import {SafetyRateData} from './data'; import {SafetyRateData} from './data';
import { OverFlowText } from 'amos-framework'; import { OverFlowText, Button } from 'amos-framework';
class SafetyRate extends Component { class SafetyRate extends Component {
render() { render() {
return ( return (
<div className='safety-rate-view common-margin daily-title'> <div className='safety-rate-view common-margin daily-title'>
<div className='daily-title-content'>安全指数 TOP10</div> <div className='daily-title-content'>
<div className='top-ten-content'> 安全指数 TOP10
</div>
<div className='top-ten-content' style={{position:"initial"}}>
<div style={{position:"initial",width:28,height:28,marginTop:-32,marginLeft:352}}
onClick={this.props.onClick}></div>
{ {
SafetyRateData.map((item,index)=> SafetyRateData.map((item,index)=>
<div className='top-ten-item' key={index}> <div className='top-ten-item' key={index}>
......
...@@ -6,10 +6,11 @@ import RiskFailure from './RiskFailure'; ...@@ -6,10 +6,11 @@ import RiskFailure from './RiskFailure';
import RiskTrend from './RiskTrend'; import RiskTrend from './RiskTrend';
import Statistics from './Statistics'; import Statistics from './Statistics';
import SafetyRate from './SafetyRate'; import SafetyRate from './SafetyRate';
import CentralInfoView from './../detail/index';
/** /**
* situation * situation
*安全态势 * 安全态势
* @class situation * @class situation
* @extends {Component} * @extends {Component}
*/ */
...@@ -17,7 +18,9 @@ class Situation extends Component { ...@@ -17,7 +18,9 @@ class Situation extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {
divVisable:'none' ,//控制弹窗显示
title: '', //modal标题
type: '' //弹窗类型(根据类型切换不同弹窗)
}; };
} }
...@@ -33,16 +36,33 @@ class Situation extends Component { ...@@ -33,16 +36,33 @@ class Situation extends Component {
} }
onRef=(ref)=>{
this.child1=ref;
}
//安全指数弹窗
kpsi(values){
console.log(values);
this.setState({
divVisable : values.divVisable,
title : values.title,
type : values.type
})
}
render() { render() {
return ( return (
<div className='class-Situation'> <div className='class-Situation'>
<div className='daily-duties-content'> <div className='daily-duties-content'>
<div className='daily-duties-left'> <div className='daily-duties-left'>
<div> <div>
<SafetyRate /> <SafetyRate onClick={()=>{
this.child1.kpsi()}}/>
</div> </div>
<div> <div>
<GrowthStatistics/> <GrowthStatistics onWarnClick={()=>{
this.child1.dangerWeekCensus()}}/>
</div> </div>
</div> </div>
<div className='daily-duties-middle'> <div className='daily-duties-middle'>
...@@ -55,13 +75,18 @@ class Situation extends Component { ...@@ -55,13 +75,18 @@ class Situation extends Component {
</div> </div>
<div className='daily-duties-right'> <div className='daily-duties-right'>
<div> <div>
<RiskFailure/> <RiskFailure onRiskClick={()=>{
this.child1.safetyRiskFailure()}}/>
</div> </div>
<div> <div>
<RecentStatistics/> <RecentStatistics onStatisticClick={()=>{
this.child1.sevenDaysRiskCensus()}}/>
</div> </div>
</div> </div>
</div> </div>
<div>
</div>
<CentralInfoView onRef={this.onRef}/>
</div> </div>
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment