|
@@ -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("审核成功!")
|