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
403ee951
Commit
403ee951
authored
Apr 20, 2023
by
白日依山山山
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:电子签返回后检测签署状态
parent
640f5c42
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
72 deletions
+73
-72
batchSign.vue
src/pages/carConfirm/batchSign.vue
+45
-44
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+18
-18
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+10
-10
No files found.
src/pages/carConfirm/batchSign.vue
View file @
403ee951
...
...
@@ -56,15 +56,16 @@ export default {
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
async
vm
=>
{
// let list = JSON.parse(window.localStorage.getItem('check_list'))
// console.log('!@#', list)
// if (from.name === 'ElectronicSign') {
// 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 })) }
// hlsPopup.showLoading('请稍候')
// let res = await vm.$post(url, param)
// vm.hlsPopup.hideLoading()
// window.localStorage.setItem('check_list', this.checkList)
let
list
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'check_list'
))
console
.
log
(
'!@#'
,
list
)
if
(
from
.
name
===
'ElectronicSign'
)
{
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
}))
}
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
vm
.
hlsPopup
.
hideLoading
()
// if (res.result === 'S') {
// let checkList = res.lists.filter(ele => ele.signed_flag === 'Y').map(ele => ele.confirm_id)
...
...
@@ -99,7 +100,7 @@ export default {
// } else {
// hlsPopup.showLongCenter(res.message)
// }
//
}
}
})
},
methods
:
{
...
...
src/pages/carConfirm/confirm-detail.vue
View file @
403ee951
...
...
@@ -283,15 +283,15 @@ export default {
}
vm
.
confirm_id
=
window
.
localStorage
.
getItem
(
'confirm_id'
)
vm
.
project_id
=
window
.
localStorage
.
getItem
(
'project_id'
)
//
if (from.name === 'ElectronicSign') {
//
let url = process.env.basePath + 'sign_check'
//
let param = {
//
confirm_id: vm.confirm_id,
//
data_class: 'LEASE_ITEM',
//
}
//
vm.hlsPopup.showLoading('请稍候!')
//
let res = await vm.hlsHttp.post(url, param)
//
vm.hlsPopup.hideLoading()
if
(
from
.
name
===
'ElectronicSign'
)
{
let
url
=
process
.
env
.
basePath
+
'sign_check'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
data_class
:
'LEASE_ITEM'
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候!'
)
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
vm
.
hlsPopup
.
hideLoading
()
// if (res.result === 'S') {
// vm.signFlag = true
// await vm.confirm()
...
...
@@ -299,7 +299,7 @@ export default {
// vm.signMsg = res.message
// vm.signFlag = false
// }
//
}
}
// if (from.name === 'ContractRepayPlan') {
vm
.
signCheck
()
...
...
src/pages/contractSigning/contract-detail.vue
View file @
403ee951
...
...
@@ -406,16 +406,16 @@ export default {
vm
.
bankCardQuery
()
}
else
if
(
from
.
name
===
'ElectronicSign'
)
{
// 征信签署完后查看是否签署成功,成功就直接提交审批--同意通过
//
vm.confirm_id = window.localStorage.getItem('confirm_id')
//
vm.isReadFlag = false
//
hlsPopup.showLoading('请稍候')
//
let url = process.env.basePath + 'sign_check'
//
let param = {
//
confirm_id: vm.confirm_id,
//
data_class: 'PRJ_CONFIRM',
//
}
//
let res = await vm.hlsHttp.post(url, param)
//
hlsPopup.hideLoading()
vm
.
confirm_id
=
window
.
localStorage
.
getItem
(
'confirm_id'
)
vm
.
isReadFlag
=
false
hlsPopup
.
showLoading
(
'请稍候'
)
let
url
=
process
.
env
.
basePath
+
'sign_check'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_CONFIRM'
,
}
let
res
=
await
vm
.
hlsHttp
.
post
(
url
,
param
)
hlsPopup
.
hideLoading
()
// if (res.result === 'S') {
// vm.signFlag = true
// vm.confirm_note = '同意'
...
...
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