Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-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
首开风险隐患双控平台
BCDH-APP
Commits
2ab4ce3c
Commit
2ab4ce3c
authored
Oct 27, 2021
by
13841799530
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.censoft.com.cn/BCDH-HSE/bcdh-app
into develop
parents
582a73d5
b455b64d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
217 additions
and
62 deletions
+217
-62
src/service/danger.js
src/service/danger.js
+59
-1
src/views/danger/addDanger/addDanger.vue
src/views/danger/addDanger/addDanger.vue
+151
-56
src/views/danger/reportReturn/returned.vue
src/views/danger/reportReturn/returned.vue
+2
-2
src/views/risk/riskAdd/index.vue
src/views/risk/riskAdd/index.vue
+3
-1
src/views/risk/riskReturn/riskReturned.vue
src/views/risk/riskReturn/riskReturned.vue
+2
-2
No files found.
src/service/danger.js
View file @
2ab4ce3c
...
@@ -8,4 +8,62 @@ export function dangerReturn(url,data) {
...
@@ -8,4 +8,62 @@ export function dangerReturn(url,data) {
method
:
'
post
'
,
method
:
'
post
'
,
data
data
})
})
}
}
\ No newline at end of file
// 请求新增表单数据信息的
export
function
getFormList
(
url
,
params
)
{
return
request
({
url
:
url
,
method
:
'
get
'
,
params
})
}
// 隐患类型
export
function
postHdTyp
(
url
,
data
)
{
return
request
({
url
:
url
,
method
:
'
post
'
,
data
})
}
// 隐患项目名称
export
function
postHdName
(
url
,
data
)
{
return
request
({
url
:
url
,
method
:
'
post
'
,
data
})
}
// 隐患项目编号和隐患级别
export
function
postHdInventories
(
url
,
data
)
{
return
request
({
url
:
url
,
method
:
'
post
'
,
data
})
}
// 风险源带出来的字段
export
function
postHdRiskSource
(
url
,
data
)
{
return
request
({
url
:
url
,
method
:
'
post
'
,
data
})
}
// 隐患整改人接口
export
function
postHdShowPeople
(
url
,
data
)
{
return
request
({
url
:
url
,
method
:
'
post
'
,
data
})
}
// 隐患上报保存接口
export
function
postHdReportAdd
(
url
,
data
)
{
return
request
({
url
:
url
,
method
:
'
post
'
,
data
})
}
src/views/danger/addDanger/addDanger.vue
View file @
2ab4ce3c
<
template
>
<
template
>
<div>
<div>
<LHeader
:text=
"text"
></LHeader>
<LHeader
:text=
"text"
></LHeader>
<van-form
<van-form
@
submit=
"onSubmit"
@
submit=
"onSubmit"
...
@@ -9,21 +8,20 @@
...
@@ -9,21 +8,20 @@
:show-error=
"false"
:show-error=
"false"
validate-trigger=
"onSubmit"
validate-trigger=
"onSubmit"
>
>
<van-field
<van-field
v-if=
"isShowreturnCause"
v-if=
"isShowreturnCause"
v-model=
"returnCause"
v-model=
"returnCause"
readonly
readonly
rows=
"1"
rows=
"1"
autosize=
""
autosize=
""
label=
"退回原因"
label=
"退回原因"
name=
"退回原因"
type=
"textarea"
type=
"textarea"
/>
/>
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
所属工程名称
"
name=
"
proId
"
:value=
"projectName"
:value=
"projectName"
label=
"所属工程名称"
label=
"所属工程名称"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -33,6 +31,7 @@
...
@@ -33,6 +31,7 @@
<van-popup
v-model=
"showProjectName"
position=
"bottom"
>
<van-popup
v-model=
"showProjectName"
position=
"bottom"
>
<van-picker
<van-picker
show-toolbar
show-toolbar
value-key=
"projectName"
:columns=
"columnsProjectName"
:columns=
"columnsProjectName"
@
confirm=
"onConProjectName"
@
confirm=
"onConProjectName"
@
cancel=
"showProjectName = false"
@
cancel=
"showProjectName = false"
...
@@ -42,7 +41,7 @@
...
@@ -42,7 +41,7 @@
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
适用范围
"
name=
"
hdRange
"
:value=
"range"
:value=
"range"
label=
"适用范围"
label=
"适用范围"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -52,6 +51,7 @@
...
@@ -52,6 +51,7 @@
<van-popup
v-model=
"showRange"
position=
"bottom"
>
<van-popup
v-model=
"showRange"
position=
"bottom"
>
<van-picker
<van-picker
show-toolbar
show-toolbar
value-key=
"hdRange"
:columns=
"columnsRange"
:columns=
"columnsRange"
@
confirm=
"onConRange"
@
confirm=
"onConRange"
@
cancel=
"showRange = false"
@
cancel=
"showRange = false"
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
隐患类型
"
name=
"
hdType
"
:value=
"type"
:value=
"type"
label=
"隐患类型"
label=
"隐患类型"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -71,6 +71,7 @@
...
@@ -71,6 +71,7 @@
<van-popup
v-model=
"showType"
position=
"bottom"
>
<van-popup
v-model=
"showType"
position=
"bottom"
>
<van-picker
<van-picker
show-toolbar
show-toolbar
value-key=
"hdType"
:columns=
"columnsType"
:columns=
"columnsType"
@
confirm=
"onConType"
@
confirm=
"onConType"
@
cancel=
"showType = false"
@
cancel=
"showType = false"
...
@@ -80,7 +81,7 @@
...
@@ -80,7 +81,7 @@
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
隐患项目名称
"
name=
"
hdProjectName
"
:value=
"dangerName"
:value=
"dangerName"
label=
"隐患项目名称"
label=
"隐患项目名称"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -90,6 +91,7 @@
...
@@ -90,6 +91,7 @@
<van-popup
v-model=
"showDangerName"
position=
"bottom"
>
<van-popup
v-model=
"showDangerName"
position=
"bottom"
>
<van-picker
<van-picker
show-toolbar
show-toolbar
value-key=
"hdName"
:columns=
"columnsDangerName"
:columns=
"columnsDangerName"
@
confirm=
"onConDangerName"
@
confirm=
"onConDangerName"
@
cancel=
"showDangerName = false"
@
cancel=
"showDangerName = false"
...
@@ -99,7 +101,7 @@
...
@@ -99,7 +101,7 @@
<van-field
<van-field
v-model=
"dangerNum"
v-model=
"dangerNum"
readonly
readonly
name=
"
隐患项目编号
"
name=
"
hdProjectId
"
label=
"隐患项目编号"
label=
"隐患项目编号"
placeholder=
"请选择"
placeholder=
"请选择"
:rules=
"[
{ required: true, message: '隐患项目编号不能为空' }]"
:rules=
"[
{ required: true, message: '隐患项目编号不能为空' }]"
...
@@ -107,7 +109,7 @@
...
@@ -107,7 +109,7 @@
<van-field
<van-field
v-model=
"dangerLevel"
v-model=
"dangerLevel"
readonly
readonly
name=
"
隐患级别
"
name=
"
hdLev
"
label=
"隐患级别"
label=
"隐患级别"
placeholder=
"请选择"
placeholder=
"请选择"
:rules=
"[
{ required: true, message: '隐患级别不能为空' }]"
:rules=
"[
{ required: true, message: '隐患级别不能为空' }]"
...
@@ -116,7 +118,7 @@
...
@@ -116,7 +118,7 @@
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
隐患发现时间
"
name=
"
hdDiscoveryTime
"
:value=
"findTime"
:value=
"findTime"
label=
"隐患发现时间"
label=
"隐患发现时间"
placeholder=
"点击选择日期"
placeholder=
"点击选择日期"
...
@@ -134,7 +136,7 @@
...
@@ -134,7 +136,7 @@
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
风险源
"
name=
"
dangerId
"
:value=
"source"
:value=
"source"
label=
"风险源"
label=
"风险源"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -144,6 +146,7 @@
...
@@ -144,6 +146,7 @@
<van-popup
v-model=
"showSource"
position=
"bottom"
>
<van-popup
v-model=
"showSource"
position=
"bottom"
>
<van-picker
<van-picker
show-toolbar
show-toolbar
value-key=
"factor"
:columns=
"columnsSource"
:columns=
"columnsSource"
@
confirm=
"onConSource"
@
confirm=
"onConSource"
@
cancel=
"showSource = false"
@
cancel=
"showSource = false"
...
@@ -153,7 +156,7 @@
...
@@ -153,7 +156,7 @@
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
风险源
"
name=
"
dangerSource
"
:value=
"source1"
:value=
"source1"
label=
" "
label=
" "
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -163,6 +166,7 @@
...
@@ -163,6 +166,7 @@
<van-popup
v-model=
"showSource1"
position=
"bottom"
>
<van-popup
v-model=
"showSource1"
position=
"bottom"
>
<van-picker
<van-picker
show-toolbar
show-toolbar
value-key=
"riskSource"
:columns=
"columnsSource1"
:columns=
"columnsSource1"
@
confirm=
"onConSource1"
@
confirm=
"onConSource1"
@
cancel=
"showSource1 = false"
@
cancel=
"showSource1 = false"
...
@@ -171,7 +175,7 @@
...
@@ -171,7 +175,7 @@
<van-field
<van-field
v-model=
"location"
v-model=
"location"
name=
"
检查部位
"
name=
"
hdPosition
"
label=
"检查部位"
label=
"检查部位"
placeholder=
"请输入"
placeholder=
"请输入"
:rules=
"[
{ required: true, message: '检查部位不能为空' }]"
:rules=
"[
{ required: true, message: '检查部位不能为空' }]"
...
@@ -181,14 +185,14 @@
...
@@ -181,14 +185,14 @@
v-model=
"describe"
v-model=
"describe"
rows=
"3"
rows=
"3"
label=
"隐患描述"
label=
"隐患描述"
name=
"
隐患描述
"
name=
"
hdDescribe
"
type=
"textarea"
type=
"textarea"
placeholder=
"请输入"
placeholder=
"请输入"
:rules=
"[
{ required: true, message: '隐患描述不能为空' }]"
:rules=
"[
{ required: true, message: '隐患描述不能为空' }]"
/>
/>
<van-field
<van-field
name=
"
uploader
"
name=
"
hdPicture1
"
label=
"隐患照片"
label=
"隐患照片"
:rules=
"[
{ required: true, message: '请上传图像' }]"
:rules=
"[
{ required: true, message: '请上传图像' }]"
>
>
...
@@ -197,7 +201,7 @@
...
@@ -197,7 +201,7 @@
</
template
>
</
template
>
</van-field>
</van-field>
<van-field
name=
"
uploader2
"
label=
"隐患视频"
>
<van-field
name=
"
hdVideo1
"
label=
"隐患视频"
>
<
template
#input
>
<
template
#input
>
<van-uploader
v-model=
"uploaderVideo"
/>
<van-uploader
v-model=
"uploaderVideo"
/>
</
template
>
</
template
>
...
@@ -205,7 +209,7 @@
...
@@ -205,7 +209,7 @@
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
隐患到期时间
"
name=
"
hdExpirationTime
"
:value=
"expireTime"
:value=
"expireTime"
label=
"隐患到期时间"
label=
"隐患到期时间"
placeholder=
"点击选择日期"
placeholder=
"点击选择日期"
...
@@ -222,7 +226,7 @@
...
@@ -222,7 +226,7 @@
<van-field
<van-field
readonly
readonly
clickable
clickable
name=
"
隐患整改人
"
name=
"
rectificationUser
"
:value=
"recPeople"
:value=
"recPeople"
label=
"隐患整改人"
label=
"隐患整改人"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -231,6 +235,7 @@
...
@@ -231,6 +235,7 @@
<van-popup
v-model=
"showRecPeople"
position=
"bottom"
>
<van-popup
v-model=
"showRecPeople"
position=
"bottom"
>
<van-picker
<van-picker
show-toolbar
show-toolbar
value-key=
"userName"
:columns=
"columnsRecPeople"
:columns=
"columnsRecPeople"
@
confirm=
"onConRecPeople"
@
confirm=
"onConRecPeople"
@
cancel=
"showRecPeople = false"
@
cancel=
"showRecPeople = false"
...
@@ -254,84 +259,168 @@
...
@@ -254,84 +259,168 @@
<
script
>
<
script
>
import
LHeader
from
"
@/components/header.vue
"
;
import
LHeader
from
"
@/components/header.vue
"
;
import
{
timestampToTime
}
from
"
@/utils/format
"
;
import
{
timestampToTime
}
from
"
@/utils/format
"
;
import
{
getFormList
,
postHdTyp
,
postHdName
,
postHdInventories
,
postHdRiskSource
,
postHdShowPeople
,
postHdReportAdd
}
from
"
@/service/danger
"
;
export
default
{
export
default
{
components
:
{
components
:
{
LHeader
LHeader
},
},
created
()
{
if
(
this
.
$route
.
params
.
status
)
{
this
.
isShowreturnCause
=
true
;
this
.
text
=
"
隐患上报退回
"
;
}
this
.
getList
();
},
data
()
{
data
()
{
return
{
return
{
text
:
"
新增隐患
"
,
text
:
"
新增隐患
"
,
projectName
:
""
,
// 所属工程
projectId
:
""
,
// 所属工程
projectName
:
""
,
showProjectName
:
false
,
showProjectName
:
false
,
columnsProjectName
:
[
"
工程1
"
,
"
工程2
"
,
"
工程3
"
,
"
工程4
"
],
columnsProjectName
:
[],
range
:
""
,
//适用范围
range
:
""
,
//适用范围
showRange
:
false
,
showRange
:
false
,
columnsRange
:
[
"
适用范围1
"
,
"
适用范围2
"
,
"
适用范围3
"
,
"
适用范围4
"
],
columnsRange
:
[],
type
:
""
,
//隐患类型
type
:
""
,
//隐患类型
showType
:
false
,
showType
:
false
,
columnsType
:
[
"
隐患类型1
"
,
"
隐患类型2
"
,
"
隐患类型3
"
,
"
隐患类型4
"
],
columnsType
:
[],
dangerName
:
""
,
//隐患项目名称
dangerName
:
""
,
//隐患项目名称
showDangerName
:
false
,
showDangerName
:
false
,
columnsDangerName
:
[
columnsDangerName
:
[],
"
隐患项目名称1
"
,
"
隐患项目名称2
"
,
"
隐患项目名称3
"
,
"
隐患项目名称4
"
],
dangerNum
:
""
,
//隐患项目编号
dangerNum
:
""
,
//隐患项目编号
dangerLevel
:
""
,
//隐患项目级别
dangerLevel
:
""
,
//隐患项目级别
findTime
:
""
,
//隐患发现时间
findTime
:
""
,
//隐患发现时间
showFindTime
:
false
,
showFindTime
:
false
,
source
:
""
,
// 风险源
source
:
""
,
// 风险源
showSource
:
false
,
showSource
:
false
,
columnsSource
:
[
"
人的因素
"
,
"
物的因素
"
,
"
环境因素
"
,
"
管理因素
"
],
columnsSource
:
[],
source1
:
""
,
// 风险源第二个字段
source1
:
""
,
// 风险源第二个字段
showSource1
:
false
,
showSource1
:
false
,
columnsSource1
:
[
"
人的因素
"
,
"
物的因素
"
,
"
环境因素
"
,
"
管理因素
"
],
columnsSource1
:
[],
location
:
""
,
// 检查部位
location
:
""
,
// 检查部位
describe
:
""
,
// 隐患描述
describe
:
""
,
// 隐患描述
uploaderImg
:
[],
//图像上传
uploaderImg
:
[],
//图像上传
uploaderVideo
:
[],
//视频上传
uploaderVideo
:
[],
//视频上传
expireTime
:
""
,
// 隐患到期时间
expireTime
:
""
,
// 隐患到期时间
showExpireTime
:
false
,
showExpireTime
:
false
,
recPeople
:
""
,
recPeople
:
""
,
showRecPeople
:
false
,
showRecPeople
:
false
,
columnsRecPeople
:
[
"
张三
"
,
"
李四
"
,
"
王五
"
],
columnsRecPeople
:
[],
returnCause
:
"
你这不行啊
"
,
// 退回原因
isShowreturnCause
:
false
,
isShowreturnCause
:
false
returnCause
:
"
你这不行啊
"
// 退回原因
};
};
},
},
created
()
{
if
(
this
.
$route
.
query
.
status
)
{
this
.
isShowreturnCause
=
true
;
this
.
text
=
"
隐患上报退回
"
}
},
methods
:
{
methods
:
{
onSubmit
(
values
)
{
onSubmit
(
values
)
{
console
.
log
(
"
submit
"
,
values
);
console
.
log
(
"
submit
"
,
values
);
let
formdata
=
new
FormData
()
formdata
.
append
(
"
proId
"
,
this
.
projectId
)
formdata
.
append
(
"
hdRange
"
,
values
.
hdRange
)
formdata
.
append
(
"
hdType
"
,
values
.
hdType
)
formdata
.
append
(
"
hdProjectName
"
,
values
.
hdProjectName
)
formdata
.
append
(
"
hdProjectId
"
,
values
.
hdProjectId
)
formdata
.
append
(
"
hdLev
"
,
values
.
hdLev
)
formdata
.
append
(
"
hdDiscoveryTime
"
,
values
.
hdDiscoveryTime
)
formdata
.
append
(
"
dangerId
"
,
values
.
dangerId
)
formdata
.
append
(
"
dangerSource
"
,
values
.
dangerSource
)
formdata
.
append
(
"
hdPosition
"
,
values
.
hdPosition
)
formdata
.
append
(
"
hdDescribe
"
,
values
.
hdDescribe
)
formdata
.
append
(
"
hdPicture1
"
,
values
.
hdPicture1
)
formdata
.
append
(
"
hdVideo1
"
,
values
.
hdVideo1
)
formdata
.
append
(
"
hdExpirationTime
"
,
values
.
hdExpirationTime
)
formdata
.
append
(
"
rectificationUser
"
,
values
.
rectificationUser
)
this
.
$toast
.
loading
({
message
:
"
提交中...
"
,
forbidClick
:
true
,
loadingType
:
"
spinner
"
,
duration
:
0
});
postHdReportAdd
(
"
/hdreport/add
"
,
formdata
)
.
then
(
res
=>
{
this
.
$toast
.
clear
();
this
.
$toast
.
success
({
message
:
"
提交成功
"
,
duration
:
2000
});
history
.
go
(
-
1
);
})
.
catch
(()
=>
{
this
.
$toast
.
clear
();
this
.
$toast
.
fail
(
"
提交失败,请稍后再试
"
);
});
},
// 请求表单数据
getList
()
{
this
.
$toast
.
loading
({
message
:
"
加载中...
"
,
forbidClick
:
true
,
loadingType
:
"
spinner
"
,
duration
:
0
});
getFormList
(
"
/hdreport/add
"
)
.
then
(
res
=>
{
this
.
$toast
.
clear
();
this
.
columnsProjectName
=
res
.
data
.
projectInformations
;
this
.
columnsRange
=
res
.
data
.
hdInventories
;
this
.
columnsSource
=
res
.
data
.
factors
;
})
.
catch
(()
=>
{
this
.
$toast
.
clear
();
this
.
$toast
.
fail
(
"
加载失败,请稍后再试
"
);
});
},
},
// 所属工程名称
// 所属工程名称
onConProjectName
(
value
)
{
onConProjectName
(
value
)
{
this
.
projectName
=
value
;
this
.
projectId
=
value
.
id
;
this
.
projectName
=
value
.
projectName
;
this
.
showProjectName
=
false
;
this
.
showProjectName
=
false
;
// 这里请求隐患整改人接口
postHdShowPeople
(
`/hdreport/showPeople/
${
this
.
projectId
}
`
).
then
(
res
=>
{
this
.
columnsRecPeople
=
res
.
data
;
});
},
},
// 适用范围
// 适用范围
onConRange
(
value
)
{
onConRange
(
value
)
{
this
.
range
=
value
;
this
.
range
=
value
.
hdRange
;
this
.
showRange
=
false
;
this
.
showRange
=
false
;
// 去请求隐患类型的数据
postHdTyp
(
`/hdreport/showHdType/
${
this
.
range
}
`
).
then
(
res
=>
{
this
.
columnsType
=
res
.
data
;
});
},
},
// 隐患类型
// 隐患类型
onConType
(
value
)
{
onConType
(
value
)
{
this
.
type
=
value
;
this
.
type
=
value
.
hdType
;
this
.
showType
=
false
;
this
.
showType
=
false
;
// 请求隐患项目名称的数据
console
.
log
(
this
.
range
);
postHdName
(
`/hdreport/showHdName/
${
this
.
range
}
/
${
this
.
type
}
`
).
then
(
res
=>
{
this
.
columnsDangerName
=
res
.
data
;
}
);
},
},
// 隐患项目名称
// 隐患项目名称
onConDangerName
(
value
)
{
onConDangerName
(
value
)
{
this
.
dangerName
=
value
;
this
.
dangerName
=
value
.
hdName
;
this
.
showDangerName
=
false
;
this
.
showDangerName
=
false
;
// 请求隐患项目编号和隐患级别
postHdInventories
(
`/hdreport/showHdInventories/
${
this
.
range
}
/
${
this
.
type
}
/
${
this
.
dangerName
}
`
).
then
(
res
=>
{
this
.
dangerNum
=
res
.
data
[
0
].
hdId
;
this
.
dangerLevel
=
res
.
data
[
0
].
hdLev
;
});
},
},
// 隐患发现时间
// 隐患发现时间
onConFindTime
(
date
)
{
onConFindTime
(
date
)
{
...
@@ -340,12 +429,18 @@ export default {
...
@@ -340,12 +429,18 @@ export default {
},
},
// 风险源
// 风险源
onConSource
(
value
)
{
onConSource
(
value
)
{
this
.
source
=
value
;
this
.
source
=
value
.
factor
;
this
.
showSource
=
false
;
this
.
showSource
=
false
;
// 请求风险源第二个字段
let
formdata
=
new
FormData
();
formdata
.
append
(
"
factor
"
,
this
.
source
);
postHdRiskSource
(
"
/riskSource/list
"
,
formdata
).
then
(
res
=>
{
this
.
columnsSource1
=
res
.
data
;
});
},
},
// 风险源第二个字段
// 风险源第二个字段
onConSource1
(
value
)
{
onConSource1
(
value
)
{
this
.
source1
=
value
;
this
.
source1
=
value
.
riskSource
;
this
.
showSource1
=
false
;
this
.
showSource1
=
false
;
},
},
// 隐患到期时间
// 隐患到期时间
...
@@ -355,8 +450,8 @@ export default {
...
@@ -355,8 +450,8 @@ export default {
},
},
// 隐患整改人
// 隐患整改人
onConRecPeople
(
value
)
{
onConRecPeople
(
value
)
{
this
.
zhenggairen
=
valu
e
;
this
.
recPeople
=
value
.
userNam
e
;
this
.
show
Pickerzhenggai
=
false
;
this
.
show
RecPeople
=
false
;
},
},
cancel
()
{
cancel
()
{
...
...
src/views/danger/reportReturn/returned.vue
View file @
2ab4ce3c
...
@@ -83,8 +83,8 @@ export default {
...
@@ -83,8 +83,8 @@ export default {
goDetail
(
data
)
{
goDetail
(
data
)
{
console
.
log
(
data
);
console
.
log
(
data
);
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'
/
add-danger
'
,
name
:
'
add-danger
'
,
query
:
{
status
:
"
退回
"
}
params
:
{
status
:
"
退回
"
}
});
});
this
.
showIndex
=
null
;
this
.
showIndex
=
null
;
},
},
...
...
src/views/risk/riskAdd/index.vue
View file @
2ab4ce3c
...
@@ -324,7 +324,9 @@ export default {
...
@@ -324,7 +324,9 @@ export default {
};
};
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
status
)
{
console
.
log
(
this
.
$route
.
params
);
if
(
this
.
$route
.
params
.
status
)
{
this
.
isShowreturnCause
=
true
;
this
.
isShowreturnCause
=
true
;
this
.
text
=
"
风险上报退回
"
this
.
text
=
"
风险上报退回
"
}
}
...
...
src/views/risk/riskReturn/riskReturned.vue
View file @
2ab4ce3c
...
@@ -83,8 +83,8 @@ export default {
...
@@ -83,8 +83,8 @@ export default {
goDetail
(
data
)
{
goDetail
(
data
)
{
console
.
log
(
data
);
console
.
log
(
data
);
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'
/
risk-add
'
,
name
:
'
risk-add
'
,
query
:
{
status
:
"
退回
"
}
params
:
{
status
:
"
退回
"
}
});
});
this
.
showIndex
=
null
;
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