|
|
|
@ -147,6 +147,9 @@ |
|
|
|
</el-dropdown-menu> |
|
|
|
</el-dropdown> |
|
|
|
</div> |
|
|
|
<div v-show="checkPagePriv(pagePriv.privs, '复查/随访')" class="divBtnClass"> |
|
|
|
<el-button type="primary" class="commonbutton" @click="btnCall">复查/随访</el-button> |
|
|
|
</div> |
|
|
|
<div class="divBtnClass"> |
|
|
|
<el-button type="primary" class="commonbutton" @click="btnReset">重置</el-button> |
|
|
|
</div> |
|
|
|
@ -242,6 +245,12 @@ |
|
|
|
:append-to-body="true"> |
|
|
|
<OccDisease /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog title="复查/随访" :visible.sync="dialogWin.FollowUp" width="900px" :close-on-click-modal="false" |
|
|
|
:append-to-body="true"> |
|
|
|
<PhoneFollowUp |
|
|
|
:refParams="refFollowUpParams" /> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
@ -273,6 +282,7 @@ import SumItems from "../../components/sumDoctorCheck/SumItems.vue"; |
|
|
|
import SumHistory from "../../components/sumDoctorCheck/SumHistory.vue"; |
|
|
|
import OccDisease from "../../components/occDisease/OccDisease.vue" |
|
|
|
import ImageTextReport from "../../components/occDisease/ImageTextReport.vue"; |
|
|
|
import PhoneFollowUp from "../../components/follow/PhoneFollowUp.vue"; |
|
|
|
import MarkdownIt from "markdown-it"; |
|
|
|
const md = new MarkdownIt(); |
|
|
|
|
|
|
|
@ -295,7 +305,8 @@ export default { |
|
|
|
SumItems, |
|
|
|
SumHistory, |
|
|
|
OccDisease, |
|
|
|
ImageTextReport |
|
|
|
ImageTextReport, |
|
|
|
PhoneFollowUp |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
@ -339,9 +350,9 @@ export default { |
|
|
|
sexId: '', |
|
|
|
completeFlag: '2', //总检状态 |
|
|
|
historySummary: '', // 历史综述 |
|
|
|
photo:'', |
|
|
|
photo: '', |
|
|
|
}, |
|
|
|
patient_registerInit:{}, // 重置用到 |
|
|
|
patient_registerInit: {}, // 重置用到 |
|
|
|
|
|
|
|
LocalConfig: { |
|
|
|
doctorCheck: { // 医生诊台 |
|
|
|
@ -351,7 +362,7 @@ export default { |
|
|
|
isAutoNext: 'N', // 保存完结果,是否自动下一条记录 |
|
|
|
}, |
|
|
|
normal: { // 常规参数 |
|
|
|
displayTab:false// 是否显示标签页 |
|
|
|
displayTab: false// 是否显示标签页 |
|
|
|
} |
|
|
|
}, |
|
|
|
LocalConfigInit: {}, |
|
|
|
@ -448,12 +459,19 @@ export default { |
|
|
|
place: 'doctor', |
|
|
|
brushTimes: 0, |
|
|
|
patientRegisterId: '' |
|
|
|
}, |
|
|
|
refFollowUpParams:{ |
|
|
|
place: 'doctor', |
|
|
|
followUpId: '', |
|
|
|
patientRegisterId: 'patient_register.id', |
|
|
|
criticalValueContents: '', |
|
|
|
brushTimes: 0 |
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
created() { |
|
|
|
this.patient_registerInit = Object.assign({},this.patient_register) |
|
|
|
this.patient_registerInit = Object.assign({}, this.patient_register) |
|
|
|
// console.log("this.$route.query", this.$route.query) |
|
|
|
//获取用户当前页面的权限 |
|
|
|
let userPriv = window.sessionStorage.getItem('userPriv') |
|
|
|
@ -518,7 +536,7 @@ export default { |
|
|
|
// }, |
|
|
|
|
|
|
|
computed: { |
|
|
|
...mapState(["window", "dialogWin", "doctorCheck","dataTransOpts"]), |
|
|
|
...mapState(["window", "dialogWin", "doctorCheck", "dataTransOpts"]), |
|
|
|
|
|
|
|
frameHeight() { |
|
|
|
return this.window.pageHeight - 42 - 10 |
|
|
|
@ -534,9 +552,9 @@ export default { |
|
|
|
return ret |
|
|
|
}, |
|
|
|
|
|
|
|
dialogMarginTop(){ |
|
|
|
dialogMarginTop() { |
|
|
|
let h = 50 |
|
|
|
if(this.LocalConfig.normal.displayTab) h=85 |
|
|
|
if (this.LocalConfig.normal.displayTab) h = 85 |
|
|
|
return h |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -1511,9 +1529,20 @@ export default { |
|
|
|
this.dialogWin.OccDisease = true |
|
|
|
}, |
|
|
|
|
|
|
|
// 复查/随访 |
|
|
|
btnCall() { |
|
|
|
if(!this.patient_register.id){ |
|
|
|
this.$message.warning({showClose:true,message:"没有选中人员"}) |
|
|
|
return |
|
|
|
} |
|
|
|
this.dialogWin.FollowUp = true |
|
|
|
this.refFollowUpParams.patientRegisterId = this.patient_register.id |
|
|
|
this.refFollowUpParams.brushTimes++ |
|
|
|
}, |
|
|
|
|
|
|
|
btnReset() { |
|
|
|
// location.reload() |
|
|
|
this.patient_register = Object.assign({},this.patient_registerInit) |
|
|
|
this.patient_register = Object.assign({}, this.patient_registerInit) |
|
|
|
this.refParamsQuery.id = '' |
|
|
|
this.refParamsQuery.registerCheckId = '' |
|
|
|
|
|
|
|
@ -1582,7 +1611,7 @@ export default { |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
if(!this.AI.visible){ |
|
|
|
if (!this.AI.visible) { |
|
|
|
this.AI.question = '' |
|
|
|
this.AI.visible = true |
|
|
|
} |
|
|
|
@ -1603,7 +1632,7 @@ export default { |
|
|
|
}); |
|
|
|
this.AI.question = message |
|
|
|
} |
|
|
|
if(!message) return |
|
|
|
if (!message) return |
|
|
|
|
|
|
|
|
|
|
|
this.AI.rawText = ''; |
|
|
|
|