Browse Source

hah阿凡达

28169 3 weeks ago
parent
commit
33271e8c6d
3 changed files with 6 additions and 6 deletions
  1. 2 2
      src/api/patient.js
  2. 3 3
      src/xt_pages/charging/charging_cz.vue
  3. 1 1
      src/xt_pages/charging/index.vue

+ 2 - 2
src/api/patient.js View File

@@ -1515,10 +1515,10 @@ export function deletePatientCount(id,params){
1515 1515
   })
1516 1516
 }
1517 1517
 
1518
-export function checkPatientCount(id,params){
1518
+export function checkPatientCount(id,patient_id,params){
1519 1519
 
1520 1520
   return request({
1521
-    url:"/api/patient/checkpatientcount?id="+id,
1521
+    url:"/api/patient/checkpatientcount?id="+id+"&patient_id="+patient_id,
1522 1522
     method:"get",
1523 1523
     params:params,
1524 1524
     

+ 3 - 3
src/xt_pages/charging/charging_cz.vue View File

@@ -92,7 +92,7 @@
92 92
                 <el-button type="primary" @click="toReturnCheck(scope.row.id)" >反审核</el-button>
93 93
               </span>
94 94
               <div v-if="scope.row.is_check==2">
95
-                <el-button type="primary" @click="toCheck(scope.row.id)">审核</el-button>
95
+                <el-button type="primary" @click="toCheck(scope.row.id,scope.row.patient_id)">审核</el-button>
96 96
                 <el-button type="danger" @click="deletePatientCount(scope.row.id,scope.$index)">删除</el-button>
97 97
               </div>
98 98
             </template>
@@ -323,8 +323,8 @@ import { start } from "nprogress";
323 323
           }
324 324
         })
325 325
       },
326
-      toCheck(id){
327
-         checkPatientCount(id).then(response=>{
326
+      toCheck(id,patient_id){
327
+         checkPatientCount(id,patient_id).then(response=>{
328 328
             if(response.data.state == 1){
329 329
               var checkpatientcount =  response.data.data.checkpatientcount
330 330
               this.$message.success("审核成功!")

+ 1 - 1
src/xt_pages/charging/index.vue View File

@@ -443,7 +443,7 @@ export default {
443 443
     getPatientCountMapList(params).then(response=>{
444 444
       if(response.data.state == 1){
445 445
         var list =  response.data.data.list
446
-       
446
+        console.log("list===============",list)
447 447
         this.tableList = []
448 448
         this.tableList = list
449 449
         this.total = response.data.data.total