Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
md-vue-chc
Project
Project
Details
Activity
Releases
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
何鹏程
md-vue-chc
Commits
db28344e
Commit
db28344e
authored
May 09, 2025
by
pixingfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
划拨用接口
parent
26a3c786
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
6 deletions
+18
-6
common.js
src/api/common.js
+12
-0
transferDialog.vue
src/page/emergencyCar/components/transferDialog.vue
+3
-3
index.vue
src/page/emergencyCar/index.vue
+3
-3
No files found.
src/api/common.js
View file @
db28344e
...
@@ -34,6 +34,18 @@ export function queryHospitalList(name = "") {
...
@@ -34,6 +34,18 @@ export function queryHospitalList(name = "") {
})
})
}
}
// 划拨用的接口
export
function
queryTransferHospitalList
(
name
=
""
)
{
return
request
({
url
:
'/api/team/hospital/queryTransferHospitalList'
,
method
:
'GET'
,
params
:
{
name
:
name
}
})
}
export
function
queryExtendConfig
(
params
)
{
export
function
queryExtendConfig
(
params
)
{
return
request
({
return
request
({
url
:
'/api/team/extend/queryExtendConfig'
,
url
:
'/api/team/extend/queryExtendConfig'
,
...
...
src/page/emergencyCar/components/transferDialog.vue
View file @
db28344e
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
queryHospitalList
}
from
'@/api/common'
import
{
query
Transfer
HospitalList
}
from
'@/api/common'
import
{
transferHospitalCar
}
from
'@/api/emergencyCar'
import
{
transferHospitalCar
}
from
'@/api/emergencyCar'
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -77,7 +77,7 @@ export default {
...
@@ -77,7 +77,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
//获取可选择的医院
//获取可选择的医院
queryHospitalList
().
then
(
res
=>
{
query
Transfer
HospitalList
().
then
(
res
=>
{
this
.
hospitalList
=
res
.
respData
this
.
hospitalList
=
res
.
respData
})
})
},
},
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
},
},
remoteMethod
(
query
)
{
remoteMethod
(
query
)
{
this
.
selectLoading
=
true
;
this
.
selectLoading
=
true
;
queryHospitalList
(
query
).
then
(
res
=>
{
query
Transfer
HospitalList
(
query
).
then
(
res
=>
{
this
.
hospitalList
=
res
.
respData
this
.
hospitalList
=
res
.
respData
this
.
selectLoading
=
false
;
this
.
selectLoading
=
false
;
})
})
...
...
src/page/emergencyCar/index.vue
View file @
db28344e
...
@@ -271,7 +271,7 @@ import EmergencyCarDialog from './components/emergencyCarDialog.vue'
...
@@ -271,7 +271,7 @@ import EmergencyCarDialog from './components/emergencyCarDialog.vue'
import
BindSiteDialog
from
'./components/bindSiteDialog.vue'
import
BindSiteDialog
from
'./components/bindSiteDialog.vue'
import
TransferDialog
from
'./components/transferDialog'
import
TransferDialog
from
'./components/transferDialog'
import
{
queryEmergencyCarPageList
,
deleteEmergencyCar
,
toExamineEmergencyCar
,
unBindSiteToEmergencyCar
}
from
'@/api/emergencyCar'
import
{
queryEmergencyCarPageList
,
deleteEmergencyCar
,
toExamineEmergencyCar
,
unBindSiteToEmergencyCar
}
from
'@/api/emergencyCar'
import
{
exportEmergencyResources
,
queryHospitalList
}
from
'@/api/common'
import
{
exportEmergencyResources
,
query
Transfer
HospitalList
}
from
'@/api/common'
import
{
queryEmergencySiteList
}
from
'@/api/site'
import
{
queryEmergencySiteList
}
from
'@/api/site'
import
{
getDic
}
from
'../../util/dict'
import
{
getDic
}
from
'../../util/dict'
export
default
{
export
default
{
...
@@ -392,7 +392,7 @@ export default {
...
@@ -392,7 +392,7 @@ export default {
}
}
})
})
//获取可选择的医院
//获取可选择的医院
queryHospitalList
().
then
(
res
=>
{
query
Transfer
HospitalList
().
then
(
res
=>
{
this
.
hospitalList
=
res
.
respData
this
.
hospitalList
=
res
.
respData
})
})
this
.
search
()
this
.
search
()
...
@@ -516,7 +516,7 @@ export default {
...
@@ -516,7 +516,7 @@ export default {
},
},
remoteMethod
(
query
)
{
remoteMethod
(
query
)
{
this
.
selectLoading
=
true
;
this
.
selectLoading
=
true
;
queryHospitalList
(
query
).
then
(
res
=>
{
query
Transfer
HospitalList
(
query
).
then
(
res
=>
{
this
.
hospitalList
=
res
.
respData
this
.
hospitalList
=
res
.
respData
this
.
selectLoading
=
false
;
this
.
selectLoading
=
false
;
})
})
...
...
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