Browse Source

0305

master
领悟 4 months ago
parent
commit
27c0dbe557
  1. 1
      src/assets/less/common.less
  2. 543
      src/config/code.js
  3. 450
      src/views/before/Informed.vue
  4. 8
      src/views/thrombolysis/components/throm-before4.vue
  5. 24
      src/views/thrombolysis/components/throm-interfere-informed.vue
  6. 9
      src/views/thrombolysis/components/throm-result-baseInfo.vue
  7. 21
      src/views/thrombolysis/components/throm-result-firstInfo.vue

1
src/assets/less/common.less

@ -714,6 +714,7 @@
// 复选框 // 复选框
.ant-checkbox-group{ .ant-checkbox-group{
display: flex!important; display: flex!important;
width: 100%;
flex-wrap: wrap; flex-wrap: wrap;
.ant-checkbox-wrapper{ .ant-checkbox-wrapper{
min-width: 30%; min-width: 30%;

543
src/config/code.js

@ -922,90 +922,55 @@ export const AID_CODE = {
}; };
// 静脉溶栓 // 静脉溶栓
export const JMRS_CODE = { export const JMRS_CODE = {
// 'JMRS-Y': { 'JMRS-Y': {
// text: '是否进行静脉溶栓', text: '是否进行静脉溶栓',
// type: 'radio', type: 'radio',
// default: '', default: '',
// range: { range: {
// 是: '是', : '是',
// 否: '否', : '否',
// }, },
// }, },
// 'JMRS-WRSYY': {
// text: '未溶栓原因', 'JMRS-TH-TIME': {
// type: 'checkbox', text: '谈话开始时间',
// default: [''], type: 'datetime',
// range: ['超时间创', '禁忌症', '患者/家属拒绝', '其他'], default: '',
// showType: { valueType: 'string',
// type: 'value', },
// code: 'JMRS-Y',
// value: '否', 'JMRS-SIGN': {
// }, text: '签署知情同意书',
// }, type: 'modal',
// 'JMRS-WRSYY-ELSE': { rightText: '去签署',
// text: '', rightArrow: true,
// type: 'input', path: {
// inputType: 'text', name: 'Informed',
// default: '', },
// showType: { },
// type: 'valueInclude',
// code: 'JMRS-WRSYY', 'JMRS-Q-SYSTOLIC-PRESSURE': {
// value: '其他', text: '收缩压',
// }, description: '(mmHg)',
// }, type: 'input',
// 'JMRS-TH-TIME': { inputType: 'number',
// text: '谈话开始时间', default: '',
// type: 'datetime', showType: {
// default: '', type: 'collapse',
// valueType: 'string', code: 'JMRS-Q-NIHSS',
// }, },
// 'JMRS-SIGN': { },
// text: '签署知情同意书', 'JMRS-Q-DIASTOLIC-PRESSURE': {
// type: 'modal', text: '舒张压',
// rightText: '去签署', description: '(mmHg)',
// rightArrow: true, type: 'input',
// path: { inputType: 'number',
// name: 'Informed', default: '',
// }, showType: {
// }, type: 'collapse',
// 'JMRS-Q-NIHSS': { code: 'JMRS-Q-NIHSS',
// text: 'NIHSS评分', },
// description: '', },
// type: 'pageText',
// rightArrow: true,
// default: '',
// operate: 'collapse',
// operateData: {
// text: '溶栓开始前',
// code: [
// 'JMRS-Q-NIHSS',
// 'JMRS-Q-SYSTOLIC-PRESSURE',
// 'JMRS-Q-DIASTOLIC-PRESSURE',
// ],
// },
// },
// 'JMRS-Q-SYSTOLIC-PRESSURE': {
// text: '收缩压',
// description: '(mmHg)',
// type: 'input',
// inputType: 'number',
// default: '',
// showType: {
// type: 'collapse',
// code: 'JMRS-Q-NIHSS',
// },
// },
// 'JMRS-Q-DIASTOLIC-PRESSURE': {
// text: '舒张压',
// description: '(mmHg)',
// type: 'input',
// inputType: 'number',
// default: '',
// showType: {
// type: 'collapse',
// code: 'JMRS-Q-NIHSS',
// },
// },
'JMRS-RSCS': { 'JMRS-RSCS': {
text: '开始静脉溶栓场所', text: '开始静脉溶栓场所',
type: 'select', type: 'select',
@ -1023,192 +988,230 @@ export const JMRS_CODE = {
default: '', default: '',
valueType: 'string', valueType: 'string',
}, },
// 'JMRS-RSYW': { 'JMRS-RSYW': {
// text: '静脉溶栓药物', text: '静脉溶栓药物',
// type: 'select', type: 'select',
// range: { range: {
// 'rt-PA': 'rt-PA', 'rt-PA': 'rt-PA',
// 尿激酶: '尿激酶', 尿激酶: '尿激酶',
// 替奈普酶: '替奈普酶', 替奈普酶: '替奈普酶',
// 瑞替普酶: '瑞替普酶', 瑞替普酶: '瑞替普酶',
// 阿尼普酶: '阿尼普酶', 阿尼普酶: '阿尼普酶',
// }, },
// default: 'rt-PA', default: 'rt-PA',
// }, },
// 'JMRS-RSYW-ZL': { 'JMRS-RSYW-ZL': {
// text: 'rt-PA', text: 'rt-PA',
// type: 'input', type: 'input',
// inputType: 'number', inputType: 'number',
// default: '', default: '',
// showType: { showType: {
// type: 'value', type: 'value',
// code: 'JMRS-RSYW', code: 'JMRS-RSYW',
// value: 'rt-PA', value: 'rt-PA',
// }, },
// }, },
// 'JMRS-TZJL': { 'JMRS-TZJL': {
// text: '团注剂量', text: '团注剂量',
// description: '(mg)', description: '(mg)',
// type: 'input', type: 'input',
// inputType: 'number', inputType: 'number',
// default: '', default: '',
// }, },
// 'JMRS-JDJL': { 'JMRS-JDJL': {
// text: '静滴剂量', text: '静滴剂量',
// description: '(mg)', description: '(mg)',
// type: 'input', type: 'input',
// inputType: 'number', inputType: 'number',
// default: '', default: '',
// }, },
// 'JMRS-15-NIHSS': { 'JMRS-WRSYY': {
// text: 'NIHSS评分', text: '未溶栓原因',
// description: '', type: 'checkbox',
// type: 'pageText', default: [''],
// rightArrow: true, range: ['超时间创', '禁忌症', '患者/家属拒绝', '其他'],
// default: '', showType: {
// operate: 'collapse', type: 'value',
// operateData: { code: 'JMRS-Y',
// text: '15min', value: '否',
// code: [ },
// 'JMRS-15-NIHSS', },
// 'JMRS-15-SYSTOLIC-PRESSURE', 'JMRS-WRSYY-ELSE': {
// 'JMRS-15-DIASTOLIC-PRESSURE', text: '',
// ], type: 'input',
// }, inputType: 'text',
// }, default: '',
// 'JMRS-15-SYSTOLIC-PRESSURE': { showType: {
// text: '收缩压', type: 'valueInclude',
// description: '(mmHg)', code: 'JMRS-WRSYY',
// type: 'input', value: '其他',
// inputType: 'number', },
// default: '', },
// showType: { 'JMRS-Q-NIHSS': {
// type: 'collapse', text: 'NIHSS评分',
// code: '15min', description: '',
// }, type: 'pageText',
// }, rightArrow: true,
// 'JMRS-15-DIASTOLIC-PRESSURE': { default: '',
// text: '舒张压', operate: 'collapse',
// description: '(mmHg)', operateData: {
// type: 'input', text: '溶栓开始前',
// inputType: 'number', code: [
// default: '', 'JMRS-Q-NIHSS',
// showType: { 'JMRS-Q-SYSTOLIC-PRESSURE',
// type: 'collapse', 'JMRS-Q-DIASTOLIC-PRESSURE',
// code: '15min', ],
// }, },
// }, },
// 'JMRS-30-NIHSS': { 'JMRS-15-NIHSS': {
// text: 'NIHSS评分', text: 'NIHSS评分',
// description: '', description: '',
// type: 'pageText', type: 'pageText',
// default: '', rightArrow: true,
// operate: 'collapse', default: '',
// operateData: { operate: 'collapse',
// text: '30min', operateData: {
// code: [ text: '15min',
// 'JMRS-30-NIHSS', code: [
// 'JMRS-30-SYSTOLIC-PRESSURE', 'JMRS-15-NIHSS',
// 'JMRS-30-DIASTOLIC-PRESSURE', 'JMRS-15-SYSTOLIC-PRESSURE',
// ], 'JMRS-15-DIASTOLIC-PRESSURE',
// }, ],
// }, },
// 'JMRS-30-SYSTOLIC-PRESSURE': { },
// text: '收缩压', 'JMRS-15-SYSTOLIC-PRESSURE': {
// description: '(mmHg)', text: '收缩压',
// type: 'input', description: '(mmHg)',
// inputType: 'number', type: 'input',
// default: '', inputType: 'number',
// showType: { default: '',
// type: 'collapse', showType: {
// code: '30min', type: 'collapse',
// }, code: '15min',
// }, },
// 'JMRS-30-DIASTOLIC-PRESSURE': { },
// text: '舒张压', 'JMRS-15-DIASTOLIC-PRESSURE': {
// description: '(mmHg)', text: '舒张压',
// type: 'input', description: '(mmHg)',
// inputType: 'number', type: 'input',
// default: '', inputType: 'number',
// showType: { default: '',
// type: 'collapse', showType: {
// code: '30min', type: 'collapse',
// }, code: '15min',
// }, },
// 'JMRS-45-NIHSS': { },
// text: 'NIHSS评分', 'JMRS-30-NIHSS': {
// description: '', text: 'NIHSS评分',
// type: 'pageText', description: '',
// default: '', type: 'pageText',
// operate: 'collapse', default: '',
// operateData: { operate: 'collapse',
// text: '45min', operateData: {
// code: [ text: '30min',
// 'JMRS-45-NIHSS', code: [
// 'JMRS-45-SYSTOLIC-PRESSURE', 'JMRS-30-NIHSS',
// 'JMRS-45-DIASTOLIC-PRESSURE', 'JMRS-30-SYSTOLIC-PRESSURE',
// ], 'JMRS-30-DIASTOLIC-PRESSURE',
// }, ],
// }, },
// 'JMRS-45-SYSTOLIC-PRESSURE': { },
// text: '收缩压', 'JMRS-30-SYSTOLIC-PRESSURE': {
// description: '(mmHg)', text: '收缩压',
// type: 'input', description: '(mmHg)',
// inputType: 'number', type: 'input',
// default: '', inputType: 'number',
// showType: { default: '',
// type: 'collapse', showType: {
// code: '45min', type: 'collapse',
// }, code: '30min',
// }, },
// 'JMRS-45-DIASTOLIC-PRESSURE': { },
// text: '舒张压', 'JMRS-30-DIASTOLIC-PRESSURE': {
// description: '(mmHg)', text: '舒张压',
// type: 'input', description: '(mmHg)',
// inputType: 'number', type: 'input',
// default: '', inputType: 'number',
// showType: { default: '',
// type: 'collapse', showType: {
// code: '45min', type: 'collapse',
// }, code: '30min',
// }, },
// 'JMRS-60-NIHSS': { },
// text: 'NIHSS评分', 'JMRS-45-NIHSS': {
// description: '', text: 'NIHSS评分',
// type: 'pageText', description: '',
// default: '', type: 'pageText',
// operate: 'collapse', default: '',
// operateData: { operate: 'collapse',
// text: '60min', operateData: {
// code: [ text: '45min',
// 'JMRS-60-NIHSS', code: [
// 'JMRS-60-SYSTOLIC-PRESSURE', 'JMRS-45-NIHSS',
// 'JMRS-60-DIASTOLIC-PRESSURE', 'JMRS-45-SYSTOLIC-PRESSURE',
// ], 'JMRS-45-DIASTOLIC-PRESSURE',
// }, ],
// }, },
// 'JMRS-60-SYSTOLIC-PRESSURE': { },
// text: '收缩压', 'JMRS-45-SYSTOLIC-PRESSURE': {
// description: '(mmHg)', text: '收缩压',
// type: 'input', description: '(mmHg)',
// inputType: 'number', type: 'input',
// default: '', inputType: 'number',
// showType: { default: '',
// type: 'collapse', showType: {
// code: '60min', type: 'collapse',
// }, code: '45min',
// }, },
// 'JMRS-60-DIASTOLIC-PRESSURE': { },
// text: '舒张压', 'JMRS-45-DIASTOLIC-PRESSURE': {
// description: '(mmHg)', text: '舒张压',
// type: 'input', description: '(mmHg)',
// inputType: 'number', type: 'input',
// default: '', inputType: 'number',
// showType: { default: '',
// type: 'collapse', showType: {
// code: '60min', type: 'collapse',
// }, code: '45min',
// }, },
},
'JMRS-60-NIHSS': {
text: 'NIHSS评分',
description: '',
type: 'pageText',
default: '',
operate: 'collapse',
operateData: {
text: '60min',
code: [
'JMRS-60-NIHSS',
'JMRS-60-SYSTOLIC-PRESSURE',
'JMRS-60-DIASTOLIC-PRESSURE',
],
},
},
'JMRS-60-SYSTOLIC-PRESSURE': {
text: '收缩压',
description: '(mmHg)',
type: 'input',
inputType: 'number',
default: '',
showType: {
type: 'collapse',
code: '60min',
},
},
'JMRS-60-DIASTOLIC-PRESSURE': {
text: '舒张压',
description: '(mmHg)',
type: 'input',
inputType: 'number',
default: '',
showType: {
type: 'collapse',
code: '60min',
},
},
}; };
// 血管内治疗 // 血管内治疗
export const XGZL_CODE = { export const XGZL_CODE = {

450
src/views/before/Informed.vue

@ -7,221 +7,242 @@
--> -->
<template> <template>
<div class="before-informed-container Informed-container"> <div class="before-informed-container Informed-container">
<a-tabs <a-card style="width:100%" :tab-list="tabList" :active-tab-key="activeTabKey" @tabChange="onTabChange">
default-active-key="1" <div class="throm-before4-container Informed-container">
size="large" <div class="video-container" v-if="activeTabKey == 'tab1'">
:tabBarGutter="100" <div class="video-container">
@change="tabClick" <div class="info">百人中使用药物结果分布情况</div>
> <div class="img">
<a-tab-pane key="1" tab="辅助工具"> <img src="../../assets/images/100.png" alt="" />
<div class="video-container"> </div>
<div class="info">百人中使用药物结果分布情况</div>
<div class="img">
<img src="../../assets/images/100.png" alt="" />
</div> </div>
</div> </div>
</a-tab-pane> <!-- -->
<a-tab-pane key="2" tab="溶栓视频"> <div class="video-container" v-if="activeTabKey == 'tab2'">
<div class="video-container"> <div class="video-container">
<video <video
ref="refVideo" ref="refVideo"
v-if="getVideo" v-if="getVideo"
id="media" id="media"
class="media" class="media"
controls controls
:src="getVideo" :src="getVideo"
type="video/mp4" type="video/mp4"
></video> ></video>
</div>
</div> </div>
</a-tab-pane> <!-- ? -->
<a-tab-pane key="3" tab="家属签字"> <div class="video-container" v-if="activeTabKey == 'tab3'">
<h1> <h1>
急性脑梗塞静脉溶栓治疗知情同意书 急性脑梗塞静脉溶栓治疗知情同意书
<a-icon <a-icon
type="down" type="down"
v-if="!showDetails" v-if="!showDetails"
@click="showDetails = true" @click="showDetails = true"
/> />
<a-icon type="up" v-else @click="showDetails = false" /> <a-icon type="up" v-else @click="showDetails = false" />
</h1> </h1>
<div
:style="{ height: showDetails ? 'auto' : '0' }"
style="transition: all 1s; overflow: hidden"
>
<div <div
v-html="content" :style="{ height: showDetails ? 'auto' : '0' }"
class="card-content ql-editor content-detail" style="transition: all 1s; overflow: hidden"
style="white-space: pre-wrap"
></div>
</div>
<div class="informed-list">
<div class="informed-item">
<span>患者签名</span>
<div
class="item-img"
v-if="informed.patientSign"
@click="lookSign(informed.empowerSign)"
>
<img :src="apiUrl + informed.patientSign" alt="" />
</div>
<a-button
:disabled="writeAble"
type="continue"
shape="round"
class="item-btn"
@click="patientSign = !patientSign"
>{{
informed.patientSign ? '重新签名' : '点击签名'
}}</a-button
>
</div>
<div class="informed-item">
<span>签名日期</span>
<a-input
:disabled="writeAble"
@focus="changeDate('patientTime')"
:value="getPatientTime"
class="item-input"
readOnly
/>
</div>
<signature
class="item-sign"
ref="patientSign"
@close="patientSignClose"
@reset="handeReset('patientSign')"
v-if="patientSign"
> >
</signature>
</div>
<div class="informed-info">
如果患者无法签署知情同意书请其授权的亲属在此签名:
</div>
<div class="informed-list before">
<div class="informed-item">
<span>授权亲属人签名</span>
<div <div
class="item-img" v-html="content"
v-if="informed.empowerSign" class="card-content ql-editor content-detail"
@click="lookSign(informed.empowerSign)" style="white-space: pre-wrap"
> ></div>
<img :src="apiUrl + informed.empowerSign" alt="" />
</div>
<a-button
:disabled="writeAble"
type="continue"
shape="round"
class="item-btn"
@click="empowerSign = !empowerSign"
>{{
informed.empowerSign ? '重新签名' : '点击签名'
}}</a-button
>
</div> </div>
<signature <div class="informed-list">
class="item-sign"
ref="empowerSign" <div class="informed-item">
@close="empowerSignClose" <span>患者签名</span>
@reset="handeReset('empowerSign')" <div
v-if="empowerSign" class="item-img"
> v-if="informed.patientSign"
</signature> @click="lookSign(informed.empowerSign)"
<div class="informed-item"> >
<span>与患者关系</span> <img :src="apiUrl + informed.patientSign" alt="" />
<a-input </div>
:disabled="writeAble" <a-button
v-model="informed.empowerRelation" :disabled="writeAble"
class="item-input" type="continue"
/> shape="round"
</div> class="item-btn"
<div class="informed-item"> @click="patientSign = !patientSign"
<span>签名日期</span> >{{
<a-input informed.patientSign ? '重新签名' : '点击签名'
:disabled="writeAble" }}</a-button
@focus="changeDate('legalTime')" >
:value="getLegalTime" </div>
class="item-input" <div class="informed-item">
readOnly <span>签名日期</span>
/> <a-input
</div> :disabled="writeAble"
</div> @focus="changeDate('patientTime')"
<template v-if="source === 'normal'"> :value="getPatientTime"
<div class="informed-info"> class="item-input"
<strong> 医生陈述 </strong> readOnly
/>
</div>
</div> </div>
<signature
class="item-sign"
ref="patientSign"
@close="patientSignClose"
@reset="handeReset('patientSign')"
v-if="patientSign"
>
</signature>
<div class="informed-info"> <div class="informed-info">
我已经告知患者将要进行的治疗方式此次治疗及术后可能发生的并发症和风险可能存在的其它治疗方法并且解答了患者关于此次治疗的相关问题 如果患者无法签署知情同意书请其授权的亲属在此签名:
</div> </div>
<div class="informed-list"> <div class="informed-list before">
<div class="informed-item"> <div class="informed-item">
<span>医生签名</span> <span>授权亲属人签名</span>
<div <div
class="item-img" class="item-img"
v-if="informed.doctorSign" v-if="informed.empowerSign"
@click="lookSign(informed.doctorSign)" @click="lookSign(informed.empowerSign)"
> >
<img <img :src="apiUrl + informed.empowerSign" alt="" />
:src="apiUrl + informed.doctorSign"
alt=""
/>
</div> </div>
<a-button <a-button
:disabled="writeAble" :disabled="writeAble"
type="continue" type="continue"
shape="round" shape="round"
class="item-btn" class="item-btn"
@click="doctorSign = !doctorSign" @click="empowerSign = !empowerSign"
>{{ >{{
informed.doctorSign informed.empowerSign ? '重新签名' : '点击签名'
? '重新签名'
: '点击签名'
}}</a-button }}</a-button
> >
</div> </div>
<div class="informed-item">
<span>与患者关系</span>
<a-input
:disabled="writeAble"
v-model="informed.empowerRelation"
class="item-input"
/>
</div>
</div>
<div class="informed-list before">
<div class="informed-item"> <div class="informed-item">
<span>签名日期</span> <span>签名日期</span>
<a-input <a-input
:disabled="writeAble" :disabled="writeAble"
@focus="changeDate('doctorTime')" @focus="changeDate('legalTime')"
:value="getDoctorTime" :value="getLegalTime"
class="item-input" class="item-input"
readOnly readOnly
/> />
</div> </div>
<signature <div class="informed-item"></div>
</div>
<signature
class="item-sign" class="item-sign"
ref="doctorSign" ref="empowerSign"
@close="doctorSignClose" @close="empowerSignClose"
@reset="handeReset('doctorSign')" @reset="handeReset('empowerSign')"
v-if="doctorSign" v-if="empowerSign"
> >
</signature> </signature>
<template v-if="source === 'normal'">
<div class="informed-info">
<strong> 医生陈述 </strong>
</div>
<div class="informed-info">
我已经告知患者将要进行的治疗方式此次治疗及术后可能发生的并发症和风险可能存在的其它治疗方法并且解答了患者关于此次治疗的相关问题
</div>
<div class="informed-list">
<div class="informed-item">
<span>医生签名</span>
<div
class="item-img"
v-if="informed.doctorSign"
@click="lookSign(informed.doctorSign)"
>
<img
:src="apiUrl + informed.doctorSign"
alt=""
/>
</div>
<a-button
:disabled="writeAble"
type="continue"
shape="round"
class="item-btn"
@click="doctorSign = !doctorSign"
>{{
informed.doctorSign
? '重新签名'
: '点击签名'
}}</a-button
>
</div>
<div class="informed-item">
<span>签名日期</span>
<a-input
:disabled="writeAble"
@focus="changeDate('doctorTime')"
:value="getDoctorTime"
class="item-input"
readOnly
/>
</div>
<signature
class="item-sign"
ref="doctorSign"
@close="doctorSignClose"
@reset="handeReset('doctorSign')"
v-if="doctorSign"
>
</signature>
</div>
</template>
<div class="common-picker">
<van-datetime-picker
v-if="picker"
v-model="currentDate"
type="date"
@confirm="confirmPicker"
@cancel="picker = false"
/>
</div>
<div style="display: flex; justify-content: center">
<a-button
:disabled="writeAble"
class="common-button mt2"
type="primary"
size="large"
shape="round"
@click="submit"
v-if="!disabled"
>提交</a-button
>
</div> </div>
</template>
<div class="common-picker">
<van-datetime-picker
v-if="picker"
v-model="currentDate"
type="date"
@confirm="confirmPicker"
@cancel="picker = false"
/>
</div>
<div style="display: flex; justify-content: center">
<a-button
:disabled="writeAble"
class="common-button mt2"
type="primary"
size="large"
shape="round"
@click="submit"
v-if="!disabled"
>提交</a-button
>
</div> </div>
<!-- -->
</div>
</a-card>
<!-- <a-tabs
default-active-key="1"
size="large"
:tabBarGutter="100"
@change="tabClick"
>
<a-tab-pane key="1" tab="辅助工具">
</a-tab-pane>
<a-tab-pane key="2" tab="溶栓视频">
</a-tab-pane>
<a-tab-pane key="3" tab="家属签字">
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs> -->
<a-modal <a-modal
class="patient-create patient-form" class="patient-create patient-form"
:width="650" :width="650"
@ -284,6 +305,20 @@ export default {
thrombolytic: 0, thrombolytic: 0,
intervene: 1, intervene: 1,
}, },
activeTabKey: 'tab1',
tabList: [{
key: 'tab1',
tab: '辅助工具',
},
{
key: 'tab2',
tab: '溶栓视频',
},
{
key: 'tab3',
tab: '家属签字',
}
],
}; };
}, },
components: { components: {
@ -326,16 +361,20 @@ export default {
}); });
}, },
methods: { methods: {
tabClick(e) { onTabChange(key, type) {
console.log('触发了该事件', e); this.activeTabKey = key;
if (e != 2) { if (key != 'tab2') {
this.$refs.refVideo.pause(); // this.$refs.refVideo.pause();
} else { } else {
setTimeout(() => { setTimeout(() => {
this.$refs.refVideo.play(); this.$refs.refVideo.play();
}); });
} }
}, },
// tabClick(e) {
// console.log('', e);
// },
open() { open() {
this.queryConsentResult(); this.queryConsentResult();
this.showDetails = false; this.showDetails = false;
@ -397,6 +436,14 @@ export default {
uploadfile(form).then((res) => { uploadfile(form).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.informed.doctorSign = res.url; this.informed.doctorSign = res.url;
const now = new Date();
let y = now.getFullYear();
let m = now.getMonth() + 1;
m = m < 10 ? '0' + m : m;
let d = now.getDate();
d = d < 10 ? '0' + d : d;
let dateTime = y + '-' + m + '-' + d;
this.informed.doctorTime = dateTime;
this.$message.success('谈话医师签名保存成功'); this.$message.success('谈话医师签名保存成功');
this.doctorSign = false; this.doctorSign = false;
} else { } else {
@ -414,6 +461,14 @@ export default {
uploadfile(form).then((res) => { uploadfile(form).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.informed.patientSign = res.url; this.informed.patientSign = res.url;
const now = new Date()
let y = now.getFullYear();
let m = now.getMonth() + 1;
m = m < 10 ? '0' + m : m;
let d = now.getDate();
d = d < 10 ? '0' + d : d;
let dateTime = y + '-' + m + '-' + d;
this.informed.patientTime = dateTime;
this.$message.success('患者本人签名保存成功'); this.$message.success('患者本人签名保存成功');
this.patientSign = false; this.patientSign = false;
} else { } else {
@ -429,6 +484,14 @@ export default {
uploadfile(form).then((res) => { uploadfile(form).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.informed.empowerSign = res.url; this.informed.empowerSign = res.url;
const now = new Date();
let y = now.getFullYear();
let m = now.getMonth() + 1;
m = m < 10 ? '0' + m : m;
let d = now.getDate();
d = d < 10 ? '0' + d : d;
let dateTime = y + '-' + m + '-' + d;
this.informed.legalTime = dateTime;
this.$message.success('授权人签名保存成功'); this.$message.success('授权人签名保存成功');
this.empowerSign = false; this.empowerSign = false;
} else { } else {
@ -476,9 +539,12 @@ export default {
.video-container { .video-container {
width: 100%; width: 100%;
padding-bottom: 20px; padding-bottom: 20px;
// position: relative;
// left: 623px;
// top: -56px;
video { video {
width: 100%; width: 100%;
height: 500px; // height: 500px;
} }
.info { .info {
font-size: 18px; font-size: 18px;
@ -496,7 +562,27 @@ export default {
height: auto; height: auto;
} }
} }
.rowItem{
width:100%;
float:left
}
.canvaspanel {
display: flex;
position: relative;
margin: 1.45vw 0;
}
} }
.Informed-container .informed-list .informed-item{
width: 48% !important;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.36vw;
}
.ant-card-bordered {
border: none !important;
}
.content-box { .content-box {
p { p {
text-align: left !important; text-align: left !important;

8
src/views/thrombolysis/components/throm-before4.vue

@ -460,6 +460,14 @@
uploadfile(form).then((res) => { uploadfile(form).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.informed.empowerSign = res.url; this.informed.empowerSign = res.url;
const now = new Date();
let y = now.getFullYear();
let m = now.getMonth() + 1;
m = m < 10 ? '0' + m : m;
let d = now.getDate();
d = d < 10 ? '0' + d : d;
let dateTime = y + '-' + m + '-' + d;
this.informed.legalTime = dateTime;
this.$message.success('授权人签名保存成功'); this.$message.success('授权人签名保存成功');
this.empowerSign = false; this.empowerSign = false;
} else { } else {

24
src/views/thrombolysis/components/throm-interfere-informed.vue

@ -418,6 +418,14 @@
uploadfile(form).then((res) => { uploadfile(form).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.informed.doctorSign = res.url; this.informed.doctorSign = res.url;
const now = new Date()
let y = now.getFullYear();
let m = now.getMonth() + 1;
m = m < 10 ? '0' + m : m;
let d = now.getDate();
d = d < 10 ? '0' + d : d;
let dateTime = y + '-' + m + '-' + d;
this.informed.doctorTime = dateTime;
this.$message.success('谈话医师签名保存成功'); this.$message.success('谈话医师签名保存成功');
this.doctorSign = false; this.doctorSign = false;
} else { } else {
@ -435,6 +443,14 @@
uploadfile(form).then((res) => { uploadfile(form).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.informed.patientSign = res.url; this.informed.patientSign = res.url;
const now = new Date()
let y = now.getFullYear();
let m = now.getMonth() + 1;
m = m < 10 ? '0' + m : m;
let d = now.getDate();
d = d < 10 ? '0' + d : d;
let dateTime = y + '-' + m + '-' + d;
this.informed.patientTime = dateTime;
this.$message.success('患者本人签名保存成功'); this.$message.success('患者本人签名保存成功');
this.patientSign = false; this.patientSign = false;
} else { } else {
@ -450,6 +466,14 @@
uploadfile(form).then((res) => { uploadfile(form).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.informed.empowerSign = res.url; this.informed.empowerSign = res.url;
const now = new Date();
let y = now.getFullYear();
let m = now.getMonth() + 1;
m = m < 10 ? '0' + m : m;
let d = now.getDate();
d = d < 10 ? '0' + d : d;
let dateTime = y + '-' + m + '-' + d;
this.informed.legalTime = dateTime;
this.$message.success('授权人签名保存成功'); this.$message.success('授权人签名保存成功');
this.empowerSign = false; this.empowerSign = false;
} else { } else {

9
src/views/thrombolysis/components/throm-result-baseInfo.vue

@ -344,17 +344,26 @@
} }
} }
if(!this.patientId) { if(!this.patientId) {
await updateFirstAid({
...values,
firstAidZlType: this.firstAidZlType,
firstAidId:this.form.firstAidId
})
await this.home.updateAidCode({ await this.home.updateAidCode({
...values, ...values,
firstAidZlType: this.firstAidZlType, firstAidZlType: this.firstAidZlType,
codeAndAnswerList codeAndAnswerList
}, false) }, false)
this.$emit('next') this.$emit('next')
}else{ }else{
await updateFirstAid(params)
const res = await saveAidRecord({ const res = await saveAidRecord({
firstAidId:this.form.firstAidId,
codeAndAnswerList, codeAndAnswerList,
...params ...params
}); });
this.$message.success(res.msg) this.$message.success(res.msg)
this.$emit('ok') this.$emit('ok')
} }

21
src/views/thrombolysis/components/throm-result-firstInfo.vue

@ -48,8 +48,8 @@
<div class="basicr-back"> <div class="basicr-back">
<v-head text="主要治疗操作"></v-head> <v-head text="主要治疗操作"></v-head>
<a-form class="detail-form" :form="firstForm"> <a-form class="detail-form basicrItem" :form="firstForm">
<a-form-item class="jmrs-form-item" v-for="(k, v) in JMRS_CODE" :key="v" <a-form-item class="jmrs-form-item " v-for="(k, v) in JMRS_CODE" :key="v"
v-if="computeShow(v, codeForm)"> v-if="computeShow(v, codeForm)">
<!-- operate === collapse --> <!-- operate === collapse -->
<a-collapse class="jmrs-form-item-con" v-if="k.operate === 'collapse'" :bordered="false" <a-collapse class="jmrs-form-item-con" v-if="k.operate === 'collapse'" :bordered="false"
@ -105,7 +105,7 @@
</div> </div>
</div> </div>
<div class="jmrs-form-item-con" v-else :class="k.type"> <div class="jmrs-form-item-con" v-else :class="k.type">
<div class="content-left ant-form-item-label"> <div class="content-left ant-form-item-label" v-if="k.text">
<label :for="`FirstInfo_${v}`" v-if="k.text"> <label :for="`FirstInfo_${v}`" v-if="k.text">
{{ `${k.text}` }} {{ `${k.text}` }}
<span v-if="k.description" class="label-info">{{ k.description }}</span> <span v-if="k.description" class="label-info">{{ k.description }}</span>
@ -230,7 +230,7 @@
</div> </div>
<a-modal class="first" :width="900" wrapClassName="first-modal" :destroyOnClose="true" <a-modal class="first" :width="900" wrapClassName="first-modal" :destroyOnClose="true"
v-model="modalVisable" @ok="modalVisable = false" :footer="null"> v-model="modalVisable" @ok="modalVisable = false" :footer="null">
<!-- <Informed ref="informed" source="first" @on-success="successInformed" /> --> <Informed ref="informed" source="first" @on-success="successInformed" />
</a-modal> </a-modal>
</div> </div>
<div class="throm-common-button"> <div class="throm-common-button">
@ -658,12 +658,20 @@
padding-right:2% !important; padding-right:2% !important;
margin-right:2% !important; margin-right:2% !important;
} }
.basicrItem .ant-form-item:nth-child(9),.basicrItem .ant-form-item:nth-child(10),.basicrItem .ant-form-item:nth-child(11),.basicrItem .ant-form-item:nth-child(12),.basicrItem .ant-form-item:nth-child(13),.basicrItem .ant-form-item:nth-child(14),.basicrItem .ant-form-item:nth-child(15){
width:100%;
float:left;
border:none;
padding-right:0 !important;
margin-right:0 !important;
}
.treatmentItem .ant-form-item:nth-child(9),.treatmentItem .ant-form-item:nth-child(10),.treatmentItem .ant-form-item:nth-child(11),.treatmentItem .ant-form-item:nth-child(12){ .treatmentItem .ant-form-item:nth-child(9),.treatmentItem .ant-form-item:nth-child(10),.treatmentItem .ant-form-item:nth-child(11),.treatmentItem .ant-form-item:nth-child(12){
width:100%; width:100%;
float:left; float:left;
border:none; border:none;
} }
.treatmentItem .ant-form-item:nth-child(10),.treatmentItem .ant-form-item:nth-child(11),.treatmentItem .ant-form-item:nth-child(12){ .treatmentItem .ant-form-item:nth-child(10),.treatmentItem .ant-form-item:nth-child(11),.treatmentItem .ant-form-item:nth-child(12),.basicrItem .ant-form-item:nth-child(9),.basicrItem .ant-form-item:nth-child(10),.basicrItem .ant-form-item:nth-child(11),
.basicrItem .ant-form-item:nth-child(12),.basicrItem .ant-form-item:nth-child(13){
// height:150px !important; // height:150px !important;
height: auto !important; height: auto !important;
} }
@ -680,6 +688,9 @@
position: relative; position: relative;
left: -180px; left: -180px;
} }
.basicrItem .ant-checkbox-group .ant-checkbox-wrapper{
width:25% !important;
}
</style> </style>
<style scoped> <style scoped>

Loading…
Cancel
Save