|
@@ -2,16 +2,13 @@
|
|
|
<el-container>
|
|
|
<el-header>
|
|
|
住院号:
|
|
|
- <el-input style="width: 120px" v-model="patNo"/>
|
|
|
+ <el-input style="width: 120px" v-model="patNo" clearable/>
|
|
|
<el-button @click="queryClick">查询</el-button>
|
|
|
</el-header>
|
|
|
|
|
|
<el-main>
|
|
|
<xc-table :local-data="data" :height="20">
|
|
|
- <el-table-column label="住院号" prop="patNo" width="80"/>
|
|
|
- <el-table-column label="姓名" prop="name" width="60"/>
|
|
|
- <el-table-column label="床号" prop="bedNo" width="60"/>
|
|
|
- <el-table-column label="消息" prop="message"/>
|
|
|
+ <el-table-column label="危急值" prop="content"/>
|
|
|
</xc-table>
|
|
|
</el-main>
|
|
|
|
|
@@ -20,7 +17,7 @@
|
|
|
|
|
|
<script setup name='CriticalValue'>
|
|
|
import {huanZheXinXi} from "@/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng";
|
|
|
-import {getCriticalValuePatientList} from "@/api/zhu-yuan-yi-sheng/critical-value";
|
|
|
+import {getCriticalValues} from "@/api/zhu-yuan-yi-sheng/critical-value";
|
|
|
import XcTable from "@/components/xiao-chan/xc-table/XcTable.vue";
|
|
|
|
|
|
const patNo = ref('')
|
|
@@ -30,7 +27,7 @@ const queryClick = () => {
|
|
|
if (!patNo.value) {
|
|
|
patNo.value = ''
|
|
|
}
|
|
|
- getCriticalValuePatientList(patNo.value).then((res) => {
|
|
|
+ getCriticalValues(patNo.value).then((res) => {
|
|
|
data.value = res
|
|
|
})
|
|
|
}
|
|
@@ -40,7 +37,6 @@ watch(() => huanZheXinXi.value.inpatientNo, () => {
|
|
|
queryClick()
|
|
|
}, {immediate: true})
|
|
|
|
|
|
-
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|