Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
rongtong-app
Commits
0c0c17b9
Commit
0c0c17b9
authored
Jul 07, 2023
by
yf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.censoft.com.cn/rongtong/rongtong-app
into dev-yf'
parents
f701b6b8
a9115a80
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
139 additions
and
88 deletions
+139
-88
src/views/saveWorkbench/index.vue
src/views/saveWorkbench/index.vue
+139
-88
No files found.
src/views/saveWorkbench/index.vue
View file @
0c0c17b9
...
@@ -7,22 +7,25 @@
...
@@ -7,22 +7,25 @@
</header>
</header>
</van-sticky>
</van-sticky>
<van-notice-bar
left-icon=
"volume-o"
:scrollable=
"true"
color=
"#a09c9c"
background=
"#D5EAFF"
>
<van-notice-bar
left-icon=
"volume-o"
:scrollable=
"true"
color=
"#a09c9c"
background=
"#D5EAFF"
>
<van-swipe
<van-swipe
class=
"notice-swipe"
:show-indicators=
"false"
width=
"100vw"
>
class=
"notice-swipe"
:show-indicators=
"false"
width=
"100vw"
>
<van-swipe-item>
危险源系统正式上线
</van-swipe-item>
<van-swipe-item>
危险源系统正式上线
</van-swipe-item>
<van-swipe-item>
汛期安全防护会议计划本周日召开
</van-swipe-item>
<van-swipe-item>
汛期安全防护会议计划本周日召开
</van-swipe-item>
</van-swipe>
</van-swipe>
</van-notice-bar>
</van-notice-bar>
<van-swipe
:autoplay=
"6000"
>
<van-swipe
:autoplay=
"6000"
>
<van-swipe-item
v-for=
"(item, index) in images"
:key=
"index"
>
<van-swipe-item
v-for=
"(item, index) in images"
:key=
"index"
>
<img
style=
"width:100%;height:200px"
:src=
"item.url"
/>
<img
style=
"width:100%;height:200px"
:src=
"item.url"
/>
</van-swipe-item>
</van-swipe-item>
</van-swipe>
</van-swipe>
<div
class=
"con"
>
<div
class=
"con"
>
<van-cell-group
inset
v-for=
"(item, index) in riskList"
:key=
"index"
>
<van-cell-group
inset
v-if=
"finalRiskList.length > 0"
>
<van-cell
value=
"风险评估管理"
/>
<van-grid
:column-num=
"4"
>
<van-grid-item
@
click=
"dangerJump(item.path)"
v-for=
"item in finalRiskList"
:key=
"item.key"
:icon=
"item.imgUrl"
:text=
"item.text"
/>
</van-grid>
</van-cell-group>
<!--
<van-cell-group
inset
v-for=
"(item, index) in riskList"
:key=
"index"
>
<van-cell
:value=
"item.menuName"
/>
<van-cell
:value=
"item.menuName"
/>
<van-grid
:column-num=
"5"
>
<van-grid
:column-num=
"5"
>
<van-grid-item
<van-grid-item
...
@@ -33,7 +36,7 @@
...
@@ -33,7 +36,7 @@
:text=
"it.menuName"
:text=
"it.menuName"
/>
/>
</van-grid>
</van-grid>
</van-cell-group>
</van-cell-group>
-->
</div>
</div>
<!-- tanBar -->
<!-- tanBar -->
<tab-bar
:index=
"1"
></tab-bar>
<tab-bar
:index=
"1"
></tab-bar>
...
@@ -49,7 +52,7 @@ export default {
...
@@ -49,7 +52,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
value
:
''
,
value
:
''
,
/**
/**
* 总公司:任务台账;
* 总公司:任务台账;
* 区域负责人:任务管理,任务审批,任务台账
* 区域负责人:任务管理,任务审批,任务台账
...
@@ -99,8 +102,51 @@ export default {
...
@@ -99,8 +102,51 @@ export default {
// text: "四色图",
// text: "四色图",
// },
// },
],
],
riskList
:[],
riskList
:
[
{
images
:[
key
:
"
1
"
,
path
:
"
/taskLedger
"
,
imgUrl
:
require
(
"
@/assets/workbench/work-approval.png
"
),
text
:
"
任务台账
"
,
},
{
key
:
"
2
"
,
path
:
"
/riskManage
"
,
imgUrl
:
require
(
"
@/assets/workbench/risk-report.png
"
),
text
:
"
任务管理
"
,
},
{
key
:
"
3
"
,
path
:
"
/taskManage
"
,
imgUrl
:
require
(
"
@/assets/workbench/plane-approval.png
"
),
text
:
"
任务审批
"
,
},
{
key
:
"
4
"
,
path
:
"
/riskExecution
"
,
imgUrl
:
require
(
"
@/assets/workbench/rectification-notice.png
"
),
text
:
"
执行管理
"
,
},
{
key
:
"
5
"
,
path
:
"
/riskAssess
"
,
imgUrl
:
require
(
"
@/assets/workbench/risk-confirm.png
"
),
text
:
"
风险评估
"
,
},
{
key
:
"
6
"
,
path
:
"
/riskApprove
"
,
imgUrl
:
require
(
"
@/assets/workbench/risk-account.png
"
),
text
:
"
风险审批
"
,
},
{
key
:
"
7
"
,
path
:
"
/riskLedger
"
,
imgUrl
:
require
(
"
@/assets/workbench/danger-account.png
"
),
text
:
"
风险台账
"
,
},],
finalRiskList
:[],
images
:
[
{
{
url
:
require
(
'
@/assets/workbench/u47.png
'
),
url
:
require
(
'
@/assets/workbench/u47.png
'
),
},
},
...
@@ -117,25 +163,26 @@ export default {
...
@@ -117,25 +163,26 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
getMenuList
()
// this.getMenuList();
this
.
workBenchList
();
},
},
methods
:
{
methods
:
{
//查询角色菜单列表
//查询角色菜单列表
getMenuList
(){
getMenuList
()
{
getFun
(
'
/menu/roleMenuTreeselect
'
).
then
((
res
)
=>
{
getFun
(
'
/menu/roleMenuTreeselect
'
).
then
((
res
)
=>
{
this
.
riskList
=
res
.
list
this
.
riskList
=
res
.
list
this
.
riskList
.
forEach
((
item
,
index
)
=>
{
this
.
riskList
.
forEach
((
item
,
index
)
=>
{
item
.
children
.
forEach
((
i
,
k
)
=>
{
item
.
children
.
forEach
((
i
,
k
)
=>
{
let
data
=
this
.
riskList2
.
find
((
y
)
=>
y
.
text
==
i
.
menuName
)
let
data
=
this
.
riskList2
.
find
((
y
)
=>
y
.
text
==
i
.
menuName
)
if
(
data
)
{
if
(
data
)
{
i
.
icon
=
data
.
imgUrl
i
.
icon
=
data
.
imgUrl
}
}
})
})
});
});
console
.
log
(
'
this.riskList==>>
'
,
this
.
riskList
)
console
.
log
(
'
this.riskList==>>
'
,
this
.
riskList
)
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
'
err==>>
'
,
err
)
console
.
log
(
'
err==>>
'
,
err
)
})
})
},
},
workBenchList
()
{
workBenchList
()
{
...
@@ -208,20 +255,24 @@ export default {
...
@@ -208,20 +255,24 @@ export default {
height: 1rem;
height: 1rem;
}
}
}
}
.notice-swipe {
.notice-swipe {
height: 40px;
height: 40px;
line-height: 40px;
line-height: 40px;
color: #a09c9c;
color: #a09c9c;
}
}
.van-swipe-item{
.van-swipe-item {
width: 100%;
width: 100%;
}
}
.my-swipe .van-swipe-item {
.my-swipe .van-swipe-item {
width: 100%;
width: 100%;
height: 300px;
height: 300px;
img{
img {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
}
}
}
}
</
style
>
</
style
>
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