中心添加dicom问题修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9700bd4c31
commit
0e71a32c58
|
@ -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];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue