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