Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
shidongli 2024-08-09 10:39:12 +08:00
commit 44cf36c5b7

View File

@ -592,7 +592,7 @@
</span> </span>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="dialogVisible" title="查看图片"> <el-dialog :visible.sync="dialogVisible" title="查看图片">
<img width="60%" :src=" dialogImageUrl" alt="" /> <img width="60%" :src="dialogImageUrl" alt="" />
</el-dialog> </el-dialog>
</div> </div>
</div> </div>
@ -905,7 +905,6 @@ export default {
if (files.length > 0) { if (files.length > 0) {
this.$refs.upload.submit(); this.$refs.upload.submit();
this.uploadsave(); this.uploadsave();
} else { } else {
this.uploadsave(); this.uploadsave();
} }
@ -938,12 +937,12 @@ export default {
} }
this.form.signPackage = this.signPackage; this.form.signPackage = this.signPackage;
this.form.route = this.route; this.form.route = this.route;
if(this.form.record.signPatientRecordId ){ if (this.$route.query.signPatientRecordId) {
this.form.record.signPatientRecordId = Number( this.form.record.signPatientRecordId = Number(
this.$route.query.signPatientRecordId this.$route.query.signPatientRecordId
); );
} }
if (!this.form.record.signPatientRecordId) { if (!this.form.record.signPatientRecordId ) {
addsign(this.form).then((res) => { addsign(this.form).then((res) => {
this.$confirm("签约成功, 是否返回上一页?", "提示", { this.$confirm("签约成功, 是否返回上一页?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
@ -980,7 +979,7 @@ export default {
}); });
}) })
.catch(() => { .catch(() => {
this.$modal.msgSuccess("签约成功"); this.$modal.msgSuccess("修改签约成功");
}); });
}); });
} }
@ -1007,11 +1006,10 @@ export default {
delhardware(index) { delhardware(index) {
this.form.devices.splice(index, 1); this.form.devices.splice(index, 1);
}, },
handleRemove(file, fileList) { handleRemove(file, fileList) {},
},
handlePictureCardPreview(file) { handlePictureCardPreview(file) {
this.dialogImageUrl = file.url; this.dialogImageUrl = file.url;
this.dialogVisible=true this.dialogVisible = true;
}, },
// //
cancelback() { cancelback() {