|
@@ -1,5 +1,10 @@
|
|
|
<template>
|
|
|
- <el-container>
|
|
|
+ <router-view v-slot="{ Component }">
|
|
|
+ <keep-alive>
|
|
|
+ <component :is="Component"/>
|
|
|
+ </keep-alive>
|
|
|
+ </router-view>
|
|
|
+ <el-container v-show="xianShiYeMian">
|
|
|
<el-header style="height: 30px">
|
|
|
检查名称:
|
|
|
<el-autocomplete v-model="orderName" :fetch-suggestions="querySearchAsync" clearable
|
|
@@ -27,6 +32,7 @@
|
|
|
<el-table-column label="手术时间" prop="opDatetime" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column fixed="right" label="操作" width="80">
|
|
|
<template #default="scope">
|
|
|
+
|
|
|
<el-button circle icon="el-icon-view" title="查看"
|
|
|
@click="dianJiChaKanShouShu(scope.row,scope.$index)"></el-button>
|
|
|
<el-button circle icon="iconfont icon-dayin" title="打印"
|
|
@@ -76,6 +82,7 @@ export default {
|
|
|
const dateRange = ref([])
|
|
|
const daYing = ref()
|
|
|
const tableIndex = ref(-1)
|
|
|
+ const xianShiYeMian = ref(true)
|
|
|
|
|
|
const shouShuShuJu = ref({
|
|
|
data: [],
|
|
@@ -156,9 +163,17 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ watch(() => router.currentRoute.value.path, () => {
|
|
|
+ let path = router.currentRoute.value.path
|
|
|
+ if (path === '/inpatient/zhuYuanYiSheng/shouShuShenQing') {
|
|
|
+ xianShiYeMian.value = true
|
|
|
+ } else xianShiYeMian.value = path !== '/inpatient/zhuYuanYiSheng/shouShuShenQing/xinZengShouShuShenQing';
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
const dianJiXinZhenShouShu = () => {
|
|
|
if (youWuXuanZheHuanZhe()) return
|
|
|
- router.push('/inpatient/zhuYuanYiSheng/xinZengShouShuShenQing')
|
|
|
+ router.push('/inpatient/zhuYuanYiSheng/shouShuShenQing/xinZengShouShuShenQing')
|
|
|
}
|
|
|
|
|
|
|
|
@@ -175,7 +190,8 @@ export default {
|
|
|
dianJiDaYing,
|
|
|
daYing,
|
|
|
rowClass,
|
|
|
- dianJiXinZhenShouShu
|
|
|
+ dianJiXinZhenShouShu,
|
|
|
+ xianShiYeMian
|
|
|
}
|
|
|
}
|
|
|
}
|