中心添加dicom问题修改
continuous-integration/drone/push Build is passing Details

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-08 16:34:51 +08:00
parent 9700bd4c31
commit 0e71a32c58
1 changed files with 4 additions and 1 deletions

View File

@ -161,7 +161,10 @@ export default {
open(siteData, data = null, status = "add") { open(siteData, data = null, status = "add") {
this.siteData = siteData; this.siteData = siteData;
this.status = status; this.status = status;
if (data) { Object.keys(this.form).forEach((key) => {
this.form[key] = null;
});
if (data && status === "edit") {
Object.keys(this.form).forEach((key) => { Object.keys(this.form).forEach((key) => {
this.form[key] = data[key]; this.form[key] = data[key];
}); });