12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <template>
- <keep-alive>
- <div style="box-sizing: content-box;" >
- <!-- <drag-tool @delete="deleteModule" :is-edit="isEdit" @copy="copyModule" @active="activeModule" :unique="data.unique">-->
- <div class="box-card radius" style="box-shadow: 1px 1px 3px 1px #eee" :style="moduleComputedStyle" v-if="isEdit?true:(data.moduleConfig.dataConfig.showOnPatientIn?(bindData.items[childDataIndex].member_id!==null):(bindData.items[childDataIndex].member_id===null))">
- <slot></slot>
- </div>
- <!-- </drag-tool>-->
- </div>
- </keep-alive>
- </template>
- <script>
- import mixin from '../../mixinnew'
- import DragTool from "../DragTool";
- export default {
- name: "tpl-bed-unit",
- components: {DragTool},
- mixins: [mixin],
- title: '床位单元格',
- data(){
- return{
- }
- },
- dataTpl: {
- tpl_id: 6,
- tpl_type: 'BOARD_ITEM',
- unique:'',
- moduleIconClass:'icon-line-card',
- isEdit:true,
- moduleConfig:{
- moduleStyle: {
- borderColor: '#ff0000',
- borderWidth:'1px',
- borderRadius:'5px',
- borderStyle:'solid',
- backgroundColor:''
- },
- styleConfig:{
- borderColorWithNurse:'', //边框颜色跟随的护理信息分类
- backgroundColorWithNurse:'', //模块背景色跟随的护理信息分类
- boxShadowShow:false,
- boxShadowColor:''
- },
- dataConfig:{
- showOnPatientIn:true
- }
- },
- children:([])
- }
- }
- </script>
- <style scoped>
- </style>
|