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
04b28580
Commit
04b28580
authored
Feb 16, 2023
by
何鹏程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
6b4f34da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
19 deletions
+24
-19
data.js
src/api/data.js
+4
-4
detail.vue
src/page/data/detail.vue
+6
-4
index.vue
src/page/data/index.vue
+14
-11
No files found.
src/api/data.js
View file @
04b28580
import
request
from
'../util/ajax'
export
function
queryIntegrationList
(
params
)
{
export
function
queryIntegrationList
(
params
,
query
)
{
return
request
({
url
:
'/api/team/pre/queryIntegrationList?params=
mdxtptPre&token='
+
params
.
token
,
url
:
'/api/team/pre/queryIntegrationList?params=
'
+
query
.
params
+
'&token='
+
query
.
token
,
method
:
'POST'
,
data
:
params
})
}
export
function
queryDetail
(
params
)
{
export
function
queryDetail
(
params
,
query
)
{
return
request
({
url
:
'/api/team/pre/queryInfoById?params=
mdxtptPre&token='
+
params
.
token
,
url
:
'/api/team/pre/queryInfoById?params=
'
+
query
.
params
+
'&token='
+
query
.
token
,
method
:
'POST'
,
data
:
params
})
...
...
src/page/data/detail.vue
View file @
04b28580
...
...
@@ -1664,7 +1664,6 @@ export default {
this
.
associationId
=
query
.
associationId
this
.
secret
=
query
.
secret
this
.
type
=
query
.
type
this
.
token
=
query
.
token
queryEmergencySiteList
().
then
(
res
=>
{
if
(
res
.
msg
===
201
)
{
this
.
siteList
=
res
.
respData
...
...
@@ -1676,6 +1675,7 @@ export default {
this
.
hospitalList
=
res
.
respData
this
.
hospitalList2
=
res
.
respData
})
console
.
log
(
this
.
type
)
if
(
this
.
type
===
'update'
||
this
.
type
===
'detail'
)
{
this
.
getDetailData
()
}
...
...
@@ -1686,10 +1686,12 @@ export default {
associationId
:
this
.
associationId
,
secret
:
this
.
secret
}
if
(
this
.
token
)
{
params
.
token
=
this
.
token
const
query
=
this
.
$route
.
query
if
(
!
(
query
.
token
&&
query
.
params
))
{
this
.
$message
.
error
(
'无效数据,请联系管理员'
)
return
}
queryDetail
(
params
).
then
((
res
)
=>
{
queryDetail
(
params
,
query
).
then
((
res
)
=>
{
if
(
res
.
msg
==
201
)
{
if
(
res
.
respData
.
inHospitalName
)
{
this
.
remoteMethod
(
res
.
respData
.
inHospitalName
)
...
...
src/page/data/index.vue
View file @
04b28580
...
...
@@ -152,7 +152,6 @@ export default {
time
:
[]
},
patientTypeList
:
[],
token
:
''
,
tableData
:
{
loading
:
false
,
head
:
[
...
...
@@ -266,13 +265,8 @@ export default {
this
.
patientTypeList
=
res
.
patient_type
console
.
log
(
this
.
patientTypeList
)
})
const
query
=
this
.
$route
.
query
this
.
token
=
query
.
token
if
(
this
.
token
)
{
this
.
search
()
}
else
{
this
.
$message
.
error
(
'无效数据,请联系管理员'
)
}
this
.
search
()
},
methods
:
{
getTableData
()
{
...
...
@@ -282,12 +276,20 @@ export default {
pageNo
:
this
.
pageNum
,
pageSize
:
this
.
pageSize
,
token
:
this
.
token
,
params
:
'mdxtptPre'
params
:
this
.
params
}
const
query
=
this
.
$route
.
query
this
.
token
=
query
.
token
this
.
params
=
query
.
params
if
(
!
(
query
.
token
&&
query
.
params
))
{
this
.
tableData
.
loading
=
false
this
.
$message
.
error
(
'无效数据,请联系管理员'
)
return
}
if
(
this
.
searchForm
.
time
&&
this
.
searchForm
.
time
.
length
===
2
)
{
params
.
time
=
this
.
searchForm
.
time
[
0
]
+
"_"
+
this
.
searchForm
.
time
[
1
]
}
queryIntegrationList
(
params
).
then
((
res
)
=>
{
queryIntegrationList
(
params
,
query
).
then
((
res
)
=>
{
if
(
res
.
msg
==
201
)
{
this
.
dealTableResponse
(
res
)
}
else
{
...
...
@@ -302,7 +304,8 @@ export default {
goDetail
(
type
,
row
)
{
const
query
=
{
type
:
type
,
token
:
this
.
token
token
:
this
.
token
,
params
:
this
.
params
}
if
(
type
===
'update'
||
type
===
'detail'
)
{
query
.
patientType
=
row
.
patientType
...
...
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