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
提交
35f0bedd
提交
35f0bedd
编写于
9月 02, 2021
作者:
jq
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
save
上级
6dd8db56
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
79 行增加
和
18 行删除
+79
-18
index.js
config/index.js
+1
-1
diagnosis-doctor.vue
src/components/common/diagnosis-doctor.vue
+48
-14
rematching-doctor.vue
src/components/common/rematching-doctor.vue
+1
-1
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+29
-2
未找到文件。
config/index.js
浏览文件 @
35f0bedd
...
...
@@ -38,4 +38,4 @@ module.exports = {
proxypath
:
'http://localhost:9000'
,
cssSourceMap
:
true
}
}
\ No newline at end of file
}
src/components/common/diagnosis-doctor.vue
浏览文件 @
35f0bedd
...
...
@@ -19,7 +19,7 @@
<!--
<el-input
v-model=
"formData.doctorName"
placeholder=
"请选择接诊医生"
class=
"set-width"
disabled
></el-input>
-->
<el-col
:span=
"15"
>
<el-select
@
change=
"doctorChanged($event)"
filterable
v-model=
"formData.receptionId"
placeholder=
"请选择接诊医生"
class=
"set-width"
style=
"width: 100%;"
>
<el-option
v-for=
"item of doctorList"
:key=
"item.doctorId"
:label=
"item.doctorName"
:value=
"item.doctorId"
></el-option>
<el-option
v-for=
"item of doctorList"
:key=
"item.doctorId"
:label=
"item.doctor
Reception
Name"
:value=
"item.doctorId"
></el-option>
</el-select>
</el-col>
</el-form-item>
...
...
@@ -182,7 +182,12 @@ export default {
diagnoseChannel
:
1
,
},
doctorList
:[],
sessionDoctorList
:[],
inNewTime
:
''
,
inNewTimeObj
:{},
rangeTime
:
''
,
listKey
:
''
,
listTime
:{},
addRules
:{
receptionId
:
[
{
required
:
true
,
message
:
"请选择接诊医生"
,
trigger
:
'change'
}
...
...
@@ -320,20 +325,49 @@ export default {
},
getDoctorList
()
{
this
.
loading
=
true
let
url
=
`/diagnose/doctorService/doctorList?diagnoseType=
${
this
.
diagnoseType
}
`
this
.
GET
(
url
).
then
(
res
=>
{
this
.
loading
=
false
if
(
res
.
code
==
'000000'
)
{
this
.
doctorList
=
res
.
data
this
.
doctorChanged
(
this
.
formData
.
receptionId
)
}
else
{
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
){
this
.
doctorList
=
this
.
sessionDoctorList
}
else
{
let
url
=
`/diagnose/doctorService/doctorList?diagnoseType=
${
this
.
diagnoseType
}
`
this
.
GET
(
url
).
then
(
res
=>
{
this
.
loading
=
false
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
(
'请稍后重试'
)
}
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
$message
.
info
(
'请稍后重试'
)
}
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
$message
.
info
(
'请稍后重试'
)
});
});
}
},
openDiagnosisStartTimeDialog
(){
this
.
diagnosisStartTimeDialog
=
true
;
...
...
src/components/common/rematching-doctor.vue
浏览文件 @
35f0bedd
...
...
@@ -35,7 +35,7 @@
placeholder=
"请输入备注信息"
></el-input>
-->
<el-select
style=
"width: 135%"
size=
"small"
v-model=
"model.statusRemark"
placeholder=
"请选择备注信息"
>
<el-select
style=
"width: 135%"
allow-create
filterable
default-first-option
size=
"small"
v-model=
"model.statusRemark"
placeholder=
"请选择备注信息"
>
<el-option
v-for=
"item in rematchingOptions"
:key=
"item"
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
35f0bedd
...
...
@@ -751,6 +751,7 @@ export default {
appointEndTime
:
""
,
doneTimeBegin
:
""
,
doneTimeEnd
:
""
,
inNewTimeObj
:{}
});
},
...
...
@@ -898,6 +899,32 @@ 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
{
...
...
@@ -907,10 +934,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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录