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
eeb91229
Commit
eeb91229
authored
Apr 20, 2023
by
白日依山山山
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:融租申请、客户准入;签约后自动提交审核注释
parent
16e0793d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
87 additions
and
87 deletions
+87
-87
batchSign.vue
src/pages/carConfirm/batchSign.vue
+44
-46
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+18
-17
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+21
-20
BaseInfoOrg.vue
src/pages/customerAccessApply/components/BaseInfoOrg.vue
+3
-3
to-do-list.vue
src/pages/functionCenter/to-do-list.vue
+1
-1
No files found.
src/pages/carConfirm/batchSign.vue
View file @
eeb91229
...
...
@@ -56,52 +56,50 @@ export default {
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
async
vm
=>
{
// 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
)
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
)
}
// vm.confirm()
}
// 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)
// 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)
// }
// }
})
},
methods
:
{
...
...
src/pages/carConfirm/confirm-detail.vue
View file @
eeb91229
...
...
@@ -283,23 +283,24 @@ 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
(
res
.
result
===
'S'
)
{
vm
.
signFlag
=
true
await
vm
.
confirm
()
}
else
{
vm
.
signMsg
=
res
.
message
vm
.
signFlag
=
false
}
}
// 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()
// } else {
// vm.signMsg = res.message
// vm.signFlag = false
// }
// }
// if (from.name === 'ContractRepayPlan') {
vm
.
signCheck
()
vm
.
getDetail
()
...
...
src/pages/contractSigning/contract-detail.vue
View file @
eeb91229
...
...
@@ -304,7 +304,7 @@ export default {
guarantorInfo
:
[],
// 担保人信息
attachArray
:
[],
// 附件数组
bp_class
:
this
.
$route
.
params
.
item
.
bp_class
,
// 承租人性质(自然人,企业)
info
:
{}
,
// 租赁信息
info
:
[]
,
// 租赁信息
baseInfo
:
{},
// 基本信息
project_id
:
''
,
bank_flag
:
false
,
...
...
@@ -406,24 +406,24 @@ 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
()
if
(
res
.
result
===
'S'
)
{
vm
.
signFlag
=
true
vm
.
confirm_note
=
'同意'
vm
.
doConfirm
(
'APPROVED'
)
}
else
{
vm
.
signMsg
=
res
.
message
vm
.
signFlag
=
false
}
//
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 = '同意'
//
vm.doConfirm('APPROVED')
//
} else {
//
vm.signMsg = res.message
//
vm.signFlag = false
//
}
}
})
},
...
...
@@ -816,7 +816,8 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
info
=
res
.
quotation_lists
// vm.info = res.quotation_lists// 拆分
vm
.
info
[
0
]
=
res
.
info
}
})
},
...
...
src/pages/customerAccessApply/components/BaseInfoOrg.vue
View file @
eeb91229
...
...
@@ -166,7 +166,7 @@ export default {
},
createFormB
()
{
let
baseInfo_B
=
[
// 基本信息补录 经销商
[
'财务部联系电话'
,
'
id_card_no
'
,
'text'
],
[
'财务部联系电话'
,
'
finance_contact
'
,
'text'
],
[
'联系人'
,
'contact_name'
,
'text'
],
[
'联系人身份证'
,
'contact_card_no'
,
'text'
],
[
'联系人手机'
,
'contact_tel'
,
'text'
],
...
...
@@ -178,8 +178,8 @@ export default {
},
createFormOrg
()
{
let
orgInfo
=
[
// 法人代表信息
[
'姓名'
,
'legal_person'
,
'
bool
'
],
[
'身份证号'
,
'id_card_no'
,
'
bool
'
],
[
'姓名'
,
'legal_person'
,
'
text
'
],
[
'身份证号'
,
'id_card_no'
,
'
text
'
],
[
'证件有效期从'
,
'id_card_date_from'
,
'date'
],
[
'证件有效期到'
,
'id_card_date_to'
,
'date'
],
[
'手机号'
,
'cell_phone'
,
'text'
],
...
...
src/pages/functionCenter/to-do-list.vue
View file @
eeb91229
...
...
@@ -20,7 +20,7 @@
</p>
</div>
<div
class=
"search"
>
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入
用户名称
"
@
input=
"searchList()"
>
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入
客户名称/合同编号查询
"
@
input=
"searchList()"
>
</div>
</div>
<div
v-if=
"
...
...
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