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
4cb6b496
Commit
4cb6b496
authored
Mar 06, 2023
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 隐患上报 变更接口请求参数
parent
5daa2a78
Pipeline
#9805
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/views/danger/addDanger/addDanger.vue
src/views/danger/addDanger/addDanger.vue
+3
-3
No files found.
src/views/danger/addDanger/addDanger.vue
View file @
4cb6b496
...
...
@@ -789,7 +789,7 @@ export default {
this
.
dangerNum
=
""
;
this
.
dangerLevel
=
""
;
// 去请求隐患类型的数据
postHdTyp
(
`/hdreport/showHdType
/
${
this
.
range
}
`
).
then
((
res
)
=>
{
postHdTyp
(
`/hdreport/showHdType
?hdRange=
${
this
.
range
}
`
).
then
((
res
)
=>
{
this
.
columnsType
=
res
.
data
;
if
(
this
.
hdType
){
this
.
columnsType
.
forEach
((
i
)
=>
{
...
...
@@ -815,7 +815,7 @@ export default {
this
.
dangerNum
=
""
;
this
.
dangerLevel
=
""
;
// 请求隐患项目名称的数据
postHdName
(
`/hdreport/showHdName
/
${
this
.
range
}
/
${
this
.
type
}
`
).
then
(
postHdName
(
`/hdreport/showHdName
?hdRange=
${
this
.
range
}
&hdType=
${
this
.
type
}
`
).
then
(
(
res
)
=>
{
this
.
columnsDangerName
=
res
.
data
;
if
(
this
.
hdName
){
...
...
@@ -841,7 +841,7 @@ export default {
this
.
showDangerName
=
false
;
// 请求隐患单编号和隐患级别
postHdInventories
(
`/hdreport/showHdInventories
/
${
this
.
range
}
/
${
this
.
type
}
/
${
this
.
dangerName
}
`
`/hdreport/showHdInventories
?hdRange=
${
this
.
range
}
&hdType=
${
this
.
type
}
&hdName=
${
this
.
dangerName
}
`
).
then
((
res
)
=>
{
this
.
dangerNum
=
res
.
data
[
0
].
hdId
;
this
.
dangerLevel
=
this
.
dangerType
(
res
.
data
[
0
].
hdLev
);
...
...
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