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
6c626f0a
Commit
6c626f0a
authored
Jun 24, 2022
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改变传参
parent
98ab0a1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
13 deletions
+9
-13
src/views/outpatientDetails.vue
+9
-13
No files found.
src/views/outpatientDetails.vue
View file @
6c626f0a
...
@@ -365,7 +365,10 @@ export default {
...
@@ -365,7 +365,10 @@ export default {
//当某一个行被点击时
//当某一个行被点击时
const
eowclick
=
(
row
)
=>
{
const
eowclick
=
(
row
)
=>
{
getInpatFeesByREGCODE
(
row
)
if
(
state
.
tableData1
!=
[]){
getInpatFeesByREGCODE
(
row
.
types
)
}
};
};
...
@@ -522,30 +525,24 @@ export default {
...
@@ -522,30 +525,24 @@ export default {
state
.
bottomheight
=
"70%"
;
state
.
bottomheight
=
"70%"
;
}
}
if
(
state
.
goods
.
length
>
0
)
{
// debugger
toggle
(
0
,
state
.
goods
[
0
]);
}
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
};
//费用分类接口
//费用分类接口
const
getInpatFeesByREGCODE
=
(
item
)
=>
{
const
getInpatFeesByREGCODE
=
(
types
)
=>
{
http
http
.
post
(
.
post
(
`/medical/Get/getIFHisByREGCODE?&code=
${
route
.
value
.
query
.
id
}
&ItemType=
${
item
.
iteM_TYPE
}
`
,
`/medical/Get/getIFHisByREGCODE?&code=
${
route
.
value
.
query
.
id
}
`
,
{}
types
)
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
tableData
=
data
;
state
.
tableData
=
data
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
};
const
toggle
=
(
index
,
item
)
=>
{
state
.
checkindex
=
index
;
getInpatFeesByREGCODE
(
item
);
};
const
scrollToFoods
=
(
index
)
=>
{
const
scrollToFoods
=
(
index
)
=>
{
// state.checkindex = index;
// state.checkindex = index;
};
};
...
@@ -622,7 +619,6 @@ export default {
...
@@ -622,7 +619,6 @@ export default {
return
{
return
{
...
toRefs
(
state
),
...
toRefs
(
state
),
tableRowClassName
,
tableRowClassName
,
toggle
,
scrollToFoods
,
scrollToFoods
,
getHistoryInfo
,
getHistoryInfo
,
getInpatFeesByREGCODE
,
getInpatFeesByREGCODE
,
...
...
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