diff --git a/.env.development b/.env.development index 1fb42255..7fc82cc3 100644 --- a/.env.development +++ b/.env.development @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 输变电工程施工现场安全风险预警系统 +VUE_APP_TITLE = 变电站扩建工程施工现场智能风险预警系统 # 开发环境配置 ENV = 'development' -# 输变电工程施工现场安全风险预警系统/开发环境 +# 变电站扩建工程施工现场智能风险预警系统/开发环境 VUE_APP_BASE_API = '/dev-api' # 路由懒加载 diff --git a/.env.production b/.env.production index 97e66cec..ccd2be53 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,8 @@ # 页面标题 -VUE_APP_TITLE = 输变电工程施工现场安全风险预警系统 +VUE_APP_TITLE = 变电站扩建工程施工现场智能风险预警系统 # 生产环境配置 ENV = 'production' -# 输变电工程施工现场安全风险预警系统/生产环境 +# 变电站扩建工程施工现场智能风险预警系统/生产环境 VUE_APP_BASE_API = '/prod-api' diff --git a/.env.staging b/.env.staging index 43e47868..1dbecad5 100644 --- a/.env.staging +++ b/.env.staging @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 输变电工程施工现场安全风险预警系统 +VUE_APP_TITLE = 变电站扩建工程施工现场智能风险预警系统 NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 输变电工程施工现场安全风险预警系统/测试环境 +# 变电站扩建工程施工现场智能风险预警系统/测试环境 VUE_APP_BASE_API = '/stage-api' diff --git a/package.json b/package.json index 885d1d57..6ef2195c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bonus", "version": "3.6.4", - "description": "输变电工程施工现场安全风险预警系统", + "description": "变电站扩建工程施工现场智能风险预警系统", "author": "bonus", "license": "MIT", "scripts": { diff --git a/src/views/base/warning/index.vue b/src/views/base/warning/index.vue index 3ee3fb67..8fa9cd46 100644 --- a/src/views/base/warning/index.vue +++ b/src/views/base/warning/index.vue @@ -114,7 +114,7 @@ export default { }) }, selChange(v) { - console.log(v) + console.log('11111111',v) this.currentLefIndex = v.dictCode switch (v.dictCode) { case 116: @@ -167,6 +167,9 @@ export default { { t_props: 'configVal4Str', t_label: '基础沉降阈值' }, ] break; + case 135: + this.queryWarnSpaceTypeList() + break; case 137: this.columnsList = [ { t_props: 'configName', t_label: '配置名称', }, @@ -177,12 +180,24 @@ export default { ] break; } - this.$refs.tableRef.queryTableList({ - configuType: v.dictCode - }) - if(v.dictCode == 135){ - this.queryWarnSpaceTypeList() + // this.$refs.tableRef.queryTableList({ + // configuType: v.dictCode + // }) + + // if(v.dictCode == 135){ + // this.queryWarnSpaceTypeList() + // } + if (v.dictCode !== 135) { + setTimeout(() => { + if (this.$refs.tableRef) { + this.$refs.tableRef.queryTableList({ + configuType: v.dictCode + }) + } else { + console.error('tableRef is undefined') } + }, 500) // 等待半秒(500 毫秒) + } }, handExport(){ diff --git a/src/views/login1.vue b/src/views/login1.vue index 8e91424e..30eca6f0 100644 --- a/src/views/login1.vue +++ b/src/views/login1.vue @@ -21,7 +21,7 @@ -->