修改知识库
This commit is contained in:
parent
1e52e96ed5
commit
f892bc5698
@ -933,7 +933,12 @@ export default {
|
||||
} else {
|
||||
if (this.form.id != null) {
|
||||
this.form.departmentName = this.departmentName
|
||||
if (this.diseaseTypeName == "请选择病种") {
|
||||
this.form.diseaseTypeName = null
|
||||
|
||||
} else {
|
||||
this.form.diseaseTypeName = this.diseaseTypeName
|
||||
}
|
||||
updateMessage(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
|
||||
@ -1500,8 +1500,12 @@ export default {
|
||||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
if (this.form.id != null) {
|
||||
if (this.diseaseTypeName == "请选择病种") {
|
||||
this.form.diseaseTypeName = null
|
||||
|
||||
this.form.diseaseTypeName = this.diseaseTypeName
|
||||
} else {
|
||||
this.form.diseaseTypeName = this.diseaseTypeName
|
||||
}
|
||||
updatePropaganda(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
|
||||
@ -1040,7 +1040,13 @@ export default {
|
||||
}else{
|
||||
if (this.form.id != null) {
|
||||
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
|
||||
}
|
||||
updateScript(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
|
||||
@ -669,7 +669,7 @@
|
||||
<div class="container">
|
||||
<el-tooltip class="item" effect="dark" :content="formdetail.packageName" placement="top-start">
|
||||
<span >{{ formdetail.packageName }}</span>
|
||||
|
||||
|
||||
</el-tooltip>
|
||||
|
||||
</div>
|
||||
@ -677,11 +677,11 @@
|
||||
<!-- <span class="container" v-tooltip="formdetail.packageName">{{ formdetail.packageName }}</span> -->
|
||||
<!-- <span class="container">
|
||||
<el-tooltip>
|
||||
|
||||
|
||||
<template slot="title">
|
||||
{{ formdetail.packageName ? formdetail.packageName : '-' }}
|
||||
</template>
|
||||
|
||||
|
||||
{{ formdetail.packageName ? formdetail.packageName : '-' }}
|
||||
</el-tooltip>
|
||||
</span> -->
|
||||
@ -1420,7 +1420,11 @@ export default {
|
||||
if (valid) {
|
||||
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
|
||||
}
|
||||
if (this.form.voList) {
|
||||
var obj = JSON.parse(JSON.stringify(this.form))
|
||||
obj.voList.forEach(e => {
|
||||
@ -1516,9 +1520,9 @@ export default {
|
||||
|
||||
}
|
||||
// .container:hover {
|
||||
// text-overflow:inherit;
|
||||
// overflow: visible;
|
||||
// white-space: pre-line;
|
||||
// text-overflow:inherit;
|
||||
// overflow: visible;
|
||||
// white-space: pre-line;
|
||||
|
||||
// }
|
||||
.leftserv {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user