|
@@ -21,9 +21,9 @@
|
21
|
21
|
</el-radio>
|
22
|
22
|
<el-radio :label=2>已收费<span style="color: red;margin-bottom:10px;display: inline-block;">{{cal_two}}</span>人
|
23
|
23
|
</el-radio>
|
24
|
|
- <el-radio :label=3>已退费<span
|
25
|
|
- style="color: red;margin-bottom:10px;display: inline-block;">{{cal_three}}</span>人
|
26
|
|
- </el-radio>
|
|
24
|
+ <!--<el-radio :label=3>已退费<span-->
|
|
25
|
+ <!--style="color: red;margin-bottom:10px;display: inline-block;">{{cal_three}}</span>人-->
|
|
26
|
+ <!--</el-radio>-->
|
27
|
27
|
<el-radio :label=4>全部</el-radio>
|
28
|
28
|
|
29
|
29
|
</el-radio-group>
|
|
@@ -68,18 +68,18 @@
|
68
|
68
|
<!--</el-button>-->
|
69
|
69
|
|
70
|
70
|
|
71
|
|
- <el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"
|
72
|
|
- @click="open(20)"
|
73
|
|
- type="primary">预结算!
|
74
|
|
- </el-button>
|
|
71
|
+ <!--<el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"-->
|
|
72
|
+ <!--@click="open(20)"-->
|
|
73
|
+ <!--type="primary">预结算!-->
|
|
74
|
+ <!--</el-button>-->
|
75
|
75
|
|
76
|
|
- <el-button v-loading="loadingtwo" v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 " size="small"
|
77
|
|
- @click="open(21)"
|
78
|
|
- type="primary">收费!
|
79
|
|
- </el-button>
|
|
76
|
+ <!--<el-button v-loading="loadingtwo" v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 || this.order.order_status == 3" size="small"-->
|
|
77
|
+ <!--@click="open(21)"-->
|
|
78
|
+ <!--type="primary">收费!-->
|
|
79
|
+ <!--</el-button>-->
|
80
|
80
|
|
81
|
81
|
|
82
|
|
- <el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"
|
|
82
|
+ <el-button v-loading="loadingtwo" v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 || this.order.order_status == 3" size="small"
|
83
|
83
|
@click="open(4)"
|
84
|
84
|
type="primary">收费
|
85
|
85
|
</el-button>
|
|
@@ -101,7 +101,7 @@
|
101
|
101
|
<!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(8)" type="primary"-->
|
102
|
102
|
<!-->明细对账-->
|
103
|
103
|
<!--</el-button>-->
|
104
|
|
- <el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(9)" type="primary"
|
|
104
|
+ <el-button v-if="this.order.order_status == 2" size="small" @click="open(9)" type="primary"
|
105
|
105
|
>结算单
|
106
|
106
|
</el-button>
|
107
|
107
|
|
|
@@ -126,9 +126,9 @@
|
126
|
126
|
<!-->查待遇-->
|
127
|
127
|
<!--</el-button>-->
|
128
|
128
|
|
129
|
|
- <!--<el-button size="small" @click="query" type="primary"-->
|
130
|
|
- <!-->查询-->
|
131
|
|
- <!--</el-button>-->
|
|
129
|
+ <el-button size="small" @click="query" type="primary"
|
|
130
|
+ >查询
|
|
131
|
+ </el-button>
|
132
|
132
|
|
133
|
133
|
|
134
|
134
|
</div>
|
|
@@ -481,7 +481,7 @@
|
481
|
481
|
},
|
482
|
482
|
methods: {
|
483
|
483
|
query() {
|
484
|
|
- if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 3877) {
|
|
484
|
+ if (this.$store.getters.xt_user.org_id == 9919) {
|
485
|
485
|
var that = this
|
486
|
486
|
axios.get('http://127.0.0.1:9532/api/org/info', {
|
487
|
487
|
params: {}
|
|
@@ -570,7 +570,7 @@
|
570
|
570
|
this.loadingtwo = true
|
571
|
571
|
if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
|
572
|
572
|
var that = this
|
573
|
|
- axios.get('http://127.0.0.1:9532/api/settle/get', {
|
|
573
|
+ axios.get('http://127.0.0.1:9532/api/upload/get', {
|
574
|
574
|
params: form
|
575
|
575
|
})
|
576
|
576
|
.then(function(response) {
|
|
@@ -659,20 +659,14 @@
|
659
|
659
|
let three_count = 0
|
660
|
660
|
for (let i = 0; i < response.data.data.list.length; i++) {
|
661
|
661
|
that.all_table_data.push(response.data.data.list[i])
|
662
|
|
- if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1) {
|
|
662
|
+ if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
|
663
|
663
|
one_count = one_count + 1
|
664
|
664
|
that.patientTableData.push(response.data.data.list[i])
|
665
|
665
|
}
|
666
|
|
-
|
667
|
666
|
if (response.data.data.list[i].order.order_status == 2) {
|
668
|
667
|
two_count = two_count + 1
|
669
|
668
|
that.patientTableData.push(response.data.data.list[i])
|
670
|
669
|
}
|
671
|
|
-
|
672
|
|
- if (response.data.data.list[i].order.order_status == 3) {
|
673
|
|
- three_count = three_count + 1
|
674
|
|
- that.patientTableData.push(response.data.data.list[i])
|
675
|
|
- }
|
676
|
670
|
}
|
677
|
671
|
that.hisPatientDatas = response.data.data.list_two
|
678
|
672
|
that.cal_one = one_count
|
|
@@ -849,7 +843,7 @@
|
849
|
843
|
let three_count = 0
|
850
|
844
|
for (let i = 0; i < response.data.data.list.length; i++) {
|
851
|
845
|
this.all_table_data.push(response.data.data.list[i])
|
852
|
|
- if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1) {
|
|
846
|
+ if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
|
853
|
847
|
one_count = one_count + 1
|
854
|
848
|
}
|
855
|
849
|
|
|
@@ -857,9 +851,9 @@
|
857
|
851
|
two_count = two_count + 1
|
858
|
852
|
}
|
859
|
853
|
|
860
|
|
- if (response.data.data.list[i].order.order_status == 3) {
|
861
|
|
- three_count = three_count + 1
|
862
|
|
- }
|
|
854
|
+ // if (response.data.data.list[i].order.order_status == 3) {
|
|
855
|
+ // three_count = three_count + 1
|
|
856
|
+ // }
|
863
|
857
|
}
|
864
|
858
|
|
865
|
859
|
switch (this.radio) {
|
|
@@ -940,7 +934,7 @@
|
940
|
934
|
|
941
|
935
|
for (let i = 0; i < response.data.data.list_two.length; i++) {
|
942
|
936
|
this.hisPatientDatas.push(response.data.data.list_two[i])
|
943
|
|
- if (response.data.data.list_two[i].order.order_status == 0 || response.data.data.list_two[i].order.order_status == 1) {
|
|
937
|
+ if (response.data.data.list_two[i].order.order_status == 0 || response.data.data.list_two[i].order.order_status == 1 || response.data.data.list_two[i].order.order_status == 3) {
|
944
|
938
|
one_count = one_count + 1
|
945
|
939
|
}
|
946
|
940
|
|
|
@@ -948,16 +942,16 @@
|
948
|
942
|
two_count = two_count + 1
|
949
|
943
|
}
|
950
|
944
|
|
951
|
|
- if (response.data.data.list_two[i].order.order_status == 3) {
|
952
|
|
- three_count = three_count + 1
|
953
|
|
- }
|
|
945
|
+ // if (response.data.data.list_two[i].order.order_status == 3) {
|
|
946
|
+ // three_count = three_count + 1
|
|
947
|
+ // }
|
954
|
948
|
}
|
955
|
949
|
switch (this.radio) {
|
956
|
950
|
case 1:
|
957
|
951
|
this.patientTableData = []
|
958
|
952
|
|
959
|
953
|
for (let i = 0; i < this.hisPatientDatas.length; i++) {
|
960
|
|
- if (this.hisPatientDatas[i].order.order_status == 0 || this.hisPatientDatas[i].order.order_status == 1) {
|
|
954
|
+ if (this.hisPatientDatas[i].order.order_status == 0 || this.hisPatientDatas[i].order.order_status == 1 || this.hisPatientDatas[i].order.order_status == 3) {
|
961
|
955
|
this.patientTableData.push(this.hisPatientDatas[i])
|
962
|
956
|
}
|
963
|
957
|
|
|
@@ -972,15 +966,14 @@
|
972
|
966
|
|
973
|
967
|
}
|
974
|
968
|
break
|
975
|
|
- case 3:
|
976
|
|
- this.patientTableData = []
|
977
|
|
- for (let i = 0; i < this.hisPatientDatas.length; i++) {
|
978
|
|
- if (this.hisPatientDatas[i].order.order_status == 3) {
|
979
|
|
- this.patientTableData.push(this.hisPatientDatas[i])
|
980
|
|
- }
|
981
|
|
-
|
982
|
|
- }
|
983
|
|
- break
|
|
969
|
+ // case 3:
|
|
970
|
+ // this.patientTableData = []
|
|
971
|
+ // for (let i = 0; i < this.hisPatientDatas.length; i++) {
|
|
972
|
+ // if (this.hisPatientDatas[i].order.order_status == 3) {
|
|
973
|
+ // this.patientTableData.push(this.hisPatientDatas[i])
|
|
974
|
+ // }
|
|
975
|
+ // }
|
|
976
|
+ // break
|
984
|
977
|
case 4:
|
985
|
978
|
this.patientTableData = []
|
986
|
979
|
this.patientTableData = this.hisPatientDatas
|
|
@@ -1702,7 +1695,7 @@
|
1702
|
1695
|
|
1703
|
1696
|
for (let i = 0; i < response.data.data.list.length; i++) {
|
1704
|
1697
|
this.all_table_data.push(response.data.data.list[i])
|
1705
|
|
- if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1) {
|
|
1698
|
+ if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
|
1706
|
1699
|
one_count = one_count + 1
|
1707
|
1700
|
}
|
1708
|
1701
|
|
|
@@ -1710,9 +1703,9 @@
|
1710
|
1703
|
two_count = two_count + 1
|
1711
|
1704
|
}
|
1712
|
1705
|
|
1713
|
|
- if (response.data.data.list[i].order.order_status == 3) {
|
1714
|
|
- three_count = three_count + 1
|
1715
|
|
- }
|
|
1706
|
+ // if (response.data.data.list[i].order.order_status == 3) {
|
|
1707
|
+ // three_count = three_count + 1
|
|
1708
|
+ // }
|
1716
|
1709
|
}
|
1717
|
1710
|
|
1718
|
1711
|
} else { //月结
|
|
@@ -1854,7 +1847,7 @@
|
1854
|
1847
|
let three_count = 0
|
1855
|
1848
|
for (let i = 0; i < response.data.data.list.length; i++) {
|
1856
|
1849
|
this.all_table_data.push(response.data.data.list[i])
|
1857
|
|
- if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1) {
|
|
1850
|
+ if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
|
1858
|
1851
|
one_count = one_count + 1
|
1859
|
1852
|
}
|
1860
|
1853
|
|
|
@@ -1862,9 +1855,9 @@
|
1862
|
1855
|
two_count = two_count + 1
|
1863
|
1856
|
}
|
1864
|
1857
|
|
1865
|
|
- if (response.data.data.list[i].order.order_status == 3) {
|
1866
|
|
- three_count = three_count + 1
|
1867
|
|
- }
|
|
1858
|
+ // if (response.data.data.list[i].order.order_status == 3) {
|
|
1859
|
+ // three_count = three_count + 1
|
|
1860
|
+ // }
|
1868
|
1861
|
}
|
1869
|
1862
|
|
1870
|
1863
|
switch (this.radio) {
|
|
@@ -1873,7 +1866,7 @@
|
1873
|
1866
|
this.patientTableData = []
|
1874
|
1867
|
|
1875
|
1868
|
for (let i = 0; i < this.all_table_data.length; i++) {
|
1876
|
|
- if (this.all_table_data[i].order.order_status == 0 || this.all_table_data[i].order.order_status == 1) {
|
|
1869
|
+ if (this.all_table_data[i].order.order_status == 0 || this.all_table_data[i].order.order_status == 1 || this.all_table_data[i].order.order_status == 3) {
|
1877
|
1870
|
this.patientTableData.push(this.all_table_data[i])
|
1878
|
1871
|
}
|
1879
|
1872
|
|