主工作界面增加医生和科室搜索

main
yanzai 1 year ago
parent ab9dbdc5d7
commit 60021e465a

@ -120,6 +120,12 @@ class WorkMainController extends Controller
if (isset($searchInfo['user_name'])) { if (isset($searchInfo['user_name'])) {
$list = $list->where('s_list.user_name', 'like','%'.$searchInfo['user_name'].'%'); $list = $list->where('s_list.user_name', 'like','%'.$searchInfo['user_name'].'%');
} }
if (isset($searchInfo['doctor'])) {
$list = $list->where('s_list.docotr', 'like','%'.$searchInfo['doctor'].'%');
}
if (isset($searchInfo['apply_department'])) {
$list = $list->where('s_list.reservation_department', 'like','%'.$searchInfo['apply_department'].'%');
}
$count = $list; $count = $list;
$count = $count->count(); $count = $count->count();

@ -385,6 +385,7 @@ WHERE
//短信提醒 //短信提醒
public function SendMsg($infos,$dotype=1) public function SendMsg($infos,$dotype=1)
{ {
$s=new SendMessgeService(); $s=new SendMessgeService();
foreach ($infos as $key => $info) { foreach ($infos as $key => $info) {
$mainInfo = DB::table('s_list as a') $mainInfo = DB::table('s_list as a')

@ -147,7 +147,7 @@ const router = createRouter({
name: 'AppointmentMngrPlanList', name: 'AppointmentMngrPlanList',
component: () => import('../views/AppointmentMngr/PlanList.vue'), component: () => import('../views/AppointmentMngr/PlanList.vue'),
meta: { meta: {
title: '预约资源计划' title: '预约资源明细'
} }
},{ },{
path: '/appointmentmngr/ratio', path: '/appointmentmngr/ratio',

@ -614,6 +614,7 @@
// //
let devicesList = ref([]) let devicesList = ref([])
const resourceChange = () => { const resourceChange = () => {
PlanInfo.value.devices=[];
loading.value = true loading.value = true
ResourceGetBindDeviceList({ ResourceGetBindDeviceList({
resource_id: PlanInfo.value.resources_id resource_id: PlanInfo.value.resources_id

@ -14,16 +14,19 @@
inactive-action-icon="Sunny" @change="toggleDark" /> inactive-action-icon="Sunny" @change="toggleDark" />
</div> </div>
</div> </div>
<div style="margin-top: -100px;">
<div style="font-size: 36px; margin-left: -100px;margin-bottom: 50px;">深圳市南山区妇幼保健院医技检查预约系统</div>
<el-form style="width: 400px;" ref="ruleFormRef" status-icon class="demo-ruleForm"> <el-form style="width: 400px;" ref="ruleFormRef" status-icon class="demo-ruleForm">
<el-form-item> <el-form-item>
<span style="font-size: 22px;">登录您的账户</span> <span style="font-size: 22px;">登录您的账户</span>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-input v-model.number="username" ref="usernameRef" @keyup.enter="focusNextTo()" :prefix-icon="User" placeholder="用户名" size="large" /> <el-input v-model.number="username" ref="usernameRef" @keyup.enter="focusNextTo()"
:prefix-icon="User" placeholder="用户名" size="large" />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-input v-model="pwd" type="password" ref="passwordRef" @keyup.enter="login()" autocomplete="off" placeholder="密码" size="large" <el-input v-model="pwd" type="password" ref="passwordRef" @keyup.enter="login()"
:prefix-icon="Lock" /> autocomplete="off" placeholder="密码" size="large" :prefix-icon="Lock" />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button style="width: 100%;" type="primary" @click="login(ruleFormRef)" <el-button style="width: 100%;" type="primary" @click="login(ruleFormRef)"
@ -31,6 +34,7 @@
</el-form-item> </el-form-item>
<div style="height: 160px;"></div> <div style="height: 160px;"></div>
</el-form> </el-form>
</div>
<div class="right_bottom"></div> <div class="right_bottom"></div>
</el-col> </el-col>
</el-row> </el-row>
@ -48,12 +52,16 @@
ElMessage ElMessage
} from 'element-plus' } from 'element-plus'
import { import {
ref,nextTick,onMounted ref,
nextTick,
onMounted
} from 'vue' } from 'vue'
import { import {
Lock, Lock,
User, User,
Iphone,RefreshRight,Key Iphone,
RefreshRight,
Key
} from '@element-plus/icons-vue' } from '@element-plus/icons-vue'
import { import {
useToggle useToggle
@ -105,7 +113,6 @@
usernameRef.value.focus() usernameRef.value.focus()
}) })
}) })
</script> </script>
<style scoped> <style scoped>
@ -153,5 +160,4 @@ flex-direction: column;
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
} }
</style> </style>

@ -52,6 +52,14 @@
<el-input v-model="searchInfo.user_name" placeholder="患者姓名" <el-input v-model="searchInfo.user_name" placeholder="患者姓名"
style="width: 200px;margin-left: 8px;" /> style="width: 200px;margin-left: 8px;" />
</el-form-item> </el-form-item>
<el-form-item>
<el-input v-model="searchInfo.apply_department" placeholder="申请科室"
style="width: 200px;margin-left: 8px;" />
</el-form-item>
<el-form-item>
<el-input v-model="searchInfo.doctor" placeholder="医生"
style="width: 200px;margin-left: 8px;" />
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="GetList()" style="margin-left: 10px;">查询</el-button> <el-button type="primary" @click="GetList()" style="margin-left: 10px;">查询</el-button>
</el-form-item> </el-form-item>

Loading…
Cancel
Save