修改知识库
This commit is contained in:
parent
1ed4dc734a
commit
ebe05c0c84
@ -862,6 +862,13 @@ export default {
|
|||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
this.form.departmentName = this.departmentName
|
this.form.departmentName = this.departmentName
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
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 => {
|
updateTemplate(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user