Commit cc8a7384 by 前端

v1.20.0版本需求

1 parent 297ff334
import { COMMON_API } from '@/config/config'
//import { COMMON_API } from '@/config/config'
import request from '@/services/request'
// 获取用户列表
function getProvinceList (params) {
const url = COMMON_API.PROVINCE_LIST
return request(params, url)
}
// // 获取用户列表
// function getProvinceList (params) {
// const url = COMMON_API.PROVINCE_LIST
// return request(params, url)
// }
// 获取字典详情
function dictInfo (params) {
const url = `${COMMON_API.DICTDATA_TYPE}/${params}`
return request({}, url)
}
// // 获取字典详情
// function dictInfo (params) {
// const url = `${COMMON_API.DICTDATA_TYPE}/${params}`
// return request({}, url)
// }
// 获取第一级组织列表树
function getSimpleRoot (params) {
const url = COMMON_API.ORGINIZA_SIMPLEROOT
return request(params, url)
}
// // 获取第一级组织列表树
// function getSimpleRoot (params) {
// const url = COMMON_API.ORGINIZA_SIMPLEROOT
// return request(params, url)
// }
// 获取组织列表树
function getSimpleList (params) {
const url = COMMON_API.ORGINIZA_SIMPLELIST
return request(params, url)
}
// // 获取组织列表树
// function getSimpleList (params) {
// const url = COMMON_API.ORGINIZA_SIMPLELIST
// return request(params, url)
// }
function getOrgTree(params) {
return request(params, '/usercenter/organization/orgtree')
}
export { getProvinceList, dictInfo, getSimpleRoot, getSimpleList, getOrgTree }
export { getOrgTree }
......@@ -159,3 +159,15 @@
}
}
}
.area_car{
position: fixed;
top:100px;
right:40px;
z-index:99;
cursor: pointer;
.img{
width:80px;
height: 80px;
}
}
\ No newline at end of file
<template>
<div class="home_page">
<!-- 区域查车按钮 开始 -->
<div class="area_car" @click="openAreaCar()">
<img src="https://img01.glsx.com.cn/weapp/resource/e-shield/car.png" alt="" class="img" />
</div>
<!-- 区域查车按钮 end -->
<!-- 数据列表 开始 -->
<div class="static_list_box">
<div class="mask" v-show="maskFlag"><i class="el-icon-loading" style="font-size: 20px;"></i>loading...</div>
......@@ -615,6 +621,13 @@ export default {
this.isZhongli = res.data;
});
},
// 打开区域查车
openAreaCar(){
let _path = 'oEshield#/monitor/zoneCar?type=full'
window.open(_path)
}
},
};
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!