修复首页数据接口一次,修复前端页面样式不协调的问题

This commit is contained in:
zhangchaoyang02 2025-07-18 18:43:44 +08:00
parent 3f4f37975c
commit 3c3a5ffa62
4 changed files with 1 additions and 26 deletions

View File

@ -8,12 +8,7 @@
"path": "/svi/index", "path": "/svi/index",
"router": true "router": true
}, },
{
"gncdbh": 2,
"name": "执法对象管理",
"icon": "zyyy_rzzx",
"path": "/dtsjygl/dtsjk",
"router": true
}, },
{ {
"gncdbh": 12, "gncdbh": 12,

View File

@ -12,11 +12,6 @@
<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="icon"></div>
<div class="label">企业</div>
</div>
<div class="switch switch2" :class="{ 'switch-active': isMapMarkActive === 2 }" @click="changeMapMark(2)"> <div class="switch switch2" :class="{ 'switch-active': isMapMarkActive === 2 }" @click="changeMapMark(2)">
<div class="icon"></div> <div class="icon"></div>
<div class="label">执法记录仪</div> <div class="label">执法记录仪</div>

View File

@ -28,11 +28,6 @@
const handleUserInfo = async () => { const handleUserInfo = async () => {
try { try {
if (!userStore.token) {
await handleLogin()
// return
return
}
// //
await userStore.getUserInfo() await userStore.getUserInfo()
// urlhash url // urlhash url

View File

@ -49,16 +49,6 @@ public class HomePageController {
return Ok.of(homePageService.countCurrentNodeCode(user)); return Ok.of(homePageService.countCurrentNodeCode(user));
} }
/**
* 首页查询待立案数量
*
* @return 首页查询待立案数量
*/
@GetMapping("/getdlaCount")
public Result<Map> getdlaCount(@CurrentUser RemoteUserInfo user) {
return Ok.of(homePageService.getdla(user));
}
/** /**
* 执法趋势统计 * 执法趋势统计
* *