Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jingqi.liu
pica-admin-consultation
提交
57451740
提交
57451740
编写于
9月 02, 2021
作者:
jq
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化修改
上级
35f0bedd
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
53 行删除
+10
-53
diagnosis-doctor.vue
src/components/common/diagnosis-doctor.vue
+7
-24
constants.js
src/utils/constants.js
+1
-1
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+2
-28
未找到文件。
src/components/common/diagnosis-doctor.vue
浏览文件 @
57451740
...
...
@@ -78,6 +78,7 @@
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
type=
"primary"
@
click=
"refreshData"
>
刷新数据
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
:disabled=
"isClick"
>
确定
</el-button>
</span>
...
...
@@ -187,7 +188,6 @@ export default {
inNewTimeObj
:{},
rangeTime
:
''
,
listKey
:
''
,
listTime
:{},
addRules
:{
receptionId
:
[
{
required
:
true
,
message
:
"请选择接诊医生"
,
trigger
:
'change'
}
...
...
@@ -293,6 +293,11 @@ export default {
}
})
},
refreshData
(){
let
key
=
"sessionDoctorList"
+
this
.
diagnoseType
;
localStorage
.
removeItem
(
key
);
this
.
getDoctorList
();
},
cancel
(){
this
.
doctorId
=
""
;
this
.
formData
.
outsideDoctor
=
''
;
...
...
@@ -328,17 +333,7 @@ export default {
this
.
listKey
=
"sessionDoctorList"
+
this
.
diagnoseType
;
let
sessionList
=
localStorage
.
getItem
(
this
.
listKey
);
this
.
sessionDoctorList
=
JSON
.
parse
(
sessionList
);
let
newTime
=
localStorage
.
getItem
(
'time'
);
let
time
=
newTime
?
JSON
.
parse
(
newTime
)
:
{};
let
isNumType
=
false
;
if
(
this
.
diagnoseType
===
1
){
isNumType
=
time
.
tyOneTime
?
true
:
false
}
else
if
(
this
.
diagnoseType
===
2
){
isNumType
=
time
.
tyTwoTime
?
true
:
false
}
else
{
isNumType
=
time
.
tyThreeTime
?
true
:
false
}
if
(
sessionList
&&
isNumType
){
if
(
sessionList
){
this
.
doctorList
=
this
.
sessionDoctorList
}
else
{
let
url
=
`/diagnose/doctorService/doctorList?diagnoseType=
${
this
.
diagnoseType
}
`
...
...
@@ -347,18 +342,6 @@ export default {
if
(
res
.
code
==
'000000'
)
{
this
.
doctorList
=
res
.
data
localStorage
.
setItem
(
this
.
listKey
,
JSON
.
stringify
(
res
.
data
))
let
intoTime
=
new
Date
().
getTime
()
+
24
*
60
*
60
*
1000
;
this
.
inNewTime
=
intoTime
;
let
newTime
=
localStorage
.
getItem
(
'time'
);
let
time
=
newTime
?
JSON
.
parse
(
newTime
)
:
{};
if
(
this
.
diagnoseType
===
1
)
{
time
.
tyOneTime
=
this
.
inNewTime
}
else
if
(
this
.
diagnoseType
===
2
){
time
.
tyTwoTime
=
this
.
inNewTime
}
else
{
time
.
tyThreeTime
=
this
.
inNewTime
}
localStorage
.
setItem
(
"time"
,
JSON
.
stringify
(
time
))
this
.
doctorChanged
(
this
.
formData
.
receptionId
)
}
else
{
this
.
$message
.
info
(
'请稍后重试'
)
...
...
src/utils/constants.js
浏览文件 @
57451740
...
...
@@ -508,7 +508,7 @@ export const TABLE_COLUMN = [
},
{
prop
:
"receptionBeginTime"
,
label
:
"接诊
诊
医生意向时间"
,
label
:
"接诊医生意向时间"
,
showtooltip
:
false
,
},
{
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
57451740
...
...
@@ -899,32 +899,6 @@ export default {
this
.
diagnosisDoctorVisible
=
true
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
this
.
diagnoseType
=
row
.
diagnoseType
;
let
delTime
=
new
Date
().
getTime
();
let
inToNewTime
=
localStorage
.
getItem
(
'time'
);
this
.
inNewTimeObj
=
JSON
.
parse
(
inToNewTime
);
// inNewTimeOb.time1
// let keyTime="time"+type; time1 time2
// inNewTimeOb.time1
// let keylist=sessionDoctorList + type;
// localStorage.removeItem(keylist)
if
(
this
.
diagnoseType
===
1
){
if
(
delTime
>
Number
(
this
.
inNewTimeObj
?
this
.
inNewTimeObj
.
tyOneTime
:
0
)){
localStorage
.
removeItem
(
"sessionDoctorList1"
)
}
}
else
if
(
this
.
diagnoseType
===
2
){
if
(
delTime
>
Number
(
this
.
inNewTimeObj
?
this
.
inNewTimeObj
.
tyTwoTime
:
0
)){
localStorage
.
removeItem
(
"sessionDoctorList2"
)
}
}
else
{
if
(
delTime
>
Number
(
this
.
inNewTimeObj
?
this
.
inNewTimeObj
.
tyThreeTime
:
0
)){
localStorage
.
removeItem
(
"sessionDoctorList3"
)
}
}
if
(
row
.
doctorId
==
0
)
{
this
.
doctorId
=
""
;
}
else
{
...
...
@@ -934,10 +908,10 @@ export default {
//重新匹配医生
reMatchDot
(
row
,
type
)
{
if
(
type
==
10
){
this
.
rematchingOptions
=
[
"
助
诊医生爽约"
,
'上级医生日程改变,提前取消'
,
'操作失误,重新匹配医生'
]
this
.
rematchingOptions
=
[
"
接
诊医生爽约"
,
'上级医生日程改变,提前取消'
,
'操作失误,重新匹配医生'
]
}
else
{
this
.
rematchingOptions
=
[
"助诊医生爽约"
,
'上级医生日程改变,提前取消'
,
'操作失误,重新匹配医生'
]
this
.
rematchingOptions
=
[
"助诊医生爽约"
]
}
// this.rematchingOptions=
// this.options=
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录