parent
d6d6758827
commit
1ee9c6eeb8
@ -0,0 +1,62 @@
|
|||||||
|
import request from "@/utils/request";
|
||||||
|
|
||||||
|
// 服务点位
|
||||||
|
export function getPointListByType(query) {
|
||||||
|
//轨道交通警务站type=13,巡防警务站ype=04
|
||||||
|
|
||||||
|
return request({
|
||||||
|
url: "/api/yzt-data/point/list",
|
||||||
|
method: "get",
|
||||||
|
params: query,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 关键字搜索
|
||||||
|
|
||||||
|
export function getPointList(query) {
|
||||||
|
return request({
|
||||||
|
url: "/api/yzt-data/point/search",
|
||||||
|
method: "get",
|
||||||
|
params: query,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
//获取点位详情
|
||||||
|
export function getPointinfo(query) {
|
||||||
|
return request({
|
||||||
|
url: "/api/yzt-data/point/queryById",
|
||||||
|
method: "get",
|
||||||
|
params: query,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 字典
|
||||||
|
|
||||||
|
export function getdicts() {
|
||||||
|
return request({
|
||||||
|
url: "/api/sys/dict/getDictItems/business_classification",
|
||||||
|
method: "get",
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
//获取业务详情
|
||||||
|
export function getbusinessById(query) {
|
||||||
|
return request({
|
||||||
|
url: "/api/yzt-data/business/queryById",
|
||||||
|
method: "get",
|
||||||
|
params: query,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 获取单位树形结构
|
||||||
|
export function getEnterpriseTree(type=1,query){
|
||||||
|
return request({
|
||||||
|
url:`/api/yzt-data/point/getLevel${type}`,
|
||||||
|
method: "get",
|
||||||
|
params: query,
|
||||||
|
})
|
||||||
|
}
|
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 175 KiB |
@ -0,0 +1,48 @@
|
|||||||
|
<template>
|
||||||
|
<div class="navigation-bar">
|
||||||
|
<div :text="title">{{ title }}</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup name="NavigationBar">
|
||||||
|
const props = defineProps({
|
||||||
|
title: {
|
||||||
|
type: String,
|
||||||
|
default: "南通市公安局政务服务实景三维地图",
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.navigation-bar {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 120px;
|
||||||
|
z-index: 1000;
|
||||||
|
background: url("@/assets/images/navigation.png");
|
||||||
|
background-size: cover;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
& > div {
|
||||||
|
padding-top: 15px;
|
||||||
|
font-size: 36px;
|
||||||
|
color: #ffffff;
|
||||||
|
letter-spacing: 3px;
|
||||||
|
text-shadow: #333 2px 2px 2px;
|
||||||
|
font-family: "xiniu";
|
||||||
|
}
|
||||||
|
& > div::before {
|
||||||
|
content: attr(text);
|
||||||
|
position: absolute;
|
||||||
|
z-index: 10;
|
||||||
|
color: #ffffff;
|
||||||
|
background: linear-gradient(0deg, #9cf7ff 20%, #eaeaeb 100%);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in new issue