|
@@ -38,7 +38,7 @@
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
- <div class="cont-left-file" @mouseup.prevent="handleMouseupHandle">
|
|
|
|
|
|
+ <div class="cont-left-file" @mouseup.prevent="handleMouseupHandle" @contextmenu.prevent="handelContextmenu">
|
|
<div v-if="is_active == 0">
|
|
<div v-if="is_active == 0">
|
|
<mainHomePage ref="main" :data="mainHomeData" :if-file="ifFile" />
|
|
<mainHomePage ref="main" :data="mainHomeData" :if-file="ifFile" />
|
|
</div>
|
|
</div>
|
|
@@ -280,12 +280,17 @@ export default {
|
|
this.getCaseQualityResults()
|
|
this.getCaseQualityResults()
|
|
},
|
|
},
|
|
// 鼠标右击事件
|
|
// 鼠标右击事件
|
|
|
|
+ handelContextmenu() {
|
|
|
|
+ if (this.dialogData.text) {
|
|
|
|
+ this.dialogData.bSwitch = true
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ // 鼠标事件
|
|
handleMouseupHandle() {
|
|
handleMouseupHandle() {
|
|
const text = window.getSelection().toString()
|
|
const text = window.getSelection().toString()
|
|
if (text.trim().length) {
|
|
if (text.trim().length) {
|
|
this.dialogData.blbh = this.is_active_blbh
|
|
this.dialogData.blbh = this.is_active_blbh
|
|
this.dialogData.text = text
|
|
this.dialogData.text = text
|
|
- this.dialogData.bSwitch = true
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 获取新病案指控结果
|
|
// 获取新病案指控结果
|