Browse Source

parsIcCardtoLocal

master
pengjun 5 months ago
parent
commit
cea96cd124
  1. 2
      src/components/webBooking/WebBooking.vue
  2. 25
      src/components/webBooking/WebBookingMzak.vue

2
src/components/webBooking/WebBooking.vue

@ -118,7 +118,7 @@
<script>
import { mapState } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { dddw, deepCopy } from "../../utlis/proFunc";
import { dddw, deepCopy, parsIcCardtoLocal } from "../../utlis/proFunc";
import moment from "moment";

25
src/components/webBooking/WebBookingMzak.vue

@ -9,11 +9,11 @@
<el-option v-for="item in thirdInterfaces" :key="item.id" :label="item.displayName" :value="item.id" />
</el-select>
-->
<el-date-picker v-model="query.startDate" type="date" placeholder="起始日期" size="small"
style="width:90px;" value-format="yyyy-MM-dd" :picker-options="{disabledDate:false,shortcuts:pickerOptions.shortcuts}" />
<el-date-picker v-model="query.startDate" type="date" placeholder="起始日期" size="small" style="width:90px;"
value-format="yyyy-MM-dd" :picker-options="{ disabledDate: false, shortcuts: pickerOptions.shortcuts }" />
<span class="spanClass"></span>
<el-date-picker v-model="query.endDate" type="date" placeholder="截止日期" size="small"
style="width:90px;" value-format="yyyy-MM-dd" :picker-options="{disabledDate:false,shortcuts:pickerOptions.shortcuts}"/>
<el-date-picker v-model="query.endDate" type="date" placeholder="截止日期" size="small" style="width:90px;"
value-format="yyyy-MM-dd" :picker-options="{ disabledDate: false, shortcuts: pickerOptions.shortcuts }" />
</div>
<div class="query">
<span class="spanClass">检索关键字</span>
@ -22,21 +22,23 @@
<div class="query">
<span class="spanClass">状态</span>
<el-select v-model="query.medicalStatus" placeholder="请选择" clearable style="width: 80px" size="small">
<el-option v-for="item in localDict.medicalStatus" :key="item.value" :label="item.label" :value="item.value">
<el-option v-for="item in localDict.medicalStatus" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</el-select>
</div>
</div>
<div style="margin-top: -38px;width: 160px;">
<div>
<el-button @click="peopleIcCard" size="small" class="commonbutton" style="width:160px;font-size: 14px;">读身份证</el-button>
<el-button @click="peopleIcCard" size="small" class="commonbutton"
style="width:160px;font-size: 14px;">读身份证</el-button>
</div>
<div style="display: flex;">
<el-button size="small" class="commonbutton" @click="btnQuery" style="margin-top: 6px; width:60px;">查询</el-button>
<el-button size="small" class="commonbutton" @click="btnQuery"
style="margin-top: 6px; width:60px;">查询</el-button>
<el-button @click="handleExport" size="small" class="commonbutton" style="margin-top: 6px; width:100px;"
>导出excel</el-button
>
<el-button @click="handleExport" size="small" class="commonbutton"
style="margin-top: 6px; width:100px;">导出excel</el-button>
</div>
</div>
</div>
@ -87,10 +89,11 @@
<script>
import { mapState } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { dddw, deepCopy } from "../../utlis/proFunc";
import { dddw, deepCopy, parsIcCardtoLocal } from "../../utlis/proFunc";
import moment from "moment";
import { exportToExcel } from "../../utlis/Export2Excel";
export default {
components: {

Loading…
Cancel
Save