34 lines
933 B
Vue
34 lines
933 B
Vue
<template>
|
|
<MpWebviewShell>
|
|
<header class="mp-wv-header">
|
|
<div class="mp-wv-header__row">
|
|
<button class="mp-wv-header__back" type="button" aria-label="返回列表" @click="goList">
|
|
←
|
|
</button>
|
|
<h1 class="mp-wv-header__title">粘贴识别建档</h1>
|
|
</div>
|
|
</header>
|
|
<PlPasteRecognizeDialog
|
|
variant="page"
|
|
mode="vehicle-bundle"
|
|
:visible="true"
|
|
@done="goList"
|
|
@close="goList"
|
|
/>
|
|
</MpWebviewShell>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useRouter } from 'vue-router'
|
|
import MpWebviewShell from '@/layouts/MpWebviewShell.vue'
|
|
import PlPasteRecognizeDialog from '@/components/business/pl-paste-recognize-dialog/index.vue'
|
|
import { MP_PLAN_LIST_PATH } from '@/utils/mp-webview'
|
|
import '@/styles/mp-webview.scss'
|
|
|
|
const router = useRouter()
|
|
|
|
function goList() {
|
|
void router.replace(MP_PLAN_LIST_PATH)
|
|
}
|
|
</script>
|