index.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <template>
  2. <main class="asa-page" v-loading="loading">
  3. <section class="workspace-card asa-header-card">
  4. <div class="asa-header">
  5. <div class="asa-header-title">
  6. <h1>行政审批同步考勤</h1>
  7. <small>将行政审批结果同步至考勤记录</small>
  8. </div>
  9. <div class="asa-header-actions">
  10. <el-button type="primary" icon="el-icon-refresh" size="medium" @click="onSync">立即同步</el-button>
  11. </div>
  12. </div>
  13. </section>
  14. <section class="workspace-card asa-placeholder-card">
  15. <el-empty description="行政审批同步考勤功能建设中" />
  16. </section>
  17. </main>
  18. </template>
  19. <script>
  20. export default {
  21. name: 'ApprovalSyncAttendance',
  22. data() {
  23. return { loading: false };
  24. },
  25. methods: {
  26. onSync() {
  27. this.$message.info('同步操作 - 待开发');
  28. }
  29. }
  30. };
  31. </script>
  32. <style scoped>
  33. .asa-page {
  34. display: flex;
  35. flex-direction: column;
  36. gap: 16px;
  37. padding: 16px;
  38. background: #f5f7fa;
  39. min-height: calc(100vh - 60px);
  40. }
  41. .workspace-card {
  42. background: #fff;
  43. border-radius: 8px;
  44. padding: 20px 24px;
  45. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  46. }
  47. .asa-header {
  48. display: flex;
  49. justify-content: space-between;
  50. align-items: flex-end;
  51. }
  52. .asa-header-title h1 {
  53. margin: 0;
  54. font-size: 20px;
  55. font-weight: 600;
  56. color: #303133;
  57. }
  58. .asa-header-title small {
  59. color: #909399;
  60. font-size: 12px;
  61. }
  62. .asa-placeholder-card {
  63. display: flex;
  64. align-items: center;
  65. justify-content: center;
  66. min-height: 360px;
  67. }
  68. </style>