| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <template>
- <el-card :bordered="false" class="proCard">
- <div class="result-box">
- <el-result
- status="success"
- title="操作成功"
- description="提交结果页用于反馈一系列操作任务的处理结果,如果仅是简单操作,灰色区域可以显示一些补充的信息。"
- >
- <div class="result-box-extra">
- <p>已提交申请,等待财务部门审核。</p>
- </div>
- <template #footer>
- <div class="flex justify-center mb-4">
- <el-space align="center">
- <el-button type="info" @click="goHome">回到首页</el-button>
- <el-button>查看详情</el-button>
- <el-button>打印</el-button>
- </el-space>
- </div>
- </template>
- </el-result>
- </div>
- </el-card>
- </template>
- <script lang="ts" setup>
- import { useRouter } from 'vue-router';
- const router = useRouter();
- function goHome() {
- router.push('/');
- }
- </script>
- <style lang="scss" scoped>
- .result-box {
- width: 72%;
- margin: 0 auto;
- text-align: center;
- padding-top: 5px;
- &-extra {
- padding: 24px 40px;
- text-align: left;
- background: var(--n-border-color);
- border-radius: 4px;
- }
- }
- </style>
|