|
|
@ -120,7 +120,7 @@ |
|
|
<div> |
|
|
<div> |
|
|
<!-- 结果录入模版 --> |
|
|
<!-- 结果录入模版 --> |
|
|
<el-dialog title="结果录入模版" :visible.sync="dialogWinMoreResult" width="800px" :close-on-click-modal="false"> |
|
|
<el-dialog title="结果录入模版" :visible.sync="dialogWinMoreResult" width="800px" :close-on-click-modal="false"> |
|
|
<div style="margin-top: -10px"> |
|
|
|
|
|
|
|
|
<div style="margin-top: -10px" @contextmenu.prevent="onContextmenuTemplate"> |
|
|
<el-checkbox v-model="LocalConfig.doctorCheck.isSplitChooseResult" size="small" true-label="Y" |
|
|
<el-checkbox v-model="LocalConfig.doctorCheck.isSplitChooseResult" size="small" true-label="Y" |
|
|
false-label="N">选结果模板时自动添加分隔符;</el-checkbox> |
|
|
false-label="N">选结果模板时自动添加分隔符;</el-checkbox> |
|
|
<div style=" |
|
|
<div style=" |
|
|
@ -1226,6 +1226,34 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 模板右击 |
|
|
|
|
|
onContextmenuTemplate(event) { |
|
|
|
|
|
if (!this.$peisAPI) return |
|
|
|
|
|
let menus = [ |
|
|
|
|
|
{ type: 'separator' }, |
|
|
|
|
|
{ label: '显示明细历次结果', itemId: '显示明细历次结果', enabled: true }, |
|
|
|
|
|
{ label: '预览影像报告', itemId: '预览影像报告', enabled: true } |
|
|
|
|
|
// { label: '测试菜单', itemId: '测试菜单', enabled: true }, |
|
|
|
|
|
// { |
|
|
|
|
|
// label: '更多操作', |
|
|
|
|
|
// submenu: [ |
|
|
|
|
|
// { label: '子菜单', itemId: '子菜单', enabled: true } |
|
|
|
|
|
// ] |
|
|
|
|
|
// } |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
this.$peisAPI.showContextMenu(menus) |
|
|
|
|
|
.then(res => { |
|
|
|
|
|
console.log('res', res) |
|
|
|
|
|
}) |
|
|
|
|
|
.catch(err => { |
|
|
|
|
|
console.log('err', err) |
|
|
|
|
|
}) |
|
|
|
|
|
.finally(() => { |
|
|
|
|
|
console.log('finally') |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 自定义右击事件 |
|
|
// 自定义右击事件 |
|
|
onContextMenuDIY(data) { |
|
|
onContextMenuDIY(data) { |
|
|
//this.$message({showClose:true,message:data}) |
|
|
//this.$message({showClose:true,message:data}) |
|
|
|