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
b5bb8cbb
Commit
b5bb8cbb
authored
Jul 08, 2023
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug 修复
parent
a9485f95
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
30 deletions
+29
-30
src/views/riskProject/add/addCurrent.vue
src/views/riskProject/add/addCurrent.vue
+1
-8
src/views/riskProject/add/addInherent.vue
src/views/riskProject/add/addInherent.vue
+2
-2
src/views/riskProject/add/inherentRisks.vue
src/views/riskProject/add/inherentRisks.vue
+2
-2
src/views/riskProject/taskLedger/index.vue
src/views/riskProject/taskLedger/index.vue
+24
-18
No files found.
src/views/riskProject/add/addCurrent.vue
View file @
b5bb8cbb
...
...
@@ -300,14 +300,7 @@ export default {
factor
:
""
,
//风险因素
showFactor
:
false
,
columnsFactor
:
[],
messageList
:
[
{
title
:
'
回显风险源名称
'
,
time
:
'
2022-12-12
'
,
name
:
'
Mr.周
'
,
state
:
1
}
],
messageList
:
[],
source
:
""
,
//风险源
userPrefix
:
""
,
//风险源
showSource
:
false
,
...
...
src/views/riskProject/add/addInherent.vue
View file @
b5bb8cbb
...
...
@@ -190,8 +190,8 @@
</van-collapse-item>
</van-collapse>
<van-row
type=
"flex"
justify=
"center"
style=
"margin-top:10px"
>
<van-col
span=
"6"
><van-button
size=
"small"
plain
type=
"info"
@
click=
"showGradeDialog = false"
>
取消
</van-button></van-col>
<van-col
span=
"6"
><van-button
size=
"small"
type=
"info
"
@
click=
"goResultPage"
>
开始测评
</van-button></van-col>
<van-col
span=
"6"
><van-button
size=
"small"
plain
native-type=
"button"
type=
"info"
@
click=
"showGradeDialog = false"
>
取消
</van-button></van-col>
<van-col
span=
"6"
><van-button
size=
"small"
type=
"info"
native-type=
"button
"
@
click=
"goResultPage"
>
开始测评
</van-button></van-col>
</van-row>
</div>
</van-dialog>
...
...
src/views/riskProject/add/inherentRisks.vue
View file @
b5bb8cbb
...
...
@@ -14,7 +14,7 @@
<div
class=
"con-list"
>
<van-cell-group
inset
v-for=
"(item, index) in messageList"
:key=
"index"
@
click=
"touchstart(index, item)"
>
<div
style=
"font-size: 0.45rem;padding: 5px 0;"
>
{{
item
.
titl
e
}}
{{
item
.
nam
e
}}
</div>
<van-row
gutter=
""
>
<van-col
span=
"17"
>
...
...
@@ -224,7 +224,7 @@ export default {
async
getRiskList
(
id
)
{
this
.
$toast
.
loading
({
message
:
"
加载中...
"
,
forbidClick
:
true
,
forbidClick
:
true
,
loadingType
:
"
spinner
"
,
duration
:
0
});
...
...
src/views/riskProject/taskLedger/index.vue
View file @
b5bb8cbb
...
...
@@ -11,34 +11,29 @@
>
<van-tab
title=
"排序"
>
<template
#title
>
排序
<van-icon
name=
"down"
/></
template
>
<div
class=
"con-list"
>
<van-cell-group
inset
@
click=
"touchstart(0)"
>
<div
style=
"font-size: 0.45rem;padding: 5px 0;"
>
项目评估任务单1
</div>
<div
class=
"con-list"
>
<van-cell-group
v-for=
"(item,index) in taskList"
:key=
"index"
inset
@
click=
"touchstart(index, item)"
>
<div
style=
"font-size: 0.45rem;padding: 5px 0;"
>
{{item.name}}
</div>
<van-row
gutter=
""
>
<van-col
span=
"17"
>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
发起时间:
</van-col>
<van-col
span=
"15"
>
2023-07-05
</van-col>
<van-col
span=
"15"
>
{{ timestampToTimes(item.startTime) }}
</van-col>
</van-row>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
处理人员:
</van-col>
<van-col
span=
"15"
>
孔德龙
</van-col>
<van-col
span=
"15"
>
{{item.leaderUserName}}
</van-col>
</van-row>
</van-col>
<van-col
span=
"7"
:style=
"{'color':'#03b615'}"
>
发起
{{item.state}}
</van-col>
</van-row>
<!-- 长按显示遮罩层 -->
<van-overlay
:show=
"showIndex ==
0
"
>
<van-overlay
:show=
"showIndex ==
index
"
>
<div
class=
"wrapper"
@
click.stop=
"showIndex = null"
>
<van-button
round
type=
"primary"
@
click=
"goDetail()"
<van-button
round
type=
"primary"
@
click=
"goDetail(
item
)"
>
详情
</van-button
>
</div>
...
...
@@ -55,7 +50,8 @@
<
script
type=
"text/ecmascript-6"
>
import
LHeader
from
"
@/components/header.vue
"
;
import
{
timestampToTime
,
generateId
}
from
"
@/utils/format
"
;
import
{
getFun
,
postFun
}
from
"
@/service/table.js
"
;
export
default
{
name
:
'
taskLedger
'
,
//任务台账
data
()
{
...
...
@@ -63,15 +59,25 @@ export default {
text
:
'
任务台账
'
,
active
:
0
,
showIndex
:
null
,
// 是否显示遮罩层,
taskList
:
[],
// 是否显示遮罩层,
}
},
components
:
{
LHeader
,
},
mounted
()
{
this
.
getList
()
},
methods
:
{
timestampToTimes
(
time
)
{
return
timestampToTime
(
new
Date
(
time
),
"
DT2
"
,
true
);
},
getList
(){
getFun
(
'
/risk/plan/details/list
'
).
then
(
res
=>
{
console
.
log
(
'
%c [ res ]-77
'
,
'
font-size:13px; background:pink; color:#bf2c9f;
'
,
res
)
this
.
taskList
=
res
.
data
})
},
//点击列表
touchstart
(
index
,
item
)
{
if
(
this
.
showIndex
!=
null
)
{
...
...
@@ -81,11 +87,11 @@ export default {
this
.
showIndex
=
index
;
},
// 详情
goDetail
(){
goDetail
(
item
){
this
.
$router
.
push
({
name
:
"
taskDetail
"
,
name
:
"
riskTaskList
"
,
params
:
{
id
:
''
,
id
:
item
.
id
,
},
});
}
...
...
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