<template>
  <div class="page-stack">
    <section class="page-toolbar">
      <div>
        <h1>系统配置</h1>
        <p>配置平台参数、AI 评分策略、登录安全和通知规则。</p>
      </div>
      <el-button type="primary">保存配置</el-button>
    </section>

    <section class="settings-grid">
      <el-card shadow="never">
        <template #header>AI 评分策略</template>
        <el-form label-position="top">
          <el-form-item label="评分模型">
            <el-select model-value="clinical-eval-v2">
              <el-option label="Clinical Eval v2" value="clinical-eval-v2" />
            </el-select>
          </el-form-item>
          <el-form-item label="通过阈值">
            <el-slider :model-value="82" />
          </el-form-item>
          <el-form-item label="自动生成改进建议">
            <el-switch :model-value="true" />
          </el-form-item>
        </el-form>
      </el-card>

      <el-card shadow="never">
        <template #header>安全设置</template>
        <el-form label-position="top">
          <el-form-item label="登录验证码">
            <el-switch :model-value="false" />
          </el-form-item>
          <el-form-item label="密码有效期">
            <el-input-number :model-value="90" :min="30" :max="365" />
          </el-form-item>
          <el-form-item label="SSO 登录">
            <el-switch :model-value="true" />
          </el-form-item>
        </el-form>
      </el-card>
    </section>
  </div>
</template>
