diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png new file mode 100644 index 0000000..2c6d173 --- /dev/null +++ b/public/image/pipeline/underground-error.png Binary files differ diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png new file mode 100644 index 0000000..2c6d173 --- /dev/null +++ b/public/image/pipeline/underground-error.png Binary files differ diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png new file mode 100644 index 0000000..e4cbca0 --- /dev/null +++ b/public/image/pipeline/underground-offline.png Binary files differ diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png new file mode 100644 index 0000000..2c6d173 --- /dev/null +++ b/public/image/pipeline/underground-error.png Binary files differ diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png new file mode 100644 index 0000000..e4cbca0 --- /dev/null +++ b/public/image/pipeline/underground-offline.png Binary files differ diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png new file mode 100644 index 0000000..f0e50e5 --- /dev/null +++ b/public/image/pipeline/warning-error.png Binary files differ diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png new file mode 100644 index 0000000..2c6d173 --- /dev/null +++ b/public/image/pipeline/underground-error.png Binary files differ diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png new file mode 100644 index 0000000..e4cbca0 --- /dev/null +++ b/public/image/pipeline/underground-offline.png Binary files differ diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png new file mode 100644 index 0000000..f0e50e5 --- /dev/null +++ b/public/image/pipeline/warning-error.png Binary files differ diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png new file mode 100644 index 0000000..119ccdf --- /dev/null +++ b/public/image/pipeline/warning-offline.png Binary files differ diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png new file mode 100644 index 0000000..2c6d173 --- /dev/null +++ b/public/image/pipeline/underground-error.png Binary files differ diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png new file mode 100644 index 0000000..e4cbca0 --- /dev/null +++ b/public/image/pipeline/underground-offline.png Binary files differ diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png new file mode 100644 index 0000000..f0e50e5 --- /dev/null +++ b/public/image/pipeline/warning-error.png Binary files differ diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png new file mode 100644 index 0000000..119ccdf --- /dev/null +++ b/public/image/pipeline/warning-offline.png Binary files differ diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" deleted file mode 100644 index 2c6d173..0000000 --- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" +++ /dev/null Binary files differ diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png new file mode 100644 index 0000000..2c6d173 --- /dev/null +++ b/public/image/pipeline/underground-error.png Binary files differ diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png new file mode 100644 index 0000000..e4cbca0 --- /dev/null +++ b/public/image/pipeline/underground-offline.png Binary files differ diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png new file mode 100644 index 0000000..f0e50e5 --- /dev/null +++ b/public/image/pipeline/warning-error.png Binary files differ diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png new file mode 100644 index 0000000..119ccdf --- /dev/null +++ b/public/image/pipeline/warning-offline.png Binary files differ diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" deleted file mode 100644 index 2c6d173..0000000 --- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" +++ /dev/null Binary files differ diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" deleted file mode 100644 index e4cbca0..0000000 --- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" +++ /dev/null Binary files differ diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png new file mode 100644 index 0000000..2c6d173 --- /dev/null +++ b/public/image/pipeline/underground-error.png Binary files differ diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png new file mode 100644 index 0000000..e4cbca0 --- /dev/null +++ b/public/image/pipeline/underground-offline.png Binary files differ diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png new file mode 100644 index 0000000..f0e50e5 --- /dev/null +++ b/public/image/pipeline/warning-error.png Binary files differ diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png new file mode 100644 index 0000000..119ccdf --- /dev/null +++ b/public/image/pipeline/warning-offline.png Binary files differ diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" deleted file mode 100644 index 2c6d173..0000000 --- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" +++ /dev/null Binary files differ diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" deleted file mode 100644 index e4cbca0..0000000 --- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" +++ /dev/null Binary files differ diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" deleted file mode 100644 index f0e50e5..0000000 --- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" +++ /dev/null Binary files differ diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明diff --git a/npminstall-debug.log b/npminstall-debug.log index e7af880..d4a5fc1 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,5 +1,5 @@ { - root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', registry: 'https://registry.npmmirror.com', pkgs: [ { @@ -50,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', - INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front' + npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', + INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front' }, binaryMirrors: { ENVS: { @@ -187,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front', + workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, @@ -202,4 +202,4 @@ registryOnly: false, client: false, autoFixVersion: [Function: autoFixVersion] -} \ No newline at end of file +} diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png new file mode 100644 index 0000000..2c6d173 --- /dev/null +++ b/public/image/pipeline/underground-error.png Binary files differ diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png new file mode 100644 index 0000000..e4cbca0 --- /dev/null +++ b/public/image/pipeline/underground-offline.png Binary files differ diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png new file mode 100644 index 0000000..f0e50e5 --- /dev/null +++ b/public/image/pipeline/warning-error.png Binary files differ diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png new file mode 100644 index 0000000..119ccdf --- /dev/null +++ b/public/image/pipeline/warning-offline.png Binary files differ diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" deleted file mode 100644 index 2c6d173..0000000 --- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" +++ /dev/null Binary files differ diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" deleted file mode 100644 index e4cbca0..0000000 --- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" +++ /dev/null Binary files differ diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" deleted file mode 100644 index f0e50e5..0000000 --- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" +++ /dev/null Binary files differ diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" deleted file mode 100644 index 119ccdf..0000000 --- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" +++ /dev/null Binary files differ diff --git a/.env.development b/.env.development index 7f0a603..de10054 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 diff --git a/.env.production b/.env.production index 0e70e6f..10cfdb7 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ NODE_ENV = production # 页面标题 -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://111.198.10.15:11638 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.test b/.env.test index 9de8a82..5af920c 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,6 @@ NODE_ENV = production -VITE_APP_TITLE = 燃气物联感知平台 +VITE_APP_TITLE = 感知数据汇聚平台 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VITE_APP_API_BASEURL = http://127.0.0.1:8082 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/README.md b/README.md index cf70166..708dbef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -
燃气物联感知平台
+感知数据汇聚平台
## 简要说明
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
index a995bda..babed85 100644
--- a/src/assets/fullscren/banner.png
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
index a995bda..babed85 100644
--- a/src/assets/fullscren/banner.png
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/banner1.png b/src/assets/fullscren/banner1.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner1.png
Binary files differ
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
index a995bda..babed85 100644
--- a/src/assets/fullscren/banner.png
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/banner1.png b/src/assets/fullscren/banner1.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner1.png
Binary files differ
diff --git a/src/assets/images/menu.png b/src/assets/images/menu.png
new file mode 100644
index 0000000..1c03d8a
--- /dev/null
+++ b/src/assets/images/menu.png
Binary files differ
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
index a995bda..babed85 100644
--- a/src/assets/fullscren/banner.png
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/banner1.png b/src/assets/fullscren/banner1.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner1.png
Binary files differ
diff --git a/src/assets/images/menu.png b/src/assets/images/menu.png
new file mode 100644
index 0000000..1c03d8a
--- /dev/null
+++ b/src/assets/images/menu.png
Binary files differ
diff --git a/src/assets/mobile/user.png b/src/assets/mobile/user.png
new file mode 100644
index 0000000..92edf2d
--- /dev/null
+++ b/src/assets/mobile/user.png
Binary files differ
diff --git a/.env.development b/.env.development
index 7f0a603..de10054 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
diff --git a/.env.production b/.env.production
index 0e70e6f..10cfdb7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,7 +1,7 @@
NODE_ENV = production
# 页面标题
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://111.198.10.15:11638
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/.env.test b/.env.test
index 9de8a82..5af920c 100644
--- a/.env.test
+++ b/.env.test
@@ -1,6 +1,6 @@
NODE_ENV = production
-VITE_APP_TITLE = 燃气物联感知平台
+VITE_APP_TITLE = 感知数据汇聚平台
# 接口请求地址,会设置到 axios 的 baseURL 参数上
VITE_APP_API_BASEURL = http://127.0.0.1:8082
# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
diff --git a/README.md b/README.md
index cf70166..708dbef 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- 燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
index a995bda..babed85 100644
--- a/src/assets/fullscren/banner.png
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/banner1.png b/src/assets/fullscren/banner1.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner1.png
Binary files differ
diff --git a/src/assets/images/menu.png b/src/assets/images/menu.png
new file mode 100644
index 0000000..1c03d8a
--- /dev/null
+++ b/src/assets/images/menu.png
Binary files differ
diff --git a/src/assets/mobile/user.png b/src/assets/mobile/user.png
new file mode 100644
index 0000000..92edf2d
--- /dev/null
+++ b/src/assets/mobile/user.png
Binary files differ
diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue
index 948bd8b..a7824b6 100644
--- a/src/components/DeptSelect/index.vue
+++ b/src/components/DeptSelect/index.vue
@@ -5,6 +5,8 @@
import useDictStore from '@/store/modules/dict'
import { getDeptTreeList } from '@/api/system/dept'
import { judgeTree, toTreeList } from '@/utils/structure'
+import indexDB from '@/utils/indexDB'
+import { indexDBHandler } from '@/utils/sessionData'
const props = defineProps({
// 数据绑定
modelValue: {
@@ -66,15 +68,29 @@
const showDeptSelect = ref(true)
const dictStore = useDictStore()
function fetchPcode() {
- // 如果未指定需要展示的部门类型,获取全部部门
- if (!props.deptType) {
- // if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取
+ const fetch = () => {
getDeptTreeList().then((res) => {
const list = res.data.filter((item: any) => item.id !== '0')
+ indexDBHandler('all-dept-list', JSON.stringify(res.data))
dictStore.setAllDeptList(list)
refreshList(list)
console.log(list, 'list')
})
+ }
+ // 如果未指定需要展示的部门类型,获取全部部门
+ if (!props.deptType) {
+ // if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取
+ indexDB.getAll().then(allData => {
+ if (allData.filter((item: any) => item.name === 'all-dept-list').length) {
+ const list = JSON.parse(allData.filter((item: any) => item.name === 'all-dept-list')[0].data).filter((item: any) => item.id !== '0')
+ refreshList(list)
+ }
+ else {
+ fetch()
+ }
+ }).catch(() => {
+ fetch()
+ })
// }
// else {
// refreshList(dictStore.allDeptList)
@@ -159,16 +175,12 @@
燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
index a995bda..babed85 100644
--- a/src/assets/fullscren/banner.png
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/banner1.png b/src/assets/fullscren/banner1.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner1.png
Binary files differ
diff --git a/src/assets/images/menu.png b/src/assets/images/menu.png
new file mode 100644
index 0000000..1c03d8a
--- /dev/null
+++ b/src/assets/images/menu.png
Binary files differ
diff --git a/src/assets/mobile/user.png b/src/assets/mobile/user.png
new file mode 100644
index 0000000..92edf2d
--- /dev/null
+++ b/src/assets/mobile/user.png
Binary files differ
diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue
index 948bd8b..a7824b6 100644
--- a/src/components/DeptSelect/index.vue
+++ b/src/components/DeptSelect/index.vue
@@ -5,6 +5,8 @@
import useDictStore from '@/store/modules/dict'
import { getDeptTreeList } from '@/api/system/dept'
import { judgeTree, toTreeList } from '@/utils/structure'
+import indexDB from '@/utils/indexDB'
+import { indexDBHandler } from '@/utils/sessionData'
const props = defineProps({
// 数据绑定
modelValue: {
@@ -66,15 +68,29 @@
const showDeptSelect = ref(true)
const dictStore = useDictStore()
function fetchPcode() {
- // 如果未指定需要展示的部门类型,获取全部部门
- if (!props.deptType) {
- // if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取
+ const fetch = () => {
getDeptTreeList().then((res) => {
const list = res.data.filter((item: any) => item.id !== '0')
+ indexDBHandler('all-dept-list', JSON.stringify(res.data))
dictStore.setAllDeptList(list)
refreshList(list)
console.log(list, 'list')
})
+ }
+ // 如果未指定需要展示的部门类型,获取全部部门
+ if (!props.deptType) {
+ // if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取
+ indexDB.getAll().then(allData => {
+ if (allData.filter((item: any) => item.name === 'all-dept-list').length) {
+ const list = JSON.parse(allData.filter((item: any) => item.name === 'all-dept-list')[0].data).filter((item: any) => item.id !== '0')
+ refreshList(list)
+ }
+ else {
+ fetch()
+ }
+ }).catch(() => {
+ fetch()
+ })
// }
// else {
// refreshList(dictStore.allDeptList)
@@ -159,16 +175,12 @@
燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
index a995bda..babed85 100644
--- a/src/assets/fullscren/banner.png
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/banner1.png b/src/assets/fullscren/banner1.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner1.png
Binary files differ
diff --git a/src/assets/images/menu.png b/src/assets/images/menu.png
new file mode 100644
index 0000000..1c03d8a
--- /dev/null
+++ b/src/assets/images/menu.png
Binary files differ
diff --git a/src/assets/mobile/user.png b/src/assets/mobile/user.png
new file mode 100644
index 0000000..92edf2d
--- /dev/null
+++ b/src/assets/mobile/user.png
Binary files differ
diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue
index 948bd8b..a7824b6 100644
--- a/src/components/DeptSelect/index.vue
+++ b/src/components/DeptSelect/index.vue
@@ -5,6 +5,8 @@
import useDictStore from '@/store/modules/dict'
import { getDeptTreeList } from '@/api/system/dept'
import { judgeTree, toTreeList } from '@/utils/structure'
+import indexDB from '@/utils/indexDB'
+import { indexDBHandler } from '@/utils/sessionData'
const props = defineProps({
// 数据绑定
modelValue: {
@@ -66,15 +68,29 @@
const showDeptSelect = ref(true)
const dictStore = useDictStore()
function fetchPcode() {
- // 如果未指定需要展示的部门类型,获取全部部门
- if (!props.deptType) {
- // if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取
+ const fetch = () => {
getDeptTreeList().then((res) => {
const list = res.data.filter((item: any) => item.id !== '0')
+ indexDBHandler('all-dept-list', JSON.stringify(res.data))
dictStore.setAllDeptList(list)
refreshList(list)
console.log(list, 'list')
})
+ }
+ // 如果未指定需要展示的部门类型,获取全部部门
+ if (!props.deptType) {
+ // if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取
+ indexDB.getAll().then(allData => {
+ if (allData.filter((item: any) => item.name === 'all-dept-list').length) {
+ const list = JSON.parse(allData.filter((item: any) => item.name === 'all-dept-list')[0].data).filter((item: any) => item.id !== '0')
+ refreshList(list)
+ }
+ else {
+ fetch()
+ }
+ }).catch(() => {
+ fetch()
+ })
// }
// else {
// refreshList(dictStore.allDeptList)
@@ -159,16 +175,12 @@
燃气物联感知平台 感知数据汇聚平台
diff --git a/npminstall-debug.log b/npminstall-debug.log
index e7af880..d4a5fc1 100644
--- a/npminstall-debug.log
+++ b/npminstall-debug.log
@@ -1,5 +1,5 @@
{
- root: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ root: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
registry: 'https://registry.npmmirror.com',
pkgs: [
{
@@ -50,8 +50,8 @@
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
- npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
- INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front'
+ npm_rootpath: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
+ INIT_CWD: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front'
},
binaryMirrors: {
ENVS: {
@@ -187,7 +187,7 @@
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
- workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\燃气物联感知平台v3\\smartwell_front',
+ workspaceRoot: 'D:\\项目\\闸井产品化\\闸井产品化\\感知数据汇聚平台v3\\smartwell_front',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
@@ -202,4 +202,4 @@
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
-}
\ No newline at end of file
+}
diff --git a/public/image/pipeline/underground-error.png b/public/image/pipeline/underground-error.png
new file mode 100644
index 0000000..2c6d173
--- /dev/null
+++ b/public/image/pipeline/underground-error.png
Binary files differ
diff --git a/public/image/pipeline/underground-offline.png b/public/image/pipeline/underground-offline.png
new file mode 100644
index 0000000..e4cbca0
--- /dev/null
+++ b/public/image/pipeline/underground-offline.png
Binary files differ
diff --git a/public/image/pipeline/warning-error.png b/public/image/pipeline/warning-error.png
new file mode 100644
index 0000000..f0e50e5
--- /dev/null
+++ b/public/image/pipeline/warning-error.png
Binary files differ
diff --git a/public/image/pipeline/warning-offline.png b/public/image/pipeline/warning-offline.png
new file mode 100644
index 0000000..119ccdf
--- /dev/null
+++ b/public/image/pipeline/warning-offline.png
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
deleted file mode 100644
index 2c6d173..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png" "b/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
deleted file mode 100644
index e4cbca0..0000000
--- "a/public/image/pipeline/\345\234\260\345\237\213\345\274\217\345\223\250\345\205\265-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
deleted file mode 100644
index f0e50e5..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\345\274\202\345\270\270.png"
+++ /dev/null
Binary files differ
diff --git "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png" "b/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
deleted file mode 100644
index 119ccdf..0000000
--- "a/public/image/pipeline/\350\255\246\347\244\272\346\241\251-\347\246\273\347\272\277.png"
+++ /dev/null
Binary files differ
diff --git a/src/App.vue b/src/App.vue
index 6d4d2c5..4076bc2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,7 +4,7 @@
import eventBus from './utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
import useMenuStore from '@/store/modules/menu'
-
+import indexDB from '@/utils/indexDB'
const settingsStore = useSettingsStore()
const $router = useRouter()
const buttonConfig = ref({
@@ -115,6 +115,21 @@
})
})
const browserType = window.localStorage.getItem('browser-type-bj-well') // mobile || pc
+
+
+window.addEventListener('beforeunload', function (e) {
+ // var confirmationMessage = '确定要离开此页面吗?';
+ // e.returnValue = confirmationMessage;
+ console.log(e.type, 'type')
+ if (e.type === 'unload') {
+ console.log('页面被关闭');
+ // 删除所有缓存数据
+ indexDB.deleteAll()
+ } else if (e.type === 'beforeunload') {
+ console.log('页面被刷新');
+ }
+ // return confirmationMessage;
+})
diff --git a/src/api/home/ledger/ledger.ts b/src/api/home/ledger/ledger.ts
index 9385085..34ad359 100644
--- a/src/api/home/ledger/ledger.ts
+++ b/src/api/home/ledger/ledger.ts
@@ -20,3 +20,20 @@
data,
})
}
+
+// 同步--部门
+export function synAllDept(data: any) {
+ return request({
+ url: '/system/busLedger/synAllDept',
+ method: 'post',
+ data,
+ })
+}
+// 同步--台账
+export function synAllLedger(data: any) {
+ return request({
+ url: '/system/busLedger/synAllLedger',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/api/home/pipeline/pipeline.ts b/src/api/home/pipeline/pipeline.ts
index e9c7b38..f631ef5 100644
--- a/src/api/home/pipeline/pipeline.ts
+++ b/src/api/home/pipeline/pipeline.ts
@@ -59,3 +59,12 @@
},
})
}
+export function getStationDevice(data: any) {
+ return request({
+ url: '/system/alarmRecords/getDeviceCodeByTagNumber',
+ method: 'post',
+ data: {
+ ...data,
+ },
+ })
+}
diff --git a/src/api/index.ts b/src/api/index.ts
index c0774af..2501205 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -26,7 +26,7 @@
const request = axios.create({
baseURL: window.localStorage.getItem('url-bj-well') as string,
// baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy/' : import.meta.env.VITE_APP_API_BASEURL,
- timeout: 1000 * 60 * 2,
+ timeout: 1000 * 60 * 3,
responseType: 'json',
})
diff --git a/src/assets/fullscren/banner-logo.png b/src/assets/fullscren/banner-logo.png
index 8a5324e..babed85 100644
--- a/src/assets/fullscren/banner-logo.png
+++ b/src/assets/fullscren/banner-logo.png
Binary files differ
diff --git a/src/assets/fullscren/banner-logo1.png b/src/assets/fullscren/banner-logo1.png
new file mode 100644
index 0000000..8a5324e
--- /dev/null
+++ b/src/assets/fullscren/banner-logo1.png
Binary files differ
diff --git a/src/assets/fullscren/banner.png b/src/assets/fullscren/banner.png
index a995bda..babed85 100644
--- a/src/assets/fullscren/banner.png
+++ b/src/assets/fullscren/banner.png
Binary files differ
diff --git a/src/assets/fullscren/banner1.png b/src/assets/fullscren/banner1.png
new file mode 100644
index 0000000..a995bda
--- /dev/null
+++ b/src/assets/fullscren/banner1.png
Binary files differ
diff --git a/src/assets/images/menu.png b/src/assets/images/menu.png
new file mode 100644
index 0000000..1c03d8a
--- /dev/null
+++ b/src/assets/images/menu.png
Binary files differ
diff --git a/src/assets/mobile/user.png b/src/assets/mobile/user.png
new file mode 100644
index 0000000..92edf2d
--- /dev/null
+++ b/src/assets/mobile/user.png
Binary files differ
diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue
index 948bd8b..a7824b6 100644
--- a/src/components/DeptSelect/index.vue
+++ b/src/components/DeptSelect/index.vue
@@ -5,6 +5,8 @@
import useDictStore from '@/store/modules/dict'
import { getDeptTreeList } from '@/api/system/dept'
import { judgeTree, toTreeList } from '@/utils/structure'
+import indexDB from '@/utils/indexDB'
+import { indexDBHandler } from '@/utils/sessionData'
const props = defineProps({
// 数据绑定
modelValue: {
@@ -66,15 +68,29 @@
const showDeptSelect = ref(true)
const dictStore = useDictStore()
function fetchPcode() {
- // 如果未指定需要展示的部门类型,获取全部部门
- if (!props.deptType) {
- // if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取
+ const fetch = () => {
getDeptTreeList().then((res) => {
const list = res.data.filter((item: any) => item.id !== '0')
+ indexDBHandler('all-dept-list', JSON.stringify(res.data))
dictStore.setAllDeptList(list)
refreshList(list)
console.log(list, 'list')
})
+ }
+ // 如果未指定需要展示的部门类型,获取全部部门
+ if (!props.deptType) {
+ // if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取
+ indexDB.getAll().then(allData => {
+ if (allData.filter((item: any) => item.name === 'all-dept-list').length) {
+ const list = JSON.parse(allData.filter((item: any) => item.name === 'all-dept-list')[0].data).filter((item: any) => item.id !== '0')
+ refreshList(list)
+ }
+ else {
+ fetch()
+ }
+ }).catch(() => {
+ fetch()
+ })
// }
// else {
// refreshList(dictStore.allDeptList)
@@ -159,16 +175,12 @@
燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-燃气物联感知平台
+感知数据汇聚平台
-