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
   })
1515
   })
1516
 }
1516
 }
1517
 
1517
 
1518
-export function checkPatientCount(id,params){
1518
+export function checkPatientCount(id,patient_id,params){
1519
 
1519
 
1520
   return request({
1520
   return request({
1521
-    url:"/api/patient/checkpatientcount?id="+id,
1521
+    url:"/api/patient/checkpatientcount?id="+id+"&patient_id="+patient_id,
1522
     method:"get",
1522
     method:"get",
1523
     params:params,
1523
     params:params,
1524
     
1524
     

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

92
                 <el-button type="primary" @click="toReturnCheck(scope.row.id)" >反审核</el-button>
92
                 <el-button type="primary" @click="toReturnCheck(scope.row.id)" >反审核</el-button>
93
               </span>
93
               </span>
94
               <div v-if="scope.row.is_check==2">
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
                 <el-button type="danger" @click="deletePatientCount(scope.row.id,scope.$index)">删除</el-button>
96
                 <el-button type="danger" @click="deletePatientCount(scope.row.id,scope.$index)">删除</el-button>
97
               </div>
97
               </div>
98
             </template>
98
             </template>
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
             if(response.data.state == 1){
328
             if(response.data.state == 1){
329
               var checkpatientcount =  response.data.data.checkpatientcount
329
               var checkpatientcount =  response.data.data.checkpatientcount
330
               this.$message.success("审核成功!")
330
               this.$message.success("审核成功!")

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

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