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
09737ab8
Commit
09737ab8
authored
Jul 04, 2023
by
郑娟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:电子签增加参数
parent
b3cffb37
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
8 deletions
+20
-8
batchSign.vue
src/pages/carConfirm/batchSign.vue
+10
-3
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+2
-0
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+8
-5
No files found.
src/pages/carConfirm/batchSign.vue
View file @
09737ab8
...
@@ -63,9 +63,10 @@ export default {
...
@@ -63,9 +63,10 @@ export default {
let
url
=
process
.
env
.
basePath
+
'batch_check_sign'
let
url
=
process
.
env
.
basePath
+
'batch_check_sign'
let
data_class
=
vm
.
$route
.
query
.
name
===
'confirmList'
?
'LEASE_ITEM'
:
'PRJ_CONFIRM'
let
data_class
=
vm
.
$route
.
query
.
name
===
'confirmList'
?
'LEASE_ITEM'
:
'PRJ_CONFIRM'
let
param
=
{
'master'
:
list
.
map
(
item
=>
({
confirm_id
:
item
.
confirm_id
,
data_class
}))
}
let
param
=
{
'master'
:
list
.
map
(
item
=>
({
confirm_id
:
item
.
confirm_id
,
data_class
}))
}
let
user_bp_type
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_type
// let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type
console
.
log
(
'~~~'
,
user_bp_type
===
'AGENT'
);
// console.log('~~~',user_bp_type === 'AGENT');
if
(
user_bp_type
===
'AGENT'
)
param
[
'content_type'
]
=
'PRODUCT_SALE_CONTRACT'
// if (user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT'
param
[
'bp_id'
]
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
let
res
=
await
vm
.
$post
(
url
,
param
)
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
...
@@ -115,8 +116,14 @@ export default {
...
@@ -115,8 +116,14 @@ export default {
let
data_class
=
this
.
$route
.
query
.
name
===
'confirmList'
?
'LEASE_ITEM'
:
'PRJ_CONFIRM'
let
data_class
=
this
.
$route
.
query
.
name
===
'confirmList'
?
'LEASE_ITEM'
:
'PRJ_CONFIRM'
let
param
=
{
'master'
:
this
.
list
.
map
(
item
=>
({
confirm_id
:
item
.
confirm_id
,
data_class
}))
}
let
param
=
{
'master'
:
this
.
list
.
map
(
item
=>
({
confirm_id
:
item
.
confirm_id
,
data_class
}))
}
<<<<<<<
Updated
upstream
let
user_bp_type
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_type
let
user_bp_type
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_type
if
(
user_bp_type
===
'AGENT'
)
param
[
'content_type'
]
=
'PRODUCT_SALE_CONTRACT'
if
(
user_bp_type
===
'AGENT'
)
param
[
'content_type'
]
=
'PRODUCT_SALE_CONTRACT'
=======
// let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type
// if (user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT'
param
[
'bp_id'
]
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
>>>>>>>
Stashed
changes
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
this
.
$post
(
url
,
param
)
let
res
=
await
this
.
$post
(
url
,
param
)
this
.
hlsPopup
.
hideLoading
()
this
.
hlsPopup
.
hideLoading
()
...
...
src/pages/carConfirm/confirm-detail.vue
View file @
09737ab8
...
@@ -288,6 +288,7 @@ export default {
...
@@ -288,6 +288,7 @@ export default {
let
param
=
{
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
data_class
:
'LEASE_ITEM'
,
data_class
:
'LEASE_ITEM'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
...
@@ -416,6 +417,7 @@ export default {
...
@@ -416,6 +417,7 @@ export default {
let
param
=
{
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
data_class
:
'LEASE_ITEM'
,
data_class
:
'LEASE_ITEM'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
...
...
src/pages/contractSigning/contract-detail.vue
View file @
09737ab8
...
@@ -303,7 +303,7 @@
...
@@ -303,7 +303,7 @@
</h-content>
</h-content>
<bottom-tab
v-if=
"con_confirm_status !== 'APPROVED'"
class=
"add-box"
>
<bottom-tab
v-if=
"con_confirm_status !== 'APPROVED'"
class=
"add-box"
>
<tab-button
v-if=
"!signFlag"
class=
"before"
@
click
.
native=
"takePhonto"
>
<tab-button
v-if=
"!signFlag"
class=
"before"
@
click
.
native=
"takePhonto"
>
<img
src=
"@/assets/constractSigning/certification.png"
>
征信签约
<img
src=
"@/assets/constractSigning/certification.png"
>
签署电子文件
</tab-button>
</tab-button>
<tab-button
v-else
class=
"next"
@
click
.
native=
"inSure"
>
<tab-button
v-else
class=
"next"
@
click
.
native=
"inSure"
>
<img
src=
"@/assets/intoApproval/approve.png"
>
提交审核
<img
src=
"@/assets/intoApproval/approve.png"
>
提交审核
...
@@ -508,6 +508,7 @@ export default {
...
@@ -508,6 +508,7 @@ export default {
let
param
=
{
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
data_class
:
'PRJ_CONFIRM'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
}
}
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
...
@@ -567,6 +568,7 @@ export default {
...
@@ -567,6 +568,7 @@ export default {
let
param
=
{
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
data_class
:
'PRJ_CONFIRM'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
}
}
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
...
@@ -620,7 +622,7 @@ export default {
...
@@ -620,7 +622,7 @@ export default {
data_class
:
'PRJ_CONFIRM'
,
data_class
:
'PRJ_CONFIRM'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
}
}
if
(
vm
.
user_bp_type
===
'AGENT'
)
param
[
'content_type'
]
=
'PRODUCT_SALE_CONTRACT'
//
if (vm.user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT'
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
...
@@ -643,7 +645,7 @@ export default {
...
@@ -643,7 +645,7 @@ export default {
data_class
:
'PRJ_CONFIRM'
,
data_class
:
'PRJ_CONFIRM'
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
}
}
if
(
vm
.
user_bp_type
===
'AGENT'
)
param
[
'content_type'
]
=
'PRODUCT_SALE_CONTRACT'
//
if (vm.user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT'
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
...
@@ -723,8 +725,9 @@ export default {
...
@@ -723,8 +725,9 @@ export default {
let
param
=
{
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
data_class
:
'PRJ_CONFIRM'
,
bp_id
:
vm
.
baseInfo
.
bp_id
,
}
}
if
(
vm
.
user_bp_type
===
'AGENT'
)
param
[
'content_type'
]
=
'PRODUCT_SALE_CONTRACT'
//
if (vm.user_bp_type === 'AGENT') param['content_type'] = 'PRODUCT_SALE_CONTRACT'
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
...
@@ -759,7 +762,7 @@ export default {
...
@@ -759,7 +762,7 @@ export default {
async
takePhonto
()
{
async
takePhonto
()
{
let
vm
=
this
let
vm
=
this
if
(
!
vm
.
isReadFlag
)
{
if
(
!
vm
.
isReadFlag
)
{
vm
.
hlsPopup
.
showLongCenter
(
'请先阅读
征信授权书
'
)
vm
.
hlsPopup
.
showLongCenter
(
'请先阅读
电子文件
'
)
return
return
}
}
vm
.
goElectronicSign
()
vm
.
goElectronicSign
()
...
...
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