|
|
@ -261,8 +261,25 @@ export default { |
|
|
|
this.dataForm.patientStatus = value |
|
|
|
this.getDataListInitial() |
|
|
|
}, |
|
|
|
async receiveTreat(item) { |
|
|
|
const { data: res } = await this.$http.get('/patient/updateSGDoctorAndJzStatus', { |
|
|
|
params: { |
|
|
|
isAppoint: item.isAppoint, |
|
|
|
patientId: item.patientId, |
|
|
|
jzNumber: item.jzNumber, |
|
|
|
platform: 2 |
|
|
|
} |
|
|
|
}) |
|
|
|
if (res.code === 0) { |
|
|
|
} else { |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 查看详情 |
|
|
|
showDetail(scopeRow, index) { |
|
|
|
if (index === 1) { |
|
|
|
this.receiveTreat(scopeRow) |
|
|
|
} |
|
|
|
this.onlyRead = index !== 1 |
|
|
|
this.detailViewVisible = true |
|
|
|
this.patientId = scopeRow.patientId |
|
|
|