You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1211 lines
40 KiB

<template>
<view class="operaSafetyCheck">
<uni-nav-bar dark :fixed="true" :border="false" background-color="#002648" status-bar left-icon="left"
title="屈光手术安全核查表" @clickLeft="back">
</uni-nav-bar>
<template v-if="title !== '屈光手术安全核查表'">
<view class="checkComplete">
<icon type="success" size="40" />
<view class="checkComplete-text-one">核查完成</view>
<view class="checkComplete-text-two">核查完成后请填写相应表单</view>
</view>
</template>
<view v-show="optionList.flag==='all' || optionList.flag==='two'" class="operaBefore">
<view class="BT-text">麻醉实施前</view>
<view class="opera-content">
<view class="patientinfo-father">
<view class="patientInfo flex-1">
<text class="patient-text">
<text>PID:</text>
{{formListValue.patientId ? formListValue.patientId : '-'}}
</text>
<text class="patient-text">
<text>姓名:</text>
{{formListValue.patientName ? formListValue.patientName : '-'}}
</text>
<text class="patient-text">
<text>性别:</text>
{{formListValue.patientSex ? formListValue.patientSex : '-'}}
</text>
</view>
<view class="patientInfo flex-2 margin-top-10 ">
<text class="font-w">手术方式:</text>
<view>
<view v-show="formListValue.nsOuOperaBieM">OU:{{formListValue.nsOuOperaBieM}}</view>
<view v-show="formListValue.nsOdOperaBieM">OD:{{formListValue.nsOdOperaBieM}}</view>
<view v-show="formListValue.nsOsOperaBieM">OS:{{formListValue.nsOsOperaBieM}}</view>
</view>
</view>
<view class="patientInfo flex-1 margin-top-10">
<text class="patient-text">
<text>主刀医生:</text>
{{formListValue.mainDoctorName ? formListValue.mainDoctorName : '-'}}
</text>
</view>
</view>
<view class="operaBefore-form">
<view class="form-nameAgeSure form">
<text>姓名/性别/年龄/PID等正确:</text>
<radio-group @change="radioChange('beforeXm',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforeXm"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-surgicalMethod form">
<text>手术方式确认:</text>
<radio-group @change="radioChange('beforeSsfs',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforeSsfs"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-positionBS form">
<text>手术部位与标识正确:</text>
<radio-group @change="radioChange('beforeSsbwBs',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforeSsbwBs"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-informedConsent form">
<text>手术知情同意:</text>
<radio-group @change="radioChange('beforeSszqty',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforeSszqty"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-skinComplete form">
<text>皮肤是否完整:</text>
<radio-group @change="radioChange('beforePfsfwc',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforePfsfwc"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-SySkinReadySure form">
<text>术野皮肤准备正确:</text>
<radio-group @change="radioChange('beforeSypfzb',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforeSypfzb"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-other-father">
<view class="form-other form">
<text>患者是否有过敏史:</text>
<radio-group @change="radioChange('beforeSfgm',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforeSfgm"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view v-if="formListValue.beforeSfgm==='是'">
<checkbox-group @change="checkboxChange('beforeSfgmCheck',$event)">
<label class="form-doctor-label" v-for="(item,index) in gmsList" :key="index">
<checkbox class="gmcheck" :value="item.name"
:checked="formListValue.beforeSfgmCheck.indexOf(item.name)!=-1 ">{{item.name}}
</checkbox>
</label>
</checkbox-group>
<input class="gminput" type="text" :value="formListValue.beforeSfgmInput" placeholder="请输内容"
@input="inputHandle('beforeSfgmInput',$event)" />
</view>
</view>
<view class="form-Zlbdj form">
<text>治疗绷带镜确认:</text>
<radio-group @change="radioChange('beforeZlbdj',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforeZlbdj"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-other-father">
<view class="form-other form">
<text>其它</text>
<radio-group @change="radioChange('beforeQtOrder',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.beforeQtOrder"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<input v-if="formListValue.beforeQtOrder==='是'" type="text" :value="formListValue.beforeQtInput"
placeholder="请输内容" @input="inputHandle('beforeQtInput',$event)" />
</view>
</view>
<view class="content-sign">
<view class="operaDoctorSign operaSign">
<text>手术医生签字:</text>
<view class="sign" :style="{ background: formListValue.beforeYsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.beforeYsSign"
@click="getYsSign('beforeYsSign','beforeYsCode','beforeYsName')">获取签字</text>
<view class="image-father" v-if="formListValue.beforeYsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('beforeYsSign','beforeYsCode','beforeYsName')" />
<img v-if="formListValue.beforeYsSign" mode="widthFix" :src="formListValue.beforeYsSign"
alt="" class="img-class">
</view>
</view>
</view>
<view class="zhuShouSign operaSign">
<text>技师签字:</text>
<view class="sign" :style="{ background: formListValue.beforeJsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.beforeJsSign"
@click="geLoginSign('beforeJsSign','beforeJsCode','beforeJsName')">获取签字</text>
<view class="image-father" v-if="formListValue.beforeJsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('beforeJsSign','beforeJsCode','beforeJsName')" />
<image v-if="formListValue.beforeJsSign" mode="widthFix"
:src="formListValue.beforeJsSign" alt="" class="img-class">
</view>
</view>
</view>
<view class="nurseSign operaSign">
<text>手术室护士签字:</text>
<view class="sign" :style="{ background: formListValue.beforeHsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.beforeHsSign"
@click="geLoginSign('beforeHsSign','beforeHsCode','beforeHsName')">获取签字</text>
<view class="image-father" v-if="formListValue.beforeHsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('beforeHsSign','beforeHsCode','beforeHsName')" />
<image v-if="formListValue.beforeHsSign" mode="widthFix"
:src="formListValue.beforeHsSign" alt="" class="img-class">
</view>
</view>
</view>
</view>
<view class="form-time form">
<text>时间:</text>
<text style="color: #1c76fd;">{{formListValue.beforeTime ? formListValue.beforeTime : '空'}}</text>
</view>
</view>
</view>
<view v-show="optionList.flag==='all' || optionList.flag==='two'" class="operaCheck">
<view class="BT-text">手术开始前</view>
<view class="opera-content">
<view class="patientinfo-father">
<view class="patientInfo flex-1">
<text class="patient-text">
<text>PID:</text>
{{formListValue.patientId ? formListValue.patientId : '-'}}
</text>
<text class="patient-text">
<text>姓名:</text>
{{formListValue.patientName ? formListValue.patientName : '-'}}
</text>
<text class="patient-text">
<text>性别:</text>
{{formListValue.patientSex ? formListValue.patientSex : '-'}}
</text>
</view>
<view class="patientInfo flex-2 margin-top-10 ">
<text class="font-w">手术方式:</text>
<view>
<view v-show="formListValue.nsOuOperaBieM">OU:{{formListValue.nsOuOperaBieM}}</view>
<view v-show="formListValue.nsOdOperaBieM">OD:{{formListValue.nsOdOperaBieM}}</view>
<view v-show="formListValue.nsOsOperaBieM">OS:{{formListValue.nsOsOperaBieM}}</view>
</view>
</view>
<view class="patientInfo flex-1 margin-top-10">
<text class="patient-text">
<text>主刀医生:</text>
{{formListValue.mainDoctorName ? formListValue.mainDoctorName : '-'}}
</text>
</view>
</view>
<view class="operaCheck-form">
<view class="form-nameAgeSure form">
<text>姓名/性别/年龄/PID等正确:</text>
<radio-group @change="radioChange('centerXm',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.centerXm"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-surgicalMethod form">
<text>手术方式确认:</text>
<radio-group @change="radioChange('centerSsfs',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.centerSsfs"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-positionBS form">
<text>手术部位与标识正确:</text>
<radio-group @change="radioChange('centerSsbwBs',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.centerSsbwBs"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-Zlbdj form">
<text>治疗绷带镜确认:</text>
<radio-group @change="radioChange('centerZlbdj',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.centerZlbdj"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-doctor-father">
<view class="form-doctor-father-text">手术医师陈述:</view>
<view class="form-doctor form">
<view>
<view>是否需要相关检查资料</view>
<view>(包括Pamtacan/OCT等检查)</view>
</view>
<radio-group @change="radioChange('centerYscsOrder',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.centerYscsOrder"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<checkbox-group @change="checkboxChange('centerYscsCheck',$event)">
<label class="form-doctor-label" v-for="(item,index) in checkList" :key="index">
<checkbox :value="item.name"
:checked="formListValue.centerYscsCheck.indexOf(item.name)!=-1 ">{{item.name}}
</checkbox>
</label>
</checkbox-group>
</view>
<view class="form-nurse-father">
<view class="form-nurse-father-text">手术室护士陈述:</view>
<view class="form-nurseMieJun form">
<text>仪器设备物品灭菌合格:</text>
<radio-group @change="radioChange('centerHscsMjhg',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.centerHscsMjhg"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-nurseMedication form">
<text>术前术中用药:</text>
<radio-group @change="radioChange('centerHscsSqSzYy',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name"
:checked="item.name === formListValue.centerHscsSqSzYy" color="#1989FA"
style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-nurseOrderOther form">
<text>其它:</text>
<radio-group @change="radioChange('centerHscsQtOrder',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name"
:checked="item.name === formListValue.centerHscsQtOrder" color="#1989FA"
style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<input v-if="formListValue.centerHscsQtOrder==='是'" type="text"
:value="formListValue.centerHscsQtInput" placeholder="请输入内容"
@input="inputHandle('centerHscsQtInput',$event)" />
</view>
</view>
<view class="content-sign">
<view class="operaDoctorSign operaSign">
<text>手术医生签字:</text>
<view class="sign" :style="{ background: formListValue.centerYsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.centerYsSign"
@click="getYsSign('centerYsSign','centerYsCode','centerYsName')">获取签字</text>
<view class="image-father" v-if="formListValue.centerYsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('centerYsSign','centerYsCode','centerYsName')" />
<image v-if="formListValue.centerYsSign" mode="widthFix"
:src="formListValue.centerYsSign" alt="" class="img-class">
</view>
</view>
</view>
<view class="zhuShouSign operaSign">
<text>技师签字:</text>
<view class="sign" :style="{ background: formListValue.centerJsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.centerJsSign"
@click="geLoginSign('centerJsSign','centerJsCode','centerJsName')">获取签字</text>
<view class="image-father" v-if="formListValue.centerJsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('centerJsSign','centerJsCode','centerJsName')" />
<image v-if="formListValue.centerJsSign" mode="widthFix"
:src="formListValue.centerJsSign" alt="" class="img-class">
</view>
</view>
</view>
<view class="nurseSign operaSign">
<text>手术室护士签字:</text>
<view class="sign" :style="{ background: formListValue.centerHsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.centerHsSign"
@click="geLoginSign('centerHsSign','centerHsCode','centerHsName')">获取签字</text>
<view class="image-father" v-if="formListValue.centerHsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('centerHsSign','centerHsCode','centerHsName')" />
<image v-if="formListValue.centerHsSign" mode="widthFix"
:src="formListValue.centerHsSign" alt="" class="img-class">
</view>
</view>
</view>
</view>
<view class="form-time form">
<text>时间:</text>
<text style="color: #1c76fd;">{{formListValue.centerTime ? formListValue.centerTime : '空'}}</text>
</view>
</view>
</view>
<view v-show="optionList.flag==='all' || optionList.flag==='one'" class="operaBackCheck">
<view class="BT-text">患者离开手术室前</view>
<view class="opera-content">
<view class="patientinfo-father">
<view class="patientInfo flex-1">
<text class="patient-text">
<text>PID:</text>
{{formListValue.patientId ? formListValue.patientId : '-'}}
</text>
<text class="patient-text">
<text>姓名:</text>
{{formListValue.patientName ? formListValue.patientName : '-'}}
</text>
<text class="patient-text">
<text>性别:</text>
{{formListValue.patientSex ? formListValue.patientSex : '-'}}
</text>
</view>
<view class="patientInfo flex-2 margin-top-10 ">
<text class="font-w">手术方式:</text>
<view>
<view v-show="formListValue.nsOuOperaBieM">OU:{{formListValue.nsOuOperaBieM}}</view>
<view v-show="formListValue.nsOdOperaBieM">OD:{{formListValue.nsOdOperaBieM}}</view>
<view v-show="formListValue.nsOsOperaBieM">OS:{{formListValue.nsOsOperaBieM}}</view>
</view>
</view>
<view class="patientInfo flex-1 margin-top-10">
<text class="patient-text">
<text>主刀医生:</text>
{{formListValue.mainDoctorName ? formListValue.mainDoctorName : '-'}}
</text>
</view>
</view>
<view class="operaBackCheck-form">
<view class="form-nameAgeSure form">
<text>姓名/性别/年龄/PID等正确:</text>
<radio-group @change="radioChange('backXm',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.backXm"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-surgicalMethod form">
<text>实际手术方式确认:</text>
<radio-group @change="radioChange('backSsfs',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.backSsfs"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-medicationCheck form">
<text>术中用药核查:</text>
<radio-group @change="radioChange('backYyhc',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.backYyhc"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-inventorySure form">
<text>手术用物清点正确:</text>
<radio-group @change="radioChange('backSsywqd',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.backSsywqd"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-skinComplete form">
<text>皮肤是否完整:</text>
<radio-group @change="radioChange('backPfsfwz',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.backPfsfwz"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-Zlbdj form">
<text>治疗绷带镜确认:</text>
<radio-group @change="radioChange('backZlbdj',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.backZlbdj"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<view class="form-other-father">
<view class="form-other form">
<text>其它</text>
<radio-group @change="radioChange('backQtOrder',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in radioList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.backQtOrder"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<input v-if="formListValue.backQtOrder==='是'" type="text" :value="formListValue.backQtInput"
placeholder="请输内容" @input="inputHandle('backQtInput',$event)" />
</view>
<view class="form-other-father">
<view class="form-other form">
<text>患者去向:</text>
<radio-group @change="radioChange('backHzqxOrder',$event)" class="radio-group">
<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in patientWhereList"
:key="index">
<view>
<radio :value="item.name" :checked="item.name === formListValue.backHzqxOrder"
color="#1989FA" style="transform:scale(0.8)" />
</view>
<view>{{item.name}}</view>
</label>
</radio-group>
</view>
<input v-if="formListValue.backHzqxOrder==='其它'" type="text"
:value="formListValue.backHzqxInput" placeholder="请输入内容"
@input="inputHandle('backHzqxInput',$event)" />
</view>
</view>
<view class="content-sign">
<view class="operaDoctorSign operaSign">
<text>手术医生签字:</text>
<view class="sign" :style="{ background: formListValue.backYsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.backYsSign"
@click="getYsSign('backYsSign','backYsCode','backYsName')">获取签字</text>
<view class="image-father" v-if="formListValue.backYsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('backYsSign','backYsCode','backYsName')" />
<image v-if="formListValue.backYsSign" mode="widthFix" :src="formListValue.backYsSign"
alt="" class="img-class">
</view>
</view>
</view>
<view class="zhuShouSign operaSign">
<text>技师签字:</text>
<view class="sign" :style="{ background: formListValue.backJsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.backJsSign"
@click="geLoginSign('backJsSign','backJsCode','backJsName')">获取签字</text>
<view class="image-father" v-if="formListValue.backJsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('backJsSign','backJsCode','backJsName')" />
<image v-if="formListValue.backJsSign" mode="widthFix" :src="formListValue.backJsSign"
alt="" class="img-class">
</view>
</view>
</view>
<view class="nurseSign operaSign">
<text>手术室护士签字:</text>
<view class="sign" :style="{ background: formListValue.backHsSign ? '#fff' : '#E8F5FF'}">
<text class="sign-text" v-if="!formListValue.backHsSign"
@click="geLoginSign('backHsSign','backHsCode','backHsName')">获取签字</text>
<view class="image-father" v-if="formListValue.backHsSign">
<icon type="clear" size="14" class="image-clear"
@click="imageClearClick('backHsSign','backHsCode','backHsName')" />
<image v-if="formListValue.backHsSign" mode="widthFix" :src="formListValue.backHsSign"
alt="" class="img-class">
</view>
</view>
</view>
</view>
<view class="form-time form">
<text>时间:</text>
<text style="color: #1c76fd;">{{formListValue.backTime ? formListValue.backTime : '空'}}</text>
</view>
</view>
</view>
<view class="buttons" @click="sureHandle">保存</view>
</view>
</template>
<script>
import Signature from '@/components/sin-signature/sin-signature.vue'
import {
formatDate
} from '@/utils/util.js'
export default {
data() {
return {
formListValue: {
formName: '屈光手术安全核查表',
// 患者信息
patientName: '',
patientId: '',
patientSex: '',
patientBirthday: '',
patientAge: '',
mainDoctorName: '',
operaDate: '',
narcosis: '',
// 拟施手术名称
nsOuOperaName: '',
nsOdOperaName: '',
nsOsOperaName: '',
// 拟施手术别名
nsOuOperaBieM: '',
nsOdOperaBieM: '',
nsOsOperaBieM: '',
// 确认患者姓名
beforeXm: '是',
// 手术方式
beforeSsfs: '是',
// 手术部位与标识确认
beforeSsbwBs: '是',
// 手术知情同意
beforeSszqty: '是',
// 皮肤是否完整
beforePfsfwc: '是',
// 术野皮肤准备正确
beforeSypfzb: '是',
// 患者是否有过敏史
beforeSfgm: '否',
beforeSfgmCheck: [],
beforeSfgmInput: '',
// 治疗绷带镜确认
beforeZlbdj: '是',
// 其它单选
beforeQtOrder: '否',
// 其它输入
beforeQtInput: '',
// 医生签字
beforeYsSign: '',
beforeYsCode: '',
beforeYsName: '',
// 技师签字
beforeJsSign: '',
beforeJsCode: '',
beforeJsName: '',
// 护士签字
beforeHsSign: '',
beforeHsCode: '',
beforeHsName: '',
// 时间
beforeTime: '',
// 术中
// 确认患者姓名
centerXm: '是',
// 手术方式
centerSsfs: '是',
// 手术部位与标识确认
centerSsbwBs: '是',
// 治疗绷带镜确认
centerZlbdj: '是',
// 手术医师陈述order
centerYscsOrder: '是',
// 手术医师陈述check
centerYscsCheck: ['预计手术时间', '手术关注点'],
// 护士陈述灭菌合格
centerHscsMjhg: '是',
// 护士陈述术前术中用药
centerHscsSqSzYy: '是',
// 护士陈述Order其它
centerHscsQtOrder: '否',
// 护士陈述input其它
centerHscsQtInput: '',
// 医生签字
centerYsSign: '',
centerYsCode: '',
centerYsName: '',
// 技师签字
centerJsSign: '',
centerJsCode: '',
centerJsName: '',
// 护士签字
centerHsSign: '',
centerHsCode: '',
centerHsName: '',
// 时间
centerTime: '',
// 术后
// 确认患者姓名
backXm: '是',
// 手术方式
backSsfs: '是',
// 用药核查
backYyhc: '是',
// 手术用物清点正确
backSsywqd: '是',
// 皮肤是否完整
backPfsfwz: '是',
// 治疗绷带镜确认
backZlbdj: '是',
// 其它order
backQtOrder: '否',
// 其它输入
backQtInput: '',
// 患者去向
backHzqxOrder: '离院',
backHzqxInput: '',
// 医生签字
backYsSign: '',
backYsCode: '',
backYsName: '',
// 技师签字
backJsSign: '',
backJsCode: '',
backJsName: '',
// 护士签字
backHsSign: '',
backHsCode: '',
backHsName: '',
// 时间
backTime: ''
},
radioList: [{
name: '是',
}, {
name: '否',
}],
checkList: [{
name: '预计手术时间',
}, {
name: '手术关注点',
}],
patientWhereList: [{
name: '离院'
}, {
name: '日间病房'
}, {
name: '其它'
}],
gmsList: [{
name: '青霉素'
}, {
name: '头孢'
}, {
name: '破伤风'
}, {
name: '酒精'
}, {
name: '碘'
}],
formListValue1: {},
optionList: {},
openFormSaveDate: ''
}
},
props: {
title: {
type: String,
default: ''
}
},
components: {
Signature
},
onLoad(options) {
console.log(options);
this.optionList = options
this.formListValue1 = JSON.parse(JSON.stringify(this.formListValue))
setTimeout(() => {
// 获取表单保存信息
this.getInfo()
}, 200)
},
methods: {
back() {
uni.navigateBack({
delta: 1
})
},
init(options) {
this.optionList = options
this.formListValue1 = JSON.parse(JSON.stringify(this.formListValue))
setTimeout(() => {
// 获取表单保存信息
this.getInfo()
}, 200)
},
// 单选框改变时
radioChange(text, val) {
this.formListValue[text] = val.target.value
},
checkboxChange(text, val) {
this.formListValue[text] = val.target.value
},
// 输入框改变时
inputHandle(text, val) {
this.formListValue[text] = val.target.value
},
// 跳过
jumpHandle() {
uni.navigateTo({
url: '/pages/patientList/index'
})
},
// 获取表单信息
async getInfo() {
console.log(123123123);
const res = await this.$baseAPI.request(this.$portAdress.getSafetyCheckInfo, {
operaId: this.optionList.operaId,
patientIdNumber: this.optionList.patientIdNumber,
})
if (res.code === 0) {
this.openFormSaveDate = res.data.createDate
Object.keys(res.data).forEach((item) => {
// console.log(res.data)
// 如果data中没有定义这个字段,就自动加进去
this.formListValue[item] || typeof this.formListValue[item] == 'boolean' ? '' : this
.formListValue[item] = ''
// 如果不为空就赋值上去
if ((res.data[item] && res.data[item] !== 'false' && res.data[item] !== 'true') ||
typeof res.data[item] === 'number') {
this.formListValue[item] = res.data[item]
}
if (res.data[item] && typeof res.data[item] !== 'number') {
res.data[item].includes('[') || res.data[item] === 'false' || res.data[item] ===
'true' ? this.formListValue[item] = JSON.parse(res.data[item]) : ''
}
})
} else {
uni.showToast({
icon: 'none',
title: res.msg
})
}
setTimeout(() => {
// 获取手术状态时间
this.getOperaStatusTime()
}, 500)
},
// 获取手术状态时间
async getOperaStatusTime() {
const res = await this.$baseAPI.request(this.$portAdress.getOperaStatusTime, {
operaId: this.optionList.operaId,
})
if (res.code === 0) {
res.data.forEach(item => {
console.log('时间', item);
// 0:等待呼叫,1:呼叫中,2:术前准备,3:手术中,4、手术完成
if (item.status === 3) {
this.formListValue.beforeTime = item.signDate
this.formListValue.centerTime = item.signDate
}
if (item.status === 4) {
this.formListValue.backTime = item.signDate
}
})
} else {
uni.showToast({
icon: 'none',
title: res.msg
})
}
},
// 获取主刀医生签字
async getYsSign(zdSign, zdCode, zdName) {
const res = await this.$baseAPI.request(this.$portAdress.getMainDoctorSign, {
operaPatientId: this.optionList.operaId
})
if (res.code === 0) {
this.formListValue[zdSign] = res.data.signImgBase
this.formListValue[zdCode] = res.data.employeeId
this.formListValue[zdName] = res.data.realName
} else {
uni.showToast({
title: res.msg,
icon: 'none'
})
}
},
// 获取登录签名
geLoginSign(zdSign, zdCode, zdName) {
let userInfo = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo')) : ''
console.log(userInfo);
this.formListValue[zdSign] = userInfo.signImgBase
this.formListValue[zdCode] = userInfo.employeeId
this.formListValue[zdName] = userInfo.realName
},
// 删除登录签名
imageClearClick(text1,text2,text3) {
this.formListValue[text1] = ''
this.formListValue[text2] = ''
this.formListValue[text3] = ''
},
async getSaveDate() {
const res = await this.$baseAPI.request(this.$portAdress.getSafetyCheckInfo, {
operaId: this.optionList.operaId,
patientIdNumber: this.optionList.patientIdNumber,
})
if (res.code === 0) {
if (res.data.createDate === this.openFormSaveDate) {
this.saveFun()
} else {
console.log(123123123);
uni.showModal({
title: '提示',
confirmText: '刷新',
cancelText: '不刷新保存',
content: `该表单已于${res.data.createDate}被${res.data.createName}保存过,是否需要刷新表单数据`,
success: (res) => {
if (res.confirm) {
this.formListValue = this.formListValue1
this.getInfo()
} else if (res.cancel) {
this.saveFun()
}
}
})
}
} else {
uni.showToast({
title: res.msg,
icon: 'none'
})
}
},
sureHandle() {
this.getSaveDate()
},
async saveFun() {
const formvalue = JSON.parse(JSON.stringify(this.formListValue))
console.log('formvalue', formvalue);
Object.keys(formvalue).forEach(item => {
if (Array.isArray(formvalue[item])) {
formvalue[item] = JSON.stringify(formvalue[item])
}
})
const res = await this.$baseAPI.request(this.$portAdress.saveSafetyCheckInfo, formvalue, 'post')
if (res.code === 0) {
uni.showToast({
title: '保存成功',
mask: true,
duration: 500,
complete: () => {
setTimeout(() => {
uni.redirectTo({
url: '/pages/patientList/index'
})
}, 500)
}
})
} else {
uni.showToast({
title: res.msg,
icon: 'none'
})
}
}
}
}
</script>
<style lang="less" scoped>
.operaSafetyCheck {
background-color: #fff;
.BT-text {
font-weight: 700;
font-size: 40rpx;
margin: 40rpx 0 20rpx 20rpx;
}
.buttons {
width: 90%;
height: 88rpx;
line-height: 88rpx;
background-color: #1e79ff;
color: #fff;
text-align: center;
border-radius: 20rpx;
margin: auto;
margin-top: 50rpx;
margin-bottom: 40rpx;
}
.checkComplete {
text-align: center;
padding: 30rpx 0 20rpx 0;
.checkComplete-text-one {
font-weight: 700;
margin-top: 20rpx;
font-size: 36rpx;
}
.checkComplete-text-two {
padding: 20rpx 0;
color: #999999;
font-size: 34rpx;
}
}
.patientinfo-father {
background-color: #e8f5ff;
padding: 10px;
}
.patientInfo {
.patient-text {
padding-right: 20rpx;
text {
font-weight: 700;
}
}
}
.opera-content {
background-color: #fff;
border-top-left-radius: 40rpx;
border-top-right-radius: 40rpx;
padding: 0 30rpx;
}
.form {
padding: 20rpx 0;
background-color: #fff;
border-bottom: 1rpx solid #F2F2F2;
display: flex;
justify-content: space-between;
.uni-list-cell {
display: flex;
margin-left: 32rpx;
}
.radio-group {
display: flex;
flex-wrap: wrap;
}
}
.content-sign {
background-color: #fff;
.img-class {
width: 80px;
}
.operaSign {
padding: 20rpx 0;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1rpx solid #F2F2F2;
}
.sign {
color: #aeb8bf;
font-size: 48rpx;
width: 240rpx;
height: 96rpx;
line-height: 96rpx;
text-align: center;
border: 1px dashed #6EB1FF;
border-radius: 12px;
position: relative;
}
.image-father {
.image-clear {
position: absolute;
right: 4px;
top: -2px;
}
}
.sign-text,
.signature {
position: absolute;
left: 0;
bottom: 0;
width: 240rpx;
height: 96rpx;
text-align: center;
}
}
.operaBefore {
width: 100vw;
.form-other-father {
border-bottom: 1rpx solid #F2F2F2;
}
.form-other {
margin-bottom: 20rpx;
border-bottom: none;
}
.gmcheck {
margin-right: 12rpx;
margin-bottom: 12rpx;
}
.gminput {
margin-top: 20rpx;
}
}
.operaCheck {
width: 100vw;
.form-doctor-label {
checkbox:nth-child(1) {
margin-right: 20rpx;
}
}
.form-riskWarn-father,
.form-doctor-father,
.form-nurse-father {
border-bottom: 1rpx solid #F2F2F2;
padding-bottom: 20rpx;
}
.form-other,
.form-riskWarn,
.form-doctor,
.form-nurse {
margin-bottom: 20rpx;
border-bottom: none;
}
.form-doctor-father-text,
.form-nurse-father-text {
margin-top: 20rpx;
font-weight: 700;
}
.form-nurse-father {
.form {
border-bottom: none;
}
}
}
.operaBackCheck {
width: 100vw;
.form-other-father {
border-bottom: 1rpx solid #F2F2F2;
}
.form-other {
margin-bottom: 20rpx;
border-bottom: none;
}
}
}
</style>
<style lang="less">
</style>