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
6e8d3bc7
Commit
6e8d3bc7
authored
Mar 18, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
a70b7c30
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
34 deletions
+40
-34
accessory-info.vue
src/pages/userBindNew/np/accessory-info.vue
+15
-15
bankInfo.vue
src/pages/userBindNew/org/bankInfo.vue
+25
-2
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+0
-17
No files found.
src/pages/userBindNew/np/accessory-info.vue
View file @
6e8d3bc7
...
...
@@ -578,22 +578,22 @@ export default {
}
},
attachmentCheck
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_attachment_check'
let
param
=
{
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
),
}
vm
.
hlsPopup
.
showLoading
(
'正在校验数据'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
//
let vm = this
//
let url = process.env.basePath + 'bp_attachment_check'
//
let param = {
//
bp_id: window.localStorage.getItem('bp_id'),
//
}
//
vm.hlsPopup.showLoading('正在校验数据')
//
vm.hlsHttp.post(url, param).then(function (res) {
//
vm.hlsPopup.hideLoading()
//
if (res.result === 'S') {
this
.
$router
.
push
({
name
:
'NPBankInfo'
,
})
}
else
{
hlsPopup
.
showError
(
res
.
message
)
}
})
//
} else {
//
hlsPopup.showError(res.message)
//
}
//
})
},
async
getHouseInfo
()
{
let
vm
=
this
...
...
src/pages/userBindNew/org/bankInfo.vue
View file @
6e8d3bc7
...
...
@@ -57,7 +57,7 @@
</div>
</div>
<bottom-tab
class=
"footer-button"
>
<tab-button
class=
"save"
@
click
.
native=
"
handSubmit
"
>
提交
</tab-button>
<tab-button
class=
"save"
@
click
.
native=
"
addCheck
"
>
提交
</tab-button>
</bottom-tab>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
>
<h-view>
...
...
@@ -169,6 +169,29 @@ export default {
})
},
methods
:
{
// 提交前校验
addCheck
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_attachment_check'
let
param
=
{
bp_id
:
vm
.
$route
.
params
.
bp_id
,
}
if
(
window
.
localStorage
.
getItem
(
'authFlag'
)
===
'true'
)
{
console
.
log
(
11111111111
)
vm
.
handSubmit
()
}
else
{
console
.
log
(
2222222222
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
handSubmit
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
},
// 银行卡查询
getBankInfo
()
{
let
vm
=
this
...
...
@@ -276,7 +299,7 @@ export default {
}
},
putData
()
{
this
.
throttle
(
this
.
handSubmit
(),
3000
)
this
.
throttle
(
this
.
addCheck
(),
3000
)
},
// 提交
async
handSubmit
()
{
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
6e8d3bc7
...
...
@@ -554,23 +554,6 @@ export default {
})
},
methods
:
{
// 附件信息保存前校验
addCheck
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_attachment_check'
let
param
=
{
bp_id
:
vm
.
bp_id
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
addRow
(
e
,
event
)
{
// let num = Math.ceil((el.target.scrollHeight - 42) / 20)
// if (num > 0) {
...
...
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