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(); // this.getDisease();
getMessage(id).then(response => { getMessage(id).then(response => {
this.form = response.data; 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.departmentName = response.data.departmentName
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
if (!this.form.textMessageSort) { if (!this.form.textMessageSort) {

View File

@ -1469,7 +1469,11 @@ export default {
getPropaganda(id).then(response => { getPropaganda(id).then(response => {
this.form = response.data; this.form = response.data;
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds 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.agencyName = response.data.hospitalAgencyName
this.form.imgPath = response.data.materialsInfoList[0]?.materialsFilePath this.form.imgPath = response.data.materialsInfoList[0]?.materialsFilePath
this.querymaterial.materialsType = response.data.materialsInfoList[0]?.materialsType this.querymaterial.materialsType = response.data.materialsInfoList[0]?.materialsType

View File

@ -1019,7 +1019,11 @@ export default {
// this.getDisease(); // this.getDisease();
getScript(id).then(response => { getScript(id).then(response => {
this.form = response.data; 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.departmentName = response.data.departmentName
if (!this.form.scriptSort) { if (!this.form.scriptSort) {
this.form.scriptSort = undefined this.form.scriptSort = undefined

View File

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

View File

@ -837,7 +837,11 @@ export default {
getTemplate(id).then(response => { getTemplate(id).then(response => {
this.form = response.data; this.form = response.data;
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds 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 this.departmentName = response.data.departmentName
if (!this.form.templateSort) { if (!this.form.templateSort) {
this.form.templateSort = undefined this.form.templateSort = undefined