Browse Source

医生管理页面

zq-ui
zq 1 month ago
parent
commit
2aa0ecc983
  1. 1
      src/assets/header-line.svg
  2. BIN
      src/assets/header-logo.png
  3. 33
      src/components/Header.vue
  4. 77
      src/components/SliderMenu.vue
  5. 204
      src/router/index.js
  6. 11
      src/store/index.js
  7. 13
      src/style/theme/common.scss
  8. 247
      src/views/HomeView.vue

1
src/assets/header-line.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="1" height="17" viewBox="0 0 1 17"><g><path d="M0,0.5Q0,0.4507543,0.009606999999999977,0.4024549Q0.019214999999999982,0.354155,0.03805999999999998,0.308658Q0.05690600000000001,0.263161,0.08426499999999998,0.222215Q0.11162499999999997,0.181269,0.146447,0.146447Q0.181269,0.11162499999999997,0.222215,0.08426499999999998Q0.263161,0.05690600000000001,0.308658,0.03805999999999998Q0.354155,0.019214999999999982,0.4024549,0.009606999999999977Q0.4507543,0,0.5,0Q0.5492457,0,0.5975451,0.009606999999999977Q0.645845,0.019214999999999982,0.691342,0.03805999999999998Q0.736839,0.05690600000000001,0.777785,0.08426499999999998Q0.818731,0.11162499999999997,0.853553,0.146447Q0.888375,0.181269,0.915735,0.222215Q0.943094,0.263161,0.96194,0.308658Q0.980785,0.354155,0.9903930000000001,0.4024549Q1,0.4507543,1,0.5L1,16.5Q1,16.5492,0.9903930000000001,16.5975Q0.980785,16.6458,0.96194,16.6913Q0.943094,16.7368,0.915735,16.7778Q0.888375,16.8187,0.853553,16.8536Q0.818731,16.8884,0.777785,16.9157Q0.736839,16.9431,0.691342,16.9619Q0.645845,16.9808,0.5975451,16.9904Q0.5492457,17,0.5,17Q0.4507543,17,0.4024549,16.9904Q0.354155,16.9808,0.308658,16.9619Q0.263161,16.9431,0.222215,16.9157Q0.181269,16.8884,0.146447,16.8536Q0.11162499999999997,16.8187,0.08426499999999998,16.7778Q0.05690600000000001,16.7368,0.03805999999999998,16.6913Q0.019214999999999982,16.6458,0.009606999999999977,16.5975Q0,16.5492,0,16.5L0,0.5Z" fill-rule="evenodd" fill="#BABDC2" fill-opacity="1"/></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/header-logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 11 KiB

33
src/components/Header.vue

@ -1,11 +1,11 @@
<template>
<div class="header-wrap ">
<div class="header-logo">
<div class="header-logo flex">
<img src="../assets/header-logo.png" alt="">
<img src="../assets/header-line.svg" class="line" alt="">
<div class="pageName">{{ pageName }}</div>
</div>
<div class="header-right flex">
<div class="right-item">权限设置</div>
<div class="right-item">岗位设置</div>
<el-dropdown trigger="click">
<div class="right-item flex el-dropdown-link">
<img class="right-item-icon" src="../assets/header-icon.png" alt="">
@ -23,6 +23,17 @@
</div>
</div>
</template>
<script>
import { mapState } from 'vuex';
export default {
data() {
return {}
} ,
computed: {
...mapState(['pageName']) // VuexshowSidebar
},
}
</script>
<style lang="scss" scoped>
.flex {
display: flex;
@ -38,13 +49,25 @@
position: absolute;
z-index: 9;
.header-logo {
gap: 20px;
img {
height: 46px;
height: 34px;
}
.line{
height: 16px;
}
.pageName{
font-family: Microsoft YaHei UI;
font-size: 16px;
font-weight: normal;
line-height: normal;
letter-spacing: 0.08em;
color: #1E2226;
}
}
.header-right {
width: 362px;
// width: 362px;
justify-content: space-between;
.el-dropdown-link {
cursor: pointer;

77
src/components/SliderMenu.vue

@ -1,36 +1,32 @@
<template>
<transition name="menu-collapse">
<el-menu :default-active="activeMenu" class="el-menu-vertical-demo custom-menu" @open="handleOpen"
@close="handleClose" @select="handleSelect" :collapse="isCollapse" :collapse-transition="true"
:default-openeds="['1', '2']">
<div style="height: 100%;padding: 0 0 20px;box-sizing: border-box;" >
<transition name="menu-collapse">
<el-menu :default-active="activeMenu" class="el-menu-vertical-demo custom-menu" @open="handleOpen"
@close="handleClose" @select="handleSelect" :collapse="isCollapse" :collapse-transition="true"
:default-openeds="['1', '2']">
<div style="height: 100%;padding: 0 0 20px;box-sizing: border-box;">
<div class="menu-top">
<span v-show="!isCollapse">
导航
{{ sliderTitle }}
</span>
<GuipToolTip :content="isCollapse ? '展开' : '收起'">
<img v-if="!isCollapse" class="point" src="../assets/menu-close.svg" @click="changeMenuStatus(true)" alt="" >
<img v-if="!isCollapse" class="point" src="../assets/menu-close.svg" @click="changeMenuStatus(true)" alt="">
<img v-else class="point" src="../assets/menu-open.svg" @click="changeMenuStatus(false)" alt="">
</GuipToolTip>
</div>
<el-submenu v-for="item in menuData" :key="item.index" :index="item.index">
<template slot="title">
<SvgIcon1
:iconPath="require(`@/assets/menu/${item.icon}.svg`)"
defaultColor="#8A9099"
activeColor="#006AFF"
:isActive="item.index == activeMenu.substr(0,1) && isCollapse"
/>
<SvgIcon1 :iconPath="require(`@/assets/menu/${item.icon}.svg`)" defaultColor="#8A9099" activeColor="#006AFF"
:isActive="item.index == activeMenu.substr(0, 1) && isCollapse" />
<span class="title_text" :index="item.index">{{ item.title }}</span>
</template>
<el-menu-item style="padding: 0 22px 0 32px;" v-for="subItem in item.children" :key="subItem.index"
:index="subItem.index">
{{ subItem.title }}
</el-menu-item>
<el-menu-item style="padding: 0 22px 0 32px;" v-for="subItem in item.children" :key="subItem.index"
:index="subItem.index">
{{ subItem.title }}
</el-menu-item>
</el-submenu>
</div>
</el-menu>
</transition>
</el-menu>
</transition>
</template>
<script>
@ -38,7 +34,7 @@ import SvgIcon1 from '@/components/SvgIcon1.vue';
import GuipToolTip from '@/components/GuipToolTip.vue';
export default {
name: 'SliderMenu',
components:{
components: {
SvgIcon1,
GuipToolTip
},
@ -47,6 +43,10 @@ export default {
type: Array,
default: () => []
},
sliderTitle: {
type: String,
default:'导航'
},
},
data() {
return {
@ -83,14 +83,14 @@ export default {
// this.activeMenu = index;
// },
handleOpen(key, keyPath) {
console.log(key, keyPath);
},
handleClose(key, keyPath) {
console.log(key, keyPath);
},
console.log(key, keyPath);
},
handleClose(key, keyPath) {
console.log(key, keyPath);
},
handleSelect(index) {
this.activeMenu = index;
console.log(index,'---index');
console.log(index, '---index');
// menu path
const allItems = this.menuData.flatMap(menu => menu.children);
const targetItem = allItems.find(item => item.index === index);
@ -105,7 +105,9 @@ export default {
}
},
mounted() {
const allItems = this.menuData.flatMap(menu => menu.children.map(child => ({ ...child, parentIndex: menu.index })));
const allItems = this.menuData.flatMap(menu => menu.children?.map(child => ({ ...child, parentIndex: menu.index })));
console.log(this.menuData, 'this.menuData');
const current = allItems.find(item => item.path === this.$route.path);
this.activeMenu = current ? current.index : '';
this.defaultOpeneds = current ? [current.parentIndex] : [];
@ -128,15 +130,17 @@ export default {
transform: translateX(-30px);
}
.el-menu--vertical{
.el-menu-item{
.el-menu--vertical {
.el-menu-item {
height: 40px;
line-height: 40px;
}
.el-menu-item.is-active{
.el-menu-item.is-active {
font-weight: bold;
}
}
// .slide-fade-enter-active, .slide-fade-leave-active {
// transition: all 1.5s ease;
// }
@ -185,10 +189,12 @@ export default {
display: block;
}
.el-menu--collapse .title_text{
.el-menu--collapse .title_text {
display: none;
}
.el-menu--collapse ::v-deep .el-submenu__icon-arrow{
.el-menu--collapse ::v-deep .el-submenu__icon-arrow {
display: none;
}
@ -221,7 +227,8 @@ export default {
letter-spacing: 0.08em;
justify-content: space-between;
align-items: center;
img{
img {
width: 14px;
height: 14px;
@ -278,6 +285,7 @@ export default {
color: #006AFF;
font-weight: bold;
}
// .el-submenu .el-menu {
// transition: all 0.3s ease;
// }
@ -294,5 +302,4 @@ export default {
// .el-menu--collapse .el-submenu.is-opened > .el-menu {
// opacity: 0;
// height: 0;
// }
</style>
// }</style>

204
src/router/index.js

@ -2,218 +2,38 @@ import Vue from 'vue';
import VueRouter from 'vue-router';
import store from '../store';
import HomeView from '../views/HomeView.vue';
// import UserPosts from '../views/UserPosts.vue';
// import Franchise from '../views/Franchise.vue'
Vue.use(VueRouter)
const whiteSlideList = ['/', '/ui', '/siteList']; //侧边导航白名单
const whiteHeaderList = ['/', '/ui', '/register', '/configureServicePrices', '/siteList','/siteSetting/siteBaseSetting','/siteSetting/sitePersonalization'
,'/siteSetting/siteH5','/siteSetting/siteSem','/pageTemplete','/demo',
'/super/ranking/yearProfit', '/super/ranking/monthProfit', '/super/ranking/checkProfit', '/super/ranking/checkOrdernum',
'/super/ranking/checkRefund', '/super/ranking/agentProfit', '/super/ranking/agentRecharge', '/super/ranking/agentNew',
'/super/ranking/purchase','/super/ranking/stagePurchase','/super/ranking/loss'
const whiteSlideList = [ '/ui', '/siteList']; //侧边导航白名单
const whiteHeaderList = ['/',
]; //头部导航白名单
const whiteFooterList = ['/', '/ui', '/configureServicePrices',
'/super/ranking/yearProfit', '/super/ranking/monthProfit', '/super/ranking/checkProfit', '/super/ranking/checkOrdernum',
'/super/ranking/checkRefund', '/super/ranking/agentProfit', '/super/ranking/agentRecharge', '/super/ranking/agentNew',
'/super/ranking/purchase','/super/ranking/stagePurchase','/super/ranking/loss'
const whiteFooterList = ['/',
]; //底部白名单
const routes = [{
const routes = [
{
path: '/',
name: '首页',
component: HomeView,
// component: Franchise
},
{
path: '/register',
name: 'register',
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import( /* webpackChunkName: "register" */ '../views/Register.vue'),
children: [ // 这是子路由的定义开始
// {
// path: '', // 当访问 /user 时,默认加载 UserProfile 组件
// name: 'register',
// component: Register
// },
// {
// path: 'posts', // 当访问 /user/posts 时,加载 UserPosts 组件
// name: 'UserPosts',
// component: UserPosts,
// }
]
},
{
path: '/ui',
name: 'ui组件',
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import( /* webpackChunkName: "ui" */ '../views/elementGroups.vue')
},
{
path: '/franchise',
name: '加盟',
component: () => import( /* webpackChunkName: "franchise" */ '../views/Franchise.vue')
},
{
path: '/configureServicePrices',
name: '配置服务价格',
component: () => import( /* webpackChunkName: "configureServicePrices" */ '../views/ConfigureServicePrices.vue')
},
{
path: '/siteList',
name: '站点列表',
component: () => import( /* webpackChunkName: "siteList" */ '../views/SiteList.vue')
},
{
path: '/siteSetting',
name: '站点设置',
component: () => import( /* webpackChunkName: "SiteSetting" */ '../views/SiteSetting.vue'),
children: [
{
path: '', // 默认子路由
redirect: () => import( /* webpackChunkName: "siteBaseSetting" */ '../views/SiteBaseSetting.vue') // 重定向到第一个页面
},
{
path: 'siteBaseSetting',
name: '站点基础设置',
component: () => import( /* webpackChunkName: "siteBaseSetting" */ '../views/SiteBaseSetting.vue'),
},
{
path: 'sitePersonalization',
name: '个性化设置',
component: () => import( /* webpackChunkName: "sitePersonalization" */ '../views/SitePersonalization.vue')
},
{
path: 'siteH5',
name: '移动端设置',
component: () => import( /* webpackChunkName: "siteH5" */ '../views/SiteH5.vue')
},
{
path: 'siteSem',
name: '营销推广',
component: () => import( /* webpackChunkName: "siteSem" */ '../views/SiteSem.vue')
},
// {
// path: 'demoTable', // 默认子路由
// name: '测试页面',
// redirect: () => import( /* webpackChunkName: "demoTable" */ '../views/DemoTable.vue') // 重定向到第一个页面
// },
]
},
{
path: '/pageTemplete',
name: '网页模板',
component: () => import( /* webpackChunkName: "pageTemplete" */ '../views/PageTemplete.vue')
},
// {
// path: '/demo',
// name: 'demo页面',
// component: () => import( /* webpackChunkName: "Demo" */ '../views/Demo.vue'),
// children: [
// {
// path: '', // 默认子路由
// redirect: () => import( /* webpackChunkName: "DemoTable" */ '../views/DemoTable.vue') // 重定向到第一个页面
// },
// ]
// }
{
path: '/super/ranking',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/Ranking.vue'),
children: [
{
path: '', // 默认子路由
redirect: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankDetail.vue'),
props: {pageTitle:'总利润 - 年排行', rank_type: 1, type: 'year', showDateSelect: false}
},
{
path: 'yearProfit',
name: '年排行',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankDetail.vue'),
props: {pageTitle:'总利润 - 年排行', rank_type: 1, type: 'year', showDateSelect: false}
},
{
path: 'monthProfit',
name: '月排行',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankDetail.vue'),
props: {pageTitle:'总利润 - 月排行', rank_type: 1, type: 'month', showDateSelect: true}
},
{
path: 'checkProfit',
name: '产品毛利润排行',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankBatchList.vue'),
props: {pageTitle:'产品 - 毛利润排行', rank_type: 1, type: 'check_type'}
},
{
path: 'checkOrdernum',
name: '产品订单数排行',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankBatchList.vue'),
props: {pageTitle:'产品 - 订单数排行', rank_type: 2, type: 'check_type'}
},
{
path: 'checkRefund',
name: '产品退单数排行',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankList.vue'),
props: {pageTitle:'产品 - 退单数排行', rank_type: 3, type: 'check_type'}
},
{
path: 'loss',
name: '产品负毛利排行',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankList.vue'),
props: {pageTitle:'产品 - 负毛利排行', rank_type: 5, type: 'loss'}
},
{
path: 'agentProfit',
name: '代理商毛利润排行',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankBatchList.vue'),
props: {pageTitle:'代理商 - 毛利润排行', rank_type: 1, type: 'agent'}
},
{
path: 'agentRecharge',
name: '代理商充值排行',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankBatchList.vue'),
props: {pageTitle:'代理商 - 充值排行', rank_type: 4, type: 'agent'}
},
{
path: 'agentNew',
name: '代理商新加盟',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankDetail.vue'),
props: {pageTitle:'代理商 - 新加盟', type: 'agentnew', showDateSelect: false}
},
{
path: 'purchase',
name: '采购价',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/Purchase.vue'),
props: {pageTitle:'设置 - 采购价', type: 'purchase'}
},
{
path: 'stagePurchase',
name: '阶段采购价',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/Purchase.vue'),
props: {pageTitle:'设置 - 阶段采购', type: 'stagePurchase'}
},
{
path: 'detail',
name: '详情',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankDetail.vue'),
props: {pageTitle:'详情', type: 'day', showDateSelect: false, lookMore:false}
},
{
path: 'list',
name: '列表',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankList.vue'),
props: {pageTitle:'详情', showDateSelect: false, lookMore:false}
},
{
path: 'order',
name: '订单统计',
component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankDetail.vue'),
props: {pageTitle:'订单统计', type: 'order', showDateSelect: false}
},
]
},
]
@ -224,7 +44,6 @@ const router = new VueRouter({
routes
})
router.beforeEach((to, from, next) => {
console.log(to.path, 'to.path-----');
if (whiteSlideList.includes(to.path)) {
store.commit('SET_SIDEBAR', true); // 登录页面不显示侧边栏
} else {
@ -240,7 +59,14 @@ router.beforeEach((to, from, next) => {
} else {
store.commit('SET_HEADER', false); // 其他页面显示侧边栏
}
store.dispatch('showLoading')
next();
});
router.afterEach(() => {
// 添加延迟确保过渡效果
setTimeout(() => {
store.dispatch('hideLoading')
}, 300)
})
export default router

11
src/store/index.js

@ -140,9 +140,15 @@ export default new Vuex.Store({
}
]
}
]
],
pageName:'医生管理'
},
actions: {
SET_PAGENAME({
commit
}) {
commit('SET_PAGENAME');
},
SET_HEADER({
commit
}) {
@ -207,6 +213,9 @@ export default new Vuex.Store({
SET_PAGETITLE(state, title) {
state.pageTitle = title;
},
SET_PAGENAME(state, name) {
state.pageName = name;
},
SET_ADDSERVICELIST(state, list) {
state.addServiceList = list;
}

13
src/style/theme/common.scss

@ -17,6 +17,15 @@ body {
overflow: hidden; /* 通用方法 */
scrollbar-width: none; /* Firefox */
}
.pageTitle{
font-family: Microsoft YaHei UI;
font-size: 14px;
font-weight: bold;
line-height: normal;
letter-spacing: 0.08em;
color: #1E2226;
text-align: left;
}
/* 对于WebKit浏览器 */
.element::-webkit-scrollbar {
@ -339,7 +348,7 @@ body {
.el-button--form{
width: 88px;
height: 33px;
border-radius: 2px;
border-radius: 4px;
}
.el-button--primary,.el-button--normal{
background: #006AFF;
@ -502,7 +511,7 @@ body {
}
.el-input__inner {
height: 39px;
height: 100%;
padding: 10px 12px;
border-radius: 4px;
}

247
src/views/HomeView.vue

@ -1,5 +1,244 @@
<template>
<view>
kasjdkashdkjsahjk
</view>
</template>
<div class="min-width" style="background: #F5F7FA;">
<div class="doctor-list-wrap ">
<p class="pageTitle">医生列表</p>
<el-form>
<div class="selectAllTable-wrap flex-between">
<div class="left flex">
<div class="checkboxAll">
<el-checkbox @change="handleCheckAllChange"
v-model="checked">全选</el-checkbox>
</div>
<span class="totalCount">{{ totalNum }}已选{{ selectNum }}</span>
<GuipButton type="ignore" :btnstyle="{width:'99px',height:'32px',margin:'0 26px'}" @click="batchOperate('1')">批量禁用</GuipButton>
<GuipButton type="ignore" :btnstyle="{width:'99px',height:'32px'}" @click="batchOperate('2')">批量启用</GuipButton>
</div>
<div class="right flex mt32">
<span>搜索医生</span>
<GuipInput ref="GuipInput" style="margin:0 24px 0 12px" width="280px" height="32px" placeholder="输入姓名" />
<GuipButton @click="addDoctor" size="form">新增医生</GuipButton>
</div>
</div>
<div class="tableList mt32">
<div class="top flex-between mb24">
<div class="left left1 flex">
<el-checkbox @change="handleCheckAllChange(1)"
v-model="checked1"></el-checkbox>
<el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
<span class="name">张虎</span>
<span>13788990987</span>
<GuipSwitch :modelValue="switchValue" @change="onSwitchChange(1)">
</GuipSwitch>
<GuipButton type="text" @click="editDoctor(1)">编辑</GuipButton>
</div>
<div class="right">
<GuipButton type="system" size="form" @click="addHospital(1)">添加医院</GuipButton>
</div>
</div>
<GuipTable :multiple="true" :tableData="tableData" style="width: 100%" ref="table_1"
:show-header="false" :loading="loading">
<el-table-column fixed="left" prop="sort" label="排序" width="70"></el-table-column>
</GuipTable>
</div>
</el-form>
</div>
</div>
</template>
<script>
const cityOptions = ['上海', '北京', '广州', '深圳'];
import store from '@/store';
import GuipTable from '@/components/GuipTable.vue';
// import SvgIcon from '@/components/SvgIcon.vue';
import GuipButton from '@/components/GuipButton.vue';
import GuipSwitch from '@/components/GuipSwitch.vue';
import GuipInput from '@/components/GuipInput.vue';
export default {
data() {
return {
tableData: [
{
sort:1
}
],
loading:false,
switchValue:true,
checked:false,
checked1:false,
totalNum: 0,
selectNum: 0,
isIndeterminate:true,
doctorList:[
{
id:10,
name:'一二',
idcard:'532524198711223615',
desc:'就哈哈哈哈,嗷跳舞',
detail:'拉开是金德拉克撒娇了大数据连接拉萨。。。',
tag:'专业',
phone:'17785748373',
avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
status:true,
list:[
{
hos:[
'第三人民医院 针灸科',
'第一人民医院 中医科',
],
time:'2054 - 10 - 03',
status:true,
group:'2组',
setMenu:'4套餐',
nums:'88项',
checked:false,
},
]
},
{
id:10,
name:'一二',
idcard:'532524198711223615',
desc:'就哈哈哈哈,嗷跳舞',
detail:'拉开是金德拉克撒娇了大数据连接拉萨。。。',
tag:'专业',
phone:'17785748373',
avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
status:false,
list:[
{
hos:[
'第三人民医院 针灸科',
'第一人民医院 中医科',
],
time:'2054 - 10 - 03',
status:true,
group:'2组',
setMenu:'4套餐',
nums:'88项',
checked:false,
},
{
hos:[
'第三人民医院 针灸科',
'第一人民医院 中医科',
],
time:'2054 - 10 - 03',
status:true,
group:'2组',
setMenu:'4套餐',
nums:'88项',
checked:false,
},
]
},
{
id:10,
name:'一二',
idcard:'532524198711223615',
desc:'就哈哈哈哈,嗷跳舞',
detail:'拉开是金德拉克撒娇了大数据连接拉萨。。。',
tag:'专业',
phone:'17785748373',
avatar:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
status:false,
list:[
{
hos:[
'第三人民医院 针灸科',
'第一人民医院 中医科',
],
time:'2054 - 10 - 03',
status:true,
group:'2组',
setMenu:'4套餐',
nums:'88项',
checked:false,
},
]
},
]
}
},
components: {
// GuipToolTip,
// SvgIcon,
GuipInput,
GuipButton,
GuipSwitch,
GuipTable,
// CustomDropdown
},
created() {
store.commit('SET_PAGENAME', '医生管理'); //
},
computed: {
},
methods: {
handleCheckAllChange(val) {
this.checkedCities = val ? cityOptions : [];
this.isIndeterminate = false;
},
batchOperate(type){
if(type== '1'){
//
}else{
//
}
},
onSwitchChange(index){
console.log(index,'====');
},
addDoctor(){
console.log('添加医生');
},
addHospital(index){
console.log(index,'====');
},
editDoctor(index){
console.log(index,'====');
},
}
}
</script>
<style lang="scss" scoped>
::v-deep .el-avatar{
width: 26px;
height: 26px;
}
.doctor-list-wrap {
margin: 12px;
background: #fff;
padding: 32px 36px;
height: 100%;
border-radius: 4px;
.left,.right{
align-items: center;
}
.selectAllTable-wrap{
align-items: center;
.totalCount{
font-size: 12px;
font-weight: normal;
line-height: 13px;
letter-spacing: 0.08em;
color: #8A9099;
margin-left: 12px;
}
.right{
letter-spacing: 0.08em;
color: #626573;
}
}
.left1{
gap: 12px;
}
.el-form-item{
margin-bottom: 0;
}
}
</style>
Loading…
Cancel
Save