|
@@ -1,162 +1,183 @@
|
|
<template>
|
|
<template>
|
|
- <el-form style="width: 100%" ref="filterListFormRef" :model="formData" class="demo-form-inline" label-suffix=":"
|
|
|
|
- label-width="90px">
|
|
|
|
- <el-row :gutter="24">
|
|
|
|
- <el-radio-group v-model="formData.in_hospital" @input="onSubmit" style="margin-bottom:15px">
|
|
|
|
- <el-radio-button label="全部"></el-radio-button>
|
|
|
|
- <el-radio-button label="出院"></el-radio-button>
|
|
|
|
- <el-radio-button label="在院"></el-radio-button>
|
|
|
|
- </el-radio-group>
|
|
|
|
- </el-row>
|
|
|
|
- <el-row :gutter="24">
|
|
|
|
- <el-col :span="7">
|
|
|
|
- <el-form-item label="出院日期">
|
|
|
|
- <div style="width: 100%;display: flex;gap: 5px;">
|
|
|
|
- <el-form-item prop="AAC01_START">
|
|
|
|
- <el-date-picker style="width: 100%" v-model="formData.AAC01_START" type="date" placeholder="开始日期"
|
|
|
|
- :picker-options="AAC01PickerOptions" value-format="yyyyMMdd" format="yyyy年MM月dd日">
|
|
|
|
- </el-date-picker>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item prop="AAC01_END">
|
|
|
|
- <el-date-picker style="width: 100%" v-model="formData.AAC01_END" type="date" placeholder="结束日期"
|
|
|
|
- value-format="yyyyMMdd" format="yyyy年MM月dd日">
|
|
|
|
- </el-date-picker>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5">
|
|
|
|
- <el-form-item label="出院科室" prop="KS_CODE">
|
|
|
|
- <el-cascader style="width: 100%;" placeholder="请选择" v-model="formData.KS_CODE"
|
|
|
|
- :options="searchOptions.ksArray" filterable :props="searchOptions.cascaderProps" clearable collapse-tags
|
|
|
|
- @change="ksChange">
|
|
|
|
- </el-cascader>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5">
|
|
|
|
- <el-form-item label="出院病区" prop="BQ_CODE">
|
|
|
|
- <el-cascader style="width: 100%;" placeholder="请选择" v-model="formData.BQ_CODE"
|
|
|
|
- :options="searchOptions.bqArray" filterable :props="searchOptions.cascaderProps" clearable collapse-tags>
|
|
|
|
- </el-cascader>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="7">
|
|
|
|
- <el-form-item label="病案号" prop="AAA28">
|
|
|
|
- <el-input style="width: 100%" v-model="formData.AAA28" placeholder="请输入"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
- <el-row :gutter="24">
|
|
|
|
- <el-col :span="7">
|
|
|
|
- <el-form-item label="入院日期">
|
|
|
|
- <div style="width: 100%;display: flex;gap: 5px;">
|
|
|
|
- <el-form-item prop="AAB01_START">
|
|
|
|
- <el-date-picker style="width: 100%" v-model="formData.AAB01_START" type="date" placeholder="开始日期"
|
|
|
|
- :picker-options="AAB01PickerOptions" value-format="yyyyMMdd" format="yyyy年MM月dd日">
|
|
|
|
- </el-date-picker>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item prop="AAB01_END">
|
|
|
|
- <el-date-picker style="width: 100%" v-model="formData.AAB01_END" type="date" placeholder="结束日期"
|
|
|
|
- value-format="yyyyMMdd" format="yyyy年MM月dd日">
|
|
|
|
- </el-date-picker>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5">
|
|
|
|
- <el-form-item label="医嘱名称" prop="yzmc">
|
|
|
|
- <el-input v-model="formData.yzmc" placeholder="请输入"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5">
|
|
|
|
- <el-form-item label="费用名称" prop="fymc">
|
|
|
|
- <el-input v-model="formData.fymc" placeholder="请输入"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="7">
|
|
|
|
- <el-form-item label="住院天数" prop="">
|
|
|
|
- <div style="width: 100%;display: flex;gap: 5px;">
|
|
|
|
- <el-form-item prop="endDay1">
|
|
|
|
- <el-input style="width: 100%;" v-model="formData.endDay1">
|
|
|
|
- <template slot="append">天</template>
|
|
|
|
- </el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- -
|
|
|
|
- <el-form-item prop="endDay2">
|
|
|
|
- <el-input style="width: 100%;" v-model="formData.endDay2">
|
|
|
|
- <template slot="append">天</template>
|
|
|
|
- </el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
- <el-row :gutter="24" v-show="expand">
|
|
|
|
- <el-col :span="7">
|
|
|
|
- <el-form-item label="非计划手术" prop="unplannedSurgery">
|
|
|
|
- <el-select style="width: 100%" v-model="formData.unplannedSurgery" placeholder="请选择">
|
|
|
|
- <el-option v-for="item in searchOptions.unplannedSurgeryArray" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
- </el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5">
|
|
|
|
- <el-form-item label="手术安排" prop="surgicalPlanning">
|
|
|
|
- <el-select style="width: 100%" v-model="formData.surgicalPlanning" placeholder="请选择">
|
|
|
|
- <el-option v-for="item in searchOptions.surgicalPlanningArray" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
- </el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="5">
|
|
|
|
- <el-form-item label="离院方式" prop="AEM01C">
|
|
|
|
- <el-select v-model="formData.AEM01C" clearable filterable placeholder="请选择" style="width: 100%;">
|
|
|
|
- <el-option v-for="(item, index) in searchOptions.lyTypeArray" :label="item.name" :value="item.id" :key="index"></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="7">
|
|
|
|
- <el-form-item label="住院天数" prop="">
|
|
|
|
- <div style="width: 100%;display: flex;gap: 5px;">
|
|
|
|
- <el-form-item prop="const1">
|
|
|
|
- <el-input style="width: 100%;" v-model="formData.const1">
|
|
|
|
- <template slot="append">元</template>
|
|
|
|
- </el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- -
|
|
|
|
- <el-form-item prop="const2">
|
|
|
|
- <el-input style="width: 100%;" v-model="formData.const2">
|
|
|
|
- <template slot="append">元</template>
|
|
|
|
- </el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
- <el-row :gutter="24">
|
|
|
|
- <el-col :span="7">
|
|
|
|
- <el-form-item label="" prop="">
|
|
|
|
- <el-row type="flex" justify="start" style="margin-left: -90px">
|
|
|
|
- <el-button type="text" :icon="`el-icon-arrow-${expand? 'up' : 'down'}`" @click="expand = !expand">{{
|
|
|
|
- expand ? '收起' : '展开'}}</el-button>
|
|
|
|
- </el-row>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="7" :offset="10">
|
|
|
|
- <el-form-item label="" prop="">
|
|
|
|
- <el-row type="flex" justify="end">
|
|
|
|
- <el-button type="primary" @click="onSubmit">查询</el-button>
|
|
|
|
- <el-button @click="onReset">重置</el-button>
|
|
|
|
- </el-row>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
- </el-form>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <el-form style="width: 100%" ref="filterListFormRef" :model="formData" class="demo-form-inline" label-suffix=":"
|
|
|
|
+ label-width="90px">
|
|
|
|
+ <el-row :gutter="24">
|
|
|
|
+ <el-col :span="7">
|
|
|
|
+ <el-radio-group v-model="formData.in_hospital" @input="onSubmit" style="margin-bottom:15px">
|
|
|
|
+ <el-radio-button label="全部"></el-radio-button>
|
|
|
|
+ <el-radio-button label="出院"></el-radio-button>
|
|
|
|
+ <el-radio-button label="在院"></el-radio-button>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="7" :offset="10">
|
|
|
|
+ <el-form-item label="" prop="">
|
|
|
|
+ <el-row type="flex" justify="end">
|
|
|
|
+ <el-button type="text" @click="openCollectListModal" icon="el-icon-star-on">常用查询条件</el-button>
|
|
|
|
+ </el-row>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row :gutter="24">
|
|
|
|
+ <el-col :span="7">
|
|
|
|
+ <el-form-item label="出院日期">
|
|
|
|
+ <div style="width: 100%;display: flex;gap: 5px;">
|
|
|
|
+ <el-form-item prop="AAC01_START">
|
|
|
|
+ <el-date-picker style="width: 100%" v-model="formData.AAC01_START" type="date" placeholder="开始日期"
|
|
|
|
+ :picker-options="AAC01PickerOptions" value-format="yyyyMMdd" format="yyyy年MM月dd日">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item prop="AAC01_END">
|
|
|
|
+ <el-date-picker style="width: 100%" v-model="formData.AAC01_END" type="date" placeholder="结束日期"
|
|
|
|
+ value-format="yyyyMMdd" format="yyyy年MM月dd日">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="5">
|
|
|
|
+ <el-form-item label="出院科室" prop="KS_CODE">
|
|
|
|
+ <el-cascader style="width: 100%;" placeholder="请选择" v-model="formData.KS_CODE"
|
|
|
|
+ :options="searchOptions.ksArray" filterable :props="searchOptions.cascaderProps" clearable collapse-tags
|
|
|
|
+ @change="ksChange">
|
|
|
|
+ </el-cascader>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="5">
|
|
|
|
+ <el-form-item label="出院病区" prop="BQ_CODE">
|
|
|
|
+ <el-cascader style="width: 100%;" placeholder="请选择" v-model="formData.BQ_CODE"
|
|
|
|
+ :options="searchOptions.bqArray" filterable :props="searchOptions.cascaderProps" clearable collapse-tags>
|
|
|
|
+ </el-cascader>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="7">
|
|
|
|
+ <el-form-item label="病案号" prop="AAA28">
|
|
|
|
+ <el-input style="width: 100%" v-model="formData.AAA28" placeholder="请输入"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row :gutter="24">
|
|
|
|
+ <el-col :span="7">
|
|
|
|
+ <el-form-item label="入院日期">
|
|
|
|
+ <div style="width: 100%;display: flex;gap: 5px;">
|
|
|
|
+ <el-form-item prop="AAB01_START">
|
|
|
|
+ <el-date-picker style="width: 100%" v-model="formData.AAB01_START" type="date" placeholder="开始日期"
|
|
|
|
+ :picker-options="AAB01PickerOptions" value-format="yyyyMMdd" format="yyyy年MM月dd日">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item prop="AAB01_END">
|
|
|
|
+ <el-date-picker style="width: 100%" v-model="formData.AAB01_END" type="date" placeholder="结束日期"
|
|
|
|
+ value-format="yyyyMMdd" format="yyyy年MM月dd日">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="5">
|
|
|
|
+ <el-form-item label="医嘱名称" prop="yzmc">
|
|
|
|
+ <el-input v-model="formData.yzmc" placeholder="请输入"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="5">
|
|
|
|
+ <el-form-item label="费用名称" prop="fymc">
|
|
|
|
+ <el-input v-model="formData.fymc" placeholder="请输入"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="7">
|
|
|
|
+ <el-form-item label="住院天数" prop="">
|
|
|
|
+ <div style="width: 100%;display: flex;gap: 5px;">
|
|
|
|
+ <el-form-item prop="endDay1">
|
|
|
|
+ <el-input style="width: 100%;" v-model="formData.endDay1">
|
|
|
|
+ <template slot="append">天</template>
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ -
|
|
|
|
+ <el-form-item prop="endDay2">
|
|
|
|
+ <el-input style="width: 100%;" v-model="formData.endDay2">
|
|
|
|
+ <template slot="append">天</template>
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row :gutter="24" v-show="expand">
|
|
|
|
+ <el-col :span="7">
|
|
|
|
+ <el-form-item label="非计划手术" prop="unplannedSurgery">
|
|
|
|
+ <el-select style="width: 100%" v-model="formData.unplannedSurgery" placeholder="请选择">
|
|
|
|
+ <el-option v-for="item in searchOptions.unplannedSurgeryArray" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="5">
|
|
|
|
+ <el-form-item label="手术安排" prop="surgicalPlanning">
|
|
|
|
+ <el-select style="width: 100%" v-model="formData.surgicalPlanning" placeholder="请选择">
|
|
|
|
+ <el-option v-for="item in searchOptions.surgicalPlanningArray" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="5">
|
|
|
|
+ <el-form-item label="离院方式" prop="AEM01C">
|
|
|
|
+ <el-select v-model="formData.AEM01C" clearable filterable placeholder="请选择" style="width: 100%;">
|
|
|
|
+ <el-option v-for="(item, index) in searchOptions.lyTypeArray" :label="item.name" :value="item.id" :key="index"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="7">
|
|
|
|
+ <el-form-item label="住院天数" prop="">
|
|
|
|
+ <div style="width: 100%;display: flex;gap: 5px;">
|
|
|
|
+ <el-form-item prop="const1">
|
|
|
|
+ <el-input style="width: 100%;" v-model="formData.const1">
|
|
|
|
+ <template slot="append">元</template>
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ -
|
|
|
|
+ <el-form-item prop="const2">
|
|
|
|
+ <el-input style="width: 100%;" v-model="formData.const2">
|
|
|
|
+ <template slot="append">元</template>
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row :gutter="24">
|
|
|
|
+ <el-col :span="7">
|
|
|
|
+ <el-form-item label="" prop="">
|
|
|
|
+ <el-row type="flex" justify="start" style="margin-left: -90px">
|
|
|
|
+ <el-button type="text" :icon="`el-icon-arrow-${expand? 'up' : 'down'}`" @click="expand = !expand">{{
|
|
|
|
+ expand ? '收起' : '展开'}}</el-button>
|
|
|
|
+ <el-button type="warning" plain icon="el-icon-star-off" @click="openCollectModal">收藏</el-button>
|
|
|
|
+ </el-row>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="7" :offset="10">
|
|
|
|
+ <el-form-item label="" prop="">
|
|
|
|
+ <el-row type="flex" justify="end">
|
|
|
|
+ <el-button type="primary" @click="onSubmit">查询</el-button>
|
|
|
|
+ <el-button @click="onReset">重置</el-button>
|
|
|
|
+ </el-row>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ </el-form>
|
|
|
|
+ <CollectModalBox ref="CollectModalBoxRef"/>
|
|
|
|
+ <CollectListModalBox ref="CollectListModalBoxRef"/>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import moment from 'moment/moment';
|
|
import moment from 'moment/moment';
|
|
|
|
+import CollectModalBox from './CollectModal.vue'
|
|
|
|
+import CollectListModalBox from './CollectListModal.vue'
|
|
|
|
+
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
|
+ components: {
|
|
|
|
+ CollectModalBox,
|
|
|
|
+ CollectListModalBox
|
|
|
|
+ },
|
|
emits: ['search', 'reset'],
|
|
emits: ['search', 'reset'],
|
|
data() {
|
|
data() {
|
|
const that = this
|
|
const that = this
|
|
@@ -390,6 +411,12 @@ export default {
|
|
return item
|
|
return item
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ openCollectModal() {
|
|
|
|
+ this.$refs.CollectModalBoxRef.openModal();
|
|
|
|
+ },
|
|
|
|
+ openCollectListModal() {
|
|
|
|
+ this.$refs.CollectListModalBoxRef.openModal();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|