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
4d277e41
Commit
4d277e41
authored
Mar 08, 2024
by
zeyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.优化查询逻辑
parent
66b7ffab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
officialWebsite/memberQuery.vue
+6
-2
No files found.
officialWebsite/memberQuery.vue
View file @
4d277e41
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<span></span>
手机号:
<span></span>
手机号:
</view>
</view>
<view>
<view>
<input
v-model=
"queryObj.userTel"
style=
"font-size: 28rpx;"
type=
"number"
maxlength=
"11"
placeholder=
"请输入手机号"
placeholder-style=
"font-size:26rpx"
>
<input
@
input=
"changeInput"
v-model=
"queryObj.userTel"
style=
"font-size: 28rpx;"
type=
"number"
maxlength=
"11"
placeholder=
"请输入手机号"
placeholder-style=
"font-size:26rpx"
>
</view>
</view>
</view>
</view>
<view
class=
"queryItem"
>
<view
class=
"queryItem"
>
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<span></span>
证书号:
<span></span>
证书号:
</view>
</view>
<view>
<view>
<input
v-model=
"queryObj.authenticationCode"
style=
"font-size: 28rpx;"
type=
"text"
placeholder=
"请输入证书编号"
placeholder-style=
"font-size:26rpx"
>
<input
@
input=
"changeInput"
v-model=
"queryObj.authenticationCode"
style=
"font-size: 28rpx;"
type=
"text"
placeholder=
"请输入证书编号"
placeholder-style=
"font-size:26rpx"
>
</view>
</view>
</view>
</view>
<view
@
click=
"c_query"
v-if=
"machineType=='pc'"
class=
"buttonBox"
>
<view
@
click=
"c_query"
v-if=
"machineType=='pc'"
class=
"buttonBox"
>
...
@@ -66,7 +66,11 @@
...
@@ -66,7 +66,11 @@
let
memberObj
:
any
=
ref
([]);
let
memberObj
:
any
=
ref
([]);
let
machineType
=
ref
(
null
);
let
machineType
=
ref
(
null
);
let
queryObj
=
ref
({
userTel
:
null
,
authenticationCode
:
null
})
let
queryObj
=
ref
({
userTel
:
null
,
authenticationCode
:
null
})
const
changeInput
=
()
=>
{
}
const
c_query
=
()
=>
{
const
c_query
=
()
=>
{
memberObj
.
value
=
[];
if
(
!
queryObj
.
value
.
authenticationCode
&&
!
queryObj
.
value
.
userTel
){
if
(
!
queryObj
.
value
.
authenticationCode
&&
!
queryObj
.
value
.
userTel
){
uni
.
showToast
({
uni
.
showToast
({
title
:
'手机号和证书号不能同时为空'
,
title
:
'手机号和证书号不能同时为空'
,
...
...
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