|
@@ -15,6 +15,10 @@
|
15
|
15
|
<el-tab-pane label="透析参数" name="third">
|
16
|
16
|
<DialysisParameter ref="mychildtwo"></DialysisParameter>
|
17
|
17
|
</el-tab-pane>
|
|
18
|
+
|
|
19
|
+ <el-tab-pane label="汇总" name="four">
|
|
20
|
+ <DialysisGather ref="mychildthree"></DialysisGather>
|
|
21
|
+ </el-tab-pane>
|
18
|
22
|
|
19
|
23
|
</el-tabs>
|
20
|
24
|
</div>
|
|
@@ -26,7 +30,7 @@ import BreadCrumb from "@/xt_pages/components/bread-crumb";
|
26
|
30
|
import DialysisGood from "@/xt_pages/dialysis/details/consumable/dialysisGood"
|
27
|
31
|
import DialysisDrug from "@/xt_pages/dialysis/details/consumable/dialysisDrug"
|
28
|
32
|
import DialysisParameter from "@/xt_pages/dialysis/details/consumable/dialysisParameter"
|
29
|
|
-
|
|
33
|
+import DialysisGather from "@/xt_pages/dialysis/details/consumable/dialysisGather"
|
30
|
34
|
export default {
|
31
|
35
|
name: "stockNewQuery",
|
32
|
36
|
|
|
@@ -35,6 +39,7 @@ export default {
|
35
|
39
|
DialysisGood,
|
36
|
40
|
DialysisDrug,
|
37
|
41
|
DialysisParameter,
|
|
42
|
+ DialysisGather
|
38
|
43
|
},
|
39
|
44
|
data() {
|
40
|
45
|
return {
|
|
@@ -49,6 +54,7 @@ export default {
|
49
|
54
|
},
|
50
|
55
|
methods:{
|
51
|
56
|
handleClick(val){
|
|
57
|
+ console.log("woowowow",val.name)
|
52
|
58
|
if(val.name == "first"){
|
53
|
59
|
this.$refs.mychild.open()
|
54
|
60
|
}
|
|
@@ -58,6 +64,9 @@ export default {
|
58
|
64
|
if(val.name == "third"){
|
59
|
65
|
this.$refs.mychildtwo.open()
|
60
|
66
|
}
|
|
67
|
+ if(val.name =="four"){
|
|
68
|
+ this.$refs.mychildthree.open()
|
|
69
|
+ }
|
61
|
70
|
}
|
62
|
71
|
}
|
63
|
72
|
};
|