Commit 5ad871fb by Licx

添加病例监控跳转

parent 35d94932
...@@ -64,6 +64,7 @@ const router = new Router({ ...@@ -64,6 +64,7 @@ const router = new Router({
}, },
{ {
path: '/patientinfo', path: '/patientinfo',
name: 'patientinfo',
component: (resolve) => require(['@/views/patientinfo.vue'], resolve) component: (resolve) => require(['@/views/patientinfo.vue'], resolve)
} }
] ]
......
...@@ -30,6 +30,15 @@ ...@@ -30,6 +30,15 @@
> >
<el-button <el-button
class="outsetgrouping_button_Searchbtn" 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" style="margin-left: 10px"
size="mini" size="mini"
type="primary" type="primary"
...@@ -1189,6 +1198,17 @@ export default { ...@@ -1189,6 +1198,17 @@ export default {
this.$router.push('/medicalRecordImport') this.$router.push('/medicalRecordImport')
window.open(data.message) 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 { ...@@ -799,12 +799,12 @@ export default {
.get(`/screen/hos/GetDeptList`, {}) .get(`/screen/hos/GetDeptList`, {})
.then((data) => { .then((data) => {
this.deptList = 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() this.getList()
}) })
.catch((error) => { .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