修改知识库

This commit is contained in:
shidongli 2024-05-09 11:16:26 +08:00
parent 1ed4dc734a
commit ebe05c0c84

View File

@ -862,6 +862,13 @@ export default {
if (this.form.id != null) {
this.form.departmentName = this.departmentName
this.form.diseaseTypeName = this.diseaseTypeName
if (this.diseaseTypeName == "请选择病种") {
this.form.diseaseTypeName = null
} else {
this.form.diseaseTypeName = this.diseaseTypeName
}
console.log(this.form,'this.form')
// return
updateTemplate(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;