Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
sgaqgl-vue
Commits
cbded969
Commit
cbded969
authored
Dec 22, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改&&三维轮播
parent
a2fe40c1
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
122 additions
and
5 deletions
+122
-5
enterTV.js
src/api/threeViolations/enterTV.js
+8
-0
index.js
src/router/index.js
+13
-0
permission.js
src/store/modules/permission.js
+3
-1
index.vue
src/views/threeViolations/homePage/index.vue
+94
-0
exposure.vue
src/views/threeViolations/tFPasses/exposure.vue
+1
-1
leadership.vue
src/views/threeViolations/tFPasses/leadership.vue
+1
-1
reflect.vue
src/views/threeViolations/tFPasses/reflect.vue
+1
-1
safetyCourse.vue
src/views/threeViolations/tFPasses/safetyCourse.vue
+1
-1
No files found.
src/api/threeViolations/enterTV.js
View file @
cbded969
...
...
@@ -95,4 +95,12 @@ export function doPunish(query) {
}
// 曝光附件
export
function
queryBglxFile
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swjl/queryBglxFile'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/router/index.js
View file @
cbded969
...
...
@@ -410,6 +410,19 @@ export const powerRoutes=[
redirect
:
'maintainTV'
,
meta
:
{
title
:
"三违管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
904000000
},
children
:
[
{
component
:
'threeViolations/homePage/index'
,
hidden
:
false
,
meta
:{
"title"
:
"首页"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'test'
,
},
name
:
'homePage'
,
path
:
"homePage"
},
{
component
:
'threeViolations/maintainTV/index'
,
hidden
:
false
,
...
...
src/store/modules/permission.js
View file @
cbded969
...
...
@@ -74,7 +74,9 @@ const permission = {
if
((
e
.
mkid
==
item
.
meta
.
mkid
)
||
(
item
.
meta
.
mkid
==
'test'
)){
console
.
log
(
item
,
e
)
item
.
meta
.
icon
=
e
.
icon
item
.
meta
.
title
=
e
.
mkmc
if
(
item
.
meta
.
mkid
!=
'test'
){
item
.
meta
.
title
=
e
.
mkmc
}
/* 额外参数*/
e
.
mkid
&&
(
item
.
mkid
=
e
.
mkid
)
e
.
menusBizType
&&
(
item
.
menusBizType
=
e
.
menusBizType
)
...
...
src/views/threeViolations/homePage/index.vue
0 → 100644
View file @
cbded969
<
template
>
<div
class=
"min_full homePage"
style=
"margin: 0;border: 0;"
>
<!-- 数据展示-->
<div
class=
"lbt"
>
<el-carousel
height=
'calc(100vh - 84px)'
>
<el-carousel-item
v-for=
"(item,index) in showList"
:key=
"item.id"
>
<!-- 轮播图all-->
<div
class=
"lbtAll"
>
<!-- 说明-->
<div
class=
"sm"
>
<el-tooltip
:content=
"`$
{item.gsName}/${item.bzName}:${item.wzr}:${item.wzxw}`" placement="top">
<span
class=
'infor'
>
{{
`${item.gsName
}
/${item.bzName
}
的${item.wzr
}
做出违章行为:${item.wzxw
}
`
}}
<
/span
>
<
/el-tooltip
>
<
/div
>
<
el
-
image
style
=
"width: 100%; height: 100%"
:
src
=
" `${baseurl
}
/api/file/${item.filePath
}
`"
fit
=
"fit"
><
/el-image
>
<
/div
>
<
/el-carousel-item
>
<
/el-carousel
>
<
/div
>
<!--
轮播图
-->
<
/div
>
<
/template
>
<
script
>
const
baseurl
=
process
.
env
.
VUE_APP_BASE_API
import
{
queryBglxFile
}
from
'@/api/threeViolations/enterTV.js'
;
export
default
{
mounted
(){
queryBglxFile
({
}
).
then
(
res
=>
{
this
.
showList
=
res
.
data
.
records
||
[]
}
)
}
,
data
(){
return
{
baseurl
:
baseurl
,
showList
:[]
}
}
,
methods
:{
}
}
<
/script
>
<
style
lang
=
"scss"
scope
>
.
homePage
{
}
.
lbt
{
position
:
relative
;
// height: 60%;
width
:
100
%
;
.
lbtAll
{
height
:
100
%
;
width
:
100
%
;
.
sm
{
padding
-
top
:
16
px
;
padding
-
bottom
:
26
px
;
display
:
flex
;
justify
-
content
:
center
;
align
-
items
:
center
;
position
:
absolute
;
height
:
117
px
;
width
:
100
%
;
background
-
color
:
rgba
(
0
,
0
,
0
,
0.7
);
z
-
index
:
999
;
bottom
:
0
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
.
infor
{
color
:
#
fff
;
line
-
height
:
25
px
;
font
-
size
:
14
px
;
}
}
}
}
.
el
-
carousel__item
:
nth
-
child
(
2
n
)
{
background
-
color
:
#
99
a9bf
;
}
.
el
-
carousel__item
:
nth
-
child
(
2
n
+
1
)
{
background
-
color
:
#
d3dce6
;
}
<
/style
>
src/views/threeViolations/tFPasses/exposure.vue
View file @
cbded969
...
...
@@ -2,7 +2,7 @@
<div
class=
"form-detail"
>
<el-row
class=
"tool-bar"
>
<AttachFile
Button
:params=
"
{childPath:'BGLX'}" :app='vMain'>
</AttachFileButton
>
<AttachFile
Show
:params=
"
{childPath:'BGLX'}" :app='vMain'>
</AttachFileShow
>
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
...
...
src/views/threeViolations/tFPasses/leadership.vue
View file @
cbded969
...
...
@@ -2,7 +2,7 @@
<div
class=
"form-detail"
>
<el-row
class=
"tool-bar"
>
<AttachFile
Button
:params=
"
{childPath:'LDTH'}" :app='vMain'>
</AttachFileButton
>
<AttachFile
Show
:params=
"
{childPath:'LDTH'}" :app='vMain'>
</AttachFileShow
>
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
...
...
src/views/threeViolations/tFPasses/reflect.vue
View file @
cbded969
...
...
@@ -2,7 +2,7 @@
<div
class=
"form-detail"
>
<el-row
class=
"tool-bar"
>
<AttachFile
Button
:params=
"
{childPath:'FSJC'}" :app='vMain'>
</AttachFileButton
>
<AttachFile
Show
:params=
"
{childPath:'FSJC'}" :app='vMain'>
</AttachFileShow
>
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
...
...
src/views/threeViolations/tFPasses/safetyCourse.vue
View file @
cbded969
...
...
@@ -2,7 +2,7 @@
<div
class=
"form-detail"
>
<el-row
class=
"tool-bar"
>
<AttachFile
Button
:params=
"
{childPath:'AQBK'}" :app='vMain'>
</AttachFileButton
>
<AttachFile
Show
:params=
"
{childPath:'AQBK'}" :app='vMain'>
</AttachFileShow
>
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment