Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-consultation
提交
bc3d7682
提交
bc3d7682
编写于
7月 05, 2022
作者:
qian.jie
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/jqtcm' into 'release'
Feature/jqtcm See merge request
!269
上级
3cd88fab
314fa4fa
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
45 行增加
和
10 行删除
+45
-10
1
1
+0
-6
serviceSchedule.js
src/api/serviceSchedule.js
+8
-1
table-serviceSchedule.vue
src/components/list/table-serviceSchedule.vue
+17
-0
serviceSchedule.vue
src/views/IM/diagnosis-admin/serviceSchedule.vue
+20
-3
未找到文件。
1
已删除
100644 → 0
浏览文件 @
3cd88fab
Merge branch 'develop' of 192.168.110.53:com.pica.cloud.education.frontend/pica-admin-consultation into feature/jq
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
src/api/serviceSchedule.js
浏览文件 @
bc3d7682
...
...
@@ -28,7 +28,14 @@ export const switchOpen = async (data) => {
};
export
const
readingReportOpen
=
async
(
data
)
=>
{
return
request
({
url
:
'diagnose/doctor/work/readingReportOpen'
,
url
:
'/diagnose/doctor/work/readingReportOpen'
,
data
:
data
,
method
:
'post'
,
});
};
export
const
reminderSwitchOpen
=
async
(
data
)
=>
{
return
request
({
url
:
'/diagnose/doctor/work/reminderSwitchOpen'
,
data
:
data
,
method
:
'post'
,
});
...
...
src/components/list/table-serviceSchedule.vue
浏览文件 @
bc3d7682
...
...
@@ -137,6 +137,20 @@
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"isReminderSwitch"
align=
"center"
label=
"接诊电话提醒开关"
width=
"170"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.row.isReminderSwitch"
active-color=
"#0D9078"
@
change=
"changeReminderSwitch(scope.$index, scope.row)"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
...
...
@@ -263,6 +277,9 @@
changeSwitchReport
(
value
,
val
)
{
this
.
$emit
(
'changeSwitchReport'
,
value
,
val
);
},
changeReminderSwitch
(
value
,
val
)
{
this
.
$emit
(
'changeReminderSwitch'
,
value
,
val
);
},
getServiceOpen
(
value
,
row
)
{
return
row
.
serviceOpen
===
String
(
value
);
},
...
...
src/views/IM/diagnosis-admin/serviceSchedule.vue
浏览文件 @
bc3d7682
...
...
@@ -144,6 +144,7 @@
@
getWorkStatus=
"getWorkStatus"
@
changeSwitch=
"changeSwitch"
@
changeSwitchReport=
"changeSwitchReport"
@
changeReminderSwitch=
"changeReminderSwitch"
@
handleSizeChange=
"handleSizeChange"
@
handleCurrentChange=
"handleCurrentChange"
@
addSchedule=
"addSchedule"
...
...
@@ -197,7 +198,8 @@
switchOpen
,
workInStep
,
getLevel
,
readingReportOpen
readingReportOpen
,
reminderSwitchOpen
,
}
from
'@/api/serviceSchedule'
;
import
{
departmentAll
,
savePCDayCount
}
from
'@/api/diagnosis'
;
import
TableServiceSchedule
from
'@/components/list/table-serviceSchedule'
;
...
...
@@ -368,8 +370,9 @@
this
.
tableData
=
(
res
.
data
.
list
||
[]).
map
((
item
)
=>
{
return
{
...
item
,
isReadingReport
:
item
.
isReadingReport
==
1
?
true
:
false
,
switchStatus
:
item
.
switchStatus
==
1
?
true
:
false
isReadingReport
:
item
.
isReadingReport
==
1
?
true
:
false
,
isReminderSwitch
:
item
.
isReminderSwitch
==
1
?
true
:
false
,
switchStatus
:
item
.
switchStatus
==
1
?
true
:
false
,
};
});
this
.
searchParam
.
totalRows
=
res
.
data
.
count
;
...
...
@@ -383,6 +386,7 @@
this
.
searchParam
.
ScheduleStatus
=
value
;
},
changeSwitch
(
value
,
val
)
{
console
.
log
(
value
);
switchOpen
({
id
:
val
.
id
,
switchOpen
:
val
.
switchStatus
?
'1'
:
'2'
,
...
...
@@ -393,6 +397,7 @@
});
},
changeSwitchReport
(
value
,
val
)
{
console
.
log
(
value
);
readingReportOpen
({
id
:
val
.
id
,
readingReportOpen
:
val
.
isReadingReport
?
'1'
:
'2'
,
...
...
@@ -402,6 +407,18 @@
}
});
},
// 接诊电话提醒开关
changeReminderSwitch
(
value
,
val
)
{
console
.
log
(
value
);
reminderSwitchOpen
({
id
:
val
.
id
,
reminderSwitchOpen
:
val
.
isReminderSwitch
?
'1'
:
'2'
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
// this.search();
}
});
},
searchInStep
()
{
this
.
loading
=
true
;
workInStep
().
then
((
res
)
=>
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录