|
@@ -215,6 +215,32 @@
|
215
|
215
|
>
|
216
|
216
|
上传结算清单
|
217
|
217
|
</el-button>
|
|
218
|
+ <el-button
|
|
219
|
+ size="mini"
|
|
220
|
+ type="primary"
|
|
221
|
+ @click="confirmUploadInfo(scope.row)"
|
|
222
|
+ v-if="$store.getters.xt_user.org_id == 10265"
|
|
223
|
+ >
|
|
224
|
+ 确认结算清单
|
|
225
|
+ </el-button>
|
|
226
|
+ <el-button
|
|
227
|
+ size="mini"
|
|
228
|
+ type="primary"
|
|
229
|
+ @click="cancelUploadTwo(scope.row)"
|
|
230
|
+ v-if="$store.getters.xt_user.org_id == 10265"
|
|
231
|
+ >
|
|
232
|
+ 取消结算清单
|
|
233
|
+ </el-button>
|
|
234
|
+
|
|
235
|
+ <el-button
|
|
236
|
+ size="mini"
|
|
237
|
+ type="primary"
|
|
238
|
+ @click="queryData(scope.row)"
|
|
239
|
+ v-if="$store.getters.xt_user.org_id == 10265"
|
|
240
|
+ >
|
|
241
|
+ 查询结算清单
|
|
242
|
+ </el-button>
|
|
243
|
+
|
218
|
244
|
<el-button
|
219
|
245
|
size="mini"
|
220
|
246
|
type="primary"
|
|
@@ -452,6 +478,121 @@ export default {
|
452
|
478
|
},
|
453
|
479
|
|
454
|
480
|
methods: {
|
|
481
|
+ confirmUploadInfo(row){
|
|
482
|
+ var that = this;
|
|
483
|
+ axios
|
|
484
|
+ .get("http://127.0.0.1:9532/api/4102", {
|
|
485
|
+ params: {
|
|
486
|
+ order_id: row.id,
|
|
487
|
+ admin_user_id: this.$store.getters.xt_user.user.id,
|
|
488
|
+ stas_type: 1
|
|
489
|
+ },
|
|
490
|
+ })
|
|
491
|
+ .then(function (response) {
|
|
492
|
+ if (response.data.state == 0) {
|
|
493
|
+ that.$message.error(response.data.msg);
|
|
494
|
+ return false;
|
|
495
|
+ } else {
|
|
496
|
+ if (response.data.data.failed_code == -10) {
|
|
497
|
+ that
|
|
498
|
+ .$confirm(response.data.data.msg, "医保错误信息", {
|
|
499
|
+ confirmButtonText: "确 定",
|
|
500
|
+ type: "warning",
|
|
501
|
+ })
|
|
502
|
+ .then(() => {
|
|
503
|
+ })
|
|
504
|
+ .catch(() => {
|
|
505
|
+ });
|
|
506
|
+ } else {
|
|
507
|
+ that.$message.success("确认成功");
|
|
508
|
+ row.result.id = response.data.data.result.id;
|
|
509
|
+ }
|
|
510
|
+ }
|
|
511
|
+ })
|
|
512
|
+ .catch(function (error) {
|
|
513
|
+ });
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+ },
|
|
517
|
+ cancelUploadTwo(row){
|
|
518
|
+ if(this.$store.getters.xt_user.org_id == 10265){
|
|
519
|
+ var that = this;
|
|
520
|
+ axios
|
|
521
|
+ .get("http://127.0.0.1:9532/api/4102", {
|
|
522
|
+ params: {
|
|
523
|
+ order_id: row.id,
|
|
524
|
+ admin_user_id: this.$store.getters.xt_user.user.id,
|
|
525
|
+ stas_type: 0
|
|
526
|
+ },
|
|
527
|
+ })
|
|
528
|
+ .then(function (response) {
|
|
529
|
+ if (response.data.state == 0) {
|
|
530
|
+ that.$message.error(response.data.msg);
|
|
531
|
+ return false;
|
|
532
|
+ } else {
|
|
533
|
+ if (response.data.data.failed_code == -10) {
|
|
534
|
+ // that.$message.error(response.data.data.msg)
|
|
535
|
+ that
|
|
536
|
+ .$confirm(response.data.data.msg, "医保错误信息", {
|
|
537
|
+ confirmButtonText: "确 定",
|
|
538
|
+ type: "warning",
|
|
539
|
+ })
|
|
540
|
+ .then(() => {
|
|
541
|
+ })
|
|
542
|
+ .catch(() => {
|
|
543
|
+ });
|
|
544
|
+ } else {
|
|
545
|
+ that.$message.success("撤销成功");
|
|
546
|
+ row.result.id = 0;
|
|
547
|
+ }
|
|
548
|
+ }
|
|
549
|
+ })
|
|
550
|
+ .catch(function (error) {
|
|
551
|
+ });
|
|
552
|
+ }
|
|
553
|
+ },
|
|
554
|
+ queryData(row){
|
|
555
|
+ var that = this;
|
|
556
|
+ axios
|
|
557
|
+ .get("http://127.0.0.1:9532/api/4103", {
|
|
558
|
+ params: {
|
|
559
|
+ order_id: row.id,
|
|
560
|
+ admin_user_id: this.$store.getters.xt_user.user.id,
|
|
561
|
+ },
|
|
562
|
+ })
|
|
563
|
+ .then(function (response) {
|
|
564
|
+ if (response.data.state == 0) {
|
|
565
|
+ that.$message.error(response.data.msg);
|
|
566
|
+ return false;
|
|
567
|
+ } else {
|
|
568
|
+ if (response.data.data.failed_code == -10) {
|
|
569
|
+ that
|
|
570
|
+ .$confirm(response.data.data.msg, "医保错误信息", {
|
|
571
|
+ confirmButtonText: "确 定",
|
|
572
|
+ type: "warning",
|
|
573
|
+ })
|
|
574
|
+ .then(() => {
|
|
575
|
+ })
|
|
576
|
+ .catch(() => {
|
|
577
|
+ });
|
|
578
|
+ } else {
|
|
579
|
+ that
|
|
580
|
+ .$confirm(response.data.data.msg, "医保信息", {
|
|
581
|
+ confirmButtonText: "确 定",
|
|
582
|
+ })
|
|
583
|
+ .then(() => {
|
|
584
|
+ })
|
|
585
|
+ .catch(() => {
|
|
586
|
+ });
|
|
587
|
+ }
|
|
588
|
+ }
|
|
589
|
+ })
|
|
590
|
+ .catch(function (error) {
|
|
591
|
+ });
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+ },
|
|
595
|
+
|
455
|
596
|
setStorage() {
|
456
|
597
|
this.$store.commit("SET_PAGEDATA", {
|
457
|
598
|
page: this.page,
|
|
@@ -1123,7 +1264,7 @@ export default {
|
1123
|
1264
|
setl_time: obj.setl_time,
|
1124
|
1265
|
};
|
1125
|
1266
|
this.invoiceParams = paramsObj;
|
1126
|
|
-
|
|
1267
|
+
|
1127
|
1268
|
const loading = this.$loading({
|
1128
|
1269
|
lock: true,
|
1129
|
1270
|
text: '正在加载中...',
|