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
eedec47c
Commit
eedec47c
authored
Jul 06, 2023
by
wei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批
parent
2538d488
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
128 deletions
+4
-128
src/views/riskProject/approve/index.vue
src/views/riskProject/approve/index.vue
+4
-128
No files found.
src/views/riskProject/approve/index.vue
View file @
eedec47c
...
@@ -52,8 +52,8 @@
...
@@ -52,8 +52,8 @@
<van-button
<van-button
type=
"info"
type=
"info"
size=
"mini"
size=
"mini"
@
click=
"
look
detail(index, item)"
@
click=
"
to
detail(index, item)"
>
执行情况
</van-button
>
{{
active
==
2
?
'
去处理
'
:
'
去审批
'
}}
</van-button
>
>
</van-row>
</van-row>
</van-col>
</van-col>
...
@@ -76,90 +76,6 @@
...
@@ -76,90 +76,6 @@
<!--
{{
messageList
}}
-->
<!--
{{
messageList
}}
-->
</van-tab>
</van-tab>
</van-tabs>
</van-tabs>
<!-- 长按显示遮罩层 -->
<van-popup
v-model=
"showIndex"
closeable
round
position=
"right"
:style=
"
{ width: '90%', height: '100%' }"
>
<van-cell-group
title=
"执行情况"
>
<!-- 内容列表 -->
<div
class=
"con-list"
>
<van-cell-group
inset
v-for=
"(item, index) in buildingList"
:key=
"index"
>
<van-row
gutter=
""
>
<van-col
span=
"16"
>
{{
item
.
buildingName
}}
</van-col>
<van-col
span=
"8"
:style=
"
{
color:
item.status == 'wait'
? '#F79648'
: item.status == 'finish'
? '#03B615'
: '#FF041D'
}"
>
{{
item
.
status
==
"
wait
"
?
"
待评估
"
:
item
.
status
==
"
finish
"
?
"
已完成
"
:
"
已退回
"
}}
</van-col
>
</van-row>
<van-row>
<van-col
span=
"18"
>
<van-row
gutter=
""
>
<van-col
span=
"8"
>
创 建 人:
</van-col>
<van-col
span=
"16"
>
{{
item
.
createUserName
}}
</van-col>
</van-row>
<van-row
gutter=
""
>
<van-col
span=
"8"
>
处理人员:
</van-col>
<van-col
span=
"16"
>
{{
item
.
workUserNames
}}
</van-col>
</van-row>
<van-row
gutter=
""
>
<van-col
span=
"8"
>
发起时间:
</van-col>
<van-col
span=
"16"
>
{{
timestampToTimes
(
item
.
startTime
)
}}
</van-col>
</van-row>
</van-col>
<van-col
span=
"6"
>
<van-row>
<van-button
type=
"info"
size=
"mini"
@
click=
"todetail(index, item)"
>
查看详情
</van-button
>
</van-row></van-col
>
</van-row>
</van-cell-group>
<div
style=
"
width: 100%;
text-align: center;
font-size: 0.48rem;
position: fixed;
top: 30%;
"
v-if=
"buildingList['length'] == 0"
>
暂无数据
</div>
</div>
</van-cell-group>
</van-popup>
</div>
</div>
</
template
>
</
template
>
...
@@ -186,7 +102,6 @@ export default {
...
@@ -186,7 +102,6 @@ export default {
}
}
],
],
Loop
:
""
,
// 定时器
Loop
:
""
,
// 定时器
showIndex
:
false
,
// 是否显示遮罩层,
active
:
0
,
active
:
0
,
// 状态 wait 待评估,running 执行中,finish 已完成
// 状态 wait 待评估,running 执行中,finish 已完成
tabs
:
[
tabs
:
[
...
@@ -251,57 +166,18 @@ export default {
...
@@ -251,57 +166,18 @@ export default {
});
});
},
},
onSearch
(
val
)
{
this
.
postList
(
this
.
searchValue
);
},
//执行情况
lookdetail
(
index
,
item
)
{
this
.
showIndex
=
true
;
console
.
log
(
item
);
getFun
(
"
/risk/plan/allocation/building/list/
"
+
item
.
id
)
.
then
(
res
=>
{
console
.
log
(
res
);
this
.
buildingList
=
res
.
data
;
})
.
catch
(()
=>
{
this
.
$toast
.
clear
();
this
.
$toast
.
fail
(
"
加载失败,请稍后再试
"
);
});
},
//查看详情
//查看详情
todetail
(
index
,
item
)
{
todetail
(
index
,
item
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"
riskTaskList
"
,
name
:
"
riskTaskList
"
,
params
:
{
params
:
{
id
:
item
.
id
,
id
:
item
.
id
,
buildingId
:
item
.
buildingId
//
buildingId: item.buildingId
}
}
});
});
sessionStorage
.
setItem
(
"
planId
"
,
item
.
id
);
sessionStorage
.
setItem
(
"
planId
"
,
item
.
id
);
sessionStorage
.
setItem
(
"
buildingId
"
,
item
.
buildingId
);
sessionStorage
.
setItem
(
"
buildingId
"
,
''
);
this
.
showIndex
=
false
;;
},
// 详情
goDetail
(
data
)
{
this
.
$router
.
push
({
name
:
"
risk-big-detail
"
,
params
:
{
id
:
data
.
businessId
||
data
.
id
}
});
this
.
showIndex
=
false
;
},
},
// 确认
goConfirm
(
data
)
{
this
.
$router
.
push
({
name
:
"
risk-affirm
"
,
params
:
{
data
:
data
}
});
this
.
showIndex
=
false
;
}
}
}
};
};
</
script
>
</
script
>
...
...
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