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
bea37d15
Commit
bea37d15
authored
Jul 11, 2023
by
jiacheng.mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[开发]电子合同模板替换开发
parent
5dfc90ff
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
57 additions
and
70 deletions
+57
-70
batchSign.vue
src/pages/carConfirm/batchSign.vue
+15
-53
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+6
-1
confirm-list.vue
src/pages/carConfirm/confirm-list.vue
+6
-1
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+12
-2
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+10
-8
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+5
-2
contract-details.vue
src/pages/distributorSign/contract-details.vue
+1
-1
function-list.vue
src/pages/functionCenter/function-list.vue
+2
-2
No files found.
src/pages/carConfirm/batchSign.vue
View file @
bea37d15
...
@@ -14,11 +14,12 @@
...
@@ -14,11 +14,12 @@
<div
class=
"scroll-box"
>
<div
class=
"scroll-box"
>
<div
v-for=
"item of list"
:key=
"item.confirm_id"
class=
"box"
>
<div
v-for=
"item of list"
:key=
"item.confirm_id"
class=
"box"
>
<!-- 颜色 d6204b -->
<!-- 颜色 d6204b -->
<div
class=
"name"
>
<div
class=
"name"
style=
"overflow:hidden;white-space:nowrap;text-overflow:ellipsis"
>
<!--
<img
src=
"@/assets/login/contract.png"
alt=
"icon"
/>
-->
<!--
<img
src=
"@/assets/login/contract.png"
alt=
"icon"
/>
-->
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
"icon"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
"icon"
>
<!--
<img
v-if=
"item.checked"
src=
"@/assets/login/contract-red.png"
alt=
"icon"
/>
-->
<!--
<img
v-if=
"item.checked"
src=
"@/assets/login/contract-red.png"
alt=
"icon"
/>
-->
<span>
{{
item
.
project_number
}}
</span>
<span>
{{
item
.
project_number
}}
</span>
<span>
{{
item
.
templet_name
}}
</span>
</div>
</div>
<div
<div
:class=
"['flag', item.checked ? 'flag-false' : null]"
:class=
"['flag', item.checked ? 'flag-false' : null]"
...
@@ -43,10 +44,8 @@ export default {
...
@@ -43,10 +44,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
prolists
:
[],
prolists
:
[],
// title: this.$route.query.name === 'confirmList' ? '批量签署电子文件' : '批量签署电子文件',
title
:
this
.
$route
.
query
.
name
===
'confirmList'
?
'批量签署电子文件'
:
'批量签署电子文件'
,
// buttonName: 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'
)),
list
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'handleContact'
)),
checkList
:
[],
// 需要进行签署的合同
checkList
:
[],
// 需要进行签署的合同
...
@@ -64,47 +63,10 @@ export default {
...
@@ -64,47 +63,10 @@ export default {
if
(
from
.
name
===
'ElectronicSign'
)
{
if
(
from
.
name
===
'ElectronicSign'
)
{
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
,
content_id
:
item
.
content_id
}))
}
// 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
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
let
res
=
await
vm
.
$post
(
url
,
param
)
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
// if (res.result === 'S') {
// let checkList = res.lists.filter(ele => ele.signed_flag === 'Y').map(ele => ele.confirm_id)
// let submitList = list.filter(ele => checkList.includes(ele.confirm_id))
// if (!submitList.length) return
// let confirm_list = submitList.map(item => ({ confirm_id: item.confirm_id, data_class, confirm_status: 'APPROVED' }))
// if (!confirm_list.length) return
// let url2 = process.env.basePath + 'batch_do_confirm_bp'
// let param2 = { master: { confirm_list } }
// hlsPopup.showLoading('提交数据中')
// let res2 = await vm.$post(url2, param2)
// vm.hlsPopup.hideLoading()
// if (res2.result === 'S') {
// vm.hlsPopup.showSuccess('提交成功')
// let successList = res2.info.filter(item => item.status === 'S').map(item => item.confirm_id)
// vm.list = vm.list.filter(item => !successList.includes(item.confirm_id))
// if (!vm.list.length) vm.goBack()
// window.localStorage.setItem('handleContact', JSON.stringify(vm.list))
// await vm.checkSigned()
// } else {
// this.hlsPopup.showLongCenter(res2.message)
// }
// } else {
// hlsPopup.showLongCenter(res.message)
// }
}
}
})
})
},
},
...
@@ -116,7 +78,7 @@ export default {
...
@@ -116,7 +78,7 @@ export default {
let
url
=
process
.
env
.
basePath
+
'batch_check_sign'
let
url
=
process
.
env
.
basePath
+
'batch_check_sign'
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
,
content_id
:
item
.
content_id
}))
}
// 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'
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
...
@@ -124,14 +86,14 @@ export default {
...
@@ -124,14 +86,14 @@ export default {
this
.
hlsPopup
.
hideLoading
()
this
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
let
checkList
=
res
.
lists
.
filter
(
ele
=>
ele
.
signed_flag
===
'N'
).
map
(
ele
=>
ele
.
con
firm
_id
)
let
checkList
=
res
.
lists
.
filter
(
ele
=>
ele
.
signed_flag
===
'N'
).
map
(
ele
=>
ele
.
con
tent
_id
)
this
.
checkList
=
this
.
list
.
filter
(
ele
=>
checkList
.
includes
(
ele
.
con
firm
_id
))
this
.
checkList
=
this
.
list
.
filter
(
ele
=>
checkList
.
includes
(
ele
.
con
tent
_id
))
window
.
localStorage
.
setItem
(
'check_list'
,
JSON
.
stringify
(
this
.
checkList
))
window
.
localStorage
.
setItem
(
'check_list'
,
JSON
.
stringify
(
this
.
checkList
))
// 加标识, checked为true 为 已签署
// 加标识, checked为true 为 已签署
this
.
list
=
this
.
list
.
map
(
ele
=>
{
this
.
list
=
this
.
list
.
map
(
ele
=>
{
ele
.
checked
=
!
checkList
.
includes
(
ele
.
con
firm
_id
)
ele
.
checked
=
!
checkList
.
includes
(
ele
.
con
tent
_id
)
return
ele
return
ele
})
})
console
.
log
(
this
.
list
);
console
.
log
(
this
.
list
);
...
@@ -153,7 +115,7 @@ export default {
...
@@ -153,7 +115,7 @@ export default {
// 提交
// 提交
async
submit
()
{
async
submit
()
{
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
confirm_list
=
this
.
list
.
filter
(
item
=>
item
.
checked
).
map
(
item
=>
({
confirm_id
:
item
.
confirm_id
,
data_class
,
confirm_status
:
'APPROVED'
}))
let
confirm_list
=
this
.
list
.
filter
(
item
=>
item
.
checked
).
map
(
item
=>
({
confirm_id
:
item
.
confirm_id
,
data_class
,
confirm_status
:
'APPROVED'
,
content_id
:
item
.
content_id
}))
if
(
!
confirm_list
.
length
)
return
hlsPopup
.
showLongCenter
(
'无可提交审核的合同'
)
if
(
!
confirm_list
.
length
)
return
hlsPopup
.
showLongCenter
(
'无可提交审核的合同'
)
let
url
=
process
.
env
.
basePath
+
'batch_do_confirm_bp'
let
url
=
process
.
env
.
basePath
+
'batch_do_confirm_bp'
...
@@ -166,9 +128,9 @@ export default {
...
@@ -166,9 +128,9 @@ export default {
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
this
.
hlsPopup
.
showSuccess
(
'提交成功'
)
this
.
hlsPopup
.
showSuccess
(
'提交成功'
)
let
successList
=
res
.
info
.
filter
(
item
=>
item
.
status
===
'S'
).
map
(
item
=>
item
.
con
firm
_id
)
let
successList
=
res
.
info
.
filter
(
item
=>
item
.
status
===
'S'
).
map
(
item
=>
item
.
con
tent
_id
)
this
.
list
=
this
.
list
.
filter
(
item
=>
!
successList
.
includes
(
item
.
con
firm
_id
))
this
.
list
=
this
.
list
.
filter
(
item
=>
!
successList
.
includes
(
item
.
con
tent
_id
))
if
(
!
this
.
list
.
length
)
this
.
goBack
()
if
(
!
this
.
list
.
length
)
this
.
goBack
()
...
@@ -186,12 +148,10 @@ export default {
...
@@ -186,12 +148,10 @@ 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
=
{
let
param
=
{
master
:
{
master
:
{
project_list
:
this
.
checkList
.
map
(
item
=>
({
project_id
:
item
.
project_id
,
data_class
})),
project_list
:
this
.
checkList
.
map
(
item
=>
({
project_id
:
item
.
project_id
,
data_class
,
content_id
:
item
.
content_id
})),
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
,
},
},
}
}
// 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
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
this
.
$post
(
url
,
param
)
let
res
=
await
this
.
$post
(
url
,
param
)
this
.
hlsPopup
.
hideLoading
()
this
.
hlsPopup
.
hideLoading
()
...
@@ -366,6 +326,8 @@ export default {
...
@@ -366,6 +326,8 @@ export default {
.flag {
.flag {
height: 25px;
height: 25px;
width: 60px;
text-align: center;
line-height: 25px;
line-height: 25px;
padding: 0 2px;
padding: 0 2px;
border-radius: 5px;
border-radius: 5px;
...
...
src/pages/carConfirm/confirm-detail.vue
View file @
bea37d15
...
@@ -212,6 +212,7 @@ export default {
...
@@ -212,6 +212,7 @@ export default {
agentPic
:
''
,
// 经销商担保协议图片
agentPic
:
''
,
// 经销商担保协议图片
bankPic
:
''
,
// 农行代扣授权书图片
bankPic
:
''
,
// 农行代扣授权书图片
legalPic
:
''
,
// 法人授权书图片
legalPic
:
''
,
// 法人授权书图片
content_id
:
this
.
$route
.
query
.
content_id
,
confirm_id
:
this
.
$route
.
query
.
confirm_id
,
confirm_id
:
this
.
$route
.
query
.
confirm_id
,
project_id
:
this
.
$route
.
query
.
project_id
,
project_id
:
this
.
$route
.
query
.
project_id
,
project_number
:
this
.
$route
.
query
.
project_number
,
project_number
:
this
.
$route
.
query
.
project_number
,
...
@@ -288,6 +289,7 @@ export default {
...
@@ -288,6 +289,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'
,
content_id
:
vm
.
content_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
...
@@ -313,7 +315,7 @@ export default {
...
@@ -313,7 +315,7 @@ export default {
}
else
if
(
vm
.
confirm_status
===
'APPROVED'
)
{
}
else
if
(
vm
.
confirm_status
===
'APPROVED'
)
{
vm
.
flag
=
true
vm
.
flag
=
true
}
}
// }
// }
})
})
},
},
...
@@ -325,6 +327,7 @@ export default {
...
@@ -325,6 +327,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'
,
content_id
:
vm
.
content_id
,
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
,
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
...
@@ -416,6 +419,7 @@ export default {
...
@@ -416,6 +419,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'
,
content_id
:
vm
.
content_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
...
@@ -504,6 +508,7 @@ export default {
...
@@ -504,6 +508,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',
content_id: vm.content_id,
}
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsHttp.post(url, param).then(function (res) {
...
...
src/pages/carConfirm/confirm-list.vue
View file @
bea37d15
...
@@ -40,6 +40,10 @@
...
@@ -40,6 +40,10 @@
合同金额
合同金额
<span
class=
"number"
>
{{
item
.
total_price
|
currency
}}
</span>
<span
class=
"number"
>
{{
item
.
total_price
|
currency
}}
</span>
</li>
</li>
<li>
签署文件
<span>
{{
item
.
templet_name
}}
</span>
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
@@ -200,6 +204,7 @@ export default {
...
@@ -200,6 +204,7 @@ export default {
confirm_status
:
e
.
confirm_status
,
confirm_status
:
e
.
confirm_status
,
check_id
:
e
.
check_id
,
check_id
:
e
.
check_id
,
confirm_id
:
e
.
confirm_id
,
confirm_id
:
e
.
confirm_id
,
content_id
:
e
.
content_id
,
business_type
:
e
.
business_type
,
business_type
:
e
.
business_type
,
// quotation_id: e.quotation_id,
// quotation_id: e.quotation_id,
project_number
:
e
.
project_number
,
project_number
:
e
.
project_number
,
...
@@ -382,7 +387,7 @@ export default {
...
@@ -382,7 +387,7 @@ export default {
}
}
.item {
.item {
width: 359px;
width: 359px;
height: 1
48
px;
height: 1
70
px;
background-color: #fff;
background-color: #fff;
border-radius: 2px;
border-radius: 2px;
margin: 0 auto;
margin: 0 auto;
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
bea37d15
...
@@ -363,7 +363,7 @@
...
@@ -363,7 +363,7 @@
<input
slot=
"content"
readonly
>
<input
slot=
"content"
readonly
>
</item>
</item>
</list-item>
</list-item>
</h-content>
</h-content>
<bottom-tab
class=
"add-box"
>
<bottom-tab
class=
"add-box"
>
<tab-button
v-if=
"!isReadOnly && !calculeFlag"
class=
"before"
@
click
.
native=
"save"
>
计算
</tab-button>
<tab-button
v-if=
"!isReadOnly && !calculeFlag"
class=
"before"
@
click
.
native=
"save"
>
计算
</tab-button>
...
@@ -729,7 +729,7 @@ export default {
...
@@ -729,7 +729,7 @@ export default {
}
}
})
})
},
},
methods
:
{
methods
:
{
onSelect
(
value
)
{
onSelect
(
value
)
{
let
val
=
value
.
name
let
val
=
value
.
name
this
.
info
[
this
.
now_nodeName
+
'_n'
]
=
val
this
.
info
[
this
.
now_nodeName
+
'_n'
]
=
val
...
@@ -1165,6 +1165,11 @@ export default {
...
@@ -1165,6 +1165,11 @@ export default {
vm
.
saveInfo
.
penalty_rate
=
e
.
penalty_rate
vm
.
saveInfo
.
penalty_rate
=
e
.
penalty_rate
vm
.
saveInfo
.
deposit_ratio
=
e
.
deposit_ratio
vm
.
saveInfo
.
deposit_ratio
=
e
.
deposit_ratio
vm
.
saveInfo
.
deposit_ratio_n
=
e
.
deposit_ratio_n
.
replace
(
'%'
,
''
)
vm
.
saveInfo
.
deposit_ratio_n
=
e
.
deposit_ratio_n
.
replace
(
'%'
,
''
)
//冬歇/雨歇起止日期
vm
.
saveInfo
.
fallow_date_f
=
e
.
fallow_date_f
?
vm
.
dateFormat
(
e
.
fallow_date_f
)
:
''
vm
.
saveInfo
.
fallow_date_t
=
e
.
fallow_date_t
?
vm
.
dateFormat
(
e
.
fallow_date_t
)
:
''
//首X期-期数
vm
.
saveInfo
.
lease_times_x
=
e
.
lease_times_x
?
e
.
lease_times_x
:
''
// vm.saveInfo.lease_times = e.lease_times
// vm.saveInfo.lease_times = e.lease_times
vm
.
saveInfo
.
lease_times
=
''
vm
.
saveInfo
.
lease_times
=
''
...
@@ -1949,6 +1954,11 @@ export default {
...
@@ -1949,6 +1954,11 @@ export default {
name
:
'CreateEnclosureInfo'
,
name
:
'CreateEnclosureInfo'
,
})
})
},
},
dateFormat
(
timestamp
)
{
if
(
!
timestamp
)
return
''
;
var
newDate
=
/
\d{4}
-
\d{1,2}
-
\d{1,2}
/g
.
exec
(
timestamp
);
return
newDate
[
0
];
}
}
}
,
,
}
}
...
...
src/pages/contractSigning/contract-detail.vue
View file @
bea37d15
...
@@ -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"
>
提交审核
...
@@ -456,6 +456,7 @@ export default {
...
@@ -456,6 +456,7 @@ export default {
vm
.
tabNum
=
vm
.
$route
.
params
.
num
vm
.
tabNum
=
vm
.
$route
.
params
.
num
vm
.
confirm_note
=
''
// 审批意见
vm
.
confirm_note
=
''
// 审批意见
vm
.
num
=
0
// 进入详情显示基本信息
vm
.
num
=
0
// 进入详情显示基本信息
vm
.
content_id
=
vm
.
$route
.
params
.
item
.
content_id
vm
.
bp_name
=
vm
.
$route
.
params
.
item
.
bp_name
vm
.
bp_name
=
vm
.
$route
.
params
.
item
.
bp_name
vm
.
user_bp_type
=
vm
.
$route
.
params
.
user_bp_type
||
(
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
))).
bp_type
vm
.
user_bp_type
=
vm
.
$route
.
params
.
user_bp_type
||
(
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
))).
bp_type
vm
.
auth_credit_flag
=
vm
.
$route
.
params
.
item
.
auth_credit_flag
// 征信授权书确认状态
vm
.
auth_credit_flag
=
vm
.
$route
.
params
.
item
.
auth_credit_flag
// 征信授权书确认状态
...
@@ -508,6 +509,7 @@ export default {
...
@@ -508,6 +509,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'
,
content_id
:
vm
.
content_id
,
}
}
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
...
@@ -567,6 +569,7 @@ export default {
...
@@ -567,6 +569,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'
,
content_id
:
vm
.
content_id
,
}
}
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
...
@@ -618,9 +621,9 @@ export default {
...
@@ -618,9 +621,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
:
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'now_user_bp_bind_id'
)).
bp
_id
,
content_id
:
vm
.
content
_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
()
...
@@ -634,16 +637,15 @@ export default {
...
@@ -634,16 +637,15 @@ export default {
}
}
})
})
},
},
//
征信授权书
//
电子合同
getBook
()
{
getBook
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'get_content_app'
let
url
=
process
.
env
.
basePath
+
'get_content_app'
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
,
content_id
:
vm
.
content
_id
,
}
}
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,8 @@ export default {
...
@@ -723,8 +725,8 @@ export default {
let
param
=
{
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
data_class
:
'PRJ_CONFIRM'
,
content_id
:
vm
.
content_id
,
}
}
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 +761,7 @@ export default {
...
@@ -759,7 +761,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
()
...
...
src/pages/contractSigning/contract-signing.vue
View file @
bea37d15
...
@@ -69,6 +69,10 @@
...
@@ -69,6 +69,10 @@
<p>
申请时间
</p>
<p>
申请时间
</p>
<p>
{{
dateConverse
(
item
.
confirm_start_date
)
}}
</p>
<p>
{{
dateConverse
(
item
.
confirm_start_date
)
}}
</p>
</div>
</div>
<div>
<p>
签署文件
</p>
<p>
{{
item
.
templet_name
}}
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -82,8 +86,7 @@
...
@@ -82,8 +86,7 @@
<span
:style=
"
{ color: chooseAll ? '#1d3fff' : 'rgb(212,214,212)' }">全选
</span>
<span
:style=
"
{ color: chooseAll ? '#1d3fff' : 'rgb(212,214,212)' }">全选
</span>
</div>
</div>
<button
class=
"cancel"
@
click=
"cancelRadio"
>
× 取消批量
</button>
<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>
<div
v-show=
"num == 1 && !isRadio"
class=
"button-box"
>
<div
v-show=
"num == 1 && !isRadio"
class=
"button-box"
>
...
...
src/pages/distributorSign/contract-details.vue
View file @
bea37d15
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$routeGo()"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$routeGo()"
>
<img
src=
"@/assets/userBind/arrow.png"
>
<img
src=
"@/assets/userBind/arrow.png"
>
<span>
签约详情
g
</span>
<span>
签约详情
</span>
</div>
</div>
</h-header>
</h-header>
<Tab
:tabNums=
"tabNum"
@
getTabNum=
"getTabNum"
/>
<Tab
:tabNums=
"tabNum"
@
getTabNum=
"getTabNum"
/>
...
...
src/pages/functionCenter/function-list.vue
View file @
bea37d15
...
@@ -359,7 +359,7 @@ export default {
...
@@ -359,7 +359,7 @@ export default {
conSign
()
{
conSign
()
{
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if
(
this
.
user_bp_type
===
'MANAGER'
)
{
if
(
this
.
user_bp_type
===
'MANAGER'
)
{
hlsPopup
.
showLongCenter
(
'
当前角色非承租人或担保人,无法使用该功能
!'
)
hlsPopup
.
showLongCenter
(
'
仅限承租人,担保人以及经销商使用
!'
)
return
return
}
}
if
(
this
.
bp_id
)
{
if
(
this
.
bp_id
)
{
...
@@ -899,7 +899,7 @@ export default {
...
@@ -899,7 +899,7 @@ export default {
img {
img {
height: 15px;
height: 15px;
width: 15px;
width: 15px;
}
}
}
}
.name-title {
.name-title {
...
...
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