|
@@ -0,0 +1,438 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <div class="content-box">
|
|
|
+ <!-- 病历搜索 -->
|
|
|
+ <div class="search-box">
|
|
|
+ <div class="row-box">
|
|
|
+ <el-row v-for="(item, index) of rows" :key="index" style="margin-bottom: 16px;">
|
|
|
+ <el-col :span="4">
|
|
|
+ <el-select v-model="item.region" placeholder="请选择">
|
|
|
+ <el-option label="且" :value="0"></el-option>
|
|
|
+ <el-option label="或" :value="1"></el-option>
|
|
|
+ <el-option label="不包含" :value="2"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
+ <el-cascader
|
|
|
+ v-model="item.value"
|
|
|
+ :options="bl"
|
|
|
+ :props="{
|
|
|
+ label: 'name',
|
|
|
+ value: 'key',
|
|
|
+ expandTrigger: 'hover'
|
|
|
+ }">
|
|
|
+ </el-cascader>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="11">
|
|
|
+ <el-input v-model="item.input" placeholder="请输入"></el-input>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4">
|
|
|
+ <el-button type="primary" icon="el-icon-plus" circle size="mini" style="margin-left: 16px; margin-top: 5px;" @click="onPlus"></el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-minus" circle size="mini" @click="onMinus(index)"></el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 信息搜索 -->
|
|
|
+ <div class="info-search">
|
|
|
+ <el-form :inline="true" :model="formInline" class="demo-form-inline">
|
|
|
+ <el-form-item label="住院号码">
|
|
|
+ <el-input v-model="formInline.user" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="出院科室">
|
|
|
+ <el-select v-model="formInline.user" filterable placeholder="请选择">
|
|
|
+ <el-option v-for="(item, index) in departmentList" :key="index" :label="item.name" :value="item.name" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="出院时间">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="formInline.startTime"
|
|
|
+ type="date"
|
|
|
+ format="yyyy年MM月dd日"
|
|
|
+ value-format="yyyyMMdd"
|
|
|
+ placeholder="开始日期"
|
|
|
+ :picker-options="pickerOptions"
|
|
|
+ style="margin-right: 10px;"
|
|
|
+ />
|
|
|
+ <el-date-picker
|
|
|
+ v-model="formInline.endTime"
|
|
|
+ type="date"
|
|
|
+ format="yyyy年MM月dd日"
|
|
|
+ value-format="yyyyMMdd"
|
|
|
+ placeholder="结束日期"
|
|
|
+ :picker-options="pickerOptions"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <el-collapse v-model="activeNames" @change="handleChange" style="margin-top: -40px; border: none;">
|
|
|
+ <el-collapse-item title="" name="1">
|
|
|
+ <el-form :inline="true" :model="formInline2" class="demo-form-inline2">
|
|
|
+ <el-form-item label="姓名">
|
|
|
+ <el-input v-model="formInline2.user" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="性别">
|
|
|
+ <el-input v-model="formInline2.user" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="入院时间">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="formInline2.startTime"
|
|
|
+ type="date"
|
|
|
+ format="yyyy年MM月dd日"
|
|
|
+ value-format="yyyyMMdd"
|
|
|
+ placeholder="开始日期"
|
|
|
+ :picker-options="pickerOptions"
|
|
|
+ style="margin-right: 10px;"
|
|
|
+ />
|
|
|
+ <el-date-picker
|
|
|
+ v-model="formInline2.endTime"
|
|
|
+ type="date"
|
|
|
+ format="yyyy年MM月dd日"
|
|
|
+ value-format="yyyyMMdd"
|
|
|
+ placeholder="结束日期"
|
|
|
+ :picker-options="pickerOptions"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="住院天数">
|
|
|
+ <el-input placeholder="起始天数" v-model="formInline2.AAC04_start" style="width: 180px; margin-right: 10px;">
|
|
|
+ <template slot="append">天</template>
|
|
|
+ </el-input>
|
|
|
+ <el-input placeholder="终止天数" v-model="formInline2.AAC04_end" style="width: 180px;">
|
|
|
+ <template slot="append">天</template>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="年龄">
|
|
|
+ <el-input placeholder="起始年龄" v-model="formInline2.AAC04_start" style="width: 220px; margin-right: 10px;">
|
|
|
+ <el-select v-model="formInline2.ageType" slot="append" placeholder="请选择">
|
|
|
+ <el-option label="天" value="1"></el-option>
|
|
|
+ <el-option label="岁" value="2"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-input>
|
|
|
+ <el-input placeholder="终止年龄" v-model="formInline2.AAC04_end" style="width: 220px;">
|
|
|
+ <el-select v-model="formInline2.ageType" slot="append" placeholder="请选择">
|
|
|
+ <el-option label="天" value="1"></el-option>
|
|
|
+ <el-option label="岁" value="2"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="体温">
|
|
|
+ <el-input placeholder="起始体温" v-model="formInline2.AAC04_start" style="width: 180px; margin-right: 10px;">
|
|
|
+ <template slot="append">℃</template>
|
|
|
+ </el-input>
|
|
|
+ <el-input placeholder="终止体温" v-model="formInline2.AAC04_end" style="width: 180px;">
|
|
|
+ <template slot="append">℃</template>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </el-collapse-item>
|
|
|
+ </el-collapse>
|
|
|
+ <el-button type="primary" class="search-btn">检 索</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ pickerOptions: {
|
|
|
+ disabledDate(time) {
|
|
|
+ return time.getTime() > Date.now();
|
|
|
+ },
|
|
|
+ },
|
|
|
+ rows: [{
|
|
|
+ region: 0,
|
|
|
+ value: '',
|
|
|
+ input: ''
|
|
|
+ }],
|
|
|
+ form: {
|
|
|
+ region: 0,
|
|
|
+ value: '',
|
|
|
+ input: ''
|
|
|
+ },
|
|
|
+ "bl": [{
|
|
|
+ "key": "RYJL",
|
|
|
+ "name": "入院记录",
|
|
|
+ "children": [{
|
|
|
+ "key": "RYJL_HJNR",
|
|
|
+ "name": "整体",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_ZHS",
|
|
|
+ "name": "主诉",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_XBS",
|
|
|
+ "name": "现病史",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_JWS",
|
|
|
+ "name": "既往史",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_GRS",
|
|
|
+ "name": "个人史",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_YJJHYS",
|
|
|
+ "name": "月经及婚育史+婚育史",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_JZS",
|
|
|
+ "name": "家族史",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_TGJC",
|
|
|
+ "name": "体格检查",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_ZHUANKE",
|
|
|
+ "name": "专科检查",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_FZJC",
|
|
|
+ "name": "辅助检查",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_CBZD",
|
|
|
+ "name": "初步诊断",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "RYJL_CBZB_FIRST",
|
|
|
+ "name": "第一初步诊断",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "BCJL",
|
|
|
+ "name": "病程记录",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "SSJL",
|
|
|
+ "name": "手术记录",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "CYJL",
|
|
|
+ "name": "出院记录",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "SWJL",
|
|
|
+ "name": "死亡记录",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "23XSNJLL",
|
|
|
+ "name": "24小时内记录类",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "YZB",
|
|
|
+ "name": "医嘱单",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "BGD",
|
|
|
+ "name": "报告单",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "FYMC",
|
|
|
+ "name": "费用明细",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "ZYZDMC",
|
|
|
+ "name": "主要诊断名称",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "ZYZDBM",
|
|
|
+ "name": "主要诊断编码",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "QTZDMC",
|
|
|
+ "name": "其他诊断名称",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "QTZDBM",
|
|
|
+ "name": "其他诊断编码",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "ZYSSMC",
|
|
|
+ "name": "主要手术名称",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "ZYSSBM",
|
|
|
+ "name": "主要手术编码",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "QTSSMC",
|
|
|
+ "name": "其他手术名称",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "QTSSBM",
|
|
|
+ "name": "其他手术编码",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "SQTYL",
|
|
|
+ "name": "授权同意类",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "YHGTL",
|
|
|
+ "name": "医患沟通类",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "BLTLJL",
|
|
|
+ "name": "病历讨论记录",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "PGPFB",
|
|
|
+ "name": "评估评分表类",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "YLCYBG",
|
|
|
+ "name": "医疗常用表格",
|
|
|
+ "type": "input",
|
|
|
+ "value": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ formInline: {
|
|
|
+ user: '',
|
|
|
+ startTime: '',
|
|
|
+ endTime: ''
|
|
|
+ },
|
|
|
+ formInline2: {
|
|
|
+ ageType: '1',
|
|
|
+ user: '',
|
|
|
+ startTime: '',
|
|
|
+ endTime: '',
|
|
|
+ AAC04_start: '',
|
|
|
+ AAC04_end: ''
|
|
|
+ },
|
|
|
+ departmentList: []
|
|
|
+ }
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.selectInfo()
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ // 获取科室
|
|
|
+ selectInfo() {
|
|
|
+ this.$axios.post('/selectInfo').then(res => {
|
|
|
+ this.departmentList = res.data.department;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 新增一行
|
|
|
+ onPlus() {
|
|
|
+ this.rows.push({
|
|
|
+ region: 0,
|
|
|
+ value: '',
|
|
|
+ input: ''
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 减一行
|
|
|
+ onMinus(index) {
|
|
|
+ this.rows.splice(index, 1)
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.content-box {
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 5px;
|
|
|
+ margin: 20px;
|
|
|
+ .search-box {
|
|
|
+ .row-box {
|
|
|
+ width: 800px;
|
|
|
+ margin: 0 auto 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info-search {
|
|
|
+ margin-top: 20px;
|
|
|
+ .demo-form-inline {
|
|
|
+ width: 1110px;
|
|
|
+ margin: 0 auto;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .search-btn {
|
|
|
+ width: 240px;
|
|
|
+ display: block;
|
|
|
+ margin: 0 auto;
|
|
|
+ }
|
|
|
+}
|
|
|
+::v-deep .el-input-group__append {
|
|
|
+ width: 65px;
|
|
|
+}
|
|
|
+::v-deep .el-form--inline .el-form-item {
|
|
|
+ margin-right: 20px;
|
|
|
+}
|
|
|
+::v-deep .el-collapse-item__arrow {
|
|
|
+ margin-top: -50px;
|
|
|
+}
|
|
|
+:v-deep .is-active .el-collapse-item__header {
|
|
|
+ border-bottom: none !important;
|
|
|
+}
|
|
|
+:v-deep .is-active .el-collapse-item__wrap {
|
|
|
+ border-bottom: none !important;
|
|
|
+}
|
|
|
+</style>
|