<template>
  <main class="asa-page" v-loading="loading">
    <section class="workspace-card asa-header-card">
      <div class="asa-header">
        <div class="asa-header-title">
          <h1>行政审批同步考勤</h1>
          <small>将行政审批结果同步至考勤记录</small>
        </div>
        <div class="asa-header-actions">
          <el-button type="primary" icon="el-icon-refresh" size="medium" @click="onSync">立即同步</el-button>
        </div>
      </div>
    </section>
    <section class="workspace-card asa-placeholder-card">
      <el-empty description="行政审批同步考勤功能建设中" />
    </section>
  </main>
</template>

<script>
export default {
  name: 'ApprovalSyncAttendance',
  data() {
    return { loading: false };
  },
  methods: {
    onSync() {
      this.$message.info('同步操作 - 待开发');
    }
  }
};
</script>

<style scoped>
.asa-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: #f5f7fa;
  min-height: calc(100vh - 60px);
}
.workspace-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.asa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.asa-header-title h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #303133;
}
.asa-header-title small {
  color: #909399;
  font-size: 12px;
}
.asa-placeholder-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
</style>