<template>
    <div class="login-page">
        <div class="login-box">
            <h1>工单管理系统</h1>
            <p>请先登录主系统</p>
            <el-button type="primary" @click="goToMainSystem">
                前往主系统登录
            </el-button>
        </div>
    </div>
</template>

<script setup lang="ts">
const goToMainSystem = () => {
    window.location.href = 'http://localhost:7002'
}
</script>

<style scoped>
.login-page {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-box h1 {
    margin-bottom: 16px;
    font-size: 24px;
    color: #333;
}

.login-box p {
    margin-bottom: 24px;
    color: #666;
}
</style>
