diff --git a/.env.development b/.env.development index 0b49f52..0750bac 100644 --- a/.env.development +++ b/.env.development @@ -1,11 +1,11 @@ # 开发环境配置 ENV = 'development' -VITE_APP_API_HOST = 'http://localhost:8888/' +VITE_APP_API_HOST = 'http://localhost:11082/' # 开发环境 -# VITE_APP_BASE_API = 'http://localhost:8888/' VITE_APP_BASE_API = 'http://localhost:8888/' +# VITE_APP_BASE_API = 'http://49.233.115.141:11082/' # 路由前缀 VITE_APP_ROUTER_PREFIX = '/' @@ -14,4 +14,4 @@ VITE_APP_ROUTER_PREFIX = '/' VITE_APP_UPLOAD_URL = 'Common/UploadFile' #socket API -VITE_APP_SOCKET_API = 'http://localhost:8888/msghub' \ No newline at end of file +VITE_APP_SOCKET_API = 'http://localhost:11082/msghub' \ No newline at end of file diff --git a/.env.production b/.env.production index 05feb47..9b1280a 100644 --- a/.env.production +++ b/.env.production @@ -1,10 +1,10 @@ # 生产环境配置 ENV = 'production' -VITE_APP_API_HOST = 'https://odf.zpc-xy.com/' +VITE_APP_API_HOST = 'http://49.233.115.141:11082/' # 生产环境 -VITE_APP_BASE_API = 'https://odf.zpc-xy.com/' +VITE_APP_BASE_API = 'http://49.233.115.141:11082/' # 路由前缀 VITE_APP_ROUTER_PREFIX = '/' @@ -13,7 +13,7 @@ VITE_APP_ROUTER_PREFIX = '/' VITE_APP_UPLOAD_URL = 'Common/UploadFile' #socket API -VITE_APP_SOCKET_API = 'https://odf.zpc-xy.com/msghub' +VITE_APP_SOCKET_API = 'http://49.233.115.141:11082/msghub' # 是否在打包时开启压缩,支持 gzip 和 brotli VITE_BUILD_COMPRESS = gzip \ No newline at end of file diff --git a/src/views/business/OdfPorts.vue b/src/views/business/OdfPorts.vue index a5544a5..d5b0cca 100644 --- a/src/views/business/OdfPorts.vue +++ b/src/views/business/OdfPorts.vue @@ -30,6 +30,9 @@ + + + {{ $t('btn.search') }} {{ $t('btn.reset') }} @@ -65,12 +68,13 @@ - + + + @@ -196,7 +206,11 @@ - + + + + + @@ -254,6 +268,7 @@ const columns = ref([ { visible: false, align: 'center', type: '', prop: 'portNumber', label: '端口号' }, { visible: true, align: 'center', type: 'dict', prop: 'status', label: '连接状态', dictType: 'odf_ports_status' }, { visible: true, align: 'center', type: '', prop: 'remarks', label: '备注', showOverflowTooltip: true }, + { visible: true, align: 'center', type: '', prop: 'opticalCableOffRemarks', label: '光缆断信息', showOverflowTooltip: true }, { visible: true, align: 'center', type: '', prop: 'opticalAttenuation', label: '光衰值(dB)', showOverflowTooltip: true }, { visible: true, align: 'center', type: '', prop: 'historyRemarks', label: '历史故障记录', showOverflowTooltip: true }, { visible: false, align: 'center', type: '', prop: 'createdAt', label: '创建时间', showOverflowTooltip: true },