This commit is contained in:
shidongli 2024-05-09 14:34:00 +08:00
parent f892bc5698
commit 8e5ca7e97a
5 changed files with 33 additions and 13 deletions

View File

@ -909,7 +909,11 @@ export default {
// this.getDisease();
getMessage(id).then(response => {
this.form = response.data;
this.diseaseTypeName = response.data.diseaseTypeName
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
this.diseaseTypeName = "请选择病种"
} else {
this.diseaseTypeName = response.data.diseaseTypeName
}
this.departmentName = response.data.departmentName
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
if (!this.form.textMessageSort) {

View File

@ -1469,7 +1469,11 @@ export default {
getPropaganda(id).then(response => {
this.form = response.data;
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
this.diseaseTypeName = response.data.diseaseTypeName
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
this.diseaseTypeName = "请选择病种"
} else {
this.diseaseTypeName = response.data.diseaseTypeName
}
// this.form.agencyName = response.data.hospitalAgencyName
this.form.imgPath = response.data.materialsInfoList[0]?.materialsFilePath
this.querymaterial.materialsType = response.data.materialsInfoList[0]?.materialsType

View File

@ -1019,7 +1019,11 @@ export default {
// this.getDisease();
getScript(id).then(response => {
this.form = response.data;
this.diseaseTypeName = response.data.diseaseTypeName
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
this.diseaseTypeName = "请选择病种"
} else {
this.diseaseTypeName = response.data.diseaseTypeName
}
this.departmentName = response.data.departmentName
if (!this.form.scriptSort) {
this.form.scriptSort = undefined

View File

@ -667,11 +667,14 @@
</el-form-item>
<el-form-item label="服务包名称:" prop="packageVersion">
<div class="container">
<el-tooltip class="item" effect="dark" :content="formdetail.packageName" placement="top-start">
<span >{{ formdetail.packageName }}</span>
</el-tooltip>
<el-tooltip
class="item"
effect="dark"
:content="formdetail.packageName"
placement="top-start"
>
<span>{{ formdetail.packageName }}</span>
</el-tooltip>
</div>
<!-- <span class="container" v-tooltip="formdetail.packageName">{{ formdetail.packageName }}</span> -->
@ -1343,13 +1346,15 @@ export default {
this.form.voList.forEach(el => {
if (!el.serviceFrequencyText) {
el.serviceFrequencyText = el.serviceFrequencyStart + '~' + el.serviceFrequencyEnd
} else {
el.serviceFrequencyText = el.serviceFrequencyText
}
})
this.diseaseTypeName = response.data.diseaseTypeName
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
this.diseaseTypeName = "请选择病种"
} else {
this.diseaseTypeName = response.data.diseaseTypeName
}
this.departmentName = response.data.departmentName
this.open = true;
this.title = "修改服务包基础信息";
@ -1517,7 +1522,6 @@ export default {
// text-overflow:ellipsis
// white-space: nowrap;
// overflow: hidden;
}
// .container:hover {
// text-overflow:inherit;

View File

@ -837,7 +837,11 @@ export default {
getTemplate(id).then(response => {
this.form = response.data;
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
this.diseaseTypeName = response.data.diseaseTypeName
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
this.diseaseTypeName = "请选择病种"
} else {
this.diseaseTypeName = response.data.diseaseTypeName
}
this.departmentName = response.data.departmentName
if (!this.form.templateSort) {
this.form.templateSort = undefined