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
3f1ec4e6
Commit
3f1ec4e6
authored
Feb 25, 2020
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuin' into uat
parents
3d32d58d
e79b6e54
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
109 additions
and
67 deletions
+109
-67
currencyInput.vue
src/components/currencyInput.vue
+39
-0
entry-info.vue
src/pages/contractSigning/entry-info.vue
+1
-1
accessory-info.vue
src/pages/userBindNew/np/accessory-info.vue
+34
-33
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+2
-1
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+33
-32
No files found.
src/components/currencyInput.vue
View file @
3f1ec4e6
...
@@ -90,11 +90,29 @@ export default {
...
@@ -90,11 +90,29 @@ export default {
// },
// },
onFocus
(
event
)
{
onFocus
(
event
)
{
// if (this.disable) return
// if (this.disable) return
let
vm
=
this
this
.
focused
=
true
this
.
focused
=
true
let
value
=
event
.
target
.
value
let
value
=
event
.
target
.
value
event
.
target
.
value
=
''
event
.
target
.
value
=
''
event
.
target
.
value
=
value
event
.
target
.
value
=
value
setTimeout
(
function
()
{
setTimeout
(
function
()
{
const
u
=
navigator
.
userAgent
if
(
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
)
{
// 安卓手机
window
.
addEventListener
(
'resize'
,
function
()
{
// Document 对象的activeElement 属性返回文档中当前获得焦点的元素。
if
(
document
.
activeElement
.
tagName
===
'INPUT'
||
document
.
activeElement
.
tagName
===
'TEXTAREA'
)
{
console
.
log
(
'安卓触发'
,
document
.
activeElement
.
tagName
)
window
.
setTimeout
(
function
()
{
document
.
activeElement
.
scrollIntoView
(
true
)
},
50
)
}
})
}
else
{
// ios
setTimeout
(()
=>
{
document
.
getElementsByTagName
(
'body'
)[
0
].
style
.
height
=
'400px'
this
.
$refs
.
ttextarea
.
scrollIntoView
(
false
)
},
50
)
}
event
.
target
.
type
=
'text'
event
.
target
.
type
=
'text'
event
.
target
.
focus
()
event
.
target
.
focus
()
},
0
)
},
0
)
...
@@ -111,6 +129,27 @@ export default {
...
@@ -111,6 +129,27 @@ export default {
event
.
target
.
blur
()
event
.
target
.
blur
()
this
.
focused
=
false
this
.
focused
=
false
},
},
// 取窗口可视范围的高度
getClientHeight
()
{
var
clientHeight
=
0
if
(
document
.
body
.
clientHeight
&&
document
.
documentElement
.
clientHeight
)
{
clientHeight
=
(
document
.
body
.
clientHeight
<
document
.
documentElement
.
clientHeight
)
?
document
.
body
.
clientHeight
:
document
.
documentElement
.
clientHeight
}
else
{
clientHeight
=
(
document
.
body
.
clientHeight
>
document
.
documentElement
.
clientHeight
)
?
document
.
body
.
clientHeight
:
document
.
documentElement
.
clientHeight
}
return
clientHeight
},
// 取窗口滚动条高度
getOffsetTop
(
obj
)
{
var
tmp
=
obj
.
offsetTop
var
node
=
obj
.
offsetParent
while
(
node
!=
null
)
{
tmp
+=
node
.
offsetTop
node
=
node
.
offsetParent
}
return
tmp
},
},
},
}
}
</
script
>
</
script
>
...
...
src/pages/contractSigning/entry-info.vue
View file @
3f1ec4e6
...
@@ -263,7 +263,7 @@ export default {
...
@@ -263,7 +263,7 @@ export default {
let
url
=
$config
.
basePath
+
'abc_bank_sign'
let
url
=
$config
.
basePath
+
'abc_bank_sign'
let
param
=
{
let
param
=
{
project_id
:
vm
.
bank_lists
.
project_id
,
project_id
:
vm
.
bank_lists
.
project_id
,
trans_type
:
0
,
trans_type
:
'0'
,
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍后'
)
vm
.
hlsPopup
.
showLoading
(
'请稍后'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
...
...
src/pages/userBindNew/np/accessory-info.vue
View file @
3f1ec4e6
...
@@ -394,8 +394,8 @@ export default {
...
@@ -394,8 +394,8 @@ export default {
vm
.
isUploadEstate
=
false
,
// 不动产权证修改标识
vm
.
isUploadEstate
=
false
,
// 不动产权证修改标识
vm
.
bp_type
=
window
.
localStorage
.
bp_type
vm
.
bp_type
=
window
.
localStorage
.
bp_type
setTimeout
(()
=>
{
setTimeout
(()
=>
{
vm
.
loadItemList
()
vm
.
loadItemList
(
true
)
//
vm.getCarInfo()
vm
.
getCarInfo
()
// vm.getHouseInfo()
// vm.getHouseInfo()
// vm.getEstateInfo()
// vm.getEstateInfo()
},
0
)
},
0
)
...
@@ -454,6 +454,7 @@ export default {
...
@@ -454,6 +454,7 @@ export default {
vm
.
isUploadCar
=
false
,
// 行驶证修改标识
vm
.
isUploadCar
=
false
,
// 行驶证修改标识
vm
.
isUploadEstate
=
false
,
// 不动产权证修改标识
vm
.
isUploadEstate
=
false
,
// 不动产权证修改标识
vm
.
bp_type
=
window
.
localStorage
.
bp_type
vm
.
bp_type
=
window
.
localStorage
.
bp_type
vm
.
loadItemList
(
false
)
}
}
})
})
},
},
...
@@ -524,7 +525,7 @@ export default {
...
@@ -524,7 +525,7 @@ export default {
// hlsPopup.showLoading('请稍候')
// hlsPopup.showLoading('请稍候')
if
(
flag
)
{
if
(
flag
)
{
let
res
=
await
vm
.
$post
(
url
,
param
)
let
res
=
await
vm
.
$post
(
url
,
param
)
//
vm.hlsPopup.hideLoading()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
carInfo
,
res
.
info
)
Object
.
assign
(
vm
.
carInfo
,
res
.
info
)
return
true
return
true
...
@@ -972,11 +973,10 @@ export default {
...
@@ -972,11 +973,10 @@ export default {
}
}
})
})
},
},
async
loadItemList
(
)
{
loadItemList
(
flag
)
{
let
vm
=
this
let
vm
=
this
vm
.
dowload_list
=
[]
vm
.
dowload_list
=
[]
let
bpId
=
window
.
localStorage
.
getItem
(
'bp_id'
)
let
bpId
=
window
.
localStorage
.
getItem
(
'bp_id'
)
let
flag
=
await
vm
.
getCarInfo
()
if
(
bpId
===
'undefined'
)
{
if
(
bpId
===
'undefined'
)
{
bpId
=
null
bpId
=
null
}
}
...
@@ -989,36 +989,38 @@ export default {
...
@@ -989,36 +989,38 @@ export default {
},
},
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
if
(
flag
)
{
// if (flag) {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
var
listTemp
=
[...
res
.
lists
]
var
listTemp
=
[...
res
.
lists
]
listTemp
.
forEach
(
item
=>
{
listTemp
.
forEach
(
item
=>
{
switch
(
item
.
cdd_item
)
{
switch
(
item
.
cdd_item
)
{
case
'HOUSE_CARD'
:
// 房产证
case
'HOUSE_CARD'
:
// 房产证
vm
.
house_id
=
item
.
check_id
vm
.
house_id
=
item
.
check_id
break
break
case
'CAR_CARD'
:
// 承租人身份证背面
case
'CAR_CARD'
:
// 承租人身份证背面
vm
.
car_id
=
item
.
check_id
vm
.
car_id
=
item
.
check_id
break
break
case
'REAL_EST_CERTIFICATE'
:
// 承租人身份证背面
case
'REAL_EST_CERTIFICATE'
:
// 承租人身份证背面
vm
.
estate_id
=
item
.
check_id
vm
.
estate_id
=
item
.
check_id
break
break
default
:
default
:
break
break
}
}
})
})
vm
.
cddItemList
=
res
.
lists
.
filter
(
i
=>
{
vm
.
cddItemList
=
res
.
lists
.
filter
(
i
=>
{
return
i
.
description
.
indexOf
(
'身份证'
)
===
-
1
return
i
.
description
.
indexOf
(
'身份证'
)
===
-
1
})
})
// 查询图片
// 查询图片
if
(
flag
)
{
vm
.
cddItemList
.
forEach
((
item
,
index
)
=>
{
vm
.
cddItemList
.
forEach
((
item
,
index
)
=>
{
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
})
})
}
}
})
}
}
})
// }
},
},
delete_pic_to_ocr
(
attachment_id
)
{
delete_pic_to_ocr
(
attachment_id
)
{
let
vm
=
this
let
vm
=
this
...
@@ -1039,9 +1041,8 @@ export default {
...
@@ -1039,9 +1041,8 @@ export default {
},
},
load_picture
(
check_id
,
index
,
cdd_item
)
{
load_picture
(
check_id
,
index
,
cdd_item
)
{
let
vm
=
this
let
vm
=
this
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
50
)
let
url
=
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
randomString
// 附件查询
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
index
// 附件查询
let
param
=
{
let
param
=
{
check_id
:
check_id
,
check_id
:
check_id
,
}
}
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
3f1ec4e6
...
@@ -913,7 +913,6 @@ export default {
...
@@ -913,7 +913,6 @@ export default {
title
:
'提示'
,
title
:
'提示'
,
content
:
'您确认提交吗?'
,
content
:
'您确认提交吗?'
,
onConfirm
:
data
=>
{
onConfirm
:
data
=>
{
console
.
log
(
data
)
if
(
data
)
{
if
(
data
)
{
let
url
=
$config
.
basePath
+
'bp_bind_submit'
let
url
=
$config
.
basePath
+
'bp_bind_submit'
let
param
=
{
let
param
=
{
...
@@ -1218,6 +1217,8 @@ export default {
...
@@ -1218,6 +1217,8 @@ export default {
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
// vm.hlsPopup.showSuccess('保存成功,请去维护附件信息')
// vm.hlsPopup.showSuccess('保存成功,请去维护附件信息')
vm
.
bp_id
=
res
.
bp_id
vm
.
bp_id
=
res
.
bp_id
window
.
localStorage
.
setItem
(
'bp_type'
,
vm
.
baseInfo
.
bp_type
)
window
.
localStorage
.
setItem
(
'bp_id'
,
res
.
bp_id
)
vm
.
bindCheck
()
vm
.
bindCheck
()
// 查询资料清单
// 查询资料清单
vm
.
loadItemList
(
flag
)
vm
.
loadItemList
(
flag
)
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
3f1ec4e6
...
@@ -476,8 +476,8 @@ export default {
...
@@ -476,8 +476,8 @@ export default {
vm
.
cddItemList
=
[]
vm
.
cddItemList
=
[]
vm
.
isApproved
=
window
.
localStorage
.
isApproved
vm
.
isApproved
=
window
.
localStorage
.
isApproved
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
loadItemList
()
vm
.
loadItemList
(
true
)
//
vm.houseQuery()
vm
.
houseQuery
()
// vm.carQuery()
// vm.carQuery()
// vm.propertyQuery() // 不动产权证查询
// vm.propertyQuery() // 不动产权证查询
}
else
if
(
from
.
name
===
'Invoice'
&&
window
.
localStorage
.
from
===
'false'
)
{
}
else
if
(
from
.
name
===
'Invoice'
&&
window
.
localStorage
.
from
===
'false'
)
{
...
@@ -539,6 +539,7 @@ export default {
...
@@ -539,6 +539,7 @@ export default {
vm
.
cddItemList
=
[]
vm
.
cddItemList
=
[]
vm
.
isApproved
=
window
.
localStorage
.
isApproved
vm
.
isApproved
=
window
.
localStorage
.
isApproved
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
loadItemList
(
false
)
}
}
})
})
},
},
...
@@ -595,7 +596,7 @@ export default {
...
@@ -595,7 +596,7 @@ export default {
if
(
flag
)
{
if
(
flag
)
{
// 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'
)
{
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
hauseInfo
,
res
.
info
)
Object
.
assign
(
vm
.
hauseInfo
,
res
.
info
)
// vm.hauseInfo = res.info
// vm.hauseInfo = res.info
...
@@ -931,11 +932,11 @@ export default {
...
@@ -931,11 +932,11 @@ export default {
vm
.
propertyInfo
.
right_others
=
result
.
right_others
.
word
vm
.
propertyInfo
.
right_others
=
result
.
right_others
.
word
})
})
},
},
async
loadItemList
(
)
{
loadItemList
(
flag
)
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
let
flag
=
await
vm
.
houseQuery
()
vm
.
dowload_list
=
[]
let
bpId
=
vm
.
bp_id
let
bpId
=
window
.
localStorage
.
getItem
(
'bp_id'
)
if
(
bpId
===
'undefined'
)
{
if
(
bpId
===
'undefined'
)
{
bpId
=
null
bpId
=
null
}
}
...
@@ -946,36 +947,36 @@ export default {
...
@@ -946,36 +947,36 @@ export default {
'tab_group'
:
window
.
localStorage
.
authFlag
?
'HLS_ORG_NAUTH'
:
'HLS_ORG_AUTH'
,
'tab_group'
:
window
.
localStorage
.
authFlag
?
'HLS_ORG_NAUTH'
:
'HLS_ORG_AUTH'
,
},
},
}
}
if
(
flag
)
{
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
cddItemList
=
[]
vm
.
cddItemList
=
[]
var
listTemp
=
[...
res
.
lists
]
var
listTemp
=
[...
res
.
lists
]
listTemp
.
forEach
(
item
=>
{
listTemp
.
forEach
(
item
=>
{
switch
(
item
.
cdd_item
)
{
switch
(
item
.
cdd_item
)
{
case
'HOUSE_CARD'
:
// 房产证
case
'HOUSE_CARD'
:
// 房产证
vm
.
house_id
=
item
.
check_id
vm
.
house_id
=
item
.
check_id
break
break
case
'CAR_CARD'
:
// 行驶证
case
'CAR_CARD'
:
// 行驶证
vm
.
car_id
=
item
.
check_id
vm
.
car_id
=
item
.
check_id
break
break
case
'REAL_EST_CERTIFICATE'
:
// 不动产
case
'REAL_EST_CERTIFICATE'
:
// 不动产
vm
.
property_id
=
item
.
check_id
vm
.
property_id
=
item
.
check_id
break
break
default
:
default
:
break
break
}
}
})
})
vm
.
cddItemList
=
res
.
lists
.
filter
(
item
=>
{
return
item
.
cdd_item
===
'HOUSE_CARD'
||
item
.
cdd_item
===
'CAR_CARD'
||
item
.
cdd_item
===
'ASSETS_CARD'
||
item
.
cdd_item
===
'REAL_EST_CERTIFICATE'
})
vm
.
cddItemList
=
res
.
lists
.
filter
(
item
=>
{
return
item
.
cdd_item
===
'HOUSE_CARD'
||
item
.
cdd_item
===
'CAR_CARD'
||
item
.
cdd_item
===
'ASSETS_CARD'
||
item
.
cdd_item
===
'REAL_EST_CERTIFICATE'
})
// 查询图片
// 查询图片
console
.
log
(
'cddItemList.........'
,
vm
.
cddItemList
)
if
(
flag
)
{
vm
.
cddItemList
.
forEach
((
item
,
index
)
=>
{
vm
.
cddItemList
.
forEach
((
item
,
index
)
=>
{
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
})
})
}
}
}
)
}
}
}
)
},
},
load_picture
(
check_id
,
index
,
cdd_item
)
{
load_picture
(
check_id
,
index
,
cdd_item
)
{
...
...
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