|
|
@ -228,6 +228,7 @@ export default { |
|
|
currentRow: -1, //当前操作的行 |
|
|
currentRow: -1, //当前操作的行 |
|
|
|
|
|
|
|
|
dialogWinMoreResult: false, |
|
|
dialogWinMoreResult: false, |
|
|
|
|
|
dialogWinMoreResultTimes:0, // 控制避免多次开启监听 |
|
|
dialogWinPacsTemplate: false, |
|
|
dialogWinPacsTemplate: false, |
|
|
moreResult: { |
|
|
moreResult: { |
|
|
data: [], |
|
|
data: [], |
|
|
@ -328,6 +329,8 @@ export default { |
|
|
this.userInfo.operatorType = window.sessionStorage.getItem("operatorType") || '0'; |
|
|
this.userInfo.operatorType = window.sessionStorage.getItem("operatorType") || '0'; |
|
|
this.userInfo.userId = window.sessionStorage.getItem("userId") || null; |
|
|
this.userInfo.userId = window.sessionStorage.getItem("userId") || null; |
|
|
this.userInfo.user = window.sessionStorage.getItem("user") || null; |
|
|
this.userInfo.user = window.sessionStorage.getItem("user") || null; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 销毁前 |
|
|
// 销毁前 |
|
|
@ -772,7 +775,13 @@ export default { |
|
|
|
|
|
|
|
|
this.dialogWinMoreResult = true; |
|
|
this.dialogWinMoreResult = true; |
|
|
|
|
|
|
|
|
this.watchSelection(); |
|
|
|
|
|
|
|
|
// 监听结果模板 点击时 光标位置 |
|
|
|
|
|
if(this.dialogWinMoreResultTimes == 0){ |
|
|
|
|
|
this.watchSelection(); |
|
|
|
|
|
this.dialogWinMoreResultTimes++ // 下次打开,则无需重复开启监听 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// pacs结果模板 |
|
|
// pacs结果模板 |
|
|
@ -1127,11 +1136,13 @@ export default { |
|
|
let resultBox = document.getElementById("resultBox"); //用数组可以读取多个标签的元素 //.inline-input |
|
|
let resultBox = document.getElementById("resultBox"); //用数组可以读取多个标签的元素 //.inline-input |
|
|
// 绑定键盘事件到文本框 |
|
|
// 绑定键盘事件到文本框 |
|
|
resultBox.addEventListener("click", function (event) { |
|
|
resultBox.addEventListener("click", function (event) { |
|
|
|
|
|
event.preventDefault(); |
|
|
// 获取光标位置 |
|
|
// 获取光标位置 |
|
|
that.getCaretPosition(); |
|
|
that.getCaretPosition(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
resultBox.addEventListener("input", function (event) { |
|
|
resultBox.addEventListener("input", function (event) { |
|
|
|
|
|
event.preventDefault(); |
|
|
// 获取光标位置 |
|
|
// 获取光标位置 |
|
|
that.getCaretPosition(); |
|
|
that.getCaretPosition(); |
|
|
}); |
|
|
}); |
|
|
|