|
|
|
@ -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> |
|
|
|
@ -62,9 +64,9 @@ |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="预约编号" width="120" prop="thirdBookingId" align="center" /> |
|
|
|
<el-table-column label="状态" width="50" prop="medicalStatus" align="center" > |
|
|
|
<el-table-column label="状态" width="50" prop="medicalStatus" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ dddw(localDict.medicalStatus,'value',scope.row.medicalStatus,'label') }} |
|
|
|
{{ dddw(localDict.medicalStatus, 'value', scope.row.medicalStatus, 'label') }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -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: { |
|
|
|
|
|
|
|
@ -108,17 +111,17 @@ export default { |
|
|
|
appointStartDate: "", |
|
|
|
appointStopDate: "", |
|
|
|
completeFlag: "0", |
|
|
|
keyWord:'', |
|
|
|
startDate:'', |
|
|
|
endDate:'', |
|
|
|
medicalStatus:'0' |
|
|
|
keyWord: '', |
|
|
|
startDate: '', |
|
|
|
endDate: '', |
|
|
|
medicalStatus: '0' |
|
|
|
}, |
|
|
|
asbDesc: '', //所选套餐描述 |
|
|
|
localDict:{ |
|
|
|
medicalStatus:[ |
|
|
|
{label:'未开始',value:'0'}, // 0未开始 1已登记 2已完成 |
|
|
|
{label:'已登记',value:'1'}, |
|
|
|
{label:'已完成',value:'2'}, |
|
|
|
localDict: { |
|
|
|
medicalStatus: [ |
|
|
|
{ label: '未开始', value: '0' }, // 0未开始 1已登记 2已完成 |
|
|
|
{ label: '已登记', value: '1' }, |
|
|
|
{ label: '已完成', value: '2' }, |
|
|
|
] |
|
|
|
} |
|
|
|
}; |
|
|
|
@ -311,7 +314,7 @@ export default { |
|
|
|
this.dialogWin.WebBookingMzak = false |
|
|
|
}, |
|
|
|
|
|
|
|
dataTrans(curRow){ |
|
|
|
dataTrans(curRow) { |
|
|
|
// { // 标准数据 |
|
|
|
// "appointPatientRegisterId": "string", |
|
|
|
// "personId": "string", |
|
|
|
@ -353,9 +356,9 @@ export default { |
|
|
|
// "customerOrgRegisterId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
|
|
|
// "customerOrgId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" |
|
|
|
// } |
|
|
|
let ret = Object.assign({},curRow,{ |
|
|
|
mobileTelephone:curRow.phone, |
|
|
|
personName:curRow.patientName |
|
|
|
let ret = Object.assign({}, curRow, { |
|
|
|
mobileTelephone: curRow.phone, |
|
|
|
personName: curRow.patientName |
|
|
|
}) |
|
|
|
return ret |
|
|
|
|
|
|
|
|