pengjun 3 weeks ago
parent
commit
1b160e1de0
  1. 11
      src/components/common/LocalConfig.vue
  2. 8
      src/components/doctorCheck/CheckItemList.vue

11
src/components/common/LocalConfig.vue

@ -118,6 +118,16 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="结果模板显示">
<el-select v-model="LocalConfig.doctorCheck.resultModeDisp" placeholder="请选择" size="small" filterable>
<el-option label="紧凑排列" value="flex" />
<el-option label="一行一个" value="block" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="是否显示图片">
@ -292,6 +302,7 @@ export default {
pacsDescFontSize: 14, //
isHaveExternal:'N', // pacs
hisItemRight:0, //
resultModeDisp:'flex', // flex block
},
lisLab: {
specimens: [], // ID

8
src/components/doctorCheck/CheckItemList.vue

@ -86,13 +86,13 @@
<div style="margin-top: -10px" @contextmenu.prevent="onContextmenuTemplate">
<el-checkbox v-model="LocalConfig.doctorCheck.isSplitChooseResult" size="small" true-label="Y"
false-label="N">选结果模板时自动添加分隔符</el-checkbox>
<div style="
<div :style="`
overflow-y: auto;
height: 300px;
width: 100%;
display: flex;
display: ${LocalConfig.doctorCheck.resultModeDisp||'flex'};
flex-wrap: wrap;
align-content: flex-start;
align-content: flex-start;`
">
<div v-for="item in moreResult.data" :key="item.id" style="margin: 5px; cursor: pointer"
@click="clickResult(item)" @dblclick="dblclickResult(item)">
@ -266,6 +266,7 @@ export default {
pacsDescFontSize: "14px", //
isSplitChooseResult: "Y", //
hisItemRight:0, //
resultModeDisp:'flex', // flex block
}
},
@ -301,6 +302,7 @@ export default {
if (LocalConfig?.doctorCheck?.pacsDescFontSize) this.LocalConfig.doctorCheck.pacsDescFontSize = LocalConfig.doctorCheck.pacsDescFontSize + 'px'
if (LocalConfig?.doctorCheck?.isSplitChooseResult) this.LocalConfig.doctorCheck.isSplitChooseResult = LocalConfig.doctorCheck.isSplitChooseResult
if (LocalConfig?.doctorCheck?.hisItemRight) this.LocalConfig.doctorCheck.hisItemRight = Number(LocalConfig.doctorCheck.hisItemRight)
if (LocalConfig?.doctorCheck?.resultModeDisp) this.LocalConfig.doctorCheck.resultModeDisp = LocalConfig.doctorCheck.resultModeDisp
},
//

Loading…
Cancel
Save