Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
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
宁路鹏
vue-composition-api
Commits
0141f9b7
Commit
0141f9b7
authored
Dec 12, 2024
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9a1441da
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
src/utils/http.js
+5
-3
src/views/clinicalPathMaintenance.vue
+0
-0
src/views/outClinicalpathway.vue
+1
-1
No files found.
src/utils/http.js
View file @
0141f9b7
...
...
@@ -62,8 +62,8 @@ axios.interceptors.response.use(
);
export
default
{
post
(
url
,
params
,
option
)
{
if
(
!
url
.
includes
(
"/ClinicalRoute/ClinicalRoute/GetTCMDiseases"
)
)
{
post
(
url
,
params
,
option
,
isloading
=
true
)
{
if
(
isloading
)
{
loadingInstance
=
Vue
.
prototype
.
$loading
(
loadingOption
);
}
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
@@ -108,8 +108,10 @@ export default {
});
});
},
get
(
url
,
option
)
{
get
(
url
,
option
,
isloading
=
true
)
{
if
(
isloading
)
{
loadingInstance
=
Vue
.
prototype
.
$loading
(
loadingOption
);
}
return
new
Promise
((
resolve
,
reject
)
=>
{
axios
.
get
(
domain
+
url
,
{
...{
headers
:
createHeader
()
},
...
option
})
...
...
src/views/clinicalPathMaintenance.vue
View file @
0141f9b7
This diff is collapsed.
Click to expand it.
src/views/outClinicalpathway.vue
View file @
0141f9b7
...
...
@@ -2066,7 +2066,7 @@ export default {
querySearchAsync
(
queryString
,
cb
)
{
if
(
queryString
&&
queryString
!=
"null"
)
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetTCMDiseases?searchQuery=
${
queryString
}
`
)
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetTCMDiseases?searchQuery=
${
queryString
}
`
,
{},
{},
false
)
.
then
((
data
)
=>
{
console
.
log
(
data
);
if
(
data
&&
data
.
length
)
{
...
...
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