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
d9d7ef63
Commit
d9d7ef63
authored
Feb 27, 2023
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改调用医嘱接口方式
parent
f70ebd2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
src/views/outClinicalpathway.vue
+3
-13
No files found.
src/views/outClinicalpathway.vue
View file @
d9d7ef63
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: wsq
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditors: wsq
* @LastEditTime: 2023-02-27 1
5:53:26
* @LastEditTime: 2023-02-27 1
6:24:33
* @Description:
* @Description:
-->
-->
<
template
>
<
template
>
...
@@ -786,14 +786,13 @@ export default {
...
@@ -786,14 +786,13 @@ export default {
};
};
//单选
//单选
const
radiochange
=
()
=>
{
const
radiochange
=
()
=>
{
if
(
state
.
radio
==
1
)
{
//获取表格数据
http
http
.
post
(
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
route
.
value
.
query
.
pid
}
&case_routeid=
${
state
.
case_routeid
}
&searchQuery=
${
state
.
inhosdays
}
`
,
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
route
.
value
.
query
.
pid
}
&case_routeid=
${
state
.
case_routeid
}
&searchQuery=
${
state
.
inhosdays
}
`
,
{}
{}
)
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
if
(
state
.
radio
==
1
)
{
state
.
tableData
=
data
.
route1
;
state
.
tableData
=
data
.
route1
;
state
.
tableData
.
map
((
el
)
=>
{
state
.
tableData
.
map
((
el
)
=>
{
...
@@ -808,17 +807,8 @@ export default {
...
@@ -808,17 +807,8 @@ export default {
}
}
});
});
state
.
newtable1
=
state
.
tableData
;
state
.
newtable1
=
state
.
tableData
;
})
.
catch
((
error
)
=>
{});
}
else
if
(
state
.
radio
==
2
)
{
}
else
if
(
state
.
radio
==
2
)
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
route
.
value
.
query
.
pid
}
&case_routeid=
${
state
.
case_routeid
}
&searchQuery=
${
state
.
inhosdays
}
`
,
{}
)
.
then
((
data
)
=>
{
state
.
tableData
=
data
.
route2
;
state
.
tableData
=
data
.
route2
;
state
.
tableData
.
map
((
el
)
=>
{
state
.
tableData
.
map
((
el
)
=>
{
// console.log(" el",el);
// console.log(" el",el);
if
(
el
.
children
)
{
if
(
el
.
children
)
{
...
@@ -831,9 +821,9 @@ export default {
...
@@ -831,9 +821,9 @@ export default {
}
}
});
});
state
.
newtable2
=
state
.
tableData
;
state
.
newtable2
=
state
.
tableData
;
}
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
};
};
//点击左侧时间线 获取右侧表格数据
//点击左侧时间线 获取右侧表格数据
const
timeclick
=
(
val
)
=>
{
const
timeclick
=
(
val
)
=>
{
...
...
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