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
28d06d21
Commit
28d06d21
authored
Nov 28, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'pull'
parent
b791f6b6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
160 additions
and
55 deletions
+160
-55
contract-records.vue
src/pages/contractInquire/contract-records.vue
+158
-53
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+1
-1
enterprise.vue
src/pages/userBind/org/enterprise.vue
+1
-1
No files found.
src/pages/contractInquire/contract-records.vue
View file @
28d06d21
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-2
7 17:41:11
* @LastEditTime: 2019-11-2
8 10:44:00
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 合同查询--记录
* @Description: 合同查询--记录
* @FilePath:
* @FilePath:
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</div>
</div>
<!-- 全部合同记录 -->
<!-- 全部合同记录 -->
<scroll
<scroll
v-
if
=
"data!==null&&selected==='all'"
v-
show
=
"data!==null&&selected==='all'"
ref=
"scroll"
ref=
"scroll"
:updateData=
"[lists]"
:updateData=
"[lists]"
:pullUp=
"true"
:pullUp=
"true"
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
</scroll>
</scroll>
<!-- 待首付 -->
<!-- 待首付 -->
<scroll
<scroll
v-
if
=
"data!==null&&selected==='one'"
v-
show
=
"data!==null&&selected==='one'"
ref=
"scrollOne"
ref=
"scrollOne"
:updateData=
"[unSignedLists]"
:updateData=
"[unSignedLists]"
:pullUp=
"true"
:pullUp=
"true"
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
<!-- 首付还款中 -->
<!-- 首付还款中 -->
<scroll
<scroll
v-
if
=
"data!==null&&selected==='two'"
v-
show
=
"data!==null&&selected==='two'"
ref=
"scrollTwo"
ref=
"scrollTwo"
:updateData=
"[unRepayLists]"
:updateData=
"[unRepayLists]"
:pullUp=
"true"
:pullUp=
"true"
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
<!-- 还款中 -->
<!-- 还款中 -->
<scroll
<scroll
v-
if
=
"data!==null&&selected==='three'"
v-
show
=
"data!==null&&selected==='three'"
ref=
"scrollThree"
ref=
"scrollThree"
:updateData=
"[repayingLists]"
:updateData=
"[repayingLists]"
:pullUp=
"true"
:pullUp=
"true"
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
<!-- 已结清 -->
<!-- 已结清 -->
<scroll
<scroll
v-
if
=
"data!==null&&selected==='four'"
v-
show
=
"data!==null&&selected==='four'"
ref=
"scrollFour"
ref=
"scrollFour"
:updateData=
"[repayedLists]"
:updateData=
"[repayedLists]"
:pullUp=
"true"
:pullUp=
"true"
...
@@ -199,7 +199,6 @@ export default {
...
@@ -199,7 +199,6 @@ export default {
return
{
return
{
// data: null, // 无记录时
// data: null, // 无记录时
data
:
1
,
data
:
1
,
showLists
:
[],
lists
:
[],
// 全部记录
lists
:
[],
// 全部记录
selected
:
'all'
,
selected
:
'all'
,
unSignedLists
:
[],
// 待首付
unSignedLists
:
[],
// 待首付
...
@@ -223,7 +222,7 @@ export default {
...
@@ -223,7 +222,7 @@ export default {
watch
:
{
watch
:
{
selected
()
{
selected
()
{
if
(
this
.
selected
===
'all'
)
{
if
(
this
.
selected
===
'all'
)
{
// this.showLists = this.lists
}
else
if
(
this
.
selected
===
'one'
)
{
}
else
if
(
this
.
selected
===
'one'
)
{
if
(
!
this
.
unSigned_flag
)
{
if
(
!
this
.
unSigned_flag
)
{
this
.
recordQuery
(
'待首付'
,
this
.
unSignedLists
)
this
.
recordQuery
(
'待首付'
,
this
.
unSignedLists
)
...
@@ -257,10 +256,17 @@ export default {
...
@@ -257,10 +256,17 @@ export default {
if
(
from
.
name
===
'HomePage'
)
{
if
(
from
.
name
===
'HomePage'
)
{
vm
.
selected
=
'all'
vm
.
selected
=
'all'
vm
.
pagenum
=
1
vm
.
pagenum
=
1
vm
.
unSigned_pagenum
=
1
vm
.
unRepay_pagenum
=
1
vm
.
repaying_pagenum
=
1
vm
.
repayed_pagenum
=
1
vm
.
searchInput
=
''
vm
.
searchInput
=
''
vm
.
contract_status_n
=
'全部'
vm
.
contract_status_n
=
'全部'
vm
.
lists
=
[]
vm
.
lists
=
[]
vm
.
unSignedLists
=
[]
vm
.
unSignedLists
=
[]
vm
.
unRepayLists
=
[]
vm
.
repayingLists
=
[]
vm
.
repayedLists
=
[]
vm
.
unSigned_flag
=
false
vm
.
unSigned_flag
=
false
vm
.
unRepay_flag
=
false
vm
.
unRepay_flag
=
false
vm
.
repaying_flag
=
false
vm
.
repaying_flag
=
false
...
@@ -412,69 +418,168 @@ export default {
...
@@ -412,69 +418,168 @@ export default {
}
}
})
})
},
},
async
searchs
()
{
searchs
()
{
// await this.search('全部',this.lists)
// await this.search('全部',this.lists)
await
this
.
search
(
'待首付'
,
this
.
unSignedLists
=
[])
// await this.search('待首付', this.unSignedLists = [])
// await this.search('首付还款中',this.unRepayLists)
// await this.search('首付还款中', this.unRepayLists = [])
// await this.search('还款中',this.repayingLists)
// await this.search('还款中', this.repayingLists = [])
// await this.search('已结清',this.repayedLists)
// await this.search('已结清', this.repayedLists = [])
// this.search('待首付', this.unSignedLists = [])
// setTimeout(this.search('首付还款中', this.unRepayLists = []), 1000)
// setTimeout(this.search('还款中', this.repayingLists = []), 1000)
// setTimeout(this.search('已结清', this.repayedLists = []), 1000)
this
.
searchUnsign
()
// this.searchUnrepay()
setTimeout
(
this
.
searchUnrepay
,
500
)
setTimeout
(
this
.
searchRepaying
,
1000
)
setTimeout
(
this
.
searchRepayed
,
1500
)
},
},
async
search
(
status
,
list
)
{
searchUnsign
(
)
{
let
vm
=
this
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_contract_list'
let
url
=
$config
.
basePath
+
'con_contract_list'
let
param
=
{
let
param
=
{
contract_status_n
:
status
,
contract_status_n
:
'待首付'
,
user_phone
:
window
.
localStorage
.
user_phone
,
user_phone
:
window
.
localStorage
.
user_phone
,
searchInput
:
vm
.
searchInput
,
searchInput
:
vm
.
searchInput
,
pagenum
:
1
,
pagenum
:
1
,
pagesize
:
10
,
pagesize
:
10
,
}
}
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
()
if
(
status
===
'全部'
)
{
vm
.
lists
=
res
.
lists
}
else
if
(
status
===
'待首付'
)
{
vm
.
unSignedLists
=
res
.
lists
vm
.
unSignedLists
=
res
.
lists
}
else
if
(
status
===
'首付还款中'
)
{
vm
.
unRepayLists
=
res
.
lists
}
else
if
(
status
===
'还款中'
)
{
vm
.
repayingLists
=
res
.
lists
}
else
if
(
status
===
'已结清'
)
{
vm
.
repayedLists
=
res
.
lists
}
// vm.unSignedLists = res.lists
// res.lists.forEach((data, index, array) => {
// list.push(array[index])
// })
// console.log(vm.unSignedLists)
if
(
res
.
lists
.
length
>=
0
&&
res
.
lists
.
length
<
10
)
{
if
(
res
.
lists
.
length
>=
0
&&
res
.
lists
.
length
<
10
)
{
if
(
status
===
'全部'
)
{
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
status
===
'待首付'
)
{
vm
.
$refs
.
scrollOne
.
update
(
true
)
vm
.
$refs
.
scrollOne
.
update
(
true
)
}
else
if
(
status
===
'首付还款中'
)
{
vm
.
$refs
.
scrollTwo
.
update
(
true
)
}
else
if
(
status
===
'还款中'
)
{
vm
.
$refs
.
scrollThree
.
update
(
true
)
}
else
if
(
status
===
'已结清'
)
{
vm
.
$refs
.
scrollFour
.
update
(
true
)
}
}
else
if
(
res
.
lists
.
length
===
10
)
{
}
else
if
(
res
.
lists
.
length
===
10
)
{
if
(
status
===
'全部'
)
{
vm
.
$refs
.
scroll
.
update
(
false
)
}
else
if
(
status
===
'待首付'
)
{
vm
.
$refs
.
scrollOne
.
update
(
false
)
vm
.
$refs
.
scrollOne
.
update
(
false
)
}
else
if
(
status
===
'首付还款中'
)
{
}
})
},
searchUnrepay
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_contract_list'
let
param
=
{
contract_status_n
:
'首付还款中'
,
user_phone
:
window
.
localStorage
.
user_phone
,
searchInput
:
vm
.
searchInput
,
pagenum
:
1
,
pagesize
:
10
,
}
// vm.hlsPopup.showLoading('数据加载中')
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
vm
.
unRepayLists
=
res
.
lists
if
(
res
.
lists
.
length
>=
0
&&
res
.
lists
.
length
<
10
)
{
vm
.
$refs
.
scrollTwo
.
update
(
true
)
}
else
if
(
res
.
lists
.
length
===
10
)
{
vm
.
$refs
.
scrollTwo
.
update
(
false
)
vm
.
$refs
.
scrollTwo
.
update
(
false
)
}
else
if
(
status
===
'还款中'
)
{
}
})
},
searchRepaying
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_contract_list'
let
param
=
{
contract_status_n
:
'还款中'
,
user_phone
:
window
.
localStorage
.
user_phone
,
searchInput
:
vm
.
searchInput
,
pagenum
:
1
,
pagesize
:
10
,
}
// vm.hlsPopup.showLoading('数据加载中')
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
vm
.
repayingLists
=
res
.
lists
if
(
res
.
lists
.
length
>=
0
&&
res
.
lists
.
length
<
10
)
{
vm
.
$refs
.
scrollThree
.
update
(
true
)
}
else
if
(
res
.
lists
.
length
===
10
)
{
vm
.
$refs
.
scrollThree
.
update
(
false
)
vm
.
$refs
.
scrollThree
.
update
(
false
)
}
else
if
(
status
===
'已结清'
)
{
vm
.
$refs
.
scrollFour
.
update
(
false
)
}
}
})
},
searchRepayed
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_contract_list'
let
param
=
{
contract_status_n
:
'已结清'
,
user_phone
:
window
.
localStorage
.
user_phone
,
searchInput
:
vm
.
searchInput
,
pagenum
:
1
,
pagesize
:
10
,
}
// vm.hlsPopup.showLoading('数据加载中')
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
vm
.
repayedLists
=
res
.
lists
if
(
res
.
lists
.
length
>=
0
&&
res
.
lists
.
length
<
10
)
{
vm
.
$refs
.
scrollFour
.
update
(
true
)
}
else
if
(
res
.
lists
.
length
===
10
)
{
vm
.
$refs
.
scrollFour
.
update
(
false
)
}
}
})
})
},
},
// search (status, list) {
// let vm = this
// let url = $config.basePath + 'con_contract_list'
// let param = {
// contract_status_n: status,
// user_phone: window.localStorage.user_phone,
// searchInput: vm.searchInput,
// pagenum: 1,
// pagesize: 10,
// }
// vm.hlsPopup.showLoading('数据加载中')
// vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
// if (status === '全部') {
// vm.lists = res.lists
// } else if (status === '待首付') {
// vm.unSignedLists = res.lists
// } else if (status === '首付还款中') {
// vm.unRepayLists = res.lists
// } else if (status === '还款中') {
// vm.repayingLists = res.lists
// } else if (status === '已结清') {
// vm.repayedLists = res.lists
// }
// // vm.unSignedLists = res.lists
// // res.lists.forEach((data, index, array) => {
// // list.push(array[index])
// // })
// // console.log(vm.unSignedLists)
// if (res.lists.length >= 0 && res.lists.length
<
10
)
{
// if (status === '全部') {
// vm.$refs.scroll.update(true)
// } else if (status === '待首付') {
// vm.$refs.scrollOne.update(true)
// } else if (status === '首付还款中') {
// vm.$refs.scrollTwo.update(true)
// } else if (status === '还款中') {
// vm.$refs.scrollThree.update(true)
// } else if (status === '已结清') {
// vm.$refs.scrollFour.update(true)
// }
// } else if (res.lists.length === 10) {
// if (status === '全部') {
// vm.$refs.scroll.update(false)
// } else if (status === '待首付') {
// vm.$refs.scrollOne.update(false)
// } else if (status === '首付还款中') {
// vm.$refs.scrollTwo.update(false)
// } else if (status === '还款中') {
// vm.$refs.scrollThree.update(false)
// } else if (status === '已结清') {
// vm.$refs.scrollFour.update(false)
// }
// }
// })
// },
},
},
}
}
</
script
>
</
script
>
...
...
src/pages/contractSigning/contract-signing.vue
View file @
28d06d21
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-2
5 15:50:46
* @LastEditTime: 2019-11-2
8 10:53:27
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
...
src/pages/userBind/org/enterprise.vue
View file @
28d06d21
...
@@ -1614,7 +1614,7 @@ export default {
...
@@ -1614,7 +1614,7 @@ export default {
/*// 查询图片
/*// 查询图片
listTemp.forEach((item, index) => {
listTemp.forEach((item, index) => {
vm.load_picture(item.check_id, index, item.cdd_item)
vm.load_picture(item.check_id, index, item.cdd_item)
})*/
})
*/
if
(
vm
.
idCardFrontEditFlag
)
{
// 法定代表人身份证正面图片已修改,重新上传
if
(
vm
.
idCardFrontEditFlag
)
{
// 法定代表人身份证正面图片已修改,重新上传
vm
.
delete_pic_to_ocr
(
vm
.
idCardFrontAttachmentId
)
// 先删除之前识别的图片
vm
.
delete_pic_to_ocr
(
vm
.
idCardFrontAttachmentId
)
// 先删除之前识别的图片
var
list
=
[]
var
list
=
[]
...
...
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