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
bb860909
Commit
bb860909
authored
Jan 17, 2022
by
Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改定制服务接口
parent
91514e48
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
index.vue
src/views/Home/index.vue
+3
-1
gln.vue
src/views/Search/gln.vue
+1
-1
validation.js
src/views/Search/validation.js
+1
-1
No files found.
src/views/Home/index.vue
View file @
bb860909
...
...
@@ -1044,13 +1044,15 @@ export default {
},
async
getCustomServiceFromServer
()
{
// 判断是否登录
if
(
localStorage
.
getItem
(
'loginInfo'
)){
const
searchGlnRes
=
await
this
.
$api
.
home
.
customService
();
const
{
returnCode
,
data
}
=
searchGlnRes
;
if
(
returnCode
===
"0"
)
{
localStorage
.
setItem
(
"gs-custom-service"
,
JSON
.
stringify
(
data
));
this
.
showCustomService
(
data
);
}
}
},
showCustomService
(
list
)
{
...
...
src/views/Search/gln.vue
View file @
bb860909
...
...
@@ -130,7 +130,7 @@ export default {
this
.
$message
.
error
(
'查询值只能包含中英文字符和数字!'
);
return
true
;
}
return
tru
e
return
fals
e
},
async
handleSearch
()
{
this
.
searchCodeShow
=
this
.
search
.
code
;
...
...
src/views/Search/validation.js
View file @
bb860909
...
...
@@ -27,7 +27,7 @@ export default {
this
.
$message
.
error
(
'查询值只能包含中英文字符和数字!'
);
return
true
;
}
return
tru
e
return
fals
e
}
},
}
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