|
|
@ -4,7 +4,7 @@ |
|
|
<el-table :data="dataList" width="100%" :height="window.pageHeight < 600 ? 350 : window.pageHeight - 220" row-key="id" |
|
|
<el-table :data="dataList" width="100%" :height="window.pageHeight < 600 ? 350 : window.pageHeight - 220" row-key="id" |
|
|
size="small" highlight-current-row ref="dataList" @selection-change="handleSelectionChange" @row-click="rowClick"> |
|
|
size="small" highlight-current-row ref="dataList" @selection-change="handleSelectionChange" @row-click="rowClick"> |
|
|
<el-table-column type="selection" width="40" align="center" /> |
|
|
<el-table-column type="selection" width="40" align="center" /> |
|
|
<el-table-column prop="isRecoverGuide" label="回收" width="50"> |
|
|
|
|
|
|
|
|
<el-table-column prop="isRecoverGuide" label="回收" align="center" width="50"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-checkbox :value="scope.row.isRecoverGuide == 'Y'" /> |
|
|
<el-checkbox :value="scope.row.isRecoverGuide == 'Y'" /> |
|
|
</template> |
|
|
</template> |
|
|
@ -233,19 +233,16 @@ export default { |
|
|
|
|
|
|
|
|
//按条码号查个人数据 |
|
|
//按条码号查个人数据 |
|
|
signByPatientRegisterNo() { |
|
|
signByPatientRegisterNo() { |
|
|
let patientRegisterNo = this.patientRegisterNo |
|
|
|
|
|
|
|
|
let patientRegisterNos = [this.patientRegisterNo] |
|
|
let body = { |
|
|
let body = { |
|
|
sType: 1, |
|
|
|
|
|
patientRegisterNo |
|
|
|
|
|
|
|
|
patientRegisterNos |
|
|
} |
|
|
} |
|
|
//console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) |
|
|
//console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) |
|
|
postapi('/api/app/patientregister/getpatientregisterorpatient', body) |
|
|
|
|
|
|
|
|
postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
if (res.code != -1) { |
|
|
|
|
|
if (res.data) { |
|
|
|
|
|
this.recoverCore([res.data.id]) |
|
|
|
|
|
this.patientRegisterNo = '' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (res.code > -1) { |
|
|
|
|
|
this.patientRegisterNo = '' |
|
|
|
|
|
this.$message.success({ showClose: true, message: '操作成功!' }) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|