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
7645a3da
Commit
7645a3da
authored
Feb 10, 2022
by
胡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 接口参数调整,融租方案对未读做修改
parent
27e34010
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
44 additions
and
26 deletions
+44
-26
batchSign.vue
src/pages/carConfirm/batchSign.vue
+2
-0
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+3
-0
confirm-list.vue
src/pages/carConfirm/confirm-list.vue
+3
-1
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+1
-0
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+10
-1
contract-details.vue
src/pages/distributorSign/contract-details.vue
+1
-0
home-page.vue
src/pages/home/home-page.vue
+12
-12
location.vue
src/pages/home/location.vue
+12
-12
No files found.
src/pages/carConfirm/batchSign.vue
View file @
7645a3da
...
...
@@ -173,6 +173,8 @@ export default {
// 回调成功上传图片
vm.uploadImg(filePath)
vm.signContact()
} else {
vm.hlsPopup.showLongCenter('认证失败,请将脸部完整露出再重试!');
}
}, function (reason) {
let error = JSON.parse(reason)
...
...
src/pages/carConfirm/confirm-detail.vue
View file @
7645a3da
...
...
@@ -325,6 +325,7 @@ export default {
master
:
{
content_id
:
item
.
content_id
,
read_status
:
'Y'
,
bp_id
:
window
.
localStorage
.
bp_id
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
...
...
@@ -420,6 +421,8 @@ export default {
// 回调成功上传图片
vm.uploadImg(filePath)
vm.goElectronicSign()
} else {
vm.hlsPopup.showLongCenter('认证失败,请重试!');
}
}, function (reason) {
let error = JSON.parse(reason)
...
...
src/pages/carConfirm/confirm-list.vue
View file @
7645a3da
...
...
@@ -120,7 +120,7 @@ export default {
},
methods
:
{
sign
()
{
let
list
=
this
.
showList
.
filter
(
item
=>
item
.
checked
);
let
list
=
this
.
showList
.
filter
(
item
=>
item
.
checked
)
.
map
(
item
=>
{
item
.
checked
=
true
;
return
item
})
;
if
(
!
list
.
length
)
return
hlsPopup
.
showLongCenter
(
'请选择合同'
);
window
.
localStorage
.
setItem
(
'handleContact'
,
JSON
.
stringify
(
list
));
this
.
$router
.
push
({
path
:
'/batchSign'
,
query
:
{
name
:
'confirmList'
}
});
...
...
@@ -242,6 +242,8 @@ export default {
vm
.
$refs
.
scroll
.
update
(
false
)
}
vm
.
selectShowList
()
vm
.
allChoose
(
false
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
src/pages/contractSigning/contract-detail.vue
View file @
7645a3da
...
...
@@ -438,6 +438,7 @@ export default {
master
:
{
content_id
:
item
.
content_id
,
read_status
:
'Y'
,
bp_id
:
window
.
localStorage
.
bp_id
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
...
...
src/pages/contractSigning/contract-signing.vue
View file @
7645a3da
...
...
@@ -30,6 +30,7 @@
<span>
合同号
</span>
<span>
{{
item
.
project_number
}}
</span>
</p>
<img
v-if=
"item.read_check === 'N'"
src=
"@/assets/constractSigning/unread.png"
alt
class=
"unread"
/>
<img
src=
"@/assets/constractSigning/righticon.png"
alt
class=
"arrow"
/>
</div>
<div
class=
"box"
>
...
...
@@ -186,8 +187,9 @@ export default {
},
methods
:
{
signContract
()
{
let
list
=
this
.
showLists
.
filter
(
item
=>
item
.
checked
);
let
list
=
this
.
showLists
.
filter
(
item
=>
item
.
checked
)
.
map
(
item
=>
{
item
.
checked
=
false
;
return
item
})
;
if
(
!
list
.
length
)
return
hlsPopup
.
showLongCenter
(
'请选择合同'
);
if
(
list
.
findIndex
(
item
=>
item
.
read_check
===
'N'
)
>
-
1
)
return
hlsPopup
.
showLongCenter
(
'选中合同中有文本未读,请先阅读'
);
window
.
localStorage
.
setItem
(
'handleContact'
,
JSON
.
stringify
(
list
));
this
.
$router
.
push
({
path
:
'/batchSign'
,
query
:
{
name
:
'contract'
}
});
},
...
...
@@ -308,6 +310,8 @@ export default {
vm
.
$refs
.
scroll
.
update
(
false
)
}
vm
.
showLists
=
vm
.
submitLists
vm
.
allChoose
(
false
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
@@ -436,6 +440,11 @@ export default {
<
style
lang=
"less"
type=
"text/less"
>
#contract-signing {
.unread {
width: 34px;
height: 20px;
margin: 0 20px;
}
.display {
width: 100%;
height: 100%;
...
...
src/pages/distributorSign/contract-details.vue
View file @
7645a3da
...
...
@@ -446,6 +446,7 @@ export default {
master
:
{
content_id
:
item
.
content_id
,
read_status
:
'Y'
,
bp_id
:
window
.
localStorage
.
bp_id
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
...
...
src/pages/home/home-page.vue
View file @
7645a3da
...
...
@@ -141,18 +141,18 @@ export default {
console
.
log
(
'&&&&&&&&&&&&___ios'
)
// if (!$config.isMobilePlatform) {
// }
baidumap_location
.
getCurrentPosition
(
function
(
result
)
{
if
(
window
.
localStorage
.
getItem
(
'province'
))
{
vm
.
city
=
window
.
localStorage
.
getItem
(
'city'
)
vm
.
province
=
window
.
localStorage
.
getItem
(
'province'
)
vm
.
guessingQuery
(
vm
.
city
)
}
else
{
vm
.
city
=
result
.
city
vm
.
province
=
result
.
province
vm
.
guessingQuery
(
result
.
city
)
}
},
function
(
error
)
{
})
//
baidumap_location.getCurrentPosition(function (result) {
//
if (window.localStorage.getItem('province')) {
//
vm.city = window.localStorage.getItem('city')
//
vm.province = window.localStorage.getItem('province')
//
vm.guessingQuery(vm.city)
//
} else {
//
vm.city = result.city
//
vm.province = result.province
//
vm.guessingQuery(result.city)
//
}
//
}, function (error) {
//
})
// setTimeout(vm.guessingQuery(), 0)
},
goFunctionHome
(
data
)
{
...
...
src/pages/home/location.vue
View file @
7645a3da
...
...
@@ -111,18 +111,18 @@ export default {
// console.log(error)
// }, {enableHighAccuracy: true})
// } else { // ios使用插件定位
baidumap_location
.
getCurrentPosition
(
function
(
result
)
{
console
.
log
(
'*********** '
+
JSON
.
stringify
(
result
))
window
.
localStorage
.
setItem
(
'province'
,
result
.
province
)
window
.
localStorage
.
setItem
(
'city'
,
result
.
city
)
vm
.
places
=
window
.
localStorage
.
getItem
(
'province'
)
+
'-'
+
window
.
localStorage
.
getItem
(
'city'
)
vm
.
province
=
'请选择省'
vm
.
city
=
'请选择市'
vm
.
flag
=
false
vm
.
province_flag
=
true
},
function
(
error
)
{
console
.
log
(
'errorerrorerrorerror '
+
error
)
})
//
baidumap_location.getCurrentPosition(function (result) {
//
console.log('*********** ' + JSON.stringify(result))
//
window.localStorage.setItem('province', result.province)
//
window.localStorage.setItem('city', result.city)
//
vm.places = window.localStorage.getItem('province') + '-' + window.localStorage.getItem('city')
//
vm.province = '请选择省'
//
vm.city = '请选择市'
//
vm.flag = false
//
vm.province_flag = true
//
}, function (error) {
//
console.log('errorerrorerrorerror ' + error)
//
})
// }
},
...
...
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