Browse Source

修改

master
刘灿 5 months ago
parent
commit
a9b61f16aa
  1. 4
      components/h5WebView.vue
  2. 21
      components/headInfo.vue
  3. 4
      components/publicMessage.vue
  4. 4
      components/scan.vue
  5. 4
      components/scan1.vue
  6. 56
      pages/operaNurseRecord/index.vue
  7. 32
      unpackage/dist/dev/app-plus/app-service.js
  8. 4
      utils/portAdress.js

4
components/h5WebView.vue

@ -1,4 +1,4 @@
<template>
<!-- <template>
<view class="webViewClass" style="height: 50vh;">
<web-view ref="webViewRef" @onPostMessage="messageData" v-if="webViewShow" :src="url" :fullscreen="false"
:webview-styles="webviewStyles" @load="pageLoadSuccess"></web-view>
@ -50,4 +50,4 @@
// left: -999999px;
// z-index: -99999;
}
</style>
</style -->>

21
components/headInfo.vue

@ -7,12 +7,12 @@
</view>
</view>
<view class="base-two">
<view class="patient-base">
<uni-icons class="patient-base-icon" custom-prefix="iconfont" type="icon-gerenxinxi" size="20"
color="#b6d8f6"></uni-icons>
<uni-icons class="patient-base-icon" custom-prefix="iconfont" type="icon-gerenxinxi" size="20"
color="#b6d8f6"></uni-icons>
<view class="patient-base-name">
<text>{{patientInfo.patientName ? patientInfo.patientName : '-'}} / </text>
<text> {{patientInfo.patientSex ? patientInfo.patientSex : '-'}} / </text>
<text> {{patientInfo.patientBirthday ? patientInfo.patientBirthday : '-'}}</text>
<text> {{ patientInfo.patientSex ? patientInfo.patientSex : '-'}}</text>
<view> {{patientInfo.patientBirthday ? patientInfo.patientBirthday : '-'}}</view>
</view>
</view>
<view class="base-three">
@ -72,17 +72,24 @@
.base-two,
.base-three{
display: flex;
align-items: center;
border: 1px solid #4b657e;
border-radius: 16rpx;
margin-bottom:14rpx
}
.base-two {
background-color: #12395a;
padding-left: 28rpx;
}
.patient-base-icon {
color: #b6d8f6;
font-weight: 700;
margin-right: 20rpx;
}
.patient-base-name {
border-radius: 20rpx;
overflow: hidden;
}
.patient-base {
background-color: #12395a;
border-radius: 20rpx;

4
components/publicMessage.vue

@ -1,4 +1,4 @@
<template>
<!-- <template>
<view class="webViewClass" style="height: 50vh;">
<web-view ref="webViewRef" @onPostMessage="messageData" v-if="webViewShow" :src="url" :fullscreen="false"
:webview-styles="webviewStyles" @load="pageLoadSuccess"></web-view>
@ -50,4 +50,4 @@
// left: -999999px;
// z-index: -99999;
}
</style>
</style -->>

4
components/scan.vue

@ -53,10 +53,10 @@
});
},
startScan() {
main.registerReceiver(receiver, filter);
main ? main.registerReceiver(receiver, filter) : ''
},
stopScan() {
main.unregisterReceiver(receiver);
main ? main.unregisterReceiver(receiver) : ''
},
queryCode: function(code) {
if (_codeQueryTag) return false;

4
components/scan1.vue

@ -45,10 +45,10 @@
});
},
startScan1() {
main1.registerReceiver(receiver1, filter1);
main1 ? main1.registerReceiver(receiver1, filter1): ''
},
stopScan1() {
main1.unregisterReceiver(receiver1);
main1 ? main1.unregisterReceiver(receiver1) : ''
},
queryCode1: function(code) {
if (_codeQueryTag1) return false;

56
pages/operaNurseRecord/index.vue

@ -220,7 +220,7 @@
<input type="text" :value="formListValue.centerBbmc" placeholder="请输内容"
@input="inputHandle('centerBbmc',$event)" />
</view>
<view class="content-sign">
<!-- <view class="content-sign">
<view class="operaDoctorSign operaSign">
<text>医生签字:</text>
<view class="sign"
@ -234,18 +234,9 @@
<image v-if="formListValue.centerDoctorSign" mode="widthFix"
:src="formListValue.centerDoctorSign" alt="" class="img-class">
</view>
<!-- <view>
<text
v-if="!formListValue.centerDoctorSign">{{ formListValue.centerDoctorName ? formListValue.centerDoctorName : '-' }}</text>
<view class="image-father" v-else>
<image mode="widthFix" :src="formListValue.centerDoctorSign" alt=""
class="img-class">
</view>
</view> -->
</view>
</view>
</view>
</view> -->
<view class="form-qxName-father">
<view class="form-qxName form">
<text class="form-qxName-text">器械名称:</text>
@ -849,8 +840,10 @@
}
})
let userInfo = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo')) : ''
this.formListValue.backNurseName = userInfo.realName
this.formListValue.backNurseCode = userInfo.employeeId
// res.data.centerDoctorSign ? '' : this.getZdDoctorSign('centerDoctorSign', '', 'centerDoctorCode',
// 'centerDoctorName')
res.data.backNurseSign ? '' : this.getSystomSign('backNurseSign', '', 'backNurseCode',
'backNurseName')
} else {
uni.showToast({
icon: 'none',
@ -977,19 +970,19 @@
}
},
//
async getZdDoctorSign(sign, date, code, name) {
const res = await this.$baseAPI.request(this.$portAdress.getMainDoctorSign, {
operaPatientId: this.optionList.operaId
})
if (res.code === 0) {
this.getCaUserSignImg(sign, date, code, name, res.data)
} else {
uni.showToast({
title: res.msg,
icon: 'none'
})
}
},
// async getZdDoctorSign(sign, date, code, name) {
// const res = await this.$baseAPI.request(this.$portAdress.getMainDoctorSign, {
// operaPatientId: this.optionList.operaId
// })
// if (res.code === 0) {
// this.getCaUserSignImg(sign, date, code, name, res.data)
// } else {
// uni.showToast({
// title: res.msg,
// icon: 'none'
// })
// }
// },
//
getSystomSign(sign, date, code, name) {
let userInfo = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo')) : ''
@ -1052,9 +1045,18 @@
console.log('保存', res);
if (res.code === 0) {
if (this.sendCaStatus == 1) {
// this.operaFormDataCaSign({
// caSignData: JSON.stringify(this.formListValue),
// doctorCode: this.formListValue.centerDoctorCode,
// formFlag: '12',
// formId: res.data,
// formName: '',
// patientId: this.formListValue.patientId,
// patientName: this.formListValue.patientName,
// })
this.operaFormDataCaSign({
caSignData: JSON.stringify(this.formListValue),
doctorCode: this.formListValue.centerDoctorCode,
doctorCode: this.formListValue.backNurseCode,
formFlag: '12',
formId: res.data,
formName: '屈光手术护理记录单',

32
unpackage/dist/dev/app-plus/app-service.js

File diff suppressed because one or more lines are too long

4
utils/portAdress.js

@ -1,10 +1,10 @@
// 后台接口封装
// const baseURL = 'http://192.168.0.35:8001/hz_quguang'
const baseURL = 'http://192.168.0.35:8001/hz_quguang'
// const baseURL1 = 'https://quguang.huimu.cloud'
// 温州内网测试环境
// const baseURL = 'http://192.168.4.109:8022/quguang'
// 温州内网线上环境
const baseURL = 'http://172.17.1.65:80/hz_quguang'
// const baseURL = 'http://172.17.1.65:80/hz_quguang'
// const baseURL1 = 'http://192.168.2.32:89'
export default {
// baseURL:`${baseURL1}`, // 跳转到web页面的地址

Loading…
Cancel
Save