This commit is contained in:
shidongli 2023-11-09 12:56:53 +08:00
parent f09400ffca
commit ec9e2ba18a

View File

@ -611,6 +611,7 @@
@click="ydbb(scope.row)" @click="ydbb(scope.row)"
>写诊断</el-button >写诊断</el-button
> >
<!-- -->
<!-- scope.row.screeningType == 1 只有等于居民预约的时候才会显示该按钮 1 == 居民预约 2 == 医生推送 --> <!-- scope.row.screeningType == 1 只有等于居民预约的时候才会显示该按钮 1 == 居民预约 2 == 医生推送 -->
<!-- <el-button size="mini" type="text" <!-- <el-button size="mini" type="text"
@ -1884,6 +1885,7 @@ export default {
// //
deptOptions: [], deptOptions: [],
activeNames: ["0"], activeNames: ["0"],
patientId:'',
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 15, pageSize: 15,
@ -2193,7 +2195,8 @@ export default {
screeningId: this.screeningId, screeningId: this.screeningId,
// recordId: this.idyd, // recordId: this.idyd,
registerId: this.registerId, registerId: this.registerId,
diagnosticResult: this.ruleForm.descyd diagnosticResult: this.ruleForm.descyd,
patientId:this.patientId
}).then(res => { }).then(res => {
console.log(res) console.log(res)
this.$modal.msgError(res.msg); this.$modal.msgError(res.msg);
@ -2209,7 +2212,8 @@ export default {
// recordId: this.idxs, // recordId: this.idxs,
registerId: this.registerId, registerId: this.registerId,
diagnosticResult: this.ruleForm.descdxxb, diagnosticResult: this.ruleForm.descdxxb,
screeningId: this.screeningId screeningId: this.screeningId,
patientId:this.patientId
}).then(res => { }).then(res => {
console.log(res) console.log(res)
this.$modal.msgSuccess("保存成功"); this.$modal.msgSuccess("保存成功");
@ -2223,7 +2227,9 @@ export default {
attachment: this.attachmentamz, attachment: this.attachmentamz,
registerId: this.registerId, registerId: this.registerId,
diagnosticResult: this.ruleForm.descdxxb, diagnosticResult: this.ruleForm.descdxxb,
screeningId: this.screeningId screeningId: this.screeningId,
patientId:this.patientId
}).then(res => { }).then(res => {
this.$modal.msgSuccess("保存成功"); this.$modal.msgSuccess("保存成功");
this.ydbbopen = false; this.ydbbopen = false;
@ -2256,11 +2262,22 @@ export default {
}) })
.then(() => { .then(() => {
receivescreening(item.screeningId).then(res => { receivescreening(item.screeningId).then(res => {
if(res.code==500){
this.$message({
type: "error",
message: res.data
});
}else if(res.code==200){
this.$message({ this.$message({
type: "success", type: "success",
message: res.data message: res.data
}); });
this.getList(); this.getList();
}
}); });
}) })
.catch(() => { .catch(() => {
@ -2334,6 +2351,8 @@ export default {
this.title = "血小板筛查"; this.title = "血小板筛查";
}, },
ydbb(item) { ydbb(item) {
console.log(item)
this.patientId=item.patientId
this.isflas = true; this.isflas = true;
if (item.projectName == "糖尿病-眼底病变筛查") { if (item.projectName == "糖尿病-眼底病变筛查") {
this.attachment = ""; this.attachment = "";