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
d532419e
Commit
d532419e
authored
Jan 03, 2020
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'myinfo'
parent
5cf3b1c6
Pipeline
#4454
canceled with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
sales-info.vue
src/pages/contractCreate/sales-info.vue
+7
-4
my-info.vue
src/pages/myInfo/my-info.vue
+3
-0
hlsHttp.js
src/scripts/hlsHttp.js
+3
-0
No files found.
src/pages/contractCreate/sales-info.vue
View file @
d532419e
...
@@ -74,15 +74,15 @@
...
@@ -74,15 +74,15 @@
</item>
</item>
<item
v-if=
"user_bp_type === 'AGENT'"
>
<item
v-if=
"user_bp_type === 'AGENT'"
>
<div
slot=
"name"
class=
"font-color"
>
授信额度
</div>
<div
slot=
"name"
class=
"font-color"
>
授信额度
</div>
<
input
slot=
"content"
v-model=
"inflow_line"
readonly
placeholder=
"授信额度"
>
<
CurrencyInput
slot=
"content"
v-model=
"inflow_line"
:readonly=
"true"
placeholder=
"授信额度"
/
>
</item>
</item>
<item
v-if=
"user_bp_type === 'AGENT'"
>
<item
v-if=
"user_bp_type === 'AGENT'"
>
<div
slot=
"name"
class=
"font-color"
>
已使用授信额度
</div>
<div
slot=
"name"
class=
"font-color"
>
已使用授信额度
</div>
<
input
slot=
"content"
v-model=
"inflow_used"
readonly
placeholder=
"已使用授信额度"
>
<
CurrencyInput
slot=
"content"
v-model=
"inflow_used"
:readonly=
"true"
placeholder=
"已使用授信额度"
/
>
</item>
</item>
<item
v-if=
"user_bp_type === 'AGENT'"
>
<item
v-if=
"user_bp_type === 'AGENT'"
>
<div
slot=
"name"
class=
"font-color"
>
剩余授信额度
</div>
<div
slot=
"name"
class=
"font-color"
>
剩余授信额度
</div>
<
input
slot=
"content"
v-model=
"inflow_reset"
readonly
placeholder=
"剩余授信额度"
>
<
CurrencyInput
slot=
"content"
v-model=
"inflow_reset"
:readonly=
"true"
placeholder=
"剩余授信额度"
/
>
</item>
</item>
<item
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<item
@
click
.
native=
"showTime('YYYY-MM-DD')"
>
<div
slot=
"name"
class=
"font-color"
>
签约日期
</div>
<div
slot=
"name"
class=
"font-color"
>
签约日期
</div>
...
@@ -132,8 +132,11 @@
...
@@ -132,8 +132,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
CurrencyInput
from
'../../components/currencyInput'
export
default
{
export
default
{
components
:
{
CurrencyInput
,
},
data
()
{
data
()
{
return
{
return
{
inflow_line
:
''
,
// 授信总额度
inflow_line
:
''
,
// 授信总额度
...
...
src/pages/myInfo/my-info.vue
View file @
d532419e
...
@@ -312,6 +312,7 @@ export default {
...
@@ -312,6 +312,7 @@ export default {
this
.
approveBtn
=
false
this
.
approveBtn
=
false
}
else
if
(
this
.
bp_id
&&
this
.
user_bp_status
===
'NEW'
)
{
}
else
if
(
this
.
bp_id
&&
this
.
user_bp_status
===
'NEW'
)
{
this
.
description
=
'待提交'
this
.
description
=
'待提交'
this
.
approveBtn
=
false
}
else
if
(
this
.
bp_id
&&
this
.
user_bp_status
===
'APPROVED'
)
{
}
else
if
(
this
.
bp_id
&&
this
.
user_bp_status
===
'APPROVED'
)
{
this
.
description
=
'解除绑定'
this
.
description
=
'解除绑定'
this
.
approveBtn
=
true
this
.
approveBtn
=
true
...
@@ -320,8 +321,10 @@ export default {
...
@@ -320,8 +321,10 @@ export default {
(
this
.
bp_id
&&
this
.
user_bp_status
===
'REJECT'
)
(
this
.
bp_id
&&
this
.
user_bp_status
===
'REJECT'
)
)
{
)
{
this
.
description
=
'审核未通过'
this
.
description
=
'审核未通过'
this
.
approveBtn
=
false
}
else
{
}
else
{
this
.
description
=
'审批中'
this
.
description
=
'审批中'
this
.
approveBtn
=
false
}
}
},
},
// 我的发票
// 我的发票
...
...
src/scripts/hlsHttp.js
View file @
d532419e
...
@@ -35,11 +35,14 @@ axios.interceptors.response.use(response => {
...
@@ -35,11 +35,14 @@ axios.interceptors.response.use(response => {
err
.
message
=
response
.
data
.
message
err
.
message
=
response
.
data
.
message
hlsPopup
.
showError
(
err
.
message
)
hlsPopup
.
showError
(
err
.
message
)
return
Promise
.
resolve
(
err
)
return
Promise
.
resolve
(
err
)
}
else
if
(
response
.
code
===
'404'
)
{
hlsPopup
.
showError
(
'未找到资源文件'
)
}
else
{
}
else
{
return
response
.
data
return
response
.
data
}
}
},
err
=>
{
},
err
=>
{
if
(
err
&&
err
.
response
)
{
if
(
err
&&
err
.
response
)
{
debugger
switch
(
err
.
response
.
status
)
{
switch
(
err
.
response
.
status
)
{
case
400
:
case
400
:
err
.
message
=
'错误请求'
err
.
message
=
'错误请求'
...
...
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