企业行政许可等信息增删改查
This commit is contained in:
parent
fbdc6aec1f
commit
241e7da610
|
|
@ -11,7 +11,7 @@
|
||||||
<div class="title"></div>
|
<div class="title"></div>
|
||||||
<div class="home" @click="goHome"></div>
|
<div class="home" @click="goHome"></div>
|
||||||
<div class="fullScreen" @click="fullScreen"></div>
|
<div class="fullScreen" @click="fullScreen"></div>
|
||||||
<div class="back" @click="goHome">返回</div>
|
<div class="back" @click="goHome">返回首页</div>
|
||||||
|
|
||||||
<div class="switch switch1" :class="{ 'switch-active': isMapMarkActive === 1 }" @click="changeMapMark(1)">
|
<div class="switch switch1" :class="{ 'switch-active': isMapMarkActive === 1 }" @click="changeMapMark(1)">
|
||||||
<div class="icon"></div>
|
<div class="icon"></div>
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,25 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const handleUserInfo = async () => {
|
||||||
|
try {
|
||||||
|
if (!userStore.token) {
|
||||||
|
await handleLogin()
|
||||||
|
// 忘记写return导致后面的业务依然在运行。
|
||||||
|
return
|
||||||
|
}
|
||||||
|
// 获取用户信息并持久化到浏览器
|
||||||
|
await userStore.getUserInfo()
|
||||||
|
// 在url没有hash url的时候路由跳转首页
|
||||||
|
const hashUrl = window.location.hash.slice(1)
|
||||||
|
if (hashUrl && hashUrl === '/') {
|
||||||
|
//route.push('/svi/index')
|
||||||
|
route.push('/big-screen')
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
handleLogin()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const handleLogin = async () => {
|
const handleLogin = async () => {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ public interface ZfzbglRepository extends BaseRepo<Zfzbgl, String> {
|
||||||
" from Zfzbgl a" +
|
" from Zfzbgl a" +
|
||||||
" where 1=1 " +
|
" where 1=1 " +
|
||||||
" group by a.zblxdm")
|
" group by a.zblxdm")
|
||||||
|
|
||||||
List<ZfzbglStatisticsDto> syStatistics();
|
List<ZfzbglStatisticsDto> syStatistics();
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue