This commit is contained in:
shidongli 2024-03-05 17:32:57 +08:00
parent c643410c18
commit e425eb64bf
4 changed files with 11 additions and 19 deletions

View File

@ -844,10 +844,8 @@ export default {
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
if (!this.itemname) {
this.$modal.msgError("请先选择科室"); this.reset();
} else {
// this.reset();
const id = row.id || this.ids const id = row.id || this.ids
// this.getDisease(); // this.getDisease();
getMessage(id).then(response => { getMessage(id).then(response => {
@ -858,7 +856,7 @@ export default {
this.open = true; this.open = true;
this.title = "修改短信模板信息"; this.title = "修改短信模板信息";
}); });
}
}, },
/** 提交按钮 */ /** 提交按钮 */
submitForm() { submitForm() {

View File

@ -986,10 +986,8 @@ export default {
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
if (!this.itemname) {
this.$modal.msgError("请先选择科室"); this.reset();
} else {
// this.reset();
const id = row.id || this.ids const id = row.id || this.ids
// this.getDisease(); // this.getDisease();
getScript(id).then(response => { getScript(id).then(response => {
@ -999,7 +997,7 @@ export default {
this.open = true; this.open = true;
this.title = "修改话术信息"; this.title = "修改话术信息";
}); });
}
}, },
/** 提交按钮 */ /** 提交按钮 */
submitForm() { submitForm() {

View File

@ -771,10 +771,8 @@ export default {
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
if (!this.itemname) {
this.$modal.msgError("请先选择科室"); this.reset();
} else {
// this.reset();
const id = row.id || this.ids const id = row.id || this.ids
// this.getDisease(); // this.getDisease();
this.typelistdata(); this.typelistdata();
@ -786,7 +784,7 @@ export default {
this.open = true; this.open = true;
this.title = "修改信息"; this.title = "修改信息";
}); });
}
}, },
/** 提交按钮 */ /** 提交按钮 */
submitForm() { submitForm() {

View File

@ -414,9 +414,7 @@ export default {
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
if (!this.itemname) {
this.$modal.msgError("请先选择科室");
} else {
// this.reset() // this.reset()
this.form.operationInfo = ''; this.form.operationInfo = '';
this.open = true; this.open = true;
@ -425,6 +423,7 @@ export default {
this.form.operationInfo= response.data.operationInfo; this.form.operationInfo= response.data.operationInfo;
this.form.operationName= response.data.operationName; this.form.operationName= response.data.operationName;
this.form.departmentId= response.data.departmentId; this.form.departmentId= response.data.departmentId;
this.form.departmentName= response.data.departmentName;
this.open = true; this.open = true;
this.title = "修改手术信息"; this.title = "修改手术信息";
if (this.title == "修改手术信息") { if (this.title == "修改手术信息") {
@ -432,7 +431,6 @@ export default {
} }
}); });
}
}, },
/** 提交按钮 */ /** 提交按钮 */
submitForm() { submitForm() {