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
bcbcd7ca
Commit
bcbcd7ca
authored
Jun 21, 2023
by
郑娟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量签署的按钮和标题文字修改;接口增加content_type参数(经销商)
parent
405837b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
batchSign.vue
src/pages/carConfirm/batchSign.vue
+9
-11
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+1
-2
No files found.
src/pages/carConfirm/batchSign.vue
View file @
bcbcd7ca
...
...
@@ -43,10 +43,8 @@ export default {
data
()
{
return
{
prolists
:
[],
// title: this.$route.query.name === 'confirmList' ? '批量签署电子文件' : '批量签署电子文件',
// buttonName: this.$route.query.name === 'confirmList' ? '签署电子文件' : '签署电子文件',
title
:
this
.
$route
.
query
.
name
===
'confirmList'
?
'批量签署电子合同'
:
'批量签署征信授权书'
,
buttonName
:
this
.
$route
.
query
.
name
===
'confirmList'
?
'签署电子合同'
:
'签署征信授权'
,
title
:
this
.
$route
.
query
.
name
===
'confirmList'
?
'批量签署电子文件'
:
'批量签署电子文件'
,
buttonName
:
this
.
$route
.
query
.
name
===
'confirmList'
?
'签署电子文件'
:
'签署电子文件'
,
list
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'handleContact'
)),
checkList
:
[],
// 需要进行签署的合同
...
...
@@ -65,9 +63,9 @@ export default {
let
url
=
process
.
env
.
basePath
+
'batch_check_sign'
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 user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type
//
console.log('~~~',user_bp_type === 'AGENT');
//
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
console
.
log
(
'~~~'
,
user_bp_type
===
'AGENT'
);
if
(
user_bp_type
===
'AGENT'
)
param
[
'content_type'
]
=
'PRODUCT_SALE_CONTRACT'
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
vm
.
hlsPopup
.
hideLoading
()
...
...
@@ -117,8 +115,8 @@ export default {
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 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'
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'
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
this
.
$post
(
url
,
param
)
this
.
hlsPopup
.
hideLoading
()
...
...
@@ -190,8 +188,8 @@ export default {
bp_id
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp_id
,
},
}
//
let user_bp_type = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type
//
if (user_bp_type === 'AGENT') param.master['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
.
master
[
'content_type'
]
=
'PRODUCT_SALE_CONTRACT'
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
this
.
$post
(
url
,
param
)
this
.
hlsPopup
.
hideLoading
()
...
...
src/pages/contractSigning/contract-signing.vue
View file @
bcbcd7ca
...
...
@@ -82,8 +82,7 @@
<span
:style=
"
{ color: chooseAll ? '#1d3fff' : 'rgb(212,214,212)' }">全选
</span>
</div>
<button
class=
"cancel"
@
click=
"cancelRadio"
>
× 取消批量
</button>
<!--
<button
class=
"sign"
@
click=
"signContract"
>
签订电子文件
</button>
-->
<button
class=
"sign"
@
click=
"signContract"
>
签订征信授权书
</button>
<button
class=
"sign"
@
click=
"signContract"
>
签订电子文件
</button>
</div>
<div
v-show=
"num == 1 && !isRadio"
class=
"button-box"
>
...
...
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