Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
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-ASD
Commits
00d42871
Commit
00d42871
authored
10 months ago
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患整改图片、修改完刷新页面
parent
cb34d9dc
master
gaoqucodecheck
jpaas
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
common.js
js/common.js
+1
-1
yh-list-detail.html
views/yh-list-detail.html
+1
-1
yh-list-detail.js
views/yh-list-detail.js
+8
-8
No files found.
js/common.js
View file @
00d42871
...
...
@@ -49,7 +49,7 @@ var userInfo = {
// 佳才公司下的普通用户
var
token
=
"
Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOi
I0NTBlZjFlNjE5Zjk0YzUzOWYzZTJmNThkNjFiYmVkMyIsInVzZXIiOiJqYyIsInN1YiI6ImpjIn0.a5rzPYTnWpyYcY3YA09Eg6jdoTFqFkA8K0F8vfE2ALL6RVrVVyXs8Xy11SbTdnfqgnkSK8euJvnnRiz0RZZQ_g
"
;
"
Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOi
JiOGQ4OTIxNTY2ODA0ZjliOWIwMTlhZGEzZDFkNTg5MCIsInVzZXIiOiJkYWJhbyIsInN1YiI6ImRhYmFvIn0.LFyN4rsVDvT4ZA2_hDl4kDre6KdFm-p4HLVtYAreLxM5i_Y7GOKqb4S_4oWnseDJ0x8PZ4n7UN8J2p91X6VmyA
"
;
localStorage
.
setItem
(
'
Authorization
'
,
token
)
localStorage
.
setItem
(
'
appCounty
'
,
userInfo
.
user
.
user
.
county
)
...
...
This diff is collapsed.
Click to expand it.
views/yh-list-detail.html
View file @
00d42871
...
...
@@ -86,7 +86,7 @@
</van-popup>
</van-cell-group>
<van-cell-group>
<van-field
v-model=
"form.
hdDesc
"
:disabled=
"true"
label=
"隐患描述"
placeholder=
""
/>
<van-field
v-model=
"form.
comment
"
:disabled=
"true"
label=
"隐患描述"
placeholder=
""
/>
</van-cell-group>
<van-cell-group>
<van-field
v-model=
"form.basis"
:disabled=
"true"
label=
"检查依据"
placeholder=
""
/>
...
...
This diff is collapsed.
Click to expand it.
views/yh-list-detail.js
View file @
00d42871
...
...
@@ -96,11 +96,11 @@ window.addEventListener("load", function() {
showPopup
(
popupType
){
},
detail
(){
var
hdId
=
gemhoUtil
.
getParameter
(
'
companyId
'
)
var
hdId
=
localStorage
.
getItem
(
'
companyId
'
)
http
.
get
(
'
/api/thHiddenDanger
'
,{
page
:
0
,
// 每次请求增加下一页
size
:
1
,
companyId
:
gemhoUtil
.
getParameter
(
'
companyId
'
),
companyId
:
localStorage
.
getItem
(
'
companyId
'
),
hdId
:
gemhoUtil
.
getParameter
(
'
hdId
'
),
sort
:
'
hdId,asc
'
,
}).
then
((
res
)
=>
{
...
...
@@ -113,9 +113,11 @@ window.addEventListener("load", function() {
this
.
form
.
curSelectCheckContent
=
this
.
form
.
inspectionContent
// 安全检查内容
this
.
form
.
hdName
=
this
.
form
.
hdName
// 安全发现问题
// 详情图片设置
this
.
fileList
.
push
({
content
:
'
data:image/jpg;base64,
'
+
this
.
form
.
hdRectificationPic
})
if
(
this
.
form
.
hdRectificationPic
){
this
.
fileList
.
push
({
content
:
'
data:image/jpg;base64,
'
+
this
.
form
.
hdRectificationPic
})
}
this
.
editAble
=
this
.
form
.
hdStatus
===
0
||
this
.
form
.
hdStatus
===
2
||
this
.
form
.
hdStatus
===
3
})
...
...
@@ -192,9 +194,7 @@ window.addEventListener("load", function() {
vant
.
Toast
({
message
:
'
操作成功
'
,
})
if
(
!
this
.
form
.
hdId
){
// 添加时则
location
.
reload
()
}
location
.
href
=
"
./yh-list.html
"
})
},
formatDate
(
date
,
type
)
{
...
...
This diff is collapsed.
Click to expand it.
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