Browse Source

peter

x-emr
newPeter7 2 years ago
parent
commit
97479df69d
  1. 24
      src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue
  2. 6
      src/page-subspecialty/views/pages/login.vue

24
src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue

@ -131,6 +131,12 @@
<!-- </el-table-column>-->
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="210">
<template slot-scope="scope">
<span
v-if="scope.row.patientStatus >= '300'"
style="color: #1890ff; padding-right: 8px"
class="operation-details"
@click="handleCall(scope.row,'310')"
>叫号</span>
<span
style="color: #1890ff; padding-right: 8px"
class="operation-details"
@ -301,6 +307,24 @@ export default {
reFresh() {
this.pageCurrentChangeHandle(this.page)
},
//
async handleCall(scopeRow, status) {
this.patientId = scopeRow.patientId
const risNo = scopeRow.risNo
const examItemId = scopeRow.zlProjectList.length ? scopeRow.zlProjectList[0].id : ''
const { data: res } = await this.$http.get('/zlCall/callByPatient', {
params: {
patientId: this.patientId,
examItemId: examItemId,
status: status,
risNo: risNo
}
})
if (res.code === 0) {
} else {
this.$message.error(res.msg)
}
},
//
getYLProject(list) {
if (!list.length) {

6
src/page-subspecialty/views/pages/login.vue

@ -57,8 +57,7 @@
width="40%"
title="CA登录"
@close="visible === false">
<iframe name="ifrmName" frameborder="0" width="100%" height="100%" src="http://192.168.0.135:8080/ca-sign-xiangan/"></iframe>
<iframe name="ifrmName" frameborder="0" width="100%" height="100%" :src=caUrl></iframe>
</el-dialog>
</div>
</template>
@ -73,6 +72,7 @@ export default {
activeName: 'first',
captchaPath: '',
visible: false,
caUrl: 'http://192.168.4.174:8080/ca-sign-xiangan/',
dataForm: {
account: '',
password: '',
@ -104,7 +104,7 @@ export default {
if (this.activeName === 'second') {
this.visible = true
this.$nextTick(()=>{
document.getElementsByTagName('iframe')[0].src = 'http://192.168.0.135:8080/ca-sign-xiangan/'
document.getElementsByTagName('iframe')[0].src = this.caUrl
})
}
},

Loading…
Cancel
Save