|
@@ -283,10 +283,11 @@
|
283
|
283
|
size="mini"
|
284
|
284
|
type="primary"
|
285
|
285
|
@click="confirmUploadInfo(scope.row)"
|
286
|
|
- v-if="$store.getters.xt_user.org_id == 10265"
|
|
286
|
+ v-if="$store.getters.xt_user.org_id == 10265 || $store.getters.xt_user.org_id == 10191"
|
287
|
287
|
>
|
288
|
288
|
确认结算清单
|
289
|
289
|
</el-button>
|
|
290
|
+
|
290
|
291
|
<el-button
|
291
|
292
|
size="mini"
|
292
|
293
|
type="primary"
|
|
@@ -848,37 +849,72 @@ export default {
|
848
|
849
|
},
|
849
|
850
|
confirmUploadInfo(row){
|
850
|
851
|
var that = this;
|
851
|
|
- axios
|
852
|
|
- .get("http://127.0.0.1:9532/api/4102", {
|
853
|
|
- params: {
|
854
|
|
- order_id: row.id,
|
855
|
|
- admin_user_id: this.$store.getters.xt_user.user.id,
|
856
|
|
- stas_type: 1
|
857
|
|
- },
|
858
|
|
- })
|
859
|
|
- .then(function (response) {
|
860
|
|
- if (response.data.state == 0) {
|
861
|
|
- that.$message.error(response.data.msg);
|
862
|
|
- return false;
|
863
|
|
- } else {
|
864
|
|
- if (response.data.data.failed_code == -10) {
|
865
|
|
- that
|
866
|
|
- .$confirm(response.data.data.msg, "医保错误信息", {
|
867
|
|
- confirmButtonText: "确 定",
|
868
|
|
- type: "warning",
|
869
|
|
- })
|
870
|
|
- .then(() => {
|
871
|
|
- })
|
872
|
|
- .catch(() => {
|
873
|
|
- });
|
|
852
|
+ if(this.$store.getters.xt_user.org_id == 10191){
|
|
853
|
+ axios
|
|
854
|
+ .get("http://127.0.0.1:9532/api/comfirm/upload", {
|
|
855
|
+ params: {
|
|
856
|
+ order_id: row.id,
|
|
857
|
+ admin_user_id: this.$store.getters.xt_user.user.id,
|
|
858
|
+ stas_type: 1
|
|
859
|
+ },
|
|
860
|
+ })
|
|
861
|
+ .then(function (response) {
|
|
862
|
+ if (response.data.state == 0) {
|
|
863
|
+ that.$message.error(response.data.msg);
|
|
864
|
+ return false;
|
|
865
|
+ } else {
|
|
866
|
+ if (response.data.data.failed_code == -10) {
|
|
867
|
+ that
|
|
868
|
+ .$confirm(response.data.data.msg, "医保错误信息", {
|
|
869
|
+ confirmButtonText: "确 定",
|
|
870
|
+ type: "warning",
|
|
871
|
+ })
|
|
872
|
+ .then(() => {
|
|
873
|
+ })
|
|
874
|
+ .catch(() => {
|
|
875
|
+ });
|
|
876
|
+ } else {
|
|
877
|
+ that.$message.success("确认成功");
|
|
878
|
+ row.result.id = response.data.data.result.id;
|
|
879
|
+ }
|
|
880
|
+ }
|
|
881
|
+ })
|
|
882
|
+ .catch(function (error) {
|
|
883
|
+ });
|
|
884
|
+ }else{
|
|
885
|
+ axios
|
|
886
|
+ .get("http://127.0.0.1:9532/api/4102", {
|
|
887
|
+ params: {
|
|
888
|
+ order_id: row.id,
|
|
889
|
+ admin_user_id: this.$store.getters.xt_user.user.id,
|
|
890
|
+ stas_type: 1
|
|
891
|
+ },
|
|
892
|
+ })
|
|
893
|
+ .then(function (response) {
|
|
894
|
+ if (response.data.state == 0) {
|
|
895
|
+ that.$message.error(response.data.msg);
|
|
896
|
+ return false;
|
874
|
897
|
} else {
|
875
|
|
- that.$message.success("确认成功");
|
876
|
|
- row.result.id = response.data.data.result.id;
|
|
898
|
+ if (response.data.data.failed_code == -10) {
|
|
899
|
+ that
|
|
900
|
+ .$confirm(response.data.data.msg, "医保错误信息", {
|
|
901
|
+ confirmButtonText: "确 定",
|
|
902
|
+ type: "warning",
|
|
903
|
+ })
|
|
904
|
+ .then(() => {
|
|
905
|
+ })
|
|
906
|
+ .catch(() => {
|
|
907
|
+ });
|
|
908
|
+ } else {
|
|
909
|
+ that.$message.success("确认成功");
|
|
910
|
+ row.result.id = response.data.data.result.id;
|
|
911
|
+ }
|
877
|
912
|
}
|
878
|
|
- }
|
879
|
|
- })
|
880
|
|
- .catch(function (error) {
|
881
|
|
- });
|
|
913
|
+ })
|
|
914
|
+ .catch(function (error) {
|
|
915
|
+ });
|
|
916
|
+
|
|
917
|
+ }
|
882
|
918
|
|
883
|
919
|
|
884
|
920
|
},
|
|
@@ -1280,7 +1316,7 @@ export default {
|
1280
|
1316
|
name: order.patient.name,
|
1281
|
1317
|
id_card_no: order.patient.id_card_no,
|
1282
|
1318
|
year: "2023",
|
1283
|
|
- month: "08",
|
|
1319
|
+ month: "09",
|
1284
|
1320
|
code: data[b].code,
|
1285
|
1321
|
pric: data[b].total ,
|
1286
|
1322
|
item_name: data[b].name,
|