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
e79b6e54
Commit
e79b6e54
authored
Feb 25, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
05aa1ae4
Changes
5
Show 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 @
e79b6e54
...
...
@@ -90,11 +90,29 @@ export default {
// },
onFocus
(
event
)
{
// if (this.disable) return
let
vm
=
this
this
.
focused
=
true
let
value
=
event
.
target
.
value
event
.
target
.
value
=
''
event
.
target
.
value
=
value
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
.
focus
()
},
0
)
...
...
@@ -111,6 +129,27 @@ export default {
event
.
target
.
blur
()
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
>
...
...
src/pages/contractSigning/entry-info.vue
View file @
e79b6e54
...
...
@@ -263,7 +263,7 @@ export default {
let
url
=
$config
.
basePath
+
'abc_bank_sign'
let
param
=
{
project_id
:
vm
.
bank_lists
.
project_id
,
trans_type
:
0
,
trans_type
:
'0'
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍后'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
...
...
src/pages/userBindNew/np/accessory-info.vue
View file @
e79b6e54
...
...
@@ -394,8 +394,8 @@ export default {
vm
.
isUploadEstate
=
false
,
// 不动产权证修改标识
vm
.
bp_type
=
window
.
localStorage
.
bp_type
setTimeout
(()
=>
{
vm
.
loadItemList
()
//
vm.getCarInfo()
vm
.
loadItemList
(
true
)
vm
.
getCarInfo
()
// vm.getHouseInfo()
// vm.getEstateInfo()
},
0
)
...
...
@@ -454,6 +454,7 @@ export default {
vm
.
isUploadCar
=
false
,
// 行驶证修改标识
vm
.
isUploadEstate
=
false
,
// 不动产权证修改标识
vm
.
bp_type
=
window
.
localStorage
.
bp_type
vm
.
loadItemList
(
false
)
}
})
},
...
...
@@ -524,7 +525,7 @@ export default {
// hlsPopup.showLoading('请稍候')
if
(
flag
)
{
let
res
=
await
vm
.
$post
(
url
,
param
)
//
vm.hlsPopup.hideLoading()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
carInfo
,
res
.
info
)
return
true
...
...
@@ -972,11 +973,10 @@ export default {
}
})
},
async
loadItemList
(
)
{
loadItemList
(
flag
)
{
let
vm
=
this
vm
.
dowload_list
=
[]
let
bpId
=
window
.
localStorage
.
getItem
(
'bp_id'
)
let
flag
=
await
vm
.
getCarInfo
()
if
(
bpId
===
'undefined'
)
{
bpId
=
null
}
...
...
@@ -989,7 +989,7 @@ export default {
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
if
(
flag
)
{
//
if (flag) {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
...
...
@@ -1013,12 +1013,14 @@ export default {
return
i
.
description
.
indexOf
(
'身份证'
)
===
-
1
})
// 查询图片
if
(
flag
)
{
vm
.
cddItemList
.
forEach
((
item
,
index
)
=>
{
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
})
}
})
}
})
// }
},
delete_pic_to_ocr
(
attachment_id
)
{
let
vm
=
this
...
...
@@ -1039,9 +1041,8 @@ export default {
},
load_picture
(
check_id
,
index
,
cdd_item
)
{
let
vm
=
this
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
50
)
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
randomString
// 附件查询
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
index
// 附件查询
let
param
=
{
check_id
:
check_id
,
}
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
e79b6e54
...
...
@@ -913,7 +913,6 @@ export default {
title
:
'提示'
,
content
:
'您确认提交吗?'
,
onConfirm
:
data
=>
{
console
.
log
(
data
)
if
(
data
)
{
let
url
=
$config
.
basePath
+
'bp_bind_submit'
let
param
=
{
...
...
@@ -1218,6 +1217,8 @@ export default {
if
(
res
.
result
===
'S'
)
{
// vm.hlsPopup.showSuccess('保存成功,请去维护附件信息')
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
.
loadItemList
(
flag
)
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
e79b6e54
...
...
@@ -476,8 +476,8 @@ export default {
vm
.
cddItemList
=
[]
vm
.
isApproved
=
window
.
localStorage
.
isApproved
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
loadItemList
()
//
vm.houseQuery()
vm
.
loadItemList
(
true
)
vm
.
houseQuery
()
// vm.carQuery()
// vm.propertyQuery() // 不动产权证查询
}
else
if
(
from
.
name
===
'Invoice'
&&
window
.
localStorage
.
from
===
'false'
)
{
...
...
@@ -539,6 +539,7 @@ export default {
vm
.
cddItemList
=
[]
vm
.
isApproved
=
window
.
localStorage
.
isApproved
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
loadItemList
(
false
)
}
})
},
...
...
@@ -595,7 +596,7 @@ export default {
if
(
flag
)
{
// hlsPopup.showLoading('请稍候')
let
res
=
await
vm
.
$post
(
url
,
param
)
//
vm.hlsPopup.hideLoading()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
hauseInfo
,
res
.
info
)
// vm.hauseInfo = res.info
...
...
@@ -931,11 +932,11 @@ export default {
vm
.
propertyInfo
.
right_others
=
result
.
right_others
.
word
})
},
async
loadItemList
(
)
{
loadItemList
(
flag
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
let
flag
=
await
vm
.
houseQuery
()
let
bpId
=
vm
.
bp_id
vm
.
dowload_list
=
[]
let
bpId
=
window
.
localStorage
.
getItem
(
'bp_id'
)
if
(
bpId
===
'undefined'
)
{
bpId
=
null
}
...
...
@@ -946,7 +947,7 @@ export default {
'tab_group'
:
window
.
localStorage
.
authFlag
?
'HLS_ORG_NAUTH'
:
'HLS_ORG_AUTH'
,
},
}
if
(
flag
)
{
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
...
...
@@ -969,13 +970,13 @@ export default {
})
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
.
load_picture
(
item
.
check_id
,
index
,
item
.
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