Commit 5ad871fb by Licx

添加病例监控跳转

parent 35d94932
......@@ -64,6 +64,7 @@ const router = new Router({
},
{
path: '/patientinfo',
name: 'patientinfo',
component: (resolve) => require(['@/views/patientinfo.vue'], resolve)
}
]
......
......@@ -30,6 +30,15 @@
>
<el-button
class="outsetgrouping_button_Searchbtn"
v-if="$route.query.patientInfo"
style="margin-left: 10px"
size="mini"
type="primary"
@click="topage3"
>病例监控</el-button
>
<el-button
class="outsetgrouping_button_Searchbtn"
style="margin-left: 10px"
size="mini"
type="primary"
......@@ -1189,6 +1198,17 @@ export default {
this.$router.push('/medicalRecordImport')
window.open(data.message)
},
topage3() {
http
.get(
`/medical/get/HisPatientInfo?regCode=${this.casehisObj.regCode}`,
{}
)
.then((data) => {
window.open(data.message)
})
.catch((error) => {})
}
}
}
......
......@@ -799,12 +799,12 @@ export default {
.get(`/screen/hos/GetDeptList`, {})
.then((data) => {
this.deptList = data
this.deptList.map((item) => {
if (item.deptCode == this.$route.query.ApplyDept) {
this.b16C = this.$route.query.ApplyDept || ''
}
})
const deptName = this.$route.query.deptName
if (deptName && data && data.length) {
const item = data.find((w) => w.deptName == deptName)
this.b16C = item.deptCode
}
this.getList()
})
.catch((error) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment