|
@ -41,8 +41,8 @@ |
|
|
<GuipFormItem column="column" class="mb24"> |
|
|
<GuipFormItem column="column" class="mb24"> |
|
|
<div slot="formLeft" class="form-top-icon">医保定点</div> |
|
|
<div slot="formLeft" class="form-top-icon">医保定点</div> |
|
|
<div class="flex" slot="formDom" style="padding: 9px 0px;"> |
|
|
<div class="flex" slot="formDom" style="padding: 9px 0px;"> |
|
|
<GuipSwitch :modelValue="Boolean(form.is_fixed)" @change="onSwitchChange" activeText="非医保定点" |
|
|
<GuipSwitch :modelValue="form.is_fixed" @change="onSwitchChange" activeText="非医保定点" |
|
|
inactiveText="非医保定点"> |
|
|
inactiveText="非医保定点" active-value="1" inactive-value="0"> |
|
|
</GuipSwitch> |
|
|
</GuipSwitch> |
|
|
</div> |
|
|
</div> |
|
|
</GuipFormItem> |
|
|
</GuipFormItem> |
|
@ -153,23 +153,25 @@ |
|
|
</div> |
|
|
</div> |
|
|
<span class="totalCount">共{{ projectList.length }}条,已选{{ selectedCount }}条</span> |
|
|
<span class="totalCount">共{{ projectList.length }}条,已选{{ selectedCount }}条</span> |
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px', margin: '0 26px' }" |
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px', margin: '0 26px' }" |
|
|
@click="batchOperate('1')">批量禁用</GuipButton> |
|
|
@click="batchOperate('1','project')">批量禁用</GuipButton> |
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px' }" |
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px' }" |
|
|
@click="batchOperate('2')"> |
|
|
@click="batchOperate('2','project')"> |
|
|
批量启用</GuipButton> |
|
|
批量启用</GuipButton> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="flex-between mb32 mt32"> |
|
|
<div class="flex-between mb32 mt32"> |
|
|
<div class="tabProject flex"> |
|
|
<div class="tabProject scroll-container"> |
|
|
<div :class="['tab-item ', projectSearchId == item.id ? 'active' : '']" @click="selectTag(item)" |
|
|
<div class="overTab scroll-list"> |
|
|
v-for="item in projectTagData" :key="item.name">{{ item.name }}</div> |
|
|
<div :class="['tab-item point', projectSearchId == item.id ? 'active' : '']" @click="selectTag(item)" |
|
|
|
|
|
v-for="item in projectTagData" :key="item.name">{{ item.name }}</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="right flex"> |
|
|
<div class="right flex"> |
|
|
<span style="margin-right: 16px;">搜索项目</span> |
|
|
<span style="margin-right: 16px;">搜索项目</span> |
|
|
<GuipInput ref="GuipInput" column="column" width="280px" v-model="projectSearchName" |
|
|
<GuipInput ref="GuipInput" class="special-input" column="column" width="280px" v-model="projectSearchName" |
|
|
prop="company_name" placeholder="请输入"> |
|
|
prop="company_name" placeholder="请输入" @blur="getFilterProject"> |
|
|
<img src="@/assets/input_search_ic.svg" slot="suffix" @click="handleClear" /> |
|
|
<img src="@/assets/input_search_ic.svg" slot="suffix" /> |
|
|
</GuipInput> |
|
|
</GuipInput> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -216,9 +218,9 @@ |
|
|
</div> |
|
|
</div> |
|
|
<span class="totalCount">共{{ courseList.length }}条,已选{{ selectedCount }}条</span> |
|
|
<span class="totalCount">共{{ courseList.length }}条,已选{{ selectedCount }}条</span> |
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px', margin: '0 26px' }" |
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px', margin: '0 26px' }" |
|
|
@click="batchOperate('1')">批量禁用</GuipButton> |
|
|
@click="batchOperate('1','group')">批量禁用</GuipButton> |
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px' }" |
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px' }" |
|
|
@click="batchOperate('2')"> |
|
|
@click="batchOperate('2','group')"> |
|
|
批量启用</GuipButton> |
|
|
批量启用</GuipButton> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
@ -279,8 +281,6 @@ import GuipSelect from '@/components/GuipSelect.vue'; |
|
|
import GuipSwitch from '@/components/GuipSwitch.vue'; |
|
|
import GuipSwitch from '@/components/GuipSwitch.vue'; |
|
|
import GuipTable from '@/components/GuipTable.vue'; |
|
|
import GuipTable from '@/components/GuipTable.vue'; |
|
|
import GuipDialog from '@/components/GuipDialog.vue'; |
|
|
import GuipDialog from '@/components/GuipDialog.vue'; |
|
|
// import GuipRadio from '@/components/GuipRadio.vue'; |
|
|
|
|
|
// import HoverButton from '@/components/HoverButton.vue'; |
|
|
|
|
|
import { mapState } from 'vuex'; |
|
|
import { mapState } from 'vuex'; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
@ -293,15 +293,12 @@ export default { |
|
|
BatchProject, |
|
|
BatchProject, |
|
|
GuipButton, |
|
|
GuipButton, |
|
|
GuipDialog, |
|
|
GuipDialog, |
|
|
// GuipRadio, |
|
|
|
|
|
GuipInput, |
|
|
GuipInput, |
|
|
GuipTable, |
|
|
GuipTable, |
|
|
GuipSwitch, |
|
|
GuipSwitch, |
|
|
GuipSelect, |
|
|
GuipSelect, |
|
|
GuipTextarea, |
|
|
GuipTextarea, |
|
|
GroupFormBtns, |
|
|
GroupFormBtns, |
|
|
// HoverButton |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@ -326,7 +323,6 @@ export default { |
|
|
isIndeterminate1: false, |
|
|
isIndeterminate1: false, |
|
|
projectSearchId: '', |
|
|
projectSearchId: '', |
|
|
projectSearchName: '', |
|
|
projectSearchName: '', |
|
|
|
|
|
|
|
|
projectList: [ |
|
|
projectList: [ |
|
|
{ |
|
|
{ |
|
|
name: '针灸', |
|
|
name: '针灸', |
|
@ -375,19 +371,19 @@ export default { |
|
|
id: '13' |
|
|
id: '13' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: '针灸1', |
|
|
name: '针灸12', |
|
|
id: '21' |
|
|
id: '21' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: '针灸2', |
|
|
name: '针灸22', |
|
|
id: '211' |
|
|
id: '211' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: '针灸3', |
|
|
name: '针灸32', |
|
|
id: '212' |
|
|
id: '212' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: '针灸4', |
|
|
name: '针灸42', |
|
|
id: '213' |
|
|
id: '213' |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
@ -514,7 +510,7 @@ export default { |
|
|
h_name:"武丽娜中医针灸", |
|
|
h_name:"武丽娜中医针灸", |
|
|
h_pos:"37.850249,112.53111", |
|
|
h_pos:"37.850249,112.53111", |
|
|
hid:"1", |
|
|
hid:"1", |
|
|
is_fixed:"1", |
|
|
is_fixed:'1', |
|
|
morning_worktime:"8:00-11:00", |
|
|
morning_worktime:"8:00-11:00", |
|
|
notice:"周六上午门诊最后一轮扎针到10点50分,11点后到患者的,只开药,不扎针。\r\n初诊患者请先将挂号条交给医助、在门外静坐等待叫号\r\n为了节约大家排号时间,请全部挂号,按挂号顺序治疗\r\n针灸治疗单缴费完毕后请交还医助\r\n药费缴费完毕后交方给药房等待拿药(可办理快递)\r\n请准备一次性医用床单(可现场购买)和户外保温毯(推荐),户外保温毯购买链接:<a href=\"https://m.tb.cn/h.UJglv3C?tk=5KMnd9XFr3D\" target=\"_blank\">https://m.tb.cn/h.UJglv3C?tk=5KMnd9XFr3D</a>", |
|
|
notice:"周六上午门诊最后一轮扎针到10点50分,11点后到患者的,只开药,不扎针。\r\n初诊患者请先将挂号条交给医助、在门外静坐等待叫号\r\n为了节约大家排号时间,请全部挂号,按挂号顺序治疗\r\n针灸治疗单缴费完毕后请交还医助\r\n药费缴费完毕后交方给药房等待拿药(可办理快递)\r\n请准备一次性医用床单(可现场购买)和户外保温毯(推荐),户外保温毯购买链接:<a href=\"https://m.tb.cn/h.UJglv3C?tk=5KMnd9XFr3D\" target=\"_blank\">https://m.tb.cn/h.UJglv3C?tk=5KMnd9XFr3D</a>", |
|
|
time_unit:"15", |
|
|
time_unit:"15", |
|
@ -591,7 +587,24 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
selectTag(item) { |
|
|
selectTag(item) { |
|
|
this.projectSearchId = item.id |
|
|
this.projectSearchId = item.id; |
|
|
|
|
|
// 筛选逻辑 |
|
|
|
|
|
this.getFilterProject() |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
getFilterProject(){ |
|
|
|
|
|
// 接口需要更改 |
|
|
|
|
|
this.$http('POST', '/supernew/ajax_get_type_batch_list', { |
|
|
|
|
|
// 项目筛选 |
|
|
|
|
|
projectid:this.projectSearchId, |
|
|
|
|
|
// 项目名称搜索 |
|
|
|
|
|
projectSearchName:this.projectSearchName |
|
|
|
|
|
}).then(response => { |
|
|
|
|
|
this.projectTagData = response.data |
|
|
|
|
|
|
|
|
|
|
|
}).catch(error => { |
|
|
|
|
|
console.error(error, 'error') |
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
getProTagData() { |
|
|
getProTagData() { |
|
|
this.$http('POST', '/supernew/ajax_get_type_batch_list', { |
|
|
this.$http('POST', '/supernew/ajax_get_type_batch_list', { |
|
@ -721,12 +734,22 @@ export default { |
|
|
this.isIndeterminate1 = !noneSelected && !allSelected; |
|
|
this.isIndeterminate1 = !noneSelected && !allSelected; |
|
|
}, |
|
|
}, |
|
|
// 批量操作 |
|
|
// 批量操作 |
|
|
batchOperate(type) { |
|
|
batchOperate(type,name) { |
|
|
if (type == '1') { |
|
|
if (type == '1') { |
|
|
// 禁用 |
|
|
// 禁用 |
|
|
|
|
|
if(name == 'project'){ |
|
|
|
|
|
// 修改项目列表 |
|
|
|
|
|
}else{ |
|
|
|
|
|
// 修改疗程套餐 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
// 启用 |
|
|
// 启用 |
|
|
|
|
|
if(name == 'project'){ |
|
|
|
|
|
// 修改项目列表 |
|
|
|
|
|
}else{ |
|
|
|
|
|
// 修改疗程套餐 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -844,10 +867,31 @@ export default { |
|
|
grid-template-columns: repeat(2, 1fr); |
|
|
grid-template-columns: repeat(2, 1fr); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
#siteMessage4 ::v-deep .el-form-item { |
|
|
|
|
|
margin-bottom: 0 !important; |
|
|
|
|
|
} |
|
|
.pageTitle{ |
|
|
.pageTitle{ |
|
|
// padding: 12px 0; |
|
|
// padding: 12px 0; |
|
|
} |
|
|
} |
|
|
|
|
|
.scroll-container { |
|
|
|
|
|
width: calc(100% - 380px); |
|
|
|
|
|
overflow-x: auto; /* 关键:启用横向滚动 */ |
|
|
|
|
|
} |
|
|
|
|
|
.special-input { |
|
|
|
|
|
margin-bottom: 0 !important; |
|
|
|
|
|
} |
|
|
|
|
|
.scroll-list { |
|
|
|
|
|
display: flex; /* Flex 布局 */ |
|
|
|
|
|
flex-wrap: nowrap; /* 禁止换行 */ |
|
|
|
|
|
gap: 10px; /* 子项间距 */ |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.scroll-item { |
|
|
|
|
|
flex: 0 0 auto; /* 不伸缩、不收缩 */ |
|
|
|
|
|
width: 200px; /* 固定子项宽度 */ |
|
|
|
|
|
height: 100px; |
|
|
|
|
|
background: #eee; |
|
|
|
|
|
} |
|
|
.totalCount { |
|
|
.totalCount { |
|
|
font-size: 12px; |
|
|
font-size: 12px; |
|
|
font-weight: normal; |
|
|
font-weight: normal; |
|
@ -858,39 +902,39 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tabProject { |
|
|
.tabProject { |
|
|
gap: 12px; |
|
|
width: calc(100% - 380px); |
|
|
|
|
|
overflow-x: auto; |
|
|
|
|
|
|
|
|
|
|
|
.overTab{ |
|
|
|
|
|
display: flex; |
|
|
|
|
|
gap: 12px; |
|
|
|
|
|
flex-wrap: nowrap; /* 禁止换行 */ |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.tab-item { |
|
|
.tab-item { |
|
|
/* 自动布局子元素 */ |
|
|
|
|
|
height: 28px; |
|
|
height: 28px; |
|
|
min-width: 74px; |
|
|
// min-width: 74px; |
|
|
/* 自动布局 */ |
|
|
display: inline-flex; /* 关键修改:从 flex 改为 inline-flex */ |
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
box-sizing: border-box; |
|
|
box-sizing: border-box; |
|
|
padding: 4px 12px; |
|
|
padding: 4px 12px; |
|
|
gap: 4px; |
|
|
gap: 4px; |
|
|
align-self: stretch; |
|
|
|
|
|
z-index: 2; |
|
|
z-index: 2; |
|
|
border-radius: 14px; |
|
|
border-radius: 14px; |
|
|
background: #FFFFFF; |
|
|
background: #FFFFFF; |
|
|
box-sizing: border-box; |
|
|
|
|
|
/* middle/middle_line_1 */ |
|
|
|
|
|
border: 1px solid #DFE2E6; |
|
|
border: 1px solid #DFE2E6; |
|
|
/* body/body 2_regular */ |
|
|
|
|
|
font-family: Microsoft YaHei UI; |
|
|
font-family: Microsoft YaHei UI; |
|
|
font-size: 14px; |
|
|
font-size: 14px; |
|
|
text-align: justify; |
|
|
text-align: justify; |
|
|
/* 浏览器可能不支持 */ |
|
|
|
|
|
letter-spacing: 0.08em; |
|
|
letter-spacing: 0.08em; |
|
|
/* text/text_4 */ |
|
|
|
|
|
color: #8A9099; |
|
|
color: #8A9099; |
|
|
|
|
|
white-space: nowrap; /* 防止文字换行 */ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.active { |
|
|
.active { |
|
|
color: #006AFF; |
|
|
color: #006AFF; |
|
|
border: none; |
|
|
border-color: transparent; |
|
|
background: #F2F3F5; |
|
|
background: #F2F3F5; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|