bug修复

This commit is contained in:
hongchao 2025-01-14 14:17:18 +08:00
parent 67dda3891d
commit 2921e881b3
9 changed files with 33 additions and 18 deletions

View File

@ -1,10 +1,10 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 输变电工程施工现场安全风险预警系统 VUE_APP_TITLE = 变电站扩建工程施工现场智能风险预警系统
# 开发环境配置 # 开发环境配置
ENV = 'development' ENV = 'development'
# 输变电工程施工现场安全风险预警系统/开发环境 # 变电站扩建工程施工现场智能风险预警系统/开发环境
VUE_APP_BASE_API = '/dev-api' VUE_APP_BASE_API = '/dev-api'
# 路由懒加载 # 路由懒加载

View File

@ -1,8 +1,8 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 输变电工程施工现场安全风险预警系统 VUE_APP_TITLE = 变电站扩建工程施工现场智能风险预警系统
# 生产环境配置 # 生产环境配置
ENV = 'production' ENV = 'production'
# 输变电工程施工现场安全风险预警系统/生产环境 # 变电站扩建工程施工现场智能风险预警系统/生产环境
VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = '/prod-api'

View File

@ -1,10 +1,10 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 输变电工程施工现场安全风险预警系统 VUE_APP_TITLE = 变电站扩建工程施工现场智能风险预警系统
NODE_ENV = production NODE_ENV = production
# 测试环境配置 # 测试环境配置
ENV = 'staging' ENV = 'staging'
# 输变电工程施工现场安全风险预警系统/测试环境 # 变电站扩建工程施工现场智能风险预警系统/测试环境
VUE_APP_BASE_API = '/stage-api' VUE_APP_BASE_API = '/stage-api'

View File

@ -1,7 +1,7 @@
{ {
"name": "bonus", "name": "bonus",
"version": "3.6.4", "version": "3.6.4",
"description": "输变电工程施工现场安全风险预警系统", "description": "变电站扩建工程施工现场智能风险预警系统",
"author": "bonus", "author": "bonus",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {

View File

@ -114,7 +114,7 @@ export default {
}) })
}, },
selChange(v) { selChange(v) {
console.log(v) console.log('11111111',v)
this.currentLefIndex = v.dictCode this.currentLefIndex = v.dictCode
switch (v.dictCode) { switch (v.dictCode) {
case 116: case 116:
@ -167,6 +167,9 @@ export default {
{ t_props: 'configVal4Str', t_label: '基础沉降阈值' }, { t_props: 'configVal4Str', t_label: '基础沉降阈值' },
] ]
break; break;
case 135:
this.queryWarnSpaceTypeList()
break;
case 137: case 137:
this.columnsList = [ this.columnsList = [
{ t_props: 'configName', t_label: '配置名称', }, { t_props: 'configName', t_label: '配置名称', },
@ -177,12 +180,24 @@ export default {
] ]
break; break;
} }
this.$refs.tableRef.queryTableList({ // this.$refs.tableRef.queryTableList({
configuType: v.dictCode // configuType: v.dictCode
}) // })
if(v.dictCode == 135){
this.queryWarnSpaceTypeList() // 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(){ handExport(){

View File

@ -21,7 +21,7 @@
</div> </div>
</div> --> </div> -->
<div class="login"> <div class="login">
<h3 class="title">输变电工程施工现场安全风险预警系统</h3> <h3 class="title">变电站扩建工程施工现场智能风险预警系统</h3>
<div class="login-form"> <div class="login-form">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules">
<!-- --> <!-- -->

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="register"> <div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form"> <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">输变电工程施工现场安全风险预警系统</h3> <h3 class="title">变电站扩建工程施工现场智能风险预警系统</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号"> <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

View File

@ -5,7 +5,7 @@
<div class="circle2"></div> <div class="circle2"></div>
<div class="tit"> <div class="tit">
<span style="padding-bottom: 15px">您好</span> <span style="padding-bottom: 15px">您好</span>
<span>欢迎来到输变电工程施工现场安全风险预警系统</span> <span>欢迎来到变电站扩建工程施工现场智能风险预警系统</span>
</div> </div>
<div class="tit-en"> <div class="tit-en">
<span style="padding-bottom: 15px">Hello!</span> <span style="padding-bottom: 15px">Hello!</span>
@ -22,7 +22,7 @@
:rules="registerRules" :rules="registerRules"
class="register-form" class="register-form"
> >
<h3 class="title">输变电工程施工现场安全风险预警系统</h3> <h3 class="title">变电站扩建工程施工现场智能风险预警系统</h3>
<el-form-item prop="nickName"> <el-form-item prop="nickName">
<el-input <el-input

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="bottom-info"> <div class="bottom-info">
系统名称输变电工程施工现场安全风险预警系统 系统名称变电站扩建工程施工现场智能风险预警系统
<div> <div>
版本v1.0 版本v1.0
</div> </div>