log_page.py 864 Bytes
import streamlit as st

def show_edun():
    category = "E盾-智慧车管"
    st.header(f"日志查询 - {category}")
    st.info(f"功能:查看 {category} 相关的业务执行和系统运行日志。")
    st.text_area("日志输出", value=f"正在监控 {category} 的执行状态...\n[INFO] 系统已就绪", height=300, key="edun_log_area")

def show_dijia():
    category = "嘀加-旧版本"
    st.header(f"日志查询 - {category}")
    st.info(f"功能:查看 {category} 相关的业务执行和系统运行日志。")
    st.text_area("日志输出", value=f"正在监控 {category} 的执行状态...\n[INFO] 系统已就绪", height=300, key="dijia_log_area")

def show_with_category(category):
    if category == "嘀加-旧版本":
        show_dijia()
    else:
        show_edun()

def show():
    show_with_category("E盾-智慧车管")