Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
37eb19e7
authored
2026-05-07 10:24:22 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加会员
1 parent
3a8c8a3a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
personalVip/addVip.vue
project.config.json
personalVip/addVip.vue
View file @
37eb19e
...
...
@@ -116,7 +116,8 @@
idcType
:
'0'
,
perType
:
'1'
,
// (1:个人会员;2:教练;3:考官;4:裁判;5:临时会员;)
perCode
:
''
,
validityDate
:
''
validityDate
:
''
,
validityDateRaw
:
''
})
const
items
=
ref
([
'身份证添加'
,
'证件照录入'
])
const
idcTypeList
=
ref
([{
...
...
@@ -345,6 +346,7 @@
baseFormData
.
value
.
cityId
=
res
.
data
.
cityId
baseFormData
.
value
.
address
=
res
.
data
.
address
baseFormData
.
value
.
perCode
=
res
.
data
.
perCode
||
''
baseFormData
.
value
.
validityDateRaw
=
res
.
data
.
validityDate
||
''
baseFormData
.
value
.
validityDate
=
res
.
data
.
validityDate
?.
slice
(
0
,
10
)
//去掉时分秒
if
(
res
.
data
.
photo
)
{
console
.
log
(
res
.
data
.
photo
)
...
...
@@ -477,6 +479,9 @@
baseFormData
.
value
.
idcType
=
'0'
}
delete
baseFormData
.
value
.
card
if
(
baseFormData
.
value
.
validityDateRaw
)
{
baseFormData
.
value
.
validityDate
=
baseFormData
.
value
.
validityDateRaw
}
const
time
=
new
Date
().
valueOf
()
+
''
baseFormData
.
value
.
t
=
time
+
Math
.
floor
(
Math
.
random
()
*
10
)
...
...
@@ -505,7 +510,7 @@
content
:
'保存成功'
,
title
:
'提示'
,
confirmText
:
'继续添加'
,
cancel
Color
:
'返回首页'
,
cancel
Text
:
'返回首页'
,
success
:
function
(
res
)
{
uni
.
redirectTo
({
url
:
`/personalVip/addVip?tab=
${
current
.
value
}
&idcType=
${
baseFormData
.
value
.
idcType
}
`
...
...
project.config.json
View file @
37eb19e
{
"appid"
:
"wx5
23ee37fff4fea9d
"
,
"appid"
:
"wx5
d51e8ed31bbdbb7
"
,
"compileType"
:
"miniprogram"
,
"libVersion"
:
"3.0.0"
,
"packOptions"
:
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment