|
@@ -35,14 +35,18 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="出院日期" style="margin-bottom: 0">
|
|
|
- <el-date-picker v-model="formInline.start_time" type="date" placeholder="出院开始日期" value-format="yyyyMMdd" format="yyyy年MM月dd日" />
|
|
|
+ <el-date-picker v-model="formInline.start_time" type="date" placeholder="出院开始日期" value-format="yyyyMMdd" format="yyyy年MM月dd日" />
|
|
|
</el-form-item>
|
|
|
<span style="margin-right: 10px; line-height: 40px; color: #7e8bab">至</span>
|
|
|
<el-form-item label="" style="margin-bottom: 0">
|
|
|
<el-date-picker v-model="formInline.end_time" type="date" placeholder="出院结束日期" value-format="yyyyMMdd" format="yyyy年MM月dd日" />
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="病案号" style="margin-bottom: 0">
|
|
|
+ <el-input v-model="formInline.AAA28" placeholder="请输入病案号"></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item style="margin-bottom: 0">
|
|
|
<el-button type="primary" class="bg185DA6" @click="onGobalSearch">查询</el-button>
|
|
|
+ <el-button type="primary" class="bg185DA6" @click="reset">重置</el-button>
|
|
|
</el-form-item>
|
|
|
<!---->
|
|
|
</el-form>
|
|
@@ -368,6 +372,7 @@
|
|
|
import DoctorRankVue from './components/index/DoctorRank.vue';
|
|
|
import { bmyDoctorRanking, encoderProblemExport } from '@/api/excel';
|
|
|
import IconBtn from '@/views/medicalRecord/components/index/IconBtn.vue';
|
|
|
+import moment from 'moment';
|
|
|
export default {
|
|
|
components: {
|
|
|
IconBtn,
|
|
@@ -490,11 +495,7 @@ export default {
|
|
|
this.getAllDoctor();//医师身份
|
|
|
},
|
|
|
async mounted() {
|
|
|
- const year = new Date().getFullYear();
|
|
|
- const month = new Date().getMonth() + 1 > 10 ? new Date().getMonth() + 1 : `0${new Date().getMonth() + 1}`;
|
|
|
- const day = new Date().getDate() < 10 ? `0${new Date().getDate()}` : new Date().getDate();
|
|
|
- this.$set(this.formInline, 'start_time', `${year}0101`);
|
|
|
- this.$set(this.formInline, 'end_time', `${year}${month}${day}`);
|
|
|
+ this.getAAC01Date();//获取出院日期
|
|
|
this.getSearchOptions();//获取搜索options
|
|
|
await this.getTongjiData()
|
|
|
this.tongjiPie();
|
|
@@ -516,6 +517,16 @@ export default {
|
|
|
next()
|
|
|
},
|
|
|
methods: {
|
|
|
+ //头部默认出院日期
|
|
|
+ getAAC01Date(){
|
|
|
+ this.formInline.start_time = moment().format('YYYY0101');
|
|
|
+ this.formInline.end_time = moment().format('YYYYMMDD');
|
|
|
+ },
|
|
|
+ //重置头部搜索条件
|
|
|
+ reset(){
|
|
|
+ this.formInline = {};
|
|
|
+ this.getAAC01Date();
|
|
|
+ },
|
|
|
//医师工号复制
|
|
|
yiCodeCopy(value) {
|
|
|
const textArea = document.createElement('textarea');
|