修复首页数据接口一次,修复前端页面样式不协调的问题
This commit is contained in:
parent
3f4f37975c
commit
3c3a5ffa62
|
|
@ -8,12 +8,7 @@
|
|||
"path": "/svi/index",
|
||||
"router": true
|
||||
},
|
||||
{
|
||||
"gncdbh": 2,
|
||||
"name": "执法对象管理",
|
||||
"icon": "zyyy_rzzx",
|
||||
"path": "/dtsjygl/dtsjk",
|
||||
"router": true
|
||||
|
||||
},
|
||||
{
|
||||
"gncdbh": 12,
|
||||
|
|
|
|||
|
|
@ -12,11 +12,6 @@
|
|||
<div class="home" @click="goHome"></div>
|
||||
<div class="fullScreen" @click="fullScreen"></div>
|
||||
<div class="back" @click="goHome">返回首页</div>
|
||||
|
||||
<div class="switch switch1" :class="{ 'switch-active': isMapMarkActive === 1 }" @click="changeMapMark(1)">
|
||||
<div class="icon"></div>
|
||||
<div class="label">企业</div>
|
||||
</div>
|
||||
<div class="switch switch2" :class="{ 'switch-active': isMapMarkActive === 2 }" @click="changeMapMark(2)">
|
||||
<div class="icon"></div>
|
||||
<div class="label">执法记录仪</div>
|
||||
|
|
|
|||
|
|
@ -28,11 +28,6 @@
|
|||
|
||||
const handleUserInfo = async () => {
|
||||
try {
|
||||
if (!userStore.token) {
|
||||
await handleLogin()
|
||||
// 忘记写return导致后面的业务依然在运行。
|
||||
return
|
||||
}
|
||||
// 获取用户信息并持久化到浏览器
|
||||
await userStore.getUserInfo()
|
||||
// 在url没有hash url的时候路由跳转首页
|
||||
|
|
|
|||
|
|
@ -49,16 +49,6 @@ public class HomePageController {
|
|||
return Ok.of(homePageService.countCurrentNodeCode(user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页查询待立案数量
|
||||
*
|
||||
* @return 首页查询待立案数量
|
||||
*/
|
||||
@GetMapping("/getdlaCount")
|
||||
public Result<Map> getdlaCount(@CurrentUser RemoteUserInfo user) {
|
||||
return Ok.of(homePageService.getdla(user));
|
||||
}
|
||||
|
||||
/**
|
||||
* 执法趋势统计
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue