Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b36405bd
authored
Jun 01, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.20.0' into 'develop'
V1.20.0版本需求已上线,合并代码到develop See merge request
!43
2 parents
297ff334
be6efd3b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
22 deletions
src/services/common.js
src/styles/home.scss
src/views/home/index.vue
src/services/common.js
View file @
b36405b
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
{
get
ProvinceList
,
dictInfo
,
getSimpleRoot
,
getSimpleList
,
get
OrgTree
}
export
{
getOrgTree
}
src/styles/home.scss
View file @
b36405b
...
...
@@ -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
src/views/home/index.vue
View file @
b36405b
<
template
>
<div
class=
"home_page"
>
<!-- 区域查车按钮 开始 -->
<div
class=
"area_car"
@
click=
"openAreaCar()"
v-if=
"hasPermission('INDEX_AREA_SEARCH_CAR')"
>
<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
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment