Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
3856458b
Commit
3856458b
authored
Nov 21, 2022
by
kyle
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 20221121
parents
eaf02f54
721ac3bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
148 additions
and
13 deletions
+148
-13
api/api.ts
+4
-1
pages/application-process/basic-info.vue
+144
-12
No files found.
api/api.ts
View file @
3856458b
...
@@ -193,5 +193,8 @@ export default {
...
@@ -193,5 +193,8 @@ export default {
aliAppPayRefund
(
params
){
aliAppPayRefund
(
params
){
return
request
(
`
${
apiURL
}
/aliPay/aliAppPayRefund`
,
"POST"
,
params
)
return
request
(
`
${
apiURL
}
/aliPay/aliAppPayRefund`
,
"POST"
,
params
)
},
},
//查询证件类型
erpInitialize
(
params
){
return
request
(
`
${
apiURL
}
/erp/erpInitialize`
,
"POST"
,
params
)
}
}
}
pages/application-process/basic-info.vue
View file @
3856458b
...
@@ -5,17 +5,22 @@
...
@@ -5,17 +5,22 @@
<text
class=
"line"
></text>
<text
class=
"line"
></text>
基本资料
基本资料
</view>
</view>
<text
class=
"page_mark"
>
1/8
</text>
<text
class=
"page_mark"
>
1/8
</text>
</view>
</view>
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"contentDetail employ"
>
<view
class=
"contentDetail employ"
>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
邀请码
</text>
<text>
邀请码
</text>
<input
type=
"text"
class=
"form-control"
/>
<input
type=
"text"
class=
"form-control"
placeholder=
"非必填"
/>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
申请身份
</text>
<text>
申请身份
</text>
<input
type=
"text"
class=
"form-control"
/>
<picker
@
change=
"changeIdentity"
:value=
"name"
:range=
"identityArr"
range-key=
"name"
>
<view
class=
"uni-input"
>
{{
identityArr
[
identityIdx
][
'name'
]
}}
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
</picker>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
所属组织
</text>
<text>
所属组织
</text>
...
@@ -23,16 +28,21 @@
...
@@ -23,16 +28,21 @@
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
姓名
</text>
<text>
姓名
</text>
<input
type=
"text"
class=
"form-control"
/>
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.name"
placeholder=
"请输入姓名"
/>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
证件类型
</text>
<text>
证件类型
</text>
<input
type=
"text"
class=
"form-control"
/>
<picker
@
change=
"changeIdType"
:value=
"name"
:range=
"idTypesList"
range-key=
"name"
>
<view
class=
"uni-input"
>
{{
idTypesList
[
idTypeIdx
][
'name'
]
}}
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
</picker>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
证件号码
</text>
<text>
证件号码
</text>
<view>
<view>
<input
type=
"text"
class=
"form-control"
/>
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.idNo"
placeholder=
"请输入证件号码"
/>
</view>
</view>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
...
@@ -45,25 +55,54 @@
...
@@ -45,25 +55,54 @@
</view>
</view>
</view>
</view>
</view>
</view>
<
footer
class=
"fixed"
>
<
view
class=
"fixed"
>
保存并下一步
保存并下一步
</
footer
>
</
view
>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
api
from
"@/api/api"
;
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
identityIdx
:
0
,
identityArr
:[{
partnerLevel
:
'A'
,
name
:
'事业伙伴'
},{
partnerLevel
:
'B1'
,
name
:
'工作室'
}],
applyParam
:{
inviterInvitationCode
:
''
,
name
:
''
,
mobile
:
''
,
partnerLevel
:
''
,
idType
:
''
,
idNo
:
''
,
birthday
:
''
,
},
idTypesList
:[{
id
:
null
,
name
:
'请选择'
}],
idTypeIdx
:
0
}
}
},
},
components
:{},
components
:{},
onLoad
(){
onLoad
(){
this
.
erpInitialize
();
},
},
methods
:{
methods
:{
erpInitialize
(){
api
.
erpInitialize
({}).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
this
.
idTypesList
=
this
.
idTypesList
.
concat
(
res
[
'data'
][
'idTypes'
]);
console
.
log
(
this
.
idTypesList
)
}
})
},
changeIdentity
:
function
(
e
)
{
this
.
identityIdx
=
e
.
detail
.
value
;
this
.
partnerLevel
=
this
.
identityArr
[
this
.
identityIdx
][
'partnerLevel'
];
console
.
log
(
this
.
partnerLevel
)
},
changeIdType
:
function
(
e
){
this
.
idTypeIdx
=
e
.
detail
.
value
;
this
.
applyParam
.
idType
=
this
.
idTypesList
[
this
.
idTypeIdx
][
'idType'
];
}
}
}
}
}
</
script
>
</
script
>
...
@@ -92,5 +131,97 @@
...
@@ -92,5 +131,97 @@
}
}
}
}
}
}
.content
{
padding
:
10px
5px
;
position
:
relative
;
.contentDetail
{
.contentItem
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin
:
0
8px
5px
8px
;
>
span
:
first-child
{
white-space
:
nowrap
;
}
input
.form-control
,
select
.form-control
{
display
:
inline-block
;
//
width
:
60%
;
margin
:
0
5px
;
background
:
none
;
outline
:
none
;
border
:
none
;
text-align
:
right
;
box-shadow
:
none
;
display
:
flex
;
flex-wrap
:
wrap
;
font-size
:
18px
;
}
select
.form-control
{
direction
:
rtl
;
}
input
[
type
=
"date"
]
{
margin-right
:
-4.5%
;
direction
:
rtl
;
}
.sexWrapper
{
display
:
flex
;
width
:
60%
;
justify-content
:
flex-end
;
padding-right
:
3px
;
.form-control.sex
{
width
:
20%
;
margin-left
:
5px
;
border
:
none
;
box-shadow
:
none
;
}
.form-control.sex.sexBtn
{
border
:
1px
#0767bf
solid
;
}
.form-control
[
disabled
]
{
background-color
:
transparent
;
opacity
:
1
;
}
}
span
{
position
:
relative
;
sub{
position
:
absolute
;
margin-right
:
5px
;
font-weight
:
bold
;
color
:
#e10d0d
;
top
:
13px
;
left
:
-8px
;
}
}
}
.contentItem
:last-child
{
border-bottom
:
none
;
}
}
.contentDetail.employ
.contentItem
{
padding
:
10px
0
;
border-bottom
:
1px
#e8e8e8
solid
;
margin
:
0
8px
0
8px
;
}
}
.fixed
{
position
:
fixed
;
bottom
:
0
;
left
:
0
;
right
:
0
;
height
:
100
rpx
;
line-height
:
100
rpx
;
border-radius
:
0
;
z-index
:
0
;
margin
:
0
auto
;
width
:
70%
;
background
:
#20269B
;
color
:
#fff
;
font-size
:
36
rpx
;
font-weight
:
700
;
text-align
:
center
;
border-radius
:
60
rpx
;
}
}
}
</
style
>
</
style
>
\ No newline at end of file
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