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
beabfc7e
Commit
beabfc7e
authored
Jul 08, 2023
by
杨帆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dev yf'
parent
e1ca3828
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
278 additions
and
222 deletions
+278
-222
src/views/riskProject/add/taskList.vue
src/views/riskProject/add/taskList.vue
+53
-2
src/views/riskProject/approve/index.vue
src/views/riskProject/approve/index.vue
+1
-0
src/views/riskProject/assess/index.vue
src/views/riskProject/assess/index.vue
+1
-0
src/views/riskProject/manage/index.vue
src/views/riskProject/manage/index.vue
+223
-220
No files found.
src/views/riskProject/add/taskList.vue
View file @
beabfc7e
...
...
@@ -177,6 +177,11 @@
>
<van-col
span=
"22"
@
click=
"toRiskDetail(item)"
>
<van-col
span=
"5"
>
<van-image
width=
"46"
height=
"46"
src=
"https://img01.yzcdn.cn/vant/cat.jpeg"
/>
<van-image
width=
"46"
height=
"46"
:src=
"item.avatar"
/>
</van-col>
<van-col
span=
"17"
>
...
...
@@ -187,7 +192,11 @@
</van-col>
</van-col>
<van-col
span=
"2"
>
<van-row>
<van-row
:style=
"
{
color: '#03b615'
}"
>
<van-icon
name=
"arrow"
size=
"26px"
@
click=
"goColorDetail"
/>
</van-row>
</van-col>
...
...
@@ -338,6 +347,35 @@
<div>
删除任务
</div>
</div>
</div>
<div
v-show=
"pathAuth == 'riskApprove' && status == 2"
style=
"display: flex;
justify-content: space-around;
background-color: #fff;
border-top: 1px solid #e3e3e3;
height: 1.5rem;
width: 100%;
text-align: center;
position: fixed;
bottom: 0;"
>
<div
@
click=
"approveTask"
style=
"color: #4bced0;font-size: 14px;font-weight: 600;"
>
<div
style=
"font-size: 22px;"
>
<van-icon
name=
"success"
/>
</div>
<div>
审批通过
</div>
</div>
<div
@
click=
"unApproveTask"
style=
"color: #ec808d;font-size: 14px;font-weight: 600;"
>
<div
style=
"font-size: 22px;"
><van-icon
name=
"cross"
/></div>
<div>
审批否决
</div>
</div>
</div>
</div>
</
template
>
...
...
@@ -386,7 +424,7 @@ export default {
var
planId
=
this
.
$route
.
params
.
id
||
sessionStorage
.
getItem
(
"
planId
"
);
var
buildingId
=
this
.
$route
.
params
.
buildingId
||
sessionStorage
.
getItem
(
"
buildingId
"
);
this
.
pathAuth
=
sessionStorage
.
getItem
(
"
pathAuth
"
);
this
.
postList
(
planId
,
buildingId
);
this
.
getRiskTaskList
(
planId
,
buildingId
);
},
...
...
@@ -394,6 +432,7 @@ export default {
timestampToTimes
(
time
)
{
return
timestampToTime
(
new
Date
(
time
),
"
DT2
"
,
true
);
},
//执行任务
performTasks
()
{
sessionStorage
.
setItem
(
"
buildingId
"
,
...
...
@@ -416,10 +455,22 @@ export default {
//修改任务
editTask
()
{
//TODO 修改任务
console
.
log
(
"
修改任务
"
);
},
//删除任务
delTask
()
{
//TODO 删除任务
console
.
log
(
"
删除任务
"
);
},
//审批通过
approveTask
()
{
//TODO 审批通过
console
.
log
(
"
审批通过
"
);
},
//审批否决
unApproveTask
()
{
//TODO 审批否决
console
.
log
(
"
审批否决
"
);
},
handadd
()
{
this
.
$router
.
push
({
...
...
src/views/riskProject/approve/index.vue
View file @
beabfc7e
...
...
@@ -175,6 +175,7 @@ export default {
// buildingId: item.buildingId
}
});
sessionStorage
.
setItem
(
"
pathAuth
"
,
"
riskApprove
"
);
sessionStorage
.
setItem
(
"
planId
"
,
item
.
id
);
sessionStorage
.
setItem
(
"
buildingId
"
,
""
);
}
...
...
src/views/riskProject/assess/index.vue
View file @
beabfc7e
...
...
@@ -278,6 +278,7 @@ export default {
}
});
sessionStorage
.
setItem
(
"
planId
"
,
item
.
id
);
sessionStorage
.
setItem
(
"
pathAuth
"
,
"
riskAssess
"
);
sessionStorage
.
setItem
(
"
buildingId
"
,
item
.
buildingId
);
this
.
showIndex
=
false
;
},
...
...
src/views/riskProject/manage/index.vue
View file @
beabfc7e
This diff is collapsed.
Click to expand it.
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