Files
tms-erp-web/src/page/login/facelogin.vue
T
b2894lxlx a919781d4f ✨ 完善配载确认、承运商组织过滤司机与地址展示
配载草稿确认生成正式单并优化详情/列表地址市区展示;运单调度等按承运商联系人所属组织筛选司机车辆;统一地图搜索结果与登录默认账号清理。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 18:35:27 +08:00

40 lines
678 B
Vue

<template>
<basic-video ref="video" :width="350"></basic-video>
</template>
<script>
import { mapGetters } from 'vuex';
import basicVideo from '@/components/basic-video/main.vue';
export default {
components: {
basicVideo,
},
data() {
return {
loginForm: {
username: '',
password: '',
},
};
},
created() {
setTimeout(() => {
this.handleLogin();
}, 6000);
},
computed: {
...mapGetters(['tagWel']),
},
methods: {
handleLogin() {
this.$store.dispatch('LoginByUsername', this.loginForm).then(() => {
this.$router.push(this.tagWel);
});
},
},
};
</script>
<style></style>