1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <template>
- <view class="main">
- <view class="content">
- <view class="info">
- <view class="title">{{item.medTechProName}}</view>
- <view class="p5">报告编号: {{item.reportNo}}</view>
- <view class="p5">就 诊 人: {{item.patientName}}</view>
- <view class="p5">就诊卡号: {{item.cardId}}</view>
- <view class="p5">申请科室: {{item.inspectionDepartmentName}}</view>
- <view class="p5">申请医生: {{item.applyDoctorName}}</view>
- <view class="p5">采集时间: {{item.sampleReceivedDate}}</view>
- <view class="p5" style="padding-bottom: 10px;">报告时间: {{item.reportDate}}</view>
- </view>
- <view class="flex" style="font-weight: bold;font-size: 16px;margin: 10px 0;">
- <view class="f">项目</view>
- <view class="f">检查结果</view>
- <view class="f">提示</view>
- <view class="f">单位</view>
- <view class="f">参考范围</view>
- </view>
- <view class="flex" v-for="(i,index) in list" style="font-size: 12px;margin: 10px 0;">
- <view class="f">{{i.mecTechObsName}}</view>
- <view class="f">{{i.obsProjectDetail}}</view>
- <view class="f">
- <text class="icon arrow" style="color: red;" v-if="i.sign == '1'"></text>
- <text class="icon arrow" style="color: red;" v-else-if="i.sign == '2'"></text>
- <text v-else></text>
- </view>
- <view class="f">{{i.unitCode}}</view>
- <view class="f">{{i.result}}</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- item: {},
- list:[],
- }
- },
- onLoad(e) {
- this.getData(e)
- },
- methods: {
- getData(e){
- console.log(e);
- this.http.request({
- url: '/work/result/getResults/' + e.id,
- loading: 'true',
- success: (res) => {
- this.list = res.data.data
- }
- });
- this.http.request({
- url: '/work/report/getReportByObrId/'+ e.orcId,
- loading: 'true',
- success: (res) => {
- this.item = res.data.data
- this.item.patientName = e.patientName
- this.item.sampleReceivedDate = e.sampleReceivedDate
- this.item.reportDate = e.reportDate
- }
- });
- }
- }
- }
- </script>
- <style lang="scss">
- .content {
- padding: 15px;
- background-color: white;
- border-radius: 8px;
- .info {
- border-bottom: 1px solid $line;
- font-size: 12px;
- padding-bottom: 10px;
- .title {
- font-weight: bold;
- font-size: 16px;
- padding-bottom: 5px;
- }
- }
- }
- .p5 {
- padding: 5px 0;
- }
- </style>
|