Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
063fcfcf
Commit
063fcfcf
authored
Jan 08, 2022
by
tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 两次查询验证码不报错
parent
b07359d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
internal.vue
src/views/Search/internal.vue
+1
-0
shortcode.vue
src/views/Search/shortcode.vue
+3
-0
No files found.
src/views/Search/internal.vue
View file @
063fcfcf
...
...
@@ -405,6 +405,7 @@ export default {
this
.
pagination
.
totalPage
=
Math
.
floor
(
data
.
hits
.
hits
.
length
/
this
.
pagination
.
pageSize
)
+
1
;
this
.
handlePageChange
(
1
);
}
else
{
this
.
currentData
=
null
this
.
errorMsg
=
searchGlnRes
.
returnMsg
||
"没有符合条件的记录!"
;
...
...
src/views/Search/shortcode.vue
View file @
063fcfcf
...
...
@@ -130,6 +130,7 @@ export default {
methods
:
{
async
handleSearchCompany
()
{
this
.
showResult
=
true
;
const
params
=
{
shortCode
:
""
,
firmName
:
""
,
...
...
@@ -145,6 +146,7 @@ export default {
params
.
registerAddress
=
this
.
companySearch
.
address
;
}
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchGetList
(
params
);
console
.
log
(
searchGlnRes
)
const
{
returnCode
,
data
}
=
searchGlnRes
;
if
(
returnCode
===
"0"
)
{
// this.result = data;
...
...
@@ -153,6 +155,7 @@ export default {
this
.
pagination
.
totalPage
=
Math
.
floor
(
data
.
length
/
this
.
pagination
.
pageSize
)
+
1
;
this
.
handlePageChange
(
1
);
}
else
{
this
.
currentData
=
null
this
.
errorMsg
=
searchGlnRes
.
returnMsg
||
"没有符合条件的记录!"
;
...
...
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