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
58b7bf77
Commit
58b7bf77
authored
Mar 18, 2020
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuin' into uat
parents
0a40bba6
6e8d3bc7
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 @
58b7bf77
...
@@ -578,22 +578,22 @@ export default {
...
@@ -578,22 +578,22 @@ export default {
}
}
},
},
attachmentCheck
()
{
attachmentCheck
()
{
let
vm
=
this
//
let vm = this
let
url
=
process
.
env
.
basePath
+
'bp_attachment_check'
//
let url = process.env.basePath + 'bp_attachment_check'
let
param
=
{
//
let param = {
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
),
//
bp_id: window.localStorage.getItem('bp_id'),
}
//
}
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
(
res
.
result
===
'S'
)
{
//
if (res.result === 'S') {
vm
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'NPBankInfo'
,
name
:
'NPBankInfo'
,
})
})
}
else
{
//
} else {
hlsPopup
.
showError
(
res
.
message
)
//
hlsPopup.showError(res.message)
}
//
}
})
//
})
},
},
async
getHouseInfo
()
{
async
getHouseInfo
()
{
let
vm
=
this
let
vm
=
this
...
...
src/pages/userBindNew/org/bankInfo.vue
View file @
58b7bf77
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</div>
</div>
</div>
</div>
<bottom-tab
class=
"footer-button"
>
<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>
</bottom-tab>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
>
<h-view>
<h-view>
...
@@ -169,6 +169,29 @@ export default {
...
@@ -169,6 +169,29 @@ export default {
})
})
},
},
methods
:
{
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
()
{
getBankInfo
()
{
let
vm
=
this
let
vm
=
this
...
@@ -276,7 +299,7 @@ export default {
...
@@ -276,7 +299,7 @@ export default {
}
}
},
},
putData
()
{
putData
()
{
this
.
throttle
(
this
.
handSubmit
(),
3000
)
this
.
throttle
(
this
.
addCheck
(),
3000
)
},
},
// 提交
// 提交
async
handSubmit
()
{
async
handSubmit
()
{
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
58b7bf77
...
@@ -554,23 +554,6 @@ export default {
...
@@ -554,23 +554,6 @@ export default {
})
})
},
},
methods
:
{
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
)
{
addRow
(
e
,
event
)
{
// let num = Math.ceil((el.target.scrollHeight - 42) / 20)
// let num = Math.ceil((el.target.scrollHeight - 42) / 20)
// if (num > 0) {
// 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