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
ace0f3ba
Commit
ace0f3ba
authored
Jun 30, 2023
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 新增现状风险 修复固有风险表单,修复缓存id
parent
a4fc0ad1
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1137 additions
and
194 deletions
+1137
-194
src/App.vue
src/App.vue
+1
-1
src/router/index.js
src/router/index.js
+6
-1
src/views/riskProject/add/addCurrent.vue
src/views/riskProject/add/addCurrent.vue
+257
-183
src/views/riskProject/add/addInherent.vue
src/views/riskProject/add/addInherent.vue
+1
-1
src/views/riskProject/add/addPresent.vue
src/views/riskProject/add/addPresent.vue
+847
-0
src/views/riskProject/add/index.vue
src/views/riskProject/add/index.vue
+1
-1
src/views/riskProject/add/inherentRisks.vue
src/views/riskProject/add/inherentRisks.vue
+20
-4
src/views/riskProject/add/taskList.vue
src/views/riskProject/add/taskList.vue
+1
-1
src/views/riskProject/manage/index.vue
src/views/riskProject/manage/index.vue
+3
-2
No files found.
src/App.vue
View file @
ace0f3ba
...
...
@@ -40,7 +40,7 @@ export default {
'
riskAdd
'
],
// 不需要展示底部tabbar的页面
noTab
:[
"
login
"
,
"
login2
"
,
'
addInherent
'
,
'
riskInherent
'
,
"
choose-people
"
,
"
scan
"
,
'
success
'
,
'
fail
'
,
'
warn
'
,
'
center
'
,
'
reset-pas-two
'
,
'
riskTaskList
'
],
noTab
:[
"
login
"
,
"
login2
"
,
'
add
Current
'
,
'
addPresent
'
,
'
add
Inherent
'
,
'
riskInherent
'
,
"
choose-people
"
,
"
scan
"
,
'
success
'
,
'
fail
'
,
'
warn
'
,
'
center
'
,
'
reset-pas-two
'
,
'
riskTaskList
'
],
// cachePage预先定义的缓存页面
otherCache
:
[],
// 专门处理列表缓存的页面,这些页面缓存逻辑与其他缓存不一样去详情返回列表缓存,但是进入列表必须刷新,如何有需要缓存的列表请放到这里来。
...
...
src/router/index.js
View file @
ace0f3ba
...
...
@@ -156,11 +156,16 @@ const routes = [{
name
:
'
addInherent
'
,
component
:
()
=>
import
(
'
../views/riskProject/add/addInherent.vue
'
),
},
{
{
//编辑固有风险
path
:
'
/addCurrent
'
,
name
:
'
addCurrent
'
,
component
:
()
=>
import
(
'
../views/riskProject/add/addCurrent.vue
'
),
},
{
//新增现状风险
path
:
'
/addPresent
'
,
name
:
'
addPresent
'
,
component
:
()
=>
import
(
'
../views/riskProject/add/addPresent.vue
'
),
},
]
const
router
=
new
VueRouter
({
...
...
src/views/riskProject/add/addCurrent.vue
View file @
ace0f3ba
This diff is collapsed.
Click to expand it.
src/views/riskProject/add/addInherent.vue
View file @
ace0f3ba
...
...
@@ -638,7 +638,7 @@ export default {
message
:
"
提交成功
"
,
duration
:
2000
,
});
//
history.go(-1);
history
.
go
(
-
1
);
})
.
catch
(()
=>
{
this
.
$toast
.
clear
();
...
...
src/views/riskProject/add/addPresent.vue
0 → 100644
View file @
ace0f3ba
This diff is collapsed.
Click to expand it.
src/views/riskProject/add/index.vue
View file @
ace0f3ba
...
...
@@ -437,7 +437,7 @@ export default {
message
:
"
提交成功
"
,
duration
:
2000
,
});
//
history.go(-1);
history
.
go
(
-
1
);
})
.
catch
(()
=>
{
this
.
$toast
.
clear
();
...
...
src/views/riskProject/add/inherentRisks.vue
View file @
ace0f3ba
...
...
@@ -31,7 +31,7 @@
<van-col
span=
"17"
>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
发起时间:
</van-col>
<van-col
span=
"15"
>
{{
item
.
createTime
}}
</van-col>
<van-col
span=
"15"
>
{{
timestampToTimes
(
item
.
createTime
)
}}
</van-col>
</van-row>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
楼层:
</van-col>
...
...
@@ -46,6 +46,17 @@
{{
'
●待审批
'
}}
</van-col>
</van-row>
<van-overlay
:show=
"showIndex == index"
>
<div
class=
"wrapper"
@
click.stop=
"showIndex = null"
>
<van-button
round
type=
"primary"
@
click=
"goDetail(item)"
>
编辑
</van-button
>
<!--
<van-button
round
type=
"info"
@
click=
"goConfirm(item)"
v-show=
"active==0"
>
确认
</van-button
>
-->
</div>
</van-overlay>
</van-cell-group>
<div
style=
"
...
...
@@ -83,6 +94,7 @@
<
script
>
import
LHeader
from
"
@/components/header.vue
"
;
import
{
getFun
,
postFun
}
from
"
@/service/table.js
"
;
import
{
timestampToTime
,
generateId
}
from
"
@/utils/format
"
;
export
default
{
name
:
'
risk-confirme
'
,
components
:
{
...
...
@@ -111,11 +123,14 @@
};
},
created
()
{
this
.
planId
=
this
.
$route
.
params
.
id
this
.
planId
=
this
.
$route
.
params
.
id
||
sessionStorage
.
getItem
(
'
planId
'
)
this
.
getRiskList
(
this
.
planId
);
// this.postList();
},
methods
:
{
timestampToTimes
(
time
){
return
timestampToTime
(
new
Date
(
time
),
"
DT2
"
,
true
)
},
changeData
(
arr
){
var
arrList
=
[]
arr
.
forEach
(
item
=>
{
...
...
@@ -239,9 +254,10 @@
// 详情
goDetail
(
data
)
{
this
.
$router
.
push
({
name
:
"
risk-big-detail
"
,
name
:
"
addCurrent
"
,
params
:
{
id
:
data
.
businessId
||
data
.
id
,
inherentId
:
data
.
businessId
||
data
.
id
,
buildingIds
:
this
.
active
,
},
});
this
.
showIndex
=
null
;
...
...
src/views/riskProject/add/taskList.vue
View file @
ace0f3ba
...
...
@@ -260,7 +260,7 @@
};
},
created
()
{
var
planId
=
this
.
$route
.
params
.
id
var
planId
=
this
.
$route
.
params
.
id
||
sessionStorage
.
getItem
(
'
planId
'
)
this
.
postList
(
planId
);
},
methods
:
{
...
...
src/views/riskProject/manage/index.vue
View file @
ace0f3ba
...
...
@@ -70,9 +70,9 @@
>
详情
</van-button
>
<van-button
round
type=
"info"
@
click=
"goConfirm(item)"
v-show=
"active==0"
<
!-- <
van-button round type="info" @click="goConfirm(item)" v-show="active==0"
>确认</van-button
>
>
-->
</div>
</van-overlay>
</van-cell-group>
...
...
@@ -190,6 +190,7 @@
id
:
data
.
businessId
||
data
.
id
,
},
});
sessionStorage
.
setItem
(
'
planId
'
,
data
.
id
)
this
.
showIndex
=
null
;
},
// 确认
...
...
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