Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xugong
hls-xcmg-vue-app
Commits
f35e4012
Commit
f35e4012
authored
Nov 12, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'face'
parent
7bc24bb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+5
-4
hlsUtil.js
src/scripts/hlsUtil.js
+1
-1
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
f35e4012
...
...
@@ -383,11 +383,12 @@ export default {
})
},
takePhonto
(
status
)
{
let
vm
=
this
hlsPopup
.
showPopup
({
title
:
'提示'
,
content
:
`请自拍一张`
,
onConfirm
:
()
=>
{
this
.
takePhontoOpenCamera
(
status
)
vm
.
takePhontoOpenCamera
(
status
)
},
})
},
...
...
@@ -395,10 +396,10 @@ export default {
takePhontoOpenCamera
(
status
)
{
let
vm
=
this
let
obj
=
{
'pkvalue'
:
check
_id
,
'pkvalue'
:
vm
.
confirm
_id
,
'source_type'
:
'PRJ_CDD_ITEM_CHECK'
,
'picture'
:
''
,
'check_id'
:
check
_id
,
'check_id'
:
vm
.
confirm
_id
,
'filePath'
:
''
,
'attachment_id'
:
''
,
'user_id'
:
1
,
...
...
@@ -406,7 +407,7 @@ export default {
}
let
cameraoptions
=
{
quality
:
100
,
cameraDirection
:
1
,
//
cameraDirection: 1,
}
let
success
=
function
(
imgdata
)
{
obj
.
filePath
=
imgdata
...
...
src/scripts/hlsUtil.js
View file @
f35e4012
...
...
@@ -278,7 +278,7 @@ export default {
popoverOptions
:
CameraPopoverOptions
,
saveToPhotoAlbum
:
window
.
localStorage
.
savePhoto
||
false
,
correctOrientation
:
true
,
cameraDirection
:
cameraoption
.
cameraDirection
||
0
//
cameraDirection: cameraoption.cameraDirection || 0
}
navigator
.
camera
.
getPicture
(
onSuccess
,
onFail
,
options
)
}
else
{
...
...
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