Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-SDT
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
xinzhedeai
GaoQuYingJiH5-SDT
Commits
707dd569
Commit
707dd569
authored
Mar 21, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gemhoUtil.getParameter
parent
8bead5a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
yh-list-detail.js
views/yh-list-detail.js
+10
-7
No files found.
views/yh-list-detail.js
View file @
707dd569
...
...
@@ -98,12 +98,12 @@ window.addEventListener("load", function() {
}
},
detail
(){
var
hdId
=
getParameter
(
'
companyId
'
)
var
hdId
=
ge
mhoUtil
.
ge
tParameter
(
'
companyId
'
)
http
.
get
(
'
/api/thHiddenDanger
'
,{
page
:
0
,
// 每次请求增加下一页
size
:
1
,
companyId
:
getParameter
(
'
companyId
'
),
hdId
:
getParameter
(
'
hdId
'
),
companyId
:
ge
mhoUtil
.
ge
tParameter
(
'
companyId
'
),
hdId
:
ge
mhoUtil
.
ge
tParameter
(
'
hdId
'
),
sort
:
'
hdId,asc
'
,
}).
then
((
res
)
=>
{
console
.
log
(
'
响应结果
'
,
res
.
content
)
...
...
@@ -163,7 +163,7 @@ window.addEventListener("load", function() {
formData
.
append
(
key
,
this
.
form
[
key
]);
}
formData
.
append
(
'
companyId
'
,
getParameter
(
'
companyId
'
))
formData
.
append
(
'
companyId
'
,
ge
mhoUtil
.
ge
tParameter
(
'
companyId
'
))
formData
.
delete
(
'
hdPic
'
);
formData
.
delete
(
'
hdRectificationPic
'
);
...
...
@@ -187,9 +187,12 @@ window.addEventListener("load", function() {
http
.
postFile
(
url
,
formData
).
then
((
res
)
=>
{
console
.
log
(
'
添加结果
'
,
res
)
// setTimeout(()=>{
vant
.
Toast
({
message
:
'
操作成功
'
,
})
// }, 0)
if
(
!
this
.
form
.
hdId
){
// 添加时则
location
.
reload
()
}
...
...
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