39 lines
903 B
Vue
39 lines
903 B
Vue
<template>
|
||
<a-result
|
||
status="success"
|
||
title="Successfully Purchased Cloud Server ECS!"
|
||
sub-title="Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait."
|
||
>
|
||
<template #extra>
|
||
<a-button type="primary" @click="select">查询申请</a-button>
|
||
<a-button @click="again">继续提交申请</a-button>
|
||
</template>
|
||
</a-result>
|
||
</template>
|
||
|
||
<script lang="ts" setup>
|
||
import router from '@/router'
|
||
|
||
// 和外层界面的数据交互
|
||
const props = defineProps(
|
||
{
|
||
applyType: {
|
||
type: String,
|
||
default: '',
|
||
},
|
||
}, // 申请类型 applyType页面传值的使用1和2,1: 采购入库 和 归还入库 2: 出库外借
|
||
)
|
||
|
||
const select = () => {
|
||
if (props.applyType === '1') {
|
||
router.push({ path: '/statistic/inbound' })
|
||
} else {
|
||
router.push({ path: '/statistic/outbound' })
|
||
}
|
||
}
|
||
|
||
const again = () => {
|
||
router.go(0)
|
||
}
|
||
</script>
|