|
|
|
@ -6,8 +6,7 @@ |
|
|
|
<el-table-column prop="result" label="结果" min-width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div style="display: flex;"> |
|
|
|
<el-autocomplete style="width: 100%" |
|
|
|
type="textarea" v-model="scope.row.result" placeholder="请输入结果值" |
|
|
|
<el-autocomplete style="width: 100%" type="textarea" v-model="scope.row.result" placeholder="请输入结果值" |
|
|
|
:disabled="rowResultDisabled(scope.row)" :autosize="{ minRows: 1, maxRows: 10 }" :trigger-on-focus="false" |
|
|
|
:fetch-suggestions="querySearch" :data-lineModeFlag="scope.row.lineModeFlag" @input=" |
|
|
|
madeTooltips(scope.$index); |
|
|
|
@ -267,12 +266,12 @@ export default { |
|
|
|
curRow: {}, |
|
|
|
|
|
|
|
// 医生诊台相关的本地设置 |
|
|
|
LocalConfig:{ |
|
|
|
doctorCheck:{ |
|
|
|
LocalConfig: { |
|
|
|
doctorCheck: { |
|
|
|
isSelectAll: 'N', // 录入结果时,是否全选 |
|
|
|
pacsDescFontSize: "14px", //描述内容的字体大小 |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -281,7 +280,7 @@ export default { |
|
|
|
|
|
|
|
let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null) |
|
|
|
if (LocalConfig?.doctorCheck?.isSelectAll) this.LocalConfig.doctorCheck.isSelectAll = LocalConfig.doctorCheck.isSelectAll |
|
|
|
if (LocalConfig?.doctorCheck?.pacsDescFontSize) this.LocalConfig.doctorCheck.pacsDescFontSize = LocalConfig.doctorCheck.pacsDescFontSize+'px' |
|
|
|
if (LocalConfig?.doctorCheck?.pacsDescFontSize) this.LocalConfig.doctorCheck.pacsDescFontSize = LocalConfig.doctorCheck.pacsDescFontSize + 'px' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
@ -719,23 +718,31 @@ export default { |
|
|
|
// 单击选择结果模版的结果 |
|
|
|
clickResult(item) { |
|
|
|
let result = []; |
|
|
|
if (this.moreResult.result) result = this.moreResult.result.split(";"); |
|
|
|
// 不用分隔符时,不判断包含关系 |
|
|
|
if (this.isSplitChooseResult == "Y" && result.indexOf(item.result) > -1) |
|
|
|
return; |
|
|
|
if (this.isSplitChooseResult == "Y" || result.length == 0) { |
|
|
|
result.push(item.result); |
|
|
|
// console.log('this.moreResult',JSON.stringify(this.moreResult)) |
|
|
|
// console.log('item',item) |
|
|
|
//点击结果前 == 默认结果 |
|
|
|
if (this.moreResult.result == this.moreResult.defaultResult) { |
|
|
|
this.moreResult.result = item.result |
|
|
|
} else { |
|
|
|
result[result.length - 1] = result[result.length - 1] + item.result; |
|
|
|
} |
|
|
|
|
|
|
|
let ret = ""; |
|
|
|
result.forEach((e, i) => { |
|
|
|
let splitStr = ";"; |
|
|
|
if (i == 0) splitStr = ""; |
|
|
|
ret += splitStr + e; |
|
|
|
}); |
|
|
|
this.moreResult.result = ret; |
|
|
|
if (this.moreResult.result) result = this.moreResult.result.split(";"); |
|
|
|
// 不用分隔符时,不判断包含关系 |
|
|
|
if (this.isSplitChooseResult == "Y" && result.indexOf(item.result) > -1) |
|
|
|
return; |
|
|
|
if (this.isSplitChooseResult == "Y" || result.length == 0) { |
|
|
|
result.push(item.result); |
|
|
|
} else { |
|
|
|
result[result.length - 1] = result[result.length - 1] + item.result; |
|
|
|
} |
|
|
|
|
|
|
|
let ret = ""; |
|
|
|
result.forEach((e, i) => { |
|
|
|
let splitStr = ";"; |
|
|
|
if (i == 0) splitStr = ""; |
|
|
|
ret += splitStr + e; |
|
|
|
}); |
|
|
|
this.moreResult.result = ret; |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 清除结果值 |
|
|
|
@ -1090,5 +1097,4 @@ export default { |
|
|
|
background-color: v-bind("tipsSuper.backgroundColor") !important; |
|
|
|
color: v-bind("tipsSuper.color") !important; |
|
|
|
} |
|
|
|
|
|
|
|
</style> |