Commit c066abdb by pangchong

feat: 提交

parent 9e518af4
import useUserStore from 'mocp/store/user' import useUserStore from 'mocp/store/user'
const baseURL = 'https://hna-platform.anyremote.cn' //测试 // const baseURL = 'https://hna-platform.anyremote.cn' //测试
// const baseURL = 'https://moc.hnatechnic.com/api' //生产 // const baseURL = 'https://moc.hnatechnic.com/api' //生产
// const baseURL = 'http://10.123.48.67/api' //Amms内网 // const baseURL = 'http://10.123.48.67/api' //Amms内网
// const baseURL = 'https://hnaelbtest.hnatechnic.com/mocptest/api' //内网 const baseURL = 'https://hnaelbtest.hnatechnic.com/mocptest/api' //内网
class ServiceLoading { class ServiceLoading {
open(loading) { open(loading) {
......
...@@ -2,8 +2,8 @@ import { ref, reactive } from 'vue' ...@@ -2,8 +2,8 @@ import { ref, reactive } from 'vue'
export const loginFormRef = ref() export const loginFormRef = ref()
//表单数据 //表单数据
export const loginForm = reactive({ export const loginForm = reactive({
username: 'devzj3', //devzj3 username: '', //devzj3
password: 'Ifar2016_0525', //Ifar_9527008 / Ifar2016_0525 password: '', //Ifar_9527008 / Ifar2016_0525
verifyCode: '' verifyCode: ''
}) })
export const showLoad = ref(false) export const showLoad = ref(false)
......
...@@ -76,13 +76,13 @@ const handleLogin = async () => { ...@@ -76,13 +76,13 @@ const handleLogin = async () => {
loading.value = true loading.value = true
await login() await login()
if (userStore.token) { if (userStore.token) {
// //加入席位权限 //加入席位权限
// await getUserSeatList() await getUserSeatList()
// if (userStore.seatId) { if (userStore.seatId) {
// await Promise.all([getSeatPermission(), getConfigData()]) await Promise.all([getSeatPermission(), getConfigData()])
// } else { } else {
// userStore.setState('seatPermission', []) userStore.setState('seatPermission', [])
// } }
//跳转工作台 //跳转工作台
uni.$mocpJump.redirectTo('/tab/index') uni.$mocpJump.redirectTo('/tab/index')
} }
......
...@@ -62,4 +62,7 @@ const goMyToDo = () => { ...@@ -62,4 +62,7 @@ const goMyToDo = () => {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../constants/panel-navbar.scss'; @import '../constants/panel-navbar.scss';
:deep(._block) {
display: flex !important;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment