yht2016 4 tahun lalu
induk
melakukan
67e4724af6
1 mengubah file dengan 10 tambahan dan 7 penghapusan
  1. 10 7
      app/rehabilitation/html/medical-records-detail.html

+ 10 - 7
app/rehabilitation/html/medical-records-detail.html

@ -12,37 +12,37 @@
	<body>
		<div id="app" v-cloak>
            <div class="p15">
                <div class="flex ptb15">
                <div class="flex vc ptb15">
                    <span class="c-666 c-f15 mr10" style="width: 90px;">姓&emsp;&emsp;名:</span>
                    <div class="flex1 c-333 c-f15">
                        {{model.patientName}}
                    </div>
                </div>
                <div class="flex ptb15">
                <div class="flex vc ptb15">
                    <span class="c-666 c-f15 mr10" style="width: 90px;">入院时间:</span>
                    <div class="flex1 c-333 c-f15">
                        {{model.admissionTime}}
                    </div>
                </div>
                <div class="flex ptb15">
                <div class="flex vc ptb15">
                    <span class="c-666 c-f15 mr10" style="width: 90px;">入院诊断:</span>
                    <div class="flex1 c-333 c-f15">
                        {{model.admittingDiagnosisName}}
                    </div>
                </div>
                <div class="flex ptb15">
                <div class="flex vc ptb15">
                    <span class="c-666 c-f15 mr10" style="width: 90px;">出院时间:</span>
                    <div class="flex1 c-333 c-f15">
                        {{model.dischargeTime}}
                    </div>
                </div>
                <div class="flex ptb15">
                <div class="flex vc ptb15">
                    <span class="c-666 c-f15 mr10" style="width: 90px;">出院诊断:</span>
                    <div class="flex1 c-333 c-f15">
                        {{model.dischargeDiagnosisName}}
                    </div>
                </div>
                <div class="flex ptb15">
                <div class="flex vc ptb15">
                    <span class="c-666 c-f15 mr10" style="width: 90px;">医嘱小结:</span>
                    <div class="flex1 c-333 c-f15">
                        {{model.advice}}
@ -89,10 +89,13 @@
                            if(res.status==200){
                                vm.model = res.data[0]
                                var arr = vm.model.images || vm.model.images !='' ? vm.model.images.split(','):[]
                                var arr1 = []
                                $.each(arr, function(index, item){
                                    item = httpRequest.getImgUrl(item)
                                    arr1.push(item)
                                    return item
                                })
                                vm.model.imgList = arr
                                vm.model.imgList = arr1
                            }else {
                                showErrorMessage(res.msg);
                            }