忽略代码
This commit is contained in:
24630
package-lock--系统正常运行的配置.json
Normal file
24630
package-lock--系统正常运行的配置.json
Normal file
File diff suppressed because it is too large
Load Diff
3347
package-lock.json
generated
3347
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
22462
package-lock_测试正常运行的配置.json
Normal file
22462
package-lock_测试正常运行的配置.json
Normal file
File diff suppressed because it is too large
Load Diff
477
report.20211026.122353.18396.0.001.json
Normal file
477
report.20211026.122353.18396.0.001.json
Normal file
@@ -0,0 +1,477 @@
|
|||||||
|
|
||||||
|
{
|
||||||
|
"header": {
|
||||||
|
"reportVersion": 1,
|
||||||
|
"event": "Allocation failed - JavaScript heap out of memory",
|
||||||
|
"trigger": "FatalError",
|
||||||
|
"filename": "report.20211026.122353.18396.0.001.json",
|
||||||
|
"dumpEventTime": "2021-10-26T12:23:53Z",
|
||||||
|
"dumpEventTimeStamp": "1635222233600",
|
||||||
|
"processId": 18396,
|
||||||
|
"cwd": "D:\\work\\git\\cn-ui",
|
||||||
|
"commandLine": [
|
||||||
|
"node",
|
||||||
|
"D:\\work\\git\\cn-ui\\node_modules\\.bin\\\\..\\@vue\\cli-service\\bin\\vue-cli-service.js",
|
||||||
|
"serve"
|
||||||
|
],
|
||||||
|
"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.19042",
|
||||||
|
"osVersion": "Windows 10 Home China",
|
||||||
|
"osMachine": "x86_64",
|
||||||
|
"cpus": [
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3533781,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1982312,
|
||||||
|
"idle": 25793796,
|
||||||
|
"irq": 122203
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3821968,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1195359,
|
||||||
|
"idle": 26292328,
|
||||||
|
"irq": 11265
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 5263125,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1957140,
|
||||||
|
"idle": 24089390,
|
||||||
|
"irq": 12046
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3243156,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1116500,
|
||||||
|
"idle": 26950000,
|
||||||
|
"irq": 6640
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3271937,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1309484,
|
||||||
|
"idle": 26728234,
|
||||||
|
"irq": 9687
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3237031,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1125125,
|
||||||
|
"idle": 26947500,
|
||||||
|
"irq": 6296
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3508328,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1125625,
|
||||||
|
"idle": 26675703,
|
||||||
|
"irq": 10140
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3204343,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1134718,
|
||||||
|
"idle": 26970593,
|
||||||
|
"irq": 48890
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"networkInterfaces": [
|
||||||
|
{
|
||||||
|
"name": "以太网 3",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "00:ff:4d:96:c8:e6",
|
||||||
|
"address": "fe80::e05a:ec05:1c7b:77c4",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "以太网 3",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "00:ff:4d:96:c8:e6",
|
||||||
|
"address": "10.211.0.237",
|
||||||
|
"netmask": "255.255.255.0",
|
||||||
|
"family": "IPv4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "2409:8a00:8561:8eef:ad62:7169:a308:f88b",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "2409:8a00:8561:8eef:51a6:977e:2a79:26ac",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "fe80::ad62:7169:a308:f88b",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "192.168.1.7",
|
||||||
|
"netmask": "255.255.255.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": "LAPTOP-147PLTGT"
|
||||||
|
},
|
||||||
|
"javascriptStack": {
|
||||||
|
"message": "No stack.",
|
||||||
|
"stack": [
|
||||||
|
"Unavailable."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nativeStack": [
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a0519f9",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+10873"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a055e1c",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+28316"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a054dd8",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+24152"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a1534cb",
|
||||||
|
"symbol": "v8::base::CPU::has_sse+38363"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a969f4e",
|
||||||
|
"symbol": "v8::Isolate::ReportExternalAllocationLimitReached+94"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a952021",
|
||||||
|
"symbol": "v8::SharedArrayBuffer::Externalize+833"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81e57c",
|
||||||
|
"symbol": "v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a8297d0",
|
||||||
|
"symbol": "v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a8262f4",
|
||||||
|
"symbol": "v8::internal::Heap::PageFlagsAreConsistent+3204"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81bb13",
|
||||||
|
"symbol": "v8::internal::Heap::CollectGarbage+1283"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81a184",
|
||||||
|
"symbol": "v8::internal::Heap::AddRetainedMap+2452"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a83b36d",
|
||||||
|
"symbol": "v8::internal::Factory::NewFillerObject+61"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a5a0c51",
|
||||||
|
"symbol": "v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+1665"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67adb4ddd",
|
||||||
|
"symbol": "v8::internal::SetupIsolateDelegate::SetupHeap+546637"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00000390bd8a6e47",
|
||||||
|
"symbol": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javascriptHeap": {
|
||||||
|
"totalMemory": 2163195904,
|
||||||
|
"totalCommittedMemory": 2163195904,
|
||||||
|
"usedMemory": 2143554816,
|
||||||
|
"availableMemory": 48335400,
|
||||||
|
"memoryLimit": 2197815296,
|
||||||
|
"heapSpaces": {
|
||||||
|
"read_only_space": {
|
||||||
|
"memorySize": 262144,
|
||||||
|
"committedMemory": 262144,
|
||||||
|
"capacity": 32808,
|
||||||
|
"used": 32808,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"new_space": {
|
||||||
|
"memorySize": 12582912,
|
||||||
|
"committedMemory": 12582912,
|
||||||
|
"capacity": 6284736,
|
||||||
|
"used": 833072,
|
||||||
|
"available": 5451664
|
||||||
|
},
|
||||||
|
"old_space": {
|
||||||
|
"memorySize": 1130250240,
|
||||||
|
"committedMemory": 1130250240,
|
||||||
|
"capacity": 1127363408,
|
||||||
|
"used": 1125383800,
|
||||||
|
"available": 1979608
|
||||||
|
},
|
||||||
|
"code_space": {
|
||||||
|
"memorySize": 2265088,
|
||||||
|
"committedMemory": 2265088,
|
||||||
|
"capacity": 1962976,
|
||||||
|
"used": 1962976,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"map_space": {
|
||||||
|
"memorySize": 8654848,
|
||||||
|
"committedMemory": 8654848,
|
||||||
|
"capacity": 6630240,
|
||||||
|
"used": 6630240,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"large_object_space": {
|
||||||
|
"memorySize": 1008558080,
|
||||||
|
"committedMemory": 1008558080,
|
||||||
|
"capacity": 1008167632,
|
||||||
|
"used": 1008167632,
|
||||||
|
"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": 6284736,
|
||||||
|
"used": 0,
|
||||||
|
"available": 6284736
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resourceUsage": {
|
||||||
|
"userCpuSeconds": 386.437,
|
||||||
|
"kernelCpuSeconds": 64.734,
|
||||||
|
"cpuConsumptionPercent": 61.0516,
|
||||||
|
"maxRss": 3299991552,
|
||||||
|
"pageFaults": {
|
||||||
|
"IORequired": 3971537,
|
||||||
|
"IONotRequired": 0
|
||||||
|
},
|
||||||
|
"fsActivity": {
|
||||||
|
"reads": 71050,
|
||||||
|
"writes": 12
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libuv": [
|
||||||
|
],
|
||||||
|
"environmentVariables": {
|
||||||
|
"=D:": "D:\\work\\git\\cn-ui",
|
||||||
|
"ALLUSERSPROFILE": "C:\\ProgramData",
|
||||||
|
"APPDATA": "C:\\Users\\hyx\\AppData\\Roaming",
|
||||||
|
"BABEL_ENV": "development",
|
||||||
|
"ChocolateyInstall": "C:\\ProgramData\\chocolatey",
|
||||||
|
"ChocolateyLastPathUpdate": "132299563139222404",
|
||||||
|
"CLASSPATH": ".;C:\\Program Files\\Java\\jdk1.8.0_101\\lib\\dt.jar;C:\\Program Files\\Java\\jdk1.8.0_101\\lib\\tools.jar;",
|
||||||
|
"COLOR": "1",
|
||||||
|
"CommonProgramFiles": "C:\\Program Files\\Common Files",
|
||||||
|
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
|
||||||
|
"CommonProgramW6432": "C:\\Program Files\\Common Files",
|
||||||
|
"COMPUTERNAME": "LAPTOP-147PLTGT",
|
||||||
|
"ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
|
||||||
|
"dp0": "D:\\work\\git\\cn-ui\\node_modules\\.bin\\",
|
||||||
|
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
|
||||||
|
"EDITOR": "notepad.exe",
|
||||||
|
"HOME": "C:\\Users\\hyx",
|
||||||
|
"HOMEDRIVE": "C:",
|
||||||
|
"HOMEPATH": "\\Users\\hyx",
|
||||||
|
"INIT_CWD": "D:\\work\\git\\cn-ui",
|
||||||
|
"JAVA_HOME": "C:\\Program Files\\Java\\jdk1.8.0_101",
|
||||||
|
"JAVA_HOME7": "C:\\Program Files\\Java\\jdk1.7.0_80",
|
||||||
|
"JAVA_HOME8": "C:\\Program Files\\Java\\jdk1.8.0_101",
|
||||||
|
"LOCALAPPDATA": "C:\\Users\\hyx\\AppData\\Local",
|
||||||
|
"LOGONSERVER": "\\\\LAPTOP-147PLTGT",
|
||||||
|
"M2_HOME": "D:\\work\\apache-maven-3.6.3",
|
||||||
|
"MAVEN_HOME": "D:\\work\\apache-maven-3.6.3",
|
||||||
|
"NODE": "C:\\Program Files\\nodejs\\node.exe",
|
||||||
|
"NODE_ENV": "DEV",
|
||||||
|
"NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe",
|
||||||
|
"NPM_CLI_JS": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"npm_command": "run-script",
|
||||||
|
"npm_config_cache": "C:\\Users\\hyx\\AppData\\Local\\npm-cache",
|
||||||
|
"npm_config_globalconfig": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\etc\\npmrc",
|
||||||
|
"npm_config_global_prefix": "C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"npm_config_init_module": "C:\\Users\\hyx\\.npm-init.js",
|
||||||
|
"npm_config_local_prefix": "D:\\work\\git\\cn-ui",
|
||||||
|
"npm_config_metrics_registry": "https://registry.npmjs.org/",
|
||||||
|
"npm_config_node_gyp": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
|
||||||
|
"npm_config_noproxy": "",
|
||||||
|
"npm_config_prefix": "C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"npm_config_userconfig": "C:\\Users\\hyx\\.npmrc",
|
||||||
|
"npm_config_user_agent": "npm/8.1.0 node/v12.16.1 win32 x64 workspaces/false",
|
||||||
|
"npm_execpath": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"npm_lifecycle_event": "serve",
|
||||||
|
"npm_lifecycle_script": "vue-cli-service serve ",
|
||||||
|
"npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe",
|
||||||
|
"npm_package_json": "D:\\work\\git\\cn-ui\\package.json",
|
||||||
|
"npm_package_name": "cn",
|
||||||
|
"npm_package_version": "0.1.0",
|
||||||
|
"NPM_PREFIX_NPM_CLI_JS": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"NUMBER_OF_PROCESSORS": "8",
|
||||||
|
"OneDrive": "C:\\Users\\hyx\\OneDrive",
|
||||||
|
"OneDriveConsumer": "C:\\Users\\hyx\\OneDrive",
|
||||||
|
"OS": "Windows_NT",
|
||||||
|
"PATH": "D:\\work\\git\\cn-ui\\node_modules\\.bin;D:\\work\\git\\node_modules\\.bin;D:\\work\\node_modules\\.bin;D:\\node_modules\\.bin;C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;D:\\work\\git\\cn-ui\\node_modules\\.bin;C:\\Program Files (x86)\\NetSarang\\Xftp 6\\;C:\\Program Files (x86)\\NetSarang\\Xshell 6\\;C:\\Program Files (x86)\\Common Files\\NetSarang;C:\\Program Files\\Java\\jdk1.8.0_101\\bin;C:\\Program Files\\Java\\jdk1.7.0_80\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\nodejs\\;C:\\Program Files\\Git\\cmd;D:\\work\\apache-maven-3.6.3\\bin;D:\\work\\apache-maven-3.6.3\\bin;D:\\work\\project\\bifang-tsg\\20210107-Apache Tika\\apache-zookeeper-3.6\\apache-zookeeper-3.6.2-bin\\bin;C:\\Python27;C:\\Users\\hyx\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC",
|
||||||
|
"PROCESSOR_ARCHITECTURE": "AMD64",
|
||||||
|
"PROCESSOR_IDENTIFIER": "AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD",
|
||||||
|
"PROCESSOR_LEVEL": "23",
|
||||||
|
"PROCESSOR_REVISION": "1801",
|
||||||
|
"ProgramData": "C:\\ProgramData",
|
||||||
|
"ProgramFiles": "C:\\Program Files",
|
||||||
|
"ProgramFiles(x86)": "C:\\Program Files (x86)",
|
||||||
|
"ProgramW6432": "C:\\Program Files",
|
||||||
|
"PROMPT": "$P$G",
|
||||||
|
"PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
|
||||||
|
"PUBLIC": "C:\\Users\\Public",
|
||||||
|
"SystemDrive": "C:",
|
||||||
|
"SystemRoot": "C:\\WINDOWS",
|
||||||
|
"TEMP": "C:\\Users\\hyx\\AppData\\Local\\Temp",
|
||||||
|
"TERMINAL_EMULATOR": "JetBrains-JediTerm",
|
||||||
|
"TMP": "C:\\Users\\hyx\\AppData\\Local\\Temp",
|
||||||
|
"USERDOMAIN": "LAPTOP-147PLTGT",
|
||||||
|
"USERDOMAIN_ROAMINGPROFILE": "LAPTOP-147PLTGT",
|
||||||
|
"USERNAME": "hyx",
|
||||||
|
"USERPROFILE": "C:\\Users\\hyx",
|
||||||
|
"VUE_CLI_ENTRY_FILES": "[\"D:\\\\work\\\\git\\\\cn-ui\\\\src\\\\main.js\"]",
|
||||||
|
"VUE_CLI_TRANSPILE_BABEL_RUNTIME": "true",
|
||||||
|
"WEBPACK_DEV_SERVER": "true",
|
||||||
|
"windir": "C:\\WINDOWS",
|
||||||
|
"ZOOKEEPER_HOME": "D:\\work\\project\\bifang-tsg\\20210107-Apache Tika\\apache-zookeeper-3.6\\apache-zookeeper-3.6.2-bin",
|
||||||
|
"_prog": "node",
|
||||||
|
"__COMPAT_LAYER": "RunAsAdmin",
|
||||||
|
"__INTELLIJ_COMMAND_HISTFILE__": "C:\\Users\\hyx\\.WebStorm2019.1\\config\\terminal\\history\\history-8"
|
||||||
|
},
|
||||||
|
"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\\apphelp.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\WS2_32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\RPCRT4.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\PSAPI.DLL",
|
||||||
|
"C:\\WINDOWS\\System32\\ADVAPI32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\msvcrt.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\sechost.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\\ucrtbase.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\CRYPT32.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dbghelp.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\bcrypt.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\USERENV.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\WINMM.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\\bcryptprimitives.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\napinsp.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\pnrpnsp.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\wshbth.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\NLAapi.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\DNSAPI.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\NSI.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\winrnr.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc6.DLL",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc.DLL",
|
||||||
|
"\\\\?\\D:\\work\\git\\cn-ui\\node_modules\\node-sass\\vendor\\win32-x64-72\\binding.node"
|
||||||
|
]
|
||||||
|
}
|
||||||
481
report.20211026.123714.14736.0.001.json
Normal file
481
report.20211026.123714.14736.0.001.json
Normal file
@@ -0,0 +1,481 @@
|
|||||||
|
|
||||||
|
{
|
||||||
|
"header": {
|
||||||
|
"reportVersion": 1,
|
||||||
|
"event": "Allocation failed - JavaScript heap out of memory",
|
||||||
|
"trigger": "FatalError",
|
||||||
|
"filename": "report.20211026.123714.14736.0.001.json",
|
||||||
|
"dumpEventTime": "2021-10-26T12:37:14Z",
|
||||||
|
"dumpEventTimeStamp": "1635223034076",
|
||||||
|
"processId": 14736,
|
||||||
|
"cwd": "D:\\work\\git\\cn-ui",
|
||||||
|
"commandLine": [
|
||||||
|
"node",
|
||||||
|
"D:\\work\\git\\cn-ui\\node_modules\\.bin\\\\..\\@vue\\cli-service\\bin\\vue-cli-service.js",
|
||||||
|
"serve"
|
||||||
|
],
|
||||||
|
"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.19042",
|
||||||
|
"osVersion": "Windows 10 Home China",
|
||||||
|
"osMachine": "x86_64",
|
||||||
|
"cpus": [
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3635250,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 2018640,
|
||||||
|
"idle": 26456468,
|
||||||
|
"irq": 124046
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3904281,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1211750,
|
||||||
|
"idle": 26994109,
|
||||||
|
"irq": 11375
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 5434765,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1990734,
|
||||||
|
"idle": 24684640,
|
||||||
|
"irq": 12234
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3305671,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1132296,
|
||||||
|
"idle": 27672171,
|
||||||
|
"irq": 6687
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3372921,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1333531,
|
||||||
|
"idle": 27403671,
|
||||||
|
"irq": 9875
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3314937,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1149234,
|
||||||
|
"idle": 27645968,
|
||||||
|
"irq": 6406
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3623250,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1150265,
|
||||||
|
"idle": 27336625,
|
||||||
|
"irq": 10312
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3300578,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1164937,
|
||||||
|
"idle": 27644625,
|
||||||
|
"irq": 49125
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"networkInterfaces": [
|
||||||
|
{
|
||||||
|
"name": "以太网 3",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "00:ff:4d:96:c8:e6",
|
||||||
|
"address": "fe80::e05a:ec05:1c7b:77c4",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "以太网 3",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "00:ff:4d:96:c8:e6",
|
||||||
|
"address": "10.211.0.237",
|
||||||
|
"netmask": "255.255.255.0",
|
||||||
|
"family": "IPv4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "2409:8a00:8561:8eef:ad62:7169:a308:f88b",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "2409:8a00:8561:8eef:51a6:977e:2a79:26ac",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "fe80::ad62:7169:a308:f88b",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "192.168.1.7",
|
||||||
|
"netmask": "255.255.255.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": "LAPTOP-147PLTGT"
|
||||||
|
},
|
||||||
|
"javascriptStack": {
|
||||||
|
"message": "No stack.",
|
||||||
|
"stack": [
|
||||||
|
"Unavailable."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nativeStack": [
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a0519f9",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+10873"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a055e1c",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+28316"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a054dd8",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+24152"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a1534cb",
|
||||||
|
"symbol": "v8::base::CPU::has_sse+38363"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a969f4e",
|
||||||
|
"symbol": "v8::Isolate::ReportExternalAllocationLimitReached+94"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a952021",
|
||||||
|
"symbol": "v8::SharedArrayBuffer::Externalize+833"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81e57c",
|
||||||
|
"symbol": "v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a8297d0",
|
||||||
|
"symbol": "v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a8262f4",
|
||||||
|
"symbol": "v8::internal::Heap::PageFlagsAreConsistent+3204"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81bb13",
|
||||||
|
"symbol": "v8::internal::Heap::CollectGarbage+1283"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81a184",
|
||||||
|
"symbol": "v8::internal::Heap::AddRetainedMap+2452"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a83b36d",
|
||||||
|
"symbol": "v8::internal::Factory::NewFillerObject+61"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a5a0c51",
|
||||||
|
"symbol": "v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+1665"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67adb4ddd",
|
||||||
|
"symbol": "v8::internal::SetupIsolateDelegate::SetupHeap+546637"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67ad39543",
|
||||||
|
"symbol": "v8::internal::SetupIsolateDelegate::SetupHeap+40627"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x000001294edfadcb",
|
||||||
|
"symbol": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javascriptHeap": {
|
||||||
|
"totalMemory": 2090516480,
|
||||||
|
"totalCommittedMemory": 2090516480,
|
||||||
|
"usedMemory": 1910885000,
|
||||||
|
"availableMemory": 141116576,
|
||||||
|
"memoryLimit": 2197815296,
|
||||||
|
"heapSpaces": {
|
||||||
|
"read_only_space": {
|
||||||
|
"memorySize": 262144,
|
||||||
|
"committedMemory": 262144,
|
||||||
|
"capacity": 32808,
|
||||||
|
"used": 32808,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"new_space": {
|
||||||
|
"memorySize": 33554432,
|
||||||
|
"committedMemory": 33554432,
|
||||||
|
"capacity": 16759296,
|
||||||
|
"used": 342432,
|
||||||
|
"available": 16416864
|
||||||
|
},
|
||||||
|
"old_space": {
|
||||||
|
"memorySize": 1047412736,
|
||||||
|
"committedMemory": 1047412736,
|
||||||
|
"capacity": 903081256,
|
||||||
|
"used": 902439656,
|
||||||
|
"available": 641600
|
||||||
|
},
|
||||||
|
"code_space": {
|
||||||
|
"memorySize": 2002944,
|
||||||
|
"committedMemory": 2002944,
|
||||||
|
"capacity": 1718848,
|
||||||
|
"used": 1718848,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"map_space": {
|
||||||
|
"memorySize": 6295552,
|
||||||
|
"committedMemory": 6295552,
|
||||||
|
"capacity": 5826880,
|
||||||
|
"used": 5826880,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"large_object_space": {
|
||||||
|
"memorySize": 1000366080,
|
||||||
|
"committedMemory": 1000366080,
|
||||||
|
"capacity": 999980088,
|
||||||
|
"used": 999980088,
|
||||||
|
"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": 16759296,
|
||||||
|
"used": 0,
|
||||||
|
"available": 16759296
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resourceUsage": {
|
||||||
|
"userCpuSeconds": 335.781,
|
||||||
|
"kernelCpuSeconds": 43.921,
|
||||||
|
"cpuConsumptionPercent": 178.264,
|
||||||
|
"maxRss": 3008802816,
|
||||||
|
"pageFaults": {
|
||||||
|
"IORequired": 3462820,
|
||||||
|
"IONotRequired": 0
|
||||||
|
},
|
||||||
|
"fsActivity": {
|
||||||
|
"reads": 69624,
|
||||||
|
"writes": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libuv": [
|
||||||
|
],
|
||||||
|
"environmentVariables": {
|
||||||
|
"=D:": "D:\\work\\git\\cn-ui",
|
||||||
|
"ALLUSERSPROFILE": "C:\\ProgramData",
|
||||||
|
"APPDATA": "C:\\Users\\hyx\\AppData\\Roaming",
|
||||||
|
"BABEL_ENV": "development",
|
||||||
|
"ChocolateyInstall": "C:\\ProgramData\\chocolatey",
|
||||||
|
"ChocolateyLastPathUpdate": "132299563139222404",
|
||||||
|
"CLASSPATH": ".;C:\\Program Files\\Java\\jdk1.8.0_101\\lib\\dt.jar;C:\\Program Files\\Java\\jdk1.8.0_101\\lib\\tools.jar;",
|
||||||
|
"COLOR": "1",
|
||||||
|
"CommonProgramFiles": "C:\\Program Files\\Common Files",
|
||||||
|
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
|
||||||
|
"CommonProgramW6432": "C:\\Program Files\\Common Files",
|
||||||
|
"COMPUTERNAME": "LAPTOP-147PLTGT",
|
||||||
|
"ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
|
||||||
|
"dp0": "D:\\work\\git\\cn-ui\\node_modules\\.bin\\",
|
||||||
|
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
|
||||||
|
"EDITOR": "notepad.exe",
|
||||||
|
"HOME": "C:\\Users\\hyx",
|
||||||
|
"HOMEDRIVE": "C:",
|
||||||
|
"HOMEPATH": "\\Users\\hyx",
|
||||||
|
"INIT_CWD": "D:\\work\\git\\cn-ui",
|
||||||
|
"JAVA_HOME": "C:\\Program Files\\Java\\jdk1.8.0_101",
|
||||||
|
"JAVA_HOME7": "C:\\Program Files\\Java\\jdk1.7.0_80",
|
||||||
|
"JAVA_HOME8": "C:\\Program Files\\Java\\jdk1.8.0_101",
|
||||||
|
"LOCALAPPDATA": "C:\\Users\\hyx\\AppData\\Local",
|
||||||
|
"LOGONSERVER": "\\\\LAPTOP-147PLTGT",
|
||||||
|
"M2_HOME": "D:\\work\\apache-maven-3.6.3",
|
||||||
|
"MAVEN_HOME": "D:\\work\\apache-maven-3.6.3",
|
||||||
|
"NODE": "C:\\Program Files\\nodejs\\node.exe",
|
||||||
|
"NODE_ENV": "DEV",
|
||||||
|
"NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe",
|
||||||
|
"NPM_CLI_JS": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"npm_command": "run-script",
|
||||||
|
"npm_config_cache": "C:\\Users\\hyx\\AppData\\Local\\npm-cache",
|
||||||
|
"npm_config_globalconfig": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\etc\\npmrc",
|
||||||
|
"npm_config_global_prefix": "C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"npm_config_init_module": "C:\\Users\\hyx\\.npm-init.js",
|
||||||
|
"npm_config_local_prefix": "D:\\work\\git\\cn-ui",
|
||||||
|
"npm_config_metrics_registry": "https://registry.npmjs.org/",
|
||||||
|
"npm_config_node_gyp": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
|
||||||
|
"npm_config_noproxy": "",
|
||||||
|
"npm_config_prefix": "C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"npm_config_userconfig": "C:\\Users\\hyx\\.npmrc",
|
||||||
|
"npm_config_user_agent": "npm/8.1.0 node/v12.16.1 win32 x64 workspaces/false",
|
||||||
|
"npm_execpath": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"npm_lifecycle_event": "serve",
|
||||||
|
"npm_lifecycle_script": "vue-cli-service serve ",
|
||||||
|
"npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe",
|
||||||
|
"npm_package_json": "D:\\work\\git\\cn-ui\\package.json",
|
||||||
|
"npm_package_name": "cn",
|
||||||
|
"npm_package_version": "0.1.0",
|
||||||
|
"NPM_PREFIX_NPM_CLI_JS": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"NUMBER_OF_PROCESSORS": "8",
|
||||||
|
"OneDrive": "C:\\Users\\hyx\\OneDrive",
|
||||||
|
"OneDriveConsumer": "C:\\Users\\hyx\\OneDrive",
|
||||||
|
"OS": "Windows_NT",
|
||||||
|
"PATH": "D:\\work\\git\\cn-ui\\node_modules\\.bin;D:\\work\\git\\node_modules\\.bin;D:\\work\\node_modules\\.bin;D:\\node_modules\\.bin;C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;D:\\work\\git\\cn-ui\\node_modules\\.bin;C:\\Program Files (x86)\\NetSarang\\Xftp 6\\;C:\\Program Files (x86)\\NetSarang\\Xshell 6\\;C:\\Program Files (x86)\\Common Files\\NetSarang;C:\\Program Files\\Java\\jdk1.8.0_101\\bin;C:\\Program Files\\Java\\jdk1.7.0_80\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\nodejs\\;C:\\Program Files\\Git\\cmd;D:\\work\\apache-maven-3.6.3\\bin;D:\\work\\apache-maven-3.6.3\\bin;D:\\work\\project\\bifang-tsg\\20210107-Apache Tika\\apache-zookeeper-3.6\\apache-zookeeper-3.6.2-bin\\bin;C:\\Python27;C:\\Users\\hyx\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC",
|
||||||
|
"PROCESSOR_ARCHITECTURE": "AMD64",
|
||||||
|
"PROCESSOR_IDENTIFIER": "AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD",
|
||||||
|
"PROCESSOR_LEVEL": "23",
|
||||||
|
"PROCESSOR_REVISION": "1801",
|
||||||
|
"ProgramData": "C:\\ProgramData",
|
||||||
|
"ProgramFiles": "C:\\Program Files",
|
||||||
|
"ProgramFiles(x86)": "C:\\Program Files (x86)",
|
||||||
|
"ProgramW6432": "C:\\Program Files",
|
||||||
|
"PROMPT": "$P$G",
|
||||||
|
"PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
|
||||||
|
"PUBLIC": "C:\\Users\\Public",
|
||||||
|
"SystemDrive": "C:",
|
||||||
|
"SystemRoot": "C:\\WINDOWS",
|
||||||
|
"TEMP": "C:\\Users\\hyx\\AppData\\Local\\Temp",
|
||||||
|
"TERMINAL_EMULATOR": "JetBrains-JediTerm",
|
||||||
|
"TMP": "C:\\Users\\hyx\\AppData\\Local\\Temp",
|
||||||
|
"USERDOMAIN": "LAPTOP-147PLTGT",
|
||||||
|
"USERDOMAIN_ROAMINGPROFILE": "LAPTOP-147PLTGT",
|
||||||
|
"USERNAME": "hyx",
|
||||||
|
"USERPROFILE": "C:\\Users\\hyx",
|
||||||
|
"VUE_CLI_ENTRY_FILES": "[\"D:\\\\work\\\\git\\\\cn-ui\\\\src\\\\main.js\"]",
|
||||||
|
"VUE_CLI_TRANSPILE_BABEL_RUNTIME": "true",
|
||||||
|
"WEBPACK_DEV_SERVER": "true",
|
||||||
|
"windir": "C:\\WINDOWS",
|
||||||
|
"ZOOKEEPER_HOME": "D:\\work\\project\\bifang-tsg\\20210107-Apache Tika\\apache-zookeeper-3.6\\apache-zookeeper-3.6.2-bin",
|
||||||
|
"_prog": "node",
|
||||||
|
"__COMPAT_LAYER": "RunAsAdmin",
|
||||||
|
"__INTELLIJ_COMMAND_HISTFILE__": "C:\\Users\\hyx\\.WebStorm2019.1\\config\\terminal\\history\\history-8"
|
||||||
|
},
|
||||||
|
"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\\apphelp.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\WS2_32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\RPCRT4.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\PSAPI.DLL",
|
||||||
|
"C:\\WINDOWS\\System32\\ADVAPI32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\msvcrt.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\sechost.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\USER32.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dbghelp.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\win32u.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\ucrtbase.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\GDI32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\gdi32full.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\msvcp_win.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\USERENV.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\CRYPT32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\bcrypt.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\WINMM.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\\bcryptprimitives.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\napinsp.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\pnrpnsp.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\wshbth.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\NLAapi.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\DNSAPI.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\NSI.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\winrnr.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc6.DLL",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc.DLL",
|
||||||
|
"\\\\?\\D:\\work\\git\\cn-ui\\node_modules\\node-sass\\vendor\\win32-x64-72\\binding.node"
|
||||||
|
]
|
||||||
|
}
|
||||||
482
report.20211026.132916.16796.0.001.json
Normal file
482
report.20211026.132916.16796.0.001.json
Normal file
@@ -0,0 +1,482 @@
|
|||||||
|
|
||||||
|
{
|
||||||
|
"header": {
|
||||||
|
"reportVersion": 1,
|
||||||
|
"event": "Allocation failed - JavaScript heap out of memory",
|
||||||
|
"trigger": "FatalError",
|
||||||
|
"filename": "report.20211026.132916.16796.0.001.json",
|
||||||
|
"dumpEventTime": "2021-10-26T13:29:16Z",
|
||||||
|
"dumpEventTimeStamp": "1635226156496",
|
||||||
|
"processId": 16796,
|
||||||
|
"cwd": "D:\\work\\git\\cn-ui",
|
||||||
|
"commandLine": [
|
||||||
|
"node",
|
||||||
|
"D:\\work\\git\\cn-ui\\node_modules\\.bin\\\\..\\@vue\\cli-service\\bin\\vue-cli-service.js",
|
||||||
|
"serve",
|
||||||
|
"--max_old_space_size=10240"
|
||||||
|
],
|
||||||
|
"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.19042",
|
||||||
|
"osVersion": "Windows 10 Home China",
|
||||||
|
"osMachine": "x86_64",
|
||||||
|
"cpus": [
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3823718,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 2090531,
|
||||||
|
"idle": 28533703,
|
||||||
|
"irq": 127484
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 4042390,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1260234,
|
||||||
|
"idle": 29145093,
|
||||||
|
"irq": 11750
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 5619109,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 2115093,
|
||||||
|
"idle": 26713515,
|
||||||
|
"irq": 12593
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3394875,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1178312,
|
||||||
|
"idle": 29874531,
|
||||||
|
"irq": 7093
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3517812,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1395718,
|
||||||
|
"idle": 29534187,
|
||||||
|
"irq": 10312
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3849500,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1196187,
|
||||||
|
"idle": 29402031,
|
||||||
|
"irq": 6609
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3939265,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1218750,
|
||||||
|
"idle": 29289703,
|
||||||
|
"irq": 10656
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ",
|
||||||
|
"speed": 2296,
|
||||||
|
"user": 3444000,
|
||||||
|
"nice": 0,
|
||||||
|
"sys": 1214796,
|
||||||
|
"idle": 29788921,
|
||||||
|
"irq": 49546
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"networkInterfaces": [
|
||||||
|
{
|
||||||
|
"name": "以太网 3",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "00:ff:4d:96:c8:e6",
|
||||||
|
"address": "fe80::e05a:ec05:1c7b:77c4",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "以太网 3",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "00:ff:4d:96:c8:e6",
|
||||||
|
"address": "10.211.0.138",
|
||||||
|
"netmask": "255.255.255.0",
|
||||||
|
"family": "IPv4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "2409:8a00:8561:8eef:ad62:7169:a308:f88b",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "2409:8a00:8561:8eef:51a6:977e:2a79:26ac",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "fe80::ad62:7169:a308:f88b",
|
||||||
|
"netmask": "ffff:ffff:ffff:ffff::",
|
||||||
|
"family": "IPv6",
|
||||||
|
"scopeid": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WLAN",
|
||||||
|
"internal": false,
|
||||||
|
"mac": "4c:eb:bd:1a:11:95",
|
||||||
|
"address": "192.168.1.7",
|
||||||
|
"netmask": "255.255.255.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": "LAPTOP-147PLTGT"
|
||||||
|
},
|
||||||
|
"javascriptStack": {
|
||||||
|
"message": "No stack.",
|
||||||
|
"stack": [
|
||||||
|
"Unavailable."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nativeStack": [
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a0519f9",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+10873"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a055e1c",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+28316"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a054dd8",
|
||||||
|
"symbol": "std::basic_ostream<char,std::char_traits<char> >::operator<<+24152"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a1534cb",
|
||||||
|
"symbol": "v8::base::CPU::has_sse+38363"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a969f4e",
|
||||||
|
"symbol": "v8::Isolate::ReportExternalAllocationLimitReached+94"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a952021",
|
||||||
|
"symbol": "v8::SharedArrayBuffer::Externalize+833"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81e57c",
|
||||||
|
"symbol": "v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a8297d0",
|
||||||
|
"symbol": "v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a8262f4",
|
||||||
|
"symbol": "v8::internal::Heap::PageFlagsAreConsistent+3204"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81bb13",
|
||||||
|
"symbol": "v8::internal::Heap::CollectGarbage+1283"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a81a184",
|
||||||
|
"symbol": "v8::internal::Heap::AddRetainedMap+2452"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a83b36d",
|
||||||
|
"symbol": "v8::internal::Factory::NewFillerObject+61"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67a5a0c51",
|
||||||
|
"symbol": "v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+1665"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67adb4ddd",
|
||||||
|
"symbol": "v8::internal::SetupIsolateDelegate::SetupHeap+546637"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x00007ff67ad84167",
|
||||||
|
"symbol": "v8::internal::SetupIsolateDelegate::SetupHeap+346839"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pc": "0x000000aa43b63c60",
|
||||||
|
"symbol": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javascriptHeap": {
|
||||||
|
"totalMemory": 2155003904,
|
||||||
|
"totalCommittedMemory": 2155003904,
|
||||||
|
"usedMemory": 2140244576,
|
||||||
|
"availableMemory": 52172784,
|
||||||
|
"memoryLimit": 2197815296,
|
||||||
|
"heapSpaces": {
|
||||||
|
"read_only_space": {
|
||||||
|
"memorySize": 262144,
|
||||||
|
"committedMemory": 262144,
|
||||||
|
"capacity": 32808,
|
||||||
|
"used": 32808,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"new_space": {
|
||||||
|
"memorySize": 7864320,
|
||||||
|
"committedMemory": 7864320,
|
||||||
|
"capacity": 3927960,
|
||||||
|
"used": 749416,
|
||||||
|
"available": 3178544
|
||||||
|
},
|
||||||
|
"old_space": {
|
||||||
|
"memorySize": 1127366656,
|
||||||
|
"committedMemory": 1127366656,
|
||||||
|
"capacity": 1124510112,
|
||||||
|
"used": 1122255224,
|
||||||
|
"available": 2254888
|
||||||
|
},
|
||||||
|
"code_space": {
|
||||||
|
"memorySize": 2265088,
|
||||||
|
"committedMemory": 2265088,
|
||||||
|
"capacity": 1965184,
|
||||||
|
"used": 1965184,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"map_space": {
|
||||||
|
"memorySize": 8130560,
|
||||||
|
"committedMemory": 8130560,
|
||||||
|
"capacity": 6619520,
|
||||||
|
"used": 6619520,
|
||||||
|
"available": 0
|
||||||
|
},
|
||||||
|
"large_object_space": {
|
||||||
|
"memorySize": 1008492544,
|
||||||
|
"committedMemory": 1008492544,
|
||||||
|
"capacity": 1008078136,
|
||||||
|
"used": 1008078136,
|
||||||
|
"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": 3927960,
|
||||||
|
"used": 0,
|
||||||
|
"available": 3927960
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resourceUsage": {
|
||||||
|
"userCpuSeconds": 371.343,
|
||||||
|
"kernelCpuSeconds": 64.109,
|
||||||
|
"cpuConsumptionPercent": 187.695,
|
||||||
|
"maxRss": 3282264064,
|
||||||
|
"pageFaults": {
|
||||||
|
"IORequired": 4031523,
|
||||||
|
"IONotRequired": 0
|
||||||
|
},
|
||||||
|
"fsActivity": {
|
||||||
|
"reads": 71046,
|
||||||
|
"writes": 12
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libuv": [
|
||||||
|
],
|
||||||
|
"environmentVariables": {
|
||||||
|
"=D:": "D:\\work\\git\\cn-ui",
|
||||||
|
"ALLUSERSPROFILE": "C:\\ProgramData",
|
||||||
|
"APPDATA": "C:\\Users\\hyx\\AppData\\Roaming",
|
||||||
|
"BABEL_ENV": "development",
|
||||||
|
"ChocolateyInstall": "C:\\ProgramData\\chocolatey",
|
||||||
|
"ChocolateyLastPathUpdate": "132299563139222404",
|
||||||
|
"CLASSPATH": ".;C:\\Program Files\\Java\\jdk1.8.0_101\\lib\\dt.jar;C:\\Program Files\\Java\\jdk1.8.0_101\\lib\\tools.jar;",
|
||||||
|
"COLOR": "1",
|
||||||
|
"CommonProgramFiles": "C:\\Program Files\\Common Files",
|
||||||
|
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
|
||||||
|
"CommonProgramW6432": "C:\\Program Files\\Common Files",
|
||||||
|
"COMPUTERNAME": "LAPTOP-147PLTGT",
|
||||||
|
"ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
|
||||||
|
"dp0": "D:\\work\\git\\cn-ui\\node_modules\\.bin\\",
|
||||||
|
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
|
||||||
|
"EDITOR": "notepad.exe",
|
||||||
|
"HOME": "C:\\Users\\hyx",
|
||||||
|
"HOMEDRIVE": "C:",
|
||||||
|
"HOMEPATH": "\\Users\\hyx",
|
||||||
|
"INIT_CWD": "D:\\work\\git\\cn-ui",
|
||||||
|
"JAVA_HOME": "C:\\Program Files\\Java\\jdk1.8.0_101",
|
||||||
|
"JAVA_HOME7": "C:\\Program Files\\Java\\jdk1.7.0_80",
|
||||||
|
"JAVA_HOME8": "C:\\Program Files\\Java\\jdk1.8.0_101",
|
||||||
|
"LOCALAPPDATA": "C:\\Users\\hyx\\AppData\\Local",
|
||||||
|
"LOGONSERVER": "\\\\LAPTOP-147PLTGT",
|
||||||
|
"M2_HOME": "D:\\work\\apache-maven-3.6.3",
|
||||||
|
"MAVEN_HOME": "D:\\work\\apache-maven-3.6.3",
|
||||||
|
"NODE": "C:\\Program Files\\nodejs\\node.exe",
|
||||||
|
"NODE_ENV": "DEV",
|
||||||
|
"NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe",
|
||||||
|
"NPM_CLI_JS": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"npm_command": "run-script",
|
||||||
|
"npm_config_cache": "C:\\Users\\hyx\\AppData\\Local\\npm-cache",
|
||||||
|
"npm_config_globalconfig": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\etc\\npmrc",
|
||||||
|
"npm_config_global_prefix": "C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"npm_config_init_module": "C:\\Users\\hyx\\.npm-init.js",
|
||||||
|
"npm_config_local_prefix": "D:\\work\\git\\cn-ui",
|
||||||
|
"npm_config_metrics_registry": "https://registry.npmjs.org/",
|
||||||
|
"npm_config_node_gyp": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
|
||||||
|
"npm_config_noproxy": "",
|
||||||
|
"npm_config_prefix": "C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"npm_config_userconfig": "C:\\Users\\hyx\\.npmrc",
|
||||||
|
"npm_config_user_agent": "npm/8.1.0 node/v12.16.1 win32 x64 workspaces/false",
|
||||||
|
"npm_execpath": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"npm_lifecycle_event": "serve",
|
||||||
|
"npm_lifecycle_script": "vue-cli-service serve --max_old_space_size=10240",
|
||||||
|
"npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe",
|
||||||
|
"npm_package_json": "D:\\work\\git\\cn-ui\\package.json",
|
||||||
|
"npm_package_name": "cn",
|
||||||
|
"npm_package_version": "0.1.0",
|
||||||
|
"NPM_PREFIX_NPM_CLI_JS": "C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
|
||||||
|
"NUMBER_OF_PROCESSORS": "8",
|
||||||
|
"OneDrive": "C:\\Users\\hyx\\OneDrive",
|
||||||
|
"OneDriveConsumer": "C:\\Users\\hyx\\OneDrive",
|
||||||
|
"OS": "Windows_NT",
|
||||||
|
"PATH": "D:\\work\\git\\cn-ui\\node_modules\\.bin;D:\\work\\git\\node_modules\\.bin;D:\\work\\node_modules\\.bin;D:\\node_modules\\.bin;C:\\Users\\hyx\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;D:\\work\\git\\cn-ui\\node_modules\\.bin;C:\\Program Files (x86)\\NetSarang\\Xftp 6\\;C:\\Program Files (x86)\\NetSarang\\Xshell 6\\;C:\\Program Files (x86)\\Common Files\\NetSarang;C:\\Program Files\\Java\\jdk1.8.0_101\\bin;C:\\Program Files\\Java\\jdk1.7.0_80\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\nodejs\\;C:\\Program Files\\Git\\cmd;D:\\work\\apache-maven-3.6.3\\bin;D:\\work\\apache-maven-3.6.3\\bin;D:\\work\\project\\bifang-tsg\\20210107-Apache Tika\\apache-zookeeper-3.6\\apache-zookeeper-3.6.2-bin\\bin;C:\\Python27;C:\\Users\\hyx\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\hyx\\AppData\\Roaming\\npm",
|
||||||
|
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC",
|
||||||
|
"PROCESSOR_ARCHITECTURE": "AMD64",
|
||||||
|
"PROCESSOR_IDENTIFIER": "AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD",
|
||||||
|
"PROCESSOR_LEVEL": "23",
|
||||||
|
"PROCESSOR_REVISION": "1801",
|
||||||
|
"ProgramData": "C:\\ProgramData",
|
||||||
|
"ProgramFiles": "C:\\Program Files",
|
||||||
|
"ProgramFiles(x86)": "C:\\Program Files (x86)",
|
||||||
|
"ProgramW6432": "C:\\Program Files",
|
||||||
|
"PROMPT": "$P$G",
|
||||||
|
"PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
|
||||||
|
"PUBLIC": "C:\\Users\\Public",
|
||||||
|
"SystemDrive": "C:",
|
||||||
|
"SystemRoot": "C:\\WINDOWS",
|
||||||
|
"TEMP": "C:\\Users\\hyx\\AppData\\Local\\Temp",
|
||||||
|
"TERMINAL_EMULATOR": "JetBrains-JediTerm",
|
||||||
|
"TMP": "C:\\Users\\hyx\\AppData\\Local\\Temp",
|
||||||
|
"USERDOMAIN": "LAPTOP-147PLTGT",
|
||||||
|
"USERDOMAIN_ROAMINGPROFILE": "LAPTOP-147PLTGT",
|
||||||
|
"USERNAME": "hyx",
|
||||||
|
"USERPROFILE": "C:\\Users\\hyx",
|
||||||
|
"VUE_CLI_ENTRY_FILES": "[\"D:\\\\work\\\\git\\\\cn-ui\\\\src\\\\main.js\"]",
|
||||||
|
"VUE_CLI_TRANSPILE_BABEL_RUNTIME": "true",
|
||||||
|
"WEBPACK_DEV_SERVER": "true",
|
||||||
|
"windir": "C:\\WINDOWS",
|
||||||
|
"ZOOKEEPER_HOME": "D:\\work\\project\\bifang-tsg\\20210107-Apache Tika\\apache-zookeeper-3.6\\apache-zookeeper-3.6.2-bin",
|
||||||
|
"_prog": "node",
|
||||||
|
"__COMPAT_LAYER": "RunAsAdmin",
|
||||||
|
"__INTELLIJ_COMMAND_HISTFILE__": "C:\\Users\\hyx\\.WebStorm2019.1\\config\\terminal\\history\\history-8"
|
||||||
|
},
|
||||||
|
"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\\apphelp.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\WS2_32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\RPCRT4.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\PSAPI.DLL",
|
||||||
|
"C:\\WINDOWS\\System32\\ADVAPI32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\msvcrt.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\sechost.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dbghelp.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\USER32.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\ucrtbase.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\\bcrypt.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\USERENV.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\WINMM.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\\bcryptprimitives.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\napinsp.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\pnrpnsp.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\wshbth.dll",
|
||||||
|
"C:\\WINDOWS\\system32\\NLAapi.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\DNSAPI.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\NSI.dll",
|
||||||
|
"C:\\WINDOWS\\System32\\winrnr.dll",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc6.DLL",
|
||||||
|
"C:\\WINDOWS\\SYSTEM32\\dhcpcsvc.DLL",
|
||||||
|
"\\\\?\\D:\\work\\git\\cn-ui\\node_modules\\node-sass\\vendor\\win32-x64-72\\binding.node"
|
||||||
|
]
|
||||||
|
}
|
||||||
820
src/components/table/setting/knowledgeBaseTableForCard2.vue
Normal file
820
src/components/table/setting/knowledgeBaseTableForCard2.vue
Normal file
@@ -0,0 +1,820 @@
|
|||||||
|
<template>
|
||||||
|
<template v-if="!isNoData">
|
||||||
|
<div class="card-type-title" style="margin-top:4px;" v-if="websketchList.length > 0">{{$t('knowledgeBase.websketchIntegration')}}</div>
|
||||||
|
<el-checkbox-group v-model="checkList" >
|
||||||
|
<div class="card-box" v-for="data in websketchList" :key="data.knowledgeId">
|
||||||
|
<div @click="isSelectedStatus && data.isBuiltIn !== 1 && clickCard(data,$event)" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)" class="card-item" :class="data.isSelected ? 'card-selected' : ''">
|
||||||
|
<div class="card-content">
|
||||||
|
<div class="card-icon">
|
||||||
|
<img :src="data.iconUrl"/>
|
||||||
|
</div>
|
||||||
|
<div class="card-title">
|
||||||
|
<div class="card-title-name" :title="$t(data.label)">{{$t(data.label)}}</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-desc" :title="data.desc ? $t(data.desc) : '—'">{{data.desc ? $t(data.desc) : '—'}}</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-operate__footer">
|
||||||
|
<button v-if="data.showUpdate && hasPermission('editBuiltInKnowledgeBase')" :title="$t('overall.update')" class="top-tool-btn--update"
|
||||||
|
@click="jumpToUpdatePage(data,false)">
|
||||||
|
<i class="cn-icon-update-knowledge-base cn-icon"></i>
|
||||||
|
<span>{{$t('overall.update')}}</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-checkbox-group>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<div class="table-no-data" v-else>
|
||||||
|
<div class="table-no-data__title">{{ $t('npm.noData') }}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="center-dialog">
|
||||||
|
<el-dialog v-model="showUpdateDialog"
|
||||||
|
:destroy-on-close="true"
|
||||||
|
:custom-class="showAddUpdateDialog ? 'update-knowledge update-knowledge--upload' : 'update-knowledge'"
|
||||||
|
:before-close="beforeClose"
|
||||||
|
:after-close="handleClose">
|
||||||
|
<div class="knowledge-update__top" >
|
||||||
|
<div class="update-left__icon">
|
||||||
|
<img width="60" height="60" :src="updateKnowledge.iconUrl"/>
|
||||||
|
</div>
|
||||||
|
<div class="update-right">
|
||||||
|
<div class="knowledge-enable">
|
||||||
|
<div class="update-title">
|
||||||
|
<div class="card-title-name" :title="$t(updateKnowledge.label)">{{$t(updateKnowledge.label)}}</div>
|
||||||
|
</div>
|
||||||
|
<el-switch v-model="updateKnowledge.status"
|
||||||
|
active-color="#38ACD2"
|
||||||
|
inactive-color="#C0CEDB"
|
||||||
|
:active-value="1"
|
||||||
|
:inactive-value="0"
|
||||||
|
:before-change="(knowledgeId) => confirmSwitchLearning(updateKnowledge.knowledgeId)"
|
||||||
|
v-if="updateKnowledge.source === 'cn_psiphon3_ip' && hasPermission('editBuiltInKnowledgeBase')"
|
||||||
|
>
|
||||||
|
</el-switch>
|
||||||
|
</div>
|
||||||
|
<div class="knowledge-desc" :title="updateKnowledge.desc ? $t(updateKnowledge.desc) : '-'">{{updateKnowledge.desc ? $t(updateKnowledge.desc) : '-'}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<template v-if="!showAddUpdateDialog">
|
||||||
|
<div class="knowledge-update__tab" v-if="showEnable">
|
||||||
|
<el-tabs v-model="activeTab"
|
||||||
|
class="update-log-tab"
|
||||||
|
@tab-click="handleClick"
|
||||||
|
>
|
||||||
|
<el-tab-pane :label="$t('knowledgeBase.updateRecord')"
|
||||||
|
name="updateRecord"
|
||||||
|
key="updateRecord"
|
||||||
|
ref="knowledgeUpdateRecordTab">
|
||||||
|
</el-tab-pane>
|
||||||
|
<el-tab-pane :label="$t('knowledgeBase.learningEngineLogs')"
|
||||||
|
name="intelligenceLearning"
|
||||||
|
key="intelligenceLearning"
|
||||||
|
ref="knowledgeIntelligenceLearningTab">
|
||||||
|
</el-tab-pane>
|
||||||
|
</el-tabs>
|
||||||
|
<div class="update-operate">
|
||||||
|
<button :title="$t('overall.update')" class="top-tool-btn--update"
|
||||||
|
@click="uploadRecord"><!--:disabled="hasUpdatingRecord"-->
|
||||||
|
<i class="cn-icon-update-knowledge-base cn-icon"></i>
|
||||||
|
<span>{{$t('overall.update')}}</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="knowledge-update" v-else>
|
||||||
|
<div class="update-title" >
|
||||||
|
<div class="card-title-name">{{$t('knowledgeBase.updateRecord')}}</div>
|
||||||
|
</div>
|
||||||
|
<div class="update-operate">
|
||||||
|
<button :title="$t('overall.update')" class="top-tool-btn--update"
|
||||||
|
@click="uploadRecord"><!-- :disabled="hasUpdatingRecord" -->
|
||||||
|
<i class="cn-icon-update-knowledge-base cn-icon"></i>
|
||||||
|
<span>{{$t('overall.update')}}</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div :style="{height: updateKnowledge.source === 'cn_psiphon3_ip' && activeTab === 'intelligenceLearning' ? 'calc(90vh - 190px - 200px - 50px - 42px)' : 'calc(100% - 242px)', marginTop: '42px', position: 'absolute', width: 'calc(100% - 60px)'}">
|
||||||
|
<loading :loading="updateLogLoading"></loading>
|
||||||
|
</div>
|
||||||
|
<el-table ref="updateDataTable"
|
||||||
|
border
|
||||||
|
:data="updateHistoryList"
|
||||||
|
@selection-change="secondSelectionChange"
|
||||||
|
width="100%"
|
||||||
|
class="update-dialog__table"
|
||||||
|
:class="{
|
||||||
|
'update-dialog__table--psiphon3': updateKnowledge.source === 'cn_psiphon3_ip' && activeTab === 'intelligenceLearning',
|
||||||
|
'update-dialog__table--system-user': updateKnowledge.source === 'cn_psiphon3_ip' && activeTab !== 'intelligenceLearning'
|
||||||
|
}"
|
||||||
|
:header-cell-style="{background:'#f5f7fa',color:'#353636',fontWeight: '400',fontSize: '12px',borderRight: 'none',borderBottom: 'none'}"
|
||||||
|
cell-style="padding:6px 0px;font-size: 12px;color: #353636;font-weight: 400;line-height: 20px;border-right:none;"
|
||||||
|
header-cell-style="padding:8px 0px;font-size: 12px;color: #353636;font-weight: 500;border-right:none;">
|
||||||
|
<el-table-column prop="opTime" :label="$t('entities.tab.informationAggregation.updateTime')" width="150" >
|
||||||
|
<template #default="scope" :column="item">
|
||||||
|
<span>{{scope.row.opTime ? dateFormatByAppearance(scope.row.opTime) : '-'}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="user" :label="$t('knowledgeBase.operator')" width="150" v-if="updateKnowledge.source !== 'cn_psiphon3_ip' || activeTab === 'updateRecord'">
|
||||||
|
<template #default="scope" :column="item">
|
||||||
|
<span>{{$_.get(scope.row, 'user.name', '-')}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="commitVersion" :label="$t('overall.version')" width="150" ></el-table-column>
|
||||||
|
<el-table-column prop="description" :label="$t('overall.remark')"></el-table-column>
|
||||||
|
<template v-slot:empty >
|
||||||
|
<div class="table-no-data" v-if="updateHistoryList.length === 0 && !updateLogLoading">
|
||||||
|
<div class="table-no-data__title">{{ $t('npm.noData') }}</div>
|
||||||
|
</div>
|
||||||
|
<div v-else></div>
|
||||||
|
</template>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
<div class="psiphon3" v-if="updateKnowledge.source === 'cn_psiphon3_ip' && activeTab === 'intelligenceLearning'">
|
||||||
|
<div class="psiphon3-title">{{$t('knowledgeBase.psiphon3IpCount')}}</div>
|
||||||
|
<div class="psiphon3-bar">
|
||||||
|
<chart-error v-if="showErrorForPsiphon3" :content="errorMsgForPsiphon3"/>
|
||||||
|
<div class="bar-header" v-else>
|
||||||
|
<div class="bar-header-left">
|
||||||
|
<div class="bar-value-active" ></div>
|
||||||
|
<div class="bar-value">
|
||||||
|
<template v-for="(item, index) in tabs" :key="index">
|
||||||
|
<div class="bar-value-tabs"
|
||||||
|
:class=" {'is-active': tabType === item.class, 'mousemove-cursor': mousemoveCursor === item.class}"
|
||||||
|
@mouseenter="mouseenterTab(item)"
|
||||||
|
@mouseleave="mouseleaveTab(item)"
|
||||||
|
@click="activeChange(item)"
|
||||||
|
>
|
||||||
|
<div class="bar-value-tabs-name">
|
||||||
|
<div :class="item.class"></div>
|
||||||
|
<div class="tabs-name" >{{ $t(item.name) }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="bar-select bar-header-right">
|
||||||
|
<div class="bar-select-time">
|
||||||
|
<div class="bar-select__operation">
|
||||||
|
<el-select
|
||||||
|
size="mini"
|
||||||
|
v-model="selectTime"
|
||||||
|
placeholder=" "
|
||||||
|
popper-class="common-select"
|
||||||
|
:popper-append-to-body="false"
|
||||||
|
@change="timeChange"
|
||||||
|
>
|
||||||
|
<template #prefix>
|
||||||
|
<div class="calendar-popover-text"><i class="cn-icon cn-icon-Data"></i></div>
|
||||||
|
</template>
|
||||||
|
<el-option v-for="item in dateRangeArr" :key="item.value" :label="item.name" :value="item.value"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="height: calc(100% - 24px); position: relative">
|
||||||
|
<chart-no-data v-if="isNoDataForPsiphon3 && !showErrorForPsiphon3 && !psiphon3Loading"></chart-no-data>
|
||||||
|
<loading :loading="psiphon3Loading"></loading>
|
||||||
|
<div class="chart-drawing" v-show="!isNoDataForPsiphon3 && !showErrorForPsiphon3" id="psiphonBarChart"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-if="showAddUpdateDialog">
|
||||||
|
<div class="update-knowledge-form">
|
||||||
|
<loading :loading="uploadLoading"></loading>
|
||||||
|
<el-form :model="updateObject" label-position="top" ref="form" :rules="rules">
|
||||||
|
<!--name-->
|
||||||
|
<el-form-item :label="$t('overall.name')" prop="name">
|
||||||
|
<el-input class="form-input" maxlength="64" placeholder="" disabled show-word-limit
|
||||||
|
size="mini" type="text" v-model="updateObject.label"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('knowledge.upload')" prop="file">
|
||||||
|
<el-upload :action="`${baseUrl}${apiVersion}/knowledgeBase/items/batch`"
|
||||||
|
:headers="uploadHeaders"
|
||||||
|
:multiple="false"
|
||||||
|
:file-list="fileList"
|
||||||
|
:data="uploadParams"
|
||||||
|
:on-change="fileChange"
|
||||||
|
:on-success="uploadSuccess"
|
||||||
|
:before-upload="beforeUpload"
|
||||||
|
:on-error="uploadError"
|
||||||
|
:class="uploadErrorTip ? 'el-upload--error' : ''"
|
||||||
|
:accept="fileTypeLimit"
|
||||||
|
:auto-upload="false"
|
||||||
|
ref="knowledgeUpload"
|
||||||
|
id="knowledgeUpload"
|
||||||
|
>
|
||||||
|
<el-button type="primary" class="uploadBtn"><i class="cn-icon cn-icon-a-1"></i></el-button>
|
||||||
|
</el-upload>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item :label="$t('knowledge.version')" prop="version">
|
||||||
|
<el-input class="form-input" maxlength="64" placeholder="" disabled show-word-limit
|
||||||
|
size="mini" type="text" v-model="currentVersion"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('overall.remark')" prop="description" class="knowledge-remark">
|
||||||
|
<el-input maxlength="255" show-word-limit :rows="4" size='mini' type="textarea" resize='none'
|
||||||
|
v-model="updateObject.description" id="role-box-input-remark"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
<div class="dialog-footer">
|
||||||
|
<el-button @click="cancle">{{ $t('overall.cancel') }}</el-button>
|
||||||
|
<el-button type="primary" @click="submitConfirm">{{ $t('tip.confirm') }}</el-button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
<el-dialog v-model="showConfirmDialog"
|
||||||
|
:title="$t('overall.tips')"
|
||||||
|
custom-class="update-knowledge-tip"
|
||||||
|
:width="480"
|
||||||
|
:before-close="handleConfirmClose">
|
||||||
|
<div class="dialog-message">{{$t('knowledge.updateTips')}}</div>
|
||||||
|
<template #footer>
|
||||||
|
<span class="dialog-footer">
|
||||||
|
<el-button @click="showConfirmDialog = false">{{ $t('overall.cancel') }}</el-button>
|
||||||
|
<el-button type="primary" @click="submit">{{ $t('tip.confirm') }}</el-button>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import table from '@/mixins/table'
|
||||||
|
import Loading from '@/components/common/Loading'
|
||||||
|
import { getSecond, getMillisecond, xAxisTimeFormatter, xAxisTimeRich } from '@/utils/date-util'
|
||||||
|
import { knowledgeCategoryValue, unitTypes, storageKey, builtInKnowledgeBaseBasicInfo, knowledgeCardUpdateRecordType } from '@/utils/constants'
|
||||||
|
import { ref, shallowRef } from 'vue'
|
||||||
|
import { api } from '@/utils/api'
|
||||||
|
import { detectionTooltipFormatter } from '@/views/charts/charts/tools'
|
||||||
|
import ChartNoData from '@/views/charts/charts/ChartNoData'
|
||||||
|
import axios from 'axios'
|
||||||
|
import _ from 'lodash'
|
||||||
|
import * as echarts from 'echarts'
|
||||||
|
import unitConvert from '@/utils/unit-convert'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'knowledgeBaseTableForCard',
|
||||||
|
mixins: [table],
|
||||||
|
props: {
|
||||||
|
isNoData: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
|
isSelectedStatus: {
|
||||||
|
type: Boolean
|
||||||
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
Loading,
|
||||||
|
ChartNoData
|
||||||
|
},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
tableTitle: [],
|
||||||
|
checkList: [],
|
||||||
|
websketchList: [],
|
||||||
|
showUpdateDialog: false,
|
||||||
|
showConfirmDialog: false,
|
||||||
|
showAddUpdateDialog: false,
|
||||||
|
updateKnowledge: {},
|
||||||
|
showEnable: false,
|
||||||
|
updateHistoryList: [],
|
||||||
|
updateObject: {},
|
||||||
|
currentVersion: 0,
|
||||||
|
uploadLoading: false,
|
||||||
|
psiphon3Loading: false,
|
||||||
|
updateLogLoading: false,
|
||||||
|
showConfirmSwitch: false,
|
||||||
|
// timer: null,
|
||||||
|
switchKnowledgeId: '',
|
||||||
|
activeTab: 'updateRecord',
|
||||||
|
isNoDataForPsiphon3: false,
|
||||||
|
showErrorForPsiphon3: false,
|
||||||
|
errorMsgForPsiphon3: '',
|
||||||
|
leftOffset: 0,
|
||||||
|
tabType: 'total',
|
||||||
|
mousemoveCursor: '',
|
||||||
|
selectTime: 1440,
|
||||||
|
// hasUpdatingRecord: false,
|
||||||
|
tabs: [
|
||||||
|
{
|
||||||
|
name: 'knowledgeBase.total',
|
||||||
|
class: 'total',
|
||||||
|
color: '#00A7AB',
|
||||||
|
data: []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'knowledgeBase.active',
|
||||||
|
class: 'active',
|
||||||
|
color: '#7FA054',
|
||||||
|
data: []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'knowledgeBase.new',
|
||||||
|
class: 'new',
|
||||||
|
color: '#98709B',
|
||||||
|
data: []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
dateRangeArr: [
|
||||||
|
{ value: 1440, name: this.$t('dateTime.last1Day') },
|
||||||
|
{ value: 2880, name: this.$t('dateTime.last2Days') },
|
||||||
|
{ value: 10080, name: this.$t('dateTime.last7Days') },
|
||||||
|
{ value: 21600, name: this.$t('dateTime.last15Days') },
|
||||||
|
{ value: 43200, name: this.$t('dateTime.last30Days') }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
setup () {
|
||||||
|
// 没上传过文件的提示
|
||||||
|
const uploadErrorTip = ref('')
|
||||||
|
return {
|
||||||
|
baseUrl: BASE_CONFIG.baseUrl,
|
||||||
|
apiVersion: BASE_CONFIG.apiVersion,
|
||||||
|
uploadHeaders: {
|
||||||
|
'Cn-Authorization': localStorage.getItem(storageKey.token)
|
||||||
|
},
|
||||||
|
uploadErrorTip,
|
||||||
|
fileTypeLimit: '.csv',
|
||||||
|
fileList: ref([]),
|
||||||
|
uploadFileSizeLimit: 1024 * 1024 * 1024,
|
||||||
|
myChart: shallowRef(null),
|
||||||
|
chartOption: shallowRef(null)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
echartsInit (echartsData) {
|
||||||
|
const _this = this
|
||||||
|
const curTab = this.tabs.find(item => item.class === _this.tabType)
|
||||||
|
this.chartOption = {
|
||||||
|
color: curTab.color,
|
||||||
|
legend: {
|
||||||
|
show: false
|
||||||
|
},
|
||||||
|
tooltip: {
|
||||||
|
show: true,
|
||||||
|
formatter: (params) => {
|
||||||
|
params.seriesName = this.$t(params.seriesName)
|
||||||
|
params.borderColor = params.color
|
||||||
|
return detectionTooltipFormatter(params)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
grid: {
|
||||||
|
top: '12%',
|
||||||
|
left: '2%',
|
||||||
|
right: '2%',
|
||||||
|
bottom: 24,
|
||||||
|
containLabel: true
|
||||||
|
},
|
||||||
|
xAxis: {
|
||||||
|
type: 'time',
|
||||||
|
axisLine: {
|
||||||
|
show: false
|
||||||
|
},
|
||||||
|
axisTick: {
|
||||||
|
show: false
|
||||||
|
},
|
||||||
|
axisLabel: {
|
||||||
|
formatter: xAxisTimeFormatter,
|
||||||
|
rich: xAxisTimeRich
|
||||||
|
}
|
||||||
|
},
|
||||||
|
yAxis: {
|
||||||
|
type: 'value',
|
||||||
|
splitLine: {
|
||||||
|
show: true,
|
||||||
|
lineStyle: {
|
||||||
|
color: '#ECECEC'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
axisLabel: {
|
||||||
|
margin: 20
|
||||||
|
},
|
||||||
|
minInterval: 1
|
||||||
|
},
|
||||||
|
series: [
|
||||||
|
{
|
||||||
|
name: curTab.name,
|
||||||
|
data: echartsData,
|
||||||
|
type: 'bar',
|
||||||
|
barWidth: 26
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (!this.myChart) {
|
||||||
|
this.myChart = echarts.init(document.getElementById('psiphonBarChart'))
|
||||||
|
}
|
||||||
|
this.myChart.setOption(this.chartOption)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
init () {
|
||||||
|
this.psiphon3Loading = true
|
||||||
|
const endTime = window.$dayJs.tz().valueOf()
|
||||||
|
const params = {
|
||||||
|
startTime: getSecond(endTime - this.selectTime * 60 * 1000),
|
||||||
|
endTime: getSecond(endTime)
|
||||||
|
}
|
||||||
|
const url = api.knowledgeBaseTimedistribution.replace('{{knowledgeId}}', this.updateKnowledge.knowledgeId).replace('{{type}}', this.tabType)
|
||||||
|
axios.get(url, { params: params }).then(response => {
|
||||||
|
const res = response.data
|
||||||
|
|
||||||
|
if (response.status === 200) {
|
||||||
|
this.isNoDataForPsiphon3 = res.data.result.length === 0
|
||||||
|
this.showErrorForPsiphon3 = false
|
||||||
|
if (!this.isNoDataForPsiphon3) {
|
||||||
|
const chartsData = res.data.result.map(item => {
|
||||||
|
return [getMillisecond(item.statTime), item.count]
|
||||||
|
})
|
||||||
|
if (this.activeTab === knowledgeCardUpdateRecordType.intelligenceLearning) {
|
||||||
|
this.echartsInit(chartsData)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.httpError(res)
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
console.error(e)
|
||||||
|
this.httpError(e)
|
||||||
|
}).finally(() => {
|
||||||
|
this.psiphon3Loading = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
httpError (e) {
|
||||||
|
this.isNoDataForPsiphon3 = false
|
||||||
|
this.showErrorForPsiphon3 = true
|
||||||
|
this.errorMsgForPsiphon3 = this.errorMsgHandler(e)
|
||||||
|
},
|
||||||
|
handleActiveBar () {
|
||||||
|
if (document.querySelector('.psiphon3-bar .bar-value-tabs.is-active')) {
|
||||||
|
const {
|
||||||
|
offsetLeft,
|
||||||
|
clientWidth,
|
||||||
|
clientLeft
|
||||||
|
} = document.querySelector('.psiphon3-bar .bar-value-tabs.is-active')
|
||||||
|
const activeBar = document.querySelector('.psiphon3-bar .bar-value-active')
|
||||||
|
activeBar.style.cssText += `width: ${clientWidth}px; left: ${offsetLeft + this.leftOffset + clientLeft}px;`
|
||||||
|
}
|
||||||
|
},
|
||||||
|
resize () {
|
||||||
|
if (this.myChart) {
|
||||||
|
this.myChart.resize()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
dispatchSelectAction (type, name) {
|
||||||
|
this.myChart && this.myChart.dispatchAction({
|
||||||
|
type: type,
|
||||||
|
name: name
|
||||||
|
})
|
||||||
|
},
|
||||||
|
legendSelectChange (item) {
|
||||||
|
this.dispatchSelectAction('legendSelect', item.name)
|
||||||
|
this.tabs.forEach((t) => {
|
||||||
|
if (t.name !== item.name) {
|
||||||
|
this.dispatchSelectAction('legendUnSelect', t.name)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
timeChange () {
|
||||||
|
if (this.updateKnowledge.source === 'cn_psiphon3_ip') {
|
||||||
|
this.init()
|
||||||
|
}
|
||||||
|
if (this.activeTab === knowledgeCardUpdateRecordType.intelligenceLearning) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.handleActiveBar()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
activeChange (item) { // isClick:代表是通过点击操作来的
|
||||||
|
if (item) {
|
||||||
|
this.tabType = item.class
|
||||||
|
}
|
||||||
|
this.legendSelectChange(item)
|
||||||
|
if (this.updateKnowledge.source === 'cn_psiphon3_ip') {
|
||||||
|
this.init()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mouseenterTab (item) {
|
||||||
|
if (this.isNoDataForPsiphon3) return
|
||||||
|
this.mousemoveCursor = item.class
|
||||||
|
if (this.activeTab === knowledgeCardUpdateRecordType.intelligenceLearning) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.handleActiveBar()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mouseleaveTab () {
|
||||||
|
this.mousemoveCursor = ''
|
||||||
|
},
|
||||||
|
fileChange (file, fileList) {
|
||||||
|
// 判断后缀,仅支持.csv
|
||||||
|
if (!_.endsWith(file.name, '.csv')) {
|
||||||
|
this.fileList = []
|
||||||
|
this.$message.error(this.$t('validate.fileTypeLimit', { types: this.fileTypeLimit }))
|
||||||
|
} else if (file.size > this.uploadFileSizeLimit) { // 判断文件大小
|
||||||
|
this.$message.error(this.$t('validate.fileSizeLimit', { size: unitConvert(this.uploadFileSizeLimit, unitTypes.byte).join('') }))
|
||||||
|
this.fileList = []
|
||||||
|
} else {
|
||||||
|
this.fileList = fileList.slice(-1)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
uploadError (error) {
|
||||||
|
let errorMsg
|
||||||
|
if (error.message) {
|
||||||
|
errorMsg = JSON.parse(error.message).message
|
||||||
|
} else {
|
||||||
|
errorMsg = 'error'
|
||||||
|
}
|
||||||
|
this.uploadLoading = false
|
||||||
|
this.$message.error(this.$t('tip.uploadFailed', { msg: errorMsg }))
|
||||||
|
},
|
||||||
|
uploadSuccess (response) {
|
||||||
|
this.uploadLoading = false
|
||||||
|
this.uploaded = true
|
||||||
|
this.$message.success(this.$t('tip.success'))
|
||||||
|
this.showAddUpdateDialog = false
|
||||||
|
this.getCurTabData()
|
||||||
|
},
|
||||||
|
beforeUpload (file) {
|
||||||
|
this.uploadLoading = true
|
||||||
|
this.showConfirmDialog = false
|
||||||
|
},
|
||||||
|
submitConfirm () {
|
||||||
|
this.showConfirmDialog = true
|
||||||
|
},
|
||||||
|
submit () {
|
||||||
|
this.$refs.knowledgeUpload.submit()
|
||||||
|
},
|
||||||
|
cancle () {
|
||||||
|
this.showAddUpdateDialog = false
|
||||||
|
},
|
||||||
|
clickCard (data, event) {
|
||||||
|
if (data.isSelected) { // 原来为选中,当前点击后未选中
|
||||||
|
const index = this.checkList.indexOf(data)
|
||||||
|
if (index > -1) {
|
||||||
|
this.checkList.splice(index, 1)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
const index = this.checkList.indexOf(data)
|
||||||
|
if (index === -1) {
|
||||||
|
this.checkList.push(data)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const val = !data.isSelected
|
||||||
|
data.isSelected = val
|
||||||
|
this.$emit('checkboxStatusChange', val, data)
|
||||||
|
},
|
||||||
|
checkboxStatusChange (val, data) {
|
||||||
|
data.isSelected = val
|
||||||
|
this.$emit('checkboxStatusChange', val, data)
|
||||||
|
},
|
||||||
|
beforeClose (done) {
|
||||||
|
if (this.myChart) {
|
||||||
|
this.myChart.dispose()
|
||||||
|
this.myChart = null
|
||||||
|
}
|
||||||
|
done()
|
||||||
|
},
|
||||||
|
handleClose () {
|
||||||
|
this.showUpdateDialog = false
|
||||||
|
this.showAddUpdateDialog = false
|
||||||
|
this.uploadLoading = false
|
||||||
|
},
|
||||||
|
handleConfirmClose () {
|
||||||
|
this.showConfirmDialog = false
|
||||||
|
},
|
||||||
|
handleUpdateClose () {
|
||||||
|
this.showAddUpdateDialog = false
|
||||||
|
},
|
||||||
|
showUpdate () {
|
||||||
|
this.showUpdateDialog = true
|
||||||
|
this.showAddUpdateDialog = false
|
||||||
|
},
|
||||||
|
async jumpToUpdatePage (data, showEnable) {
|
||||||
|
this.updateKnowledge = data
|
||||||
|
this.showEnable = showEnable
|
||||||
|
await this.getCurTabData()
|
||||||
|
if (data.source === 'cn_psiphon3_ip') {
|
||||||
|
await this.init()
|
||||||
|
}
|
||||||
|
this.showUpdate()
|
||||||
|
if (this.activeTab === knowledgeCardUpdateRecordType.intelligenceLearning) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.handleActiveBar()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
uploadRecord () {
|
||||||
|
this.showAddUpdateDialog = true
|
||||||
|
this.updateObject.name = this.updateKnowledge.name
|
||||||
|
this.updateObject.label = this.updateKnowledge.label
|
||||||
|
this.updateObject.description = ''
|
||||||
|
},
|
||||||
|
getCurTabData () { // showEnable:true 为psiphon3的知识库,false为其它知识库
|
||||||
|
let params = {
|
||||||
|
pageSize: -1
|
||||||
|
}
|
||||||
|
if (this.showEnable) {
|
||||||
|
if (this.activeTab === knowledgeCardUpdateRecordType.updateRecord) {
|
||||||
|
params = {
|
||||||
|
...params,
|
||||||
|
opUser: -1
|
||||||
|
}
|
||||||
|
} else if (this.activeTab === knowledgeCardUpdateRecordType.intelligenceLearning) {
|
||||||
|
params = {
|
||||||
|
...params,
|
||||||
|
opUser: 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.updateLogLoading = true
|
||||||
|
this.updateHistoryList = []
|
||||||
|
axios.get(api.knowledgeBaseLog + '/' + this.updateKnowledge.knowledgeId, { params: params }).then(res => {
|
||||||
|
this.updateHistoryList = res.data.data.list
|
||||||
|
if (this.updateHistoryList[0]) {
|
||||||
|
this.currentVersion = this.updateHistoryList[0].commitVersion + 1
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
this.hasUpdatingRecord = false
|
||||||
|
this.updateHistoryList.forEach(item => {
|
||||||
|
if (item.isUpdating) { // if(item.isUpdating){//????????
|
||||||
|
this.hasUpdatingRecord = true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
*/
|
||||||
|
}).catch(e => {
|
||||||
|
console.error(e)
|
||||||
|
}).finally(() => {
|
||||||
|
this.updateLogLoading = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 切换tab
|
||||||
|
handleClick (tab) {
|
||||||
|
this.getCurTabData()
|
||||||
|
if (tab.index === '1') {
|
||||||
|
this.timeChange()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
clearSelect () {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.checkList = []
|
||||||
|
if (this.tableData && this.tableData.length > 0) {
|
||||||
|
this.tableData.forEach(data => {
|
||||||
|
data.isSelected = false
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
mouseenter (card) {
|
||||||
|
card.showUpdate = true
|
||||||
|
},
|
||||||
|
mouseleave (card) {
|
||||||
|
card.showUpdate = false
|
||||||
|
},
|
||||||
|
del (data) {
|
||||||
|
this.$emit('delete', data)
|
||||||
|
},
|
||||||
|
edit (id) {
|
||||||
|
const pageNo = this.$router.currentRoute.value.query.pageNo
|
||||||
|
const dataType = this.$router.currentRoute.value.query.dataType
|
||||||
|
this.$router.push({
|
||||||
|
path: '/knowledgeBase/edit',
|
||||||
|
query: {
|
||||||
|
t: +new Date(),
|
||||||
|
pageNoForTable: pageNo || 1,
|
||||||
|
id: id,
|
||||||
|
dataType: dataType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
confirmSwitchLearning (id) {
|
||||||
|
this.showConfirmSwitch = true
|
||||||
|
this.switchKnowledgeId = id
|
||||||
|
return false
|
||||||
|
},
|
||||||
|
cancleSwitch () {
|
||||||
|
this.showConfirmSwitch = false
|
||||||
|
},
|
||||||
|
switchLearning () {
|
||||||
|
const hint = this.aiTaggingList.find(d => d.knowledgeId === this.switchKnowledgeId)
|
||||||
|
const toStatus = hint.status === 0 ? 1 : 0
|
||||||
|
const url = toStatus === 0 ? api.knowledgeBaseLearningStop : api.knowledgeBaseLearningStart
|
||||||
|
axios.post(`${url}?knowledgeId=${hint.knowledgeId}`).then(res => {
|
||||||
|
if (res.status === 200) {
|
||||||
|
hint.status = toStatus
|
||||||
|
this.$message.success(this.$t('tip.success'))
|
||||||
|
} else {
|
||||||
|
console.error(res.message)
|
||||||
|
this.$message.error(this.errorMsgHandler(res))
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
console.error(e)
|
||||||
|
this.$message.error(this.errorMsgHandler(e))
|
||||||
|
}).finally(() => {
|
||||||
|
this.showConfirmSwitch = false
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
tabType (n) {
|
||||||
|
this.timeChange()
|
||||||
|
},
|
||||||
|
/*
|
||||||
|
hasUpdatingRecord (n) {
|
||||||
|
if (n) { // update record页存在“正在更新”的记录时,每20秒自动请求一次接口
|
||||||
|
this.timer = setTimeout(() => {
|
||||||
|
this.getCurTabData()
|
||||||
|
}, 20000)
|
||||||
|
} else { // 直到出现新的记录,出现新记录后(失败或者成功),取消定时请求接口,右上角"update"按钮恢复可用。"正在更新"和"失败”都会有对应的强调样式。
|
||||||
|
clearTimeout(this.timer)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
*/
|
||||||
|
tableData: {
|
||||||
|
handler (n) {
|
||||||
|
if (this.tableData && this.tableData.length > 0) {
|
||||||
|
this.websketchList = []
|
||||||
|
this.tableData.forEach(item => {
|
||||||
|
item.showUpdate = false
|
||||||
|
const basicInfo = builtInKnowledgeBaseBasicInfo.find(bi => bi.knowledgeId === item.knowledgeId)
|
||||||
|
if (basicInfo) {
|
||||||
|
item = {
|
||||||
|
...item,
|
||||||
|
...basicInfo
|
||||||
|
}
|
||||||
|
if (item.category === knowledgeCategoryValue.webSketch) {
|
||||||
|
this.websketchList.push(item)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
activeTab (n) {
|
||||||
|
if (n === 'updateRecord') {
|
||||||
|
if (this.myChart) {
|
||||||
|
this.myChart.dispose()
|
||||||
|
this.myChart = null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
showAddUpdateDialog: {
|
||||||
|
handler (n) {
|
||||||
|
if (!n) {
|
||||||
|
this.fileList = []
|
||||||
|
this.timeChange()
|
||||||
|
} else {
|
||||||
|
if (this.myChart) {
|
||||||
|
this.myChart.dispose()
|
||||||
|
this.myChart = null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.myChart = null
|
||||||
|
this.chartOption = null
|
||||||
|
window.addEventListener('resize', this.resize)
|
||||||
|
|
||||||
|
this.websketchList = []
|
||||||
|
this.tableData.forEach(item => {
|
||||||
|
item.showUpdate = false
|
||||||
|
if (item.category === knowledgeCategoryValue.webSketch) {
|
||||||
|
this.websketchList.push(item)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
beforeUnmount () {
|
||||||
|
// clearTimeout(this.timer)
|
||||||
|
window.removeEventListener('resize', this.resize)
|
||||||
|
const dom = document.getElementById('psiphonBarChart')
|
||||||
|
if (dom) {
|
||||||
|
let myChart = echarts.getInstanceByDom(document.getElementById('psiphonBarChart'))
|
||||||
|
if (myChart) {
|
||||||
|
echarts.dispose(myChart)
|
||||||
|
}
|
||||||
|
myChart = null
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.myChart) {
|
||||||
|
echarts.dispose(this.myChart)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
uploadParams () {
|
||||||
|
return {
|
||||||
|
knowledgeId: this.updateKnowledge.knowledgeId,
|
||||||
|
action: 'overwrite',
|
||||||
|
description: this.updateObject.description
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user