预约记录筛选

main
yanzai 10 months ago
parent 5d4b8adf67
commit c03e10c3a9

@ -31,6 +31,10 @@ class AppointmentService
$sql=$sql .' and a.calendar_id = ? ';
array_push($canshu, $arr['searchInfo']['calendarId']);
}
if(isset($arr['searchInfo']['type'])){
$sql=$sql .' and a.type = ? ';
array_push($canshu, $arr['searchInfo']['type']);
}
if($arr['searchInfo']['dateRange']){

@ -1,5 +1,5 @@
ENV = 'production'
VITE_APP_API_6666666 = 'http://192.168.50.123:33583/common/la/public/api/'
VITE_APP_API_66666666 = 'http://192.168.50.123:33583/common/la/public/api/'
VITE_APP_FILE_66666666 = 'http://192.168.50.123:33583/common/la/public'
VITE_APP_API = 'http://172.31.68.39:33583/common/la/public/api/'

@ -3,7 +3,14 @@
<div class="head">
<el-row>
<el-form-item>
<el-tag class="ml-2" type="success" style="margin-right: 20px;">机构名称</el-tag>
<el-tag class="ml-2" type="success" style="margin-right: 8px;">类型</el-tag>
<el-select filterable v-model="searchInfo.type" placeholder="体检类型" clearable style="width:130px; margin-right: 8px;">
<el-option label="健康证" value="1" />
<el-option label="老年人" value="2" />
</el-select>
</el-form-item>
<el-form-item>
<el-tag class="ml-2" type="success" style="margin-right: 8px;">机构名称</el-tag>
<el-select filterable v-model="searchInfo.orgId" placeholder="请选择体检机构" clearable>
<el-option v-for="(item, index) in org_list" :key="index" :label="item.org_name"
:value="item.id" />
@ -13,7 +20,7 @@
<el-input v-model="searchInfo.userinfo" placeholder="姓名/身份证" />
</el-form-item>
<el-form-item>
<el-tag class="ml-2" type="success" style=" margin-left: 20px;margin-right: 20px;">时间段</el-tag>
<el-tag class="ml-2" type="success" style=" margin-left: 8px;margin-right: 8px;">时间段</el-tag>
<div>
<el-date-picker v-model="searchInfo.dateRange" value-format="YYYY-MM-DD" type="daterange"
range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
@ -67,9 +74,9 @@
<el-table-column prop="created_at" label="创建时间" />
<el-table-column label="操作" >
<template #default="scope">
<div style="display: flex;">
<el-button @click="ShowPic(scope.row)"></el-button>
<div style="display: flex;">
<el-button type="primary" @click="del(scope.row.id)"></el-button>
<el-button v-if="scope.row.type==1" @click="ShowPic(scope.row)"></el-button>
</div>
</template>

Loading…
Cancel
Save