123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294 |
- <template>
- <div id="MyDiv">
- <div class="cont-left">
- <div class="cont-title-description">滨州医学院烟台附属医院</div>
- <div class="cont-title-item">临时医嘱单</div>
- <div></div>
- <div class="cont-title-name">
- <div class="cont-title-item">
- <span class="cont-title-text">姓名:</span>
- <span class="cont-title-normal" v-if="dataObj.info">{{ dataObj.info.AAA01 }}</span>
- </div>
- <div class="cont-title-item">
- <span class="cont-title-text">性别:</span>
- <span class="cont-title-normal" v-if="dataObj.info">{{ dataObj.info.AAA02C }}</span>
- </div>
- <div class="cont-title-item">
- <span class="cont-title-text">年龄:</span>
- <span class="cont-title-normal" v-if="dataObj.info">{{ dataObj.info.AAA04 }}</span>
- </div>
- <div class="cont-title-item">
- <span class="cont-title-text cont-title-twidt">科别:</span>
- <span class="cont-title-normal" v-if="dataObj.info">{{ dataObj.info.AAB02C }}</span>
- </div>
- <div class="cont-title-item">
- <span class="cont-title-text">床号:</span>
- <span class="cont-title-normal"></span>
- </div>
- <div class="cont-title-item">
- <span class="cont-title-text">住院号:</span>
- <span class="cont-title-normal" v-if="dataObj.info">{{ dataObj.info.AAA28 }}</span>
- </div>
- </div>
- <div class="table">
- <table ref="tables">
- <tr style="height: 10px">
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- <td style="height: 10px" class="table-value m-all" colspan="1"></td>
- </tr>
- <tr>
- <td class="table-label medical-font" colspan="1">日期</td>
- <td class="table-label medical-font" colspan="1">时间</td>
- <td class="table-label medical-font" colspan="3">医嘱</td>
- <td class="table-label medical-font" colspan="1">剂量</td>
- <td class="table-label medical-font" colspan="1">用法</td>
- <td class="table-label medical-font" colspan="1">医师签名</td>
- <td class="table-label medical-font" colspan="1">护士签名</td>
- <td class="table-label medical-font" colspan="1">执行时间</td>
- </tr>
- <tr v-for="(item, index) in dataObj.list" :key="index">
- <td class="table-value" colspan="1">{{ item.DATE }}</td>
- <td class="table-value" colspan="1">{{ item.TIME }}</td>
- <td class="table-value" colspan="3">{{ item.YZMC }}</td>
- <td class="table-value" colspan="1">{{ item.YCJL }}</td>
- <td class="table-value" colspan="1">{{ item.SYPC }}</td>
- <td class="table-value" colspan="1">{{ item.KZYS }}</td>
- <td class="table-value" colspan="1">{{ item.XZJDGH }}</td>
- <td class="table-value" colspan="1">{{ item.XZJDSJ }}</td>
- </tr>
- <tr>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="5"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- </tr>
- <tr>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="5"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- </tr>
- <tr>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="5"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- </tr>
- <tr>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="5"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- </tr>
- <tr>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="5"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- <td class="table-value" colspan="1"></td>
- </tr>
- </table>
- </div>
- <div class="bottom-time bottom-time-top">
- <div class="bottom-time-list" v-if="dataObj.info.HCRQ">
- <span class="bottom-time-bold">护士分床时间:</span>
- <span>{{ dataObj.info.HCRQ }}</span>
- </div>
- <div class="bottom-time-list" v-if="dataObj.info.AAC01">
- <span class="bottom-time-bold">出院时间:</span>
- <span>{{ dataObj.info.AAC01 }}</span>
- </div>
- </div>
- <div class="bottom-time bottom-time-botom" v-if="dataObj.info.SWSJ">
- <div class="bottom-time-list">
- <span class="bottom-time-bold">死亡时间:</span>
- <span>{{ dataObj.info.SWSJ }}</span>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- // import OtherComponent from '@/components/OtherComponent'
- export default {
- name: 'medicalTemporary',
- components: {
- // OtherComponent
- },
- directives: {},
- filters: {},
- extends: {},
- mixins: {},
- props: {
- dataObj: {
- type: Object,
- default: null,
- },
- },
- data() {
- return {
- data: '',
- ifFile: false,
- };
- },
- computed: {},
- watch: {},
- beforeCreate() {
- // 生命周期钩子:组件实例刚被创建,组件属性计算之前,如 data 属性等
- },
- created() {
- // 生命周期钩子:组件实例创建完成,属性已绑定,但 DOM 还未生成,el 属性还不存在
- // 初始化渲染页面
- },
- beforeMount() {
- // 生命周期钩子:模板编译/挂载之前
- },
- mounted() {
- // 生命周期钩子:模板编译、挂载之后(此时不保证已在 document 中)
- },
- beforeUpate() {
- // 生命周期钩子:组件更新之前
- },
- updated() {
- // 生命周期钩子:组件更新之后
- },
- activated() {
- // 生命周期钩子:keep-alive 组件激活时调用
- },
- deactivated() {
- // 生命周期钩子:keep-alive 组件停用时调用
- },
- beforeDestroy() {
- // 生命周期钩子:实例销毁前调用
- },
- destroyed() {
- // 生命周期钩子:实例销毁后调用
- },
- errorCaptured(err, vm, info) {
- // 生命周期钩子:当捕获一个来自子孙组件的错误时被调用。此钩子会收到三个参数:错误对象、发生错误的组件实例以及一个包含错误来源信息的字符串。
- console.log(err, vm, info);
- },
- methods: {},
- };
- </script>
- <style lang="scss" scoped>
- #MyDiv {
- // padding:0 15px;
- margin: 0 15px;
- }
- .cont-title {
- display: flex;
- justify-content: space-between;
- span {
- padding: 5px;
- }
- }
- .cont-title-item {
- width: 100%;
- margin: 0 auto;
- display: flex;
- justify-content: center;
- font-size: 20px;
- padding: 20px 0 10px 0;
- font-weight: 600;
- }
- .cont-left {
- // flex: 1;
- // min-height: 650px;
- // margin: 0 15px;
- // height: 800px;
- // overflow-y: scroll;
- background: #ffffff;
- // border: 1px solid #e2e2e2;
- padding: 10px;
- .cont-title-name {
- width: 100%;
- height: 50px;
- display: flex;
- // align-items: flex-end;
- justify-content: space-between;
- .cont-title-item {
- flex: 1;
- text-align: left;
- display: flex;
- justify-content: left;
- }
- .cont-title-text {
- font-weight: bold;
- }
- .cont-title-twidt {
- width: 35px;
- }
- .cont-title-normal {
- font-weight: normal;
- margin-left: 5px;
- }
- }
- }
- .cont-title-description {
- margin: 20px;
- font-size: 24px;
- font-weight: bold;
- color: #2c3240;
- // width: 1200px;
- text-align: center;
- }
- table {
- min-width: 1000px;
- table-layout: fixed;
- empty-cells: show;
- border-collapse: collapse;
- margin: 0 auto;
- margin-bottom: 30px;
- td {
- border: 1px solid #dddddd;
- // padding-left: 16px;
- text-align: center;
- font-size: 12px;
- box-sizing: border-box;
- }
- .table-label {
- width: 150px;
- height: 40px;
- color: #666666;
- background-color: #f9f9f9;
- }
- .table-value {
- width: 210px;
- height: 40px;
- color: #333333;
- // padding-right: 16px;
- text-align: center;
- }
- }
- .m-all {
- border: none;
- }
- .m-left {
- border-left: none;
- }
- .m-right {
- border-right: none;
- }
- .medical-font {
- font-weight: bold;
- }
- </style>
|