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
5c7c4d26
Commit
5c7c4d26
authored
Oct 14, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户查询
parent
09ddfba5
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
27 additions
and
2955 deletions
+27
-2955
bankInfoWrite.vue
src/pages/personalCenter/npReadWrite/bankInfoWrite.vue
+0
-240
invoiceInfoWrite.vue
src/pages/personalCenter/npReadWrite/invoiceInfoWrite.vue
+0
-159
naturePersonWrite.vue
src/pages/personalCenter/npReadWrite/naturePersonWrite.vue
+0
-910
bankInfoWrite.vue
src/pages/personalCenter/orgWrite/bankInfoWrite.vue
+0
-240
enterpriseWrite.vue
src/pages/personalCenter/orgWrite/enterpriseWrite.vue
+0
-1100
invoiceInfoWrite.vue
src/pages/personalCenter/orgWrite/invoiceInfoWrite.vue
+0
-187
personList.vue
src/pages/personalCenter/personList.vue
+0
-95
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+24
-15
enterprise.vue
src/pages/userBind/org/enterprise.vue
+3
-1
index.js
src/router/index.js
+0
-8
No files found.
src/pages/personalCenter/npReadWrite/bankInfoWrite.vue
deleted
100644 → 0
View file @
09ddfba5
<
template
>
<div
id=
"bank-card"
>
<div
class=
"info"
>
<div
class=
"info-icon"
>
<img
src=
"@/assets/userBind/info.png"
>
<span>
温馨提示
</span>
</div>
<p>
推荐使用农行卡,农行卡支付免收手续费!
</p>
</div>
<div
class=
"my-card"
>
<div
class=
"top"
>
<div
class=
"left"
>
<img
src=
"@/assets/userBind/bankIcon.png"
class=
"icon"
>
<span
class=
"top-word"
>
我的卡
<span
class=
"sum"
>
(共
{{
getBankList
.
length
}}
张)
</span>
</span>
</div>
<img
src=
"@/assets/userBind/add.png"
class=
"icon-right"
@
click=
"sendFlag"
>
</div>
<div
class=
"clear"
/>
<div
class=
"card-content"
>
<ul>
<li
v-for=
"(item,index) in getBankList"
:key=
"index"
>
<item-option
class=
"slider"
>
<div
:style=
"'background-image: url('+ changeBgImg (item) +')'"
class=
"my-bank-card"
>
<div
class=
"card-info"
>
<span
class=
"name"
>
{{
item
.
bank_full_name
}}
</span>
<span
class=
"card-type"
>
{{
item
.
bank_card_type
}}
</span>
<span
class=
"number"
>
卡号
</span>
<span
class=
"card-number"
>
**** **** ****
{{
selectLast
(
item
)
}}
</span>
</div>
</div>
<div
slot=
"buttons"
class=
"button"
>
<option-button
text
@
click
.
native=
"deleteFun(item.bank_account_num)"
/>
</div>
</item-option>
</li>
</ul>
</div>
</div>
</div>
</
template
>
<
script
>
import
backImg1
from
'@/assets/userBind/nong.png'
import
backImg2
from
'@/assets/userBind/unNong.png'
export
default
{
props
:
{
'getBankList'
:
{
default
:
[],
type
:
Array
,
},
},
data
()
{
return
{
backImg
:
null
,
showModalValue
:
true
,
}
},
methods
:
{
sendFlag
()
{
this
.
showModalValue
=
true
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
)
},
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
return
backImg1
}
else
{
return
backImg2
}
},
selectLast
(
item
)
{
let
num
=
item
.
bank_account_num
return
num
.
substring
(
num
.
length
-
4
)
},
deleteFun
(
e
)
{
let
index
=
this
.
getBankList
.
findIndex
(
item
=>
{
if
(
item
.
bank_account_num
===
e
)
{
return
true
}
})
this
.
getBankList
.
splice
(
index
,
1
)
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_bank_delete'
let
param
=
{
'master'
:
{
'bp_id'
:
window
.
localStorage
.
user_id
,
'bank_account_num'
:
e
,
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
console
.
log
(
res
)
}
})
},
},
}
</
script
>
<
style
lang=
"less"
scoped
>
#bank-card {
.info {
height: 70px;
background-color: rgba(142, 195, 30, 0.1);
.info-icon {
height: 20px;
padding-top: 20px;
display: flex;
align-items: center;
img {
width: 15.8px;
height: 15.8px;
margin-left: 17.1px;
}
span {
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #8ec31e;
margin-left: 9px;
letter-spacing: 0.5px;
line-height: 20px;
}
}
p {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #656464;
width: 310px;
margin-left: 42px;
letter-spacing: 0.4px;
line-height: 18px;
margin-top: 8px;
}
}
.my-card {
.top {
width: 320px;
margin: 0 auto;
margin-top: 13px;
.left {
height: 32px;
display: flex;
align-items: center;
float: left;
.icon {
width: 18px;
height: 20px;
margin-right: 4px;
}
.top-word {
font-family: PingFangSC-Semibold;
font-size: 15px;
color: #00469c;
letter-spacing: 0.46px;
.sum {
font-family: PingFangSC-Semibold;
font-size: 15px;
color: #4d5d6c;
letter-spacing: 0.46px;
}
}
}
.icon-right {
width: 34px;
height: 34px;
float: right;
}
}
.clear {
clear: both;
}
.card-content {
width: 350px;
padding-left: 28px;
overflow: hidden;
margin-top: 16px;
li {
margin-bottom: 10px;
.slider {
height: 100%;
margin-left: -14px;
}
}
.my-bank-card {
width: 320px;
height: 190px;
box-shadow: 0 5px 20px 0 rgba(101, 101, 101, 0.25);
border-radius: 6px;
background-size: 320px 190px;
.card-info {
font-family: PingFangSC-Medium;
color: #ffffff;
margin-left: 18px;
padding-top: 15px;
.name,
.card-type {
font-size: 16px;
letter-spacing: 5.5px;
line-height: 24px;
}
.card-type {
display: block;
margin-top: 9px;
}
.number {
font-size: 12px;
letter-spacing: 0;
line-height: 16px;
margin-top: 33px;
display: block;
margin-top: 33px;
}
.card-number {
display: block;
font-family: Avenir-Heavy;
font-size: 16px;
color: #ffffff;
letter-spacing: 6px;
line-height: 24px;
}
}
}
}
}
.swipeout-list .item .function {
left: 330px;
border-radius: 6px;
width: 54px;
height: 190px;
background: url("../../../assets/userBind/delete.png") 16px 84.9px #fde5e8
no-repeat;
background-size: 20px 20px;
}
}
</
style
>
src/pages/personalCenter/npReadWrite/invoiceInfoWrite.vue
deleted
100644 → 0
View file @
09ddfba5
<
template
>
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
>
<div
slot=
"name"
>
纳税人类型
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.taxpayer_type_n"
type=
"text"
readonly
placeholder=
"请选择"
onfocus=
"this.blur()"
@
click=
"selectTaxpayer"
>
</item>
<item
:showArrow=
"true"
>
<div
slot=
"name"
>
发票类型
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_kind_n"
type=
"text"
readonly
placeholder=
"请选择"
onfocus=
"this.blur()"
@
click=
"selectInvoiceType"
>
</item>
<item>
<div
slot=
"name"
>
发票抬头
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_title"
type=
"text"
placeholder=
"请输入发票抬头"
>
</item>
<item>
<div
slot=
"name"
>
发票地址及电话
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_bp_address_phone_num"
type=
"text"
placeholder=
"请输入发票地址及电话"
>
</item>
<item>
<div
slot=
"name"
>
发票开户行及账号
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_bp_bank_account"
type=
"text"
placeholder=
"请输入发票开户行及账号"
>
</item>
</list-item>
</
template
>
<
script
>
export
default
{
props
:
{
'baseInfo'
:
{
type
:
Object
,
default
:
{},
},
'tabNum'
:
{
type
:
Number
,
default
:
0
,
},
},
data
()
{
return
{
invoicList
:
[],
taxpayerList
:
[],
invoiceInfo
:
{
invoice_kind_n
:
''
,
taxpayer_type_n
:
''
,
taxpayer_type
:
''
,
invoice_kind
:
''
,
invoice_title
:
''
,
invoice_bp_address_phone_num
:
''
,
invoice_bp_bank_account
:
''
,
},
}
},
watch
:
{
tabNum
(
newVal
,
oldVal
)
{
if
(
newVal
===
2
)
{
Object
.
assign
(
this
.
invoiceInfo
,
this
.
baseInfo
)
}
},
},
created
()
{
this
.
getInvoiceType
()
this
.
getTaxpayer
()
},
mounted
()
{
},
updated
()
{
this
.
sendList
()
},
methods
:
{
getInvoiceType
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_invoice_kind_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
invoicList
=
res
.
lists
.
map
(
item
=>
{
return
{
code
:
item
.
invoice_kind
,
code_name
:
item
.
invoice_kind_n
,
}
})
}
})
},
getTaxpayer
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_taxpayer_type_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
taxpayerList
=
res
.
lists
.
map
(
item
=>
{
return
{
code
:
item
.
taxpayer_type
,
code_name
:
item
.
taxpayer_type_n
,
}
})
}
})
},
selectInvoiceType
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
invoicList
,
code
:
'bp_type'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
invoice_kind
=
obj
.
bp_type
vm
.
invoiceInfo
.
invoice_kind_n
=
obj
.
bp_type_n
},
})
},
selectTaxpayer
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
taxpayerList
,
code
:
'bp_type'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
taxpayer_type
=
obj
.
bp_type
vm
.
invoiceInfo
.
taxpayer_type_n
=
obj
.
bp_type_n
},
})
},
sendList
()
{
this
.
$emit
(
'getinvoiceList'
,
this
.
invoiceInfo
)
},
},
}
</
script
>
<
style
scoped
>
input
::placeholder
{
color
:
#B4B4B5
;
}
</
style
>
src/pages/personalCenter/npReadWrite/naturePersonWrite.vue
deleted
100644 → 0
View file @
09ddfba5
This diff is collapsed.
Click to expand it.
src/pages/personalCenter/orgWrite/bankInfoWrite.vue
deleted
100644 → 0
View file @
09ddfba5
<
template
>
<div
id=
"bank-card"
>
<div
class=
"info"
>
<div
class=
"info-icon"
>
<img
src=
"@/assets/userBind/info.png"
>
<span>
温馨提示
</span>
</div>
<p>
推荐使用农行卡,农行卡支付免收手续费!
</p>
</div>
<div
class=
"my-card"
>
<div
class=
"top"
>
<div
class=
"left"
>
<img
src=
"@/assets/userBind/bankIcon.png"
class=
"icon"
>
<span
class=
"top-word"
>
我的卡
<span
class=
"sum"
>
(共
{{
getBankList
.
length
}}
张)
</span>
</span>
</div>
<img
src=
"@/assets/userBind/add.png"
class=
"icon-right"
@
click=
"sendFlag"
>
</div>
<div
class=
"clear"
/>
<div
class=
"card-content"
>
<ul>
<li
v-for=
"(item,index) in getBankList"
:key=
"index"
>
<item-option
class=
"slider"
>
<div
:style=
"'background-image: url('+ changeBgImg (item) +')'"
class=
"my-bank-card"
>
<div
class=
"card-info"
>
<span
class=
"name"
>
{{
item
.
bank_full_name
}}
</span>
<span
class=
"card-type"
>
{{
item
.
bank_card_type
}}
</span>
<span
class=
"number"
>
卡号
</span>
<span
class=
"card-number"
>
**** **** ****
{{
selectLast
(
item
)
}}
</span>
</div>
</div>
<div
slot=
"buttons"
class=
"button"
>
<option-button
text
@
click
.
native=
"deleteFun(item.bank_account_num)"
/>
</div>
</item-option>
</li>
</ul>
</div>
</div>
</div>
</
template
>
<
script
>
import
backImg1
from
'@/assets/userBind/nong.png'
import
backImg2
from
'@/assets/userBind/unNong.png'
export
default
{
props
:
{
'getBankList'
:
{
default
:
[],
type
:
Array
,
},
},
data
()
{
return
{
backImg
:
null
,
showModalValue
:
true
,
}
},
methods
:
{
sendFlag
()
{
this
.
showModalValue
=
true
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
)
},
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
return
backImg1
}
else
{
return
backImg2
}
},
selectLast
(
item
)
{
let
num
=
item
.
bank_account_num
return
num
.
substring
(
num
.
length
-
4
)
},
deleteFun
(
e
)
{
let
index
=
this
.
getBankList
.
findIndex
(
item
=>
{
if
(
item
.
bank_account_num
===
e
)
{
return
true
}
})
this
.
getBankList
.
splice
(
index
,
1
)
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_bank_delete'
let
param
=
{
'master'
:
{
'bp_id'
:
vm
.
$route
.
params
.
bp_id
,
'bank_account_num'
:
e
,
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
console
.
log
(
res
)
}
})
},
},
}
</
script
>
<
style
lang=
"less"
scoped
>
#bank-card {
.info {
height: 70px;
background-color: rgba(142, 195, 30, 0.1);
.info-icon {
height: 20px;
padding-top: 20px;
display: flex;
align-items: center;
img {
width: 15.8px;
height: 15.8px;
margin-left: 17.1px;
}
span {
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #8ec31e;
margin-left: 9px;
letter-spacing: 0.5px;
line-height: 20px;
}
}
p {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #656464;
width: 310px;
margin-left: 42px;
letter-spacing: 0.4px;
line-height: 18px;
margin-top: 8px;
}
}
.my-card {
.top {
width: 320px;
margin: 0 auto;
margin-top: 13px;
.left {
height: 32px;
display: flex;
align-items: center;
float: left;
.icon {
width: 18px;
height: 20px;
margin-right: 4px;
}
.top-word {
font-family: PingFangSC-Semibold;
font-size: 15px;
color: #00469c;
letter-spacing: 0.46px;
.sum {
font-family: PingFangSC-Semibold;
font-size: 15px;
color: #4d5d6c;
letter-spacing: 0.46px;
}
}
}
.icon-right {
width: 34px;
height: 34px;
float: right;
}
}
.clear {
clear: both;
}
.card-content {
width: 350px;
padding-left: 28px;
overflow: hidden;
margin-top: 16px;
li {
margin-bottom: 10px;
.slider {
height: 100%;
margin-left: -14px;
}
}
.my-bank-card {
width: 320px;
height: 190px;
box-shadow: 0 5px 20px 0 rgba(101, 101, 101, 0.25);
border-radius: 6px;
background-size: 320px 190px;
.card-info {
font-family: PingFangSC-Medium;
color: #ffffff;
margin-left: 18px;
padding-top: 15px;
.name,
.card-type {
font-size: 16px;
letter-spacing: 5.5px;
line-height: 24px;
}
.card-type {
display: block;
margin-top: 9px;
}
.number {
font-size: 12px;
letter-spacing: 0;
line-height: 16px;
margin-top: 33px;
display: block;
margin-top: 33px;
}
.card-number {
display: block;
font-family: Avenir-Heavy;
font-size: 16px;
color: #ffffff;
letter-spacing: 6px;
line-height: 24px;
}
}
}
}
}
.swipeout-list .item .function {
left: 330px;
border-radius: 6px;
width: 54px;
height: 190px;
background: url("../../../assets/userBind/delete.png") 16px 84.9px #fde5e8
no-repeat;
background-size: 20px 20px;
}
}
</
style
>
src/pages/personalCenter/orgWrite/enterpriseWrite.vue
deleted
100644 → 0
View file @
09ddfba5
This diff is collapsed.
Click to expand it.
src/pages/personalCenter/orgWrite/invoiceInfoWrite.vue
deleted
100644 → 0
View file @
09ddfba5
<!--
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-20 09:35:11
* @LastEditTime: 2019-09-29 11:25:28
* @LastEditors: Please set LastEditors
-->
<
template
>
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
>
<div
slot=
"name"
class=
"font-color"
>
纳税人类型
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.taxpayer_type_n"
type=
"text"
readonly
placeholder=
"请选择"
@
click=
"selectTaxpayer"
>
</item>
<item
:showArrow=
"true"
>
<div
slot=
"name"
class=
"font-color"
>
发票类型
</div>
<input
slot=
"content"
v-model=
"invoice_kind_n"
type=
"text"
readonly
placeholder=
"请选择"
@
click=
"selectInvoiceType"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
发票抬头
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_title"
type=
"text"
placeholder=
"请输入发票抬头"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
发票地址及电话
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_bp_address_phone_num"
type=
"text"
placeholder=
"请输入发票地址及电话"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
发票开户行及账号
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_bp_bank_account"
type=
"text"
placeholder=
"请输入发票开户行及账号"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
纳税人识别号
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.organization_code"
:placeholder=
"orgCode"
type=
"text"
readonly
>
</item>
<!--
<p>
{{
organization_code
}}
</p>
-->
</list-item>
</
template
>
<
script
>
export
default
{
name
:
'InvoiceInfo'
,
props
:
{
'orgCode'
:
{
type
:
String
,
default
:
''
,
},
'baseInfo'
:
{
type
:
Object
,
default
:
{},
},
'tabNum'
:
{
type
:
Number
,
default
:
0
,
},
},
data
()
{
return
{
invoice_kind_n
:
''
,
invoicList
:
[],
taxpayerList
:
[],
invoiceInfo
:
{
invoice_kind
:
''
,
taxpayer_type_n
:
''
,
taxpayer_type
:
''
,
invoice_title
:
''
,
organization_code
:
this
.
orgCode
,
invoice_bp_bank_account
:
''
,
invoice_bp_address_phone_num
:
''
,
},
}
},
watch
:
{
orgCode
()
{
this
.
invoiceInfo
.
organization_code
=
this
.
orgCode
},
'tabNum'
(
newVal
,
oulVal
)
{
if
(
newVal
===
2
)
{
Object
.
assign
(
this
.
invoiceInfo
,
this
.
baseInfo
)
this
.
invoice_kind_n
=
''
if
(
this
.
invoiceInfo
.
invoice_kind
==
0
)
{
this
.
invoice_kind_n
=
'增值税专用发票'
}
else
if
(
this
.
invoiceInfo
.
invoice_kind
==
2
)
{
this
.
invoice_kind_n
=
'增值税普通发票'
}
}
},
},
created
()
{
this
.
getInvoiceType
()
this
.
getTaxpayer
()
},
updated
()
{
this
.
sendList
()
},
methods
:
{
getInvoiceType
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_invoice_kind_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
invoicList
=
res
.
lists
.
map
(
item
=>
{
return
{
code
:
item
.
invoice_kind
,
code_name
:
item
.
invoice_kind_n
,
}
})
}
})
},
getTaxpayer
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_taxpayer_type_query'
let
param
=
{}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
taxpayerList
=
res
.
lists
.
map
(
item
=>
{
return
{
code
:
item
.
taxpayer_type
,
code_name
:
item
.
taxpayer_type_n
,
}
})
}
})
},
selectInvoiceType
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
invoicList
,
code
:
'bp_type'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
invoice_kind
=
obj
.
bp_type
vm
.
invoice_kind_n
=
obj
.
bp_type_n
},
})
},
selectTaxpayer
(
e
)
{
let
vm
=
this
vm
.
hlsPopup
.
selectList
({
list
:
vm
.
taxpayerList
,
code
:
'bp_type'
,
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
taxpayer_type
=
obj
.
bp_type
vm
.
invoiceInfo
.
taxpayer_type_n
=
obj
.
bp_type_n
},
})
},
sendList
()
{
this
.
$emit
(
'getinvoiceList'
,
this
.
invoiceInfo
)
},
},
}
</
script
>
<
style
scoped
>
input
::placeholder
{
color
:
#B4B4B5
;
}
.font-color
{
color
:
#656464
;
}
</
style
>
src/pages/personalCenter/personList.vue
deleted
100644 → 0
View file @
09ddfba5
<
template
>
<div
id=
"personCenter"
>
<div
class=
"head"
@
click=
"changePageHead"
>
头像
</div>
<button
@
click=
" user_bp_status === 'APPROVED'?'':changePageHead"
>
{{
user_bp_status
===
'APPROVED'
?
'解除绑定'
:
'用户绑定'
}}
</button>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
user_bp_status
:
''
,
user_bp_class
:
''
,
bp_id
:
''
,
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
userQuery
()
})
},
methods
:
{
changePageHead
()
{
let
vm
=
this
if
(
vm
.
bp_id
)
{
if
(
vm
.
user_bp_status
===
'NEW'
||
vm
.
user_bp_status
===
'REJECT'
)
{
if
(
vm
.
user_bp_class
===
'NP'
)
{
vm
.
$router
.
push
({
name
:
'NaturePersonWrite'
,
params
:
{
'bp_id'
:
this
.
bp_id
,
},
})
}
else
{
this
.
$router
.
push
({
name
:
' EnterpriseWrite'
,
params
:
{
'bp_id'
:
this
.
bp_id
,
},
})
}
}
else
if
(
vm
.
user_bp_status
===
'APPROVED'
)
{
if
(
vm
.
user_bp_class
===
'NP'
)
{
vm
.
$router
.
push
({
name
:
'NaturePersonReadOnly'
,
params
:
{
'bp_id'
:
this
.
bp_id
,
},
})
}
else
{
this
.
$router
.
push
({
name
:
'EnterpriseReadOnly'
,
params
:
{
'bp_id'
:
this
.
bp_id
,
},
})
}
}
else
if
(
vm
.
user_bp_status
===
'APPROVING'
)
{
this
.
hlsPopup
.
showLongCenter
(
'您的绑定申请还在流程中'
)
}
}
else
{
this
.
hlsPopup
.
showLongCenter
(
'请先进行用户绑定'
)
}
},
userQuery
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'user_query'
let
param
=
{
'phone'
:
window
.
localStorage
.
getItem
(
'user_phone'
),
}
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
user_bp_status
=
res
.
info
.
user_bp_status
vm
.
user_bp_class
=
res
.
info
.
user_bp_class
vm
.
bp_id
=
res
.
info
.
user_bp_id
}
})
},
},
}
</
script
>
<
style
lang=
"less"
scoped
>
#personCenter {
.head {
width: 100px;
height: 100px;
border: 1px solid #000;
}
button {
margin-top: 80%;
width: 150px;
height: 50px;
border: 1px solid #000;
}
}
</
style
>
src/pages/userBind/np/naturePerson.vue
View file @
5c7c4d26
...
...
@@ -33,10 +33,14 @@
<div
slot=
"name"
class=
"required"
>
业务经办人
</div>
<input
slot=
"content"
v-model=
"baseInfo.agent_username"
placeholder=
"请输入业务经办员工代码"
>
</item>
<item
v-if=
"(
!isPaople&&from)||(!isPaople
&&isSelected)"
>
<item
v-if=
"(
isLesons&&from)||(isLesons
&&isSelected)"
>
<div
slot=
"name"
class=
"required"
>
营业执照
</div>
<input
slot=
"content"
v-model=
"baseInfo.business_license_num"
placeholder=
"请输入营业执照号"
>
</item>
<item
v-if=
"(isMatter&&from)||(isMatter&&isSelected)"
>
<div
slot=
"name"
class=
"required"
>
办事处代码
</div>
<input
slot=
"content"
v-model=
"baseInfo.business_license_num"
placeholder=
"请输入办事处代码"
>
</item>
</list-item>
<div
class=
"userInfo"
>
客户信息
</div>
<div
class=
"upload-id-card"
>
...
...
@@ -69,6 +73,15 @@
class=
"auto"
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
户籍地址
</div>
<input
slot=
"content"
:readonly=
"isApproved"
v-model=
"baseInfo.address_on_resident_booklit"
placeholder=
"上传身份证自动填充"
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
手机号码
</div>
<input
slot=
"content"
v-model=
"baseInfo.cell_phone"
placeholder=
"请输入手机号码"
>
...
...
@@ -77,14 +90,6 @@
<div
slot=
"name"
class=
"required"
>
居住地址
</div>
<input
slot=
"content"
v-model=
"baseInfo.living_address"
placeholder=
"请输入居住地址"
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
户籍地址
</div>
<input
slot=
"content"
v-model=
"baseInfo.address_on_resident_booklit"
placeholder=
"请输入户籍地址"
>
</item>
<item
:showArrow=
"true"
>
<div
slot=
"name"
class=
"required"
>
学历
</div>
<input
...
...
@@ -211,7 +216,8 @@ export default {
list
:
{},
hasSP
:
false
,
isPaople
:
false
,
isEnter
:
false
,
isLesons
:
false
,
isMatter
:
false
,
showModalValue
:
false
,
isApproved
:
false
,
isSave
:
false
,
...
...
@@ -263,16 +269,19 @@ export default {
let
vm
=
this
if
(
vm
.
baseInfo
.
bp_type
===
'TENANT'
||
vm
.
baseInfo
.
bp_type
===
'GUTA'
)
{
vm
.
isPaople
=
true
vm
.
isEnter
=
false
// baseInfo.agent_username
// baseInfo.business_license_num
vm
.
isMatter
=
false
vm
.
isLesons
=
false
}
else
if
(
vm
.
baseInfo
.
bp_type
===
'AGENT'
||
vm
.
baseInfo
.
bp_type
===
'OFFICE'
||
vm
.
baseInfo
.
bp_type
===
'FACTORY'
)
{
vm
.
isEnter
=
true
vm
.
isPaople
=
false
vm
.
isMatter
=
false
vm
.
isLesons
=
true
}
else
if
(
vm
.
baseInfo
.
bp_type
===
'OFFICE'
)
{
vm
.
isMatter
=
true
vm
.
isPaople
=
false
vm
.
isLesons
=
false
}
},
tabNum
:
function
(
newVal
,
oldVal
)
{
...
...
src/pages/userBind/org/enterprise.vue
View file @
5c7c4d26
...
...
@@ -82,7 +82,9 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color required"
>
注册地址
</div>
<input
slot=
"content"
v-model=
"baseInfo.registered_place"
placeholder=
"请输入注册地址"
>
<input
slot=
"content"
:readonly=
"isApproved"
v-model=
"baseInfo.registered_place"
class=
"auto"
placeholder=
"上传营业执照自动填充"
>
</item>
<item>
<div
slot=
"name"
class=
"font-color required"
>
经营地址
</div>
...
...
src/router/index.js
View file @
5c7c4d26
...
...
@@ -48,10 +48,6 @@ import ContractSigning from '../pages/contractSigning/contract-signing'
import
ContractDetail
from
'@/pages/ContractSigning/contract-detail'
import
ContractContent
from
'@/pages/ContractSigning/contract-content'
import
EntryInfo
from
'@/pages/ContractSigning/entry-info'
// 个人中心
import
PersonList
from
'@/pages/personalCenter/personList'
import
NaturePersonWrite
from
'@/pages/personalCenter/npReadWrite/naturePersonWrite'
import
EnterpriseWrite
from
'@/pages/personalCenter/orgWrite/enterpriseWrite'
Vue
.
use
(
Router
)
...
...
@@ -149,10 +145,6 @@ export default new Router({
{
path
:
'/contract-content'
,
component
:
ContractContent
,
name
:
'ContractContent'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/entry-info'
,
component
:
EntryInfo
,
name
:
'EntryInfo'
,
meta
:
{
keepAlive
:
true
}},
// 个人中心
{
path
:
'/naturePerson-write'
,
component
:
NaturePersonWrite
,
name
:
'NaturePersonWrite'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/ enterprise-write'
,
component
:
EnterpriseWrite
,
name
:
' EnterpriseWrite'
,
meta
:
{
keepAlive
:
true
}},
],
scrollBehavior
(
to
,
from
,
savedPosition
)
{
if
(
to
.
hash
)
{
...
...
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