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
提交
74d1bf3a
提交
74d1bf3a
编写于
9月 02, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/jq' into 'release'
Feature/jq See merge request
!131
上级
3bd5ce0a
57451740
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
36 行增加
和
18 行删除
+36
-18
index.js
config/index.js
+1
-1
diagnosis-doctor.vue
src/components/common/diagnosis-doctor.vue
+31
-14
rematching-doctor.vue
src/components/common/rematching-doctor.vue
+1
-1
constants.js
src/utils/constants.js
+1
-1
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+2
-1
未找到文件。
config/index.js
浏览文件 @
74d1bf3a
...
@@ -38,4 +38,4 @@ module.exports = {
...
@@ -38,4 +38,4 @@ module.exports = {
proxypath
:
'http://localhost:9000'
,
proxypath
:
'http://localhost:9000'
,
cssSourceMap
:
true
cssSourceMap
:
true
}
}
}
}
\ No newline at end of file
src/components/common/diagnosis-doctor.vue
浏览文件 @
74d1bf3a
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<!--
<el-input
v-model=
"formData.doctorName"
placeholder=
"请选择接诊医生"
class=
"set-width"
disabled
></el-input>
-->
<!--
<el-input
v-model=
"formData.doctorName"
placeholder=
"请选择接诊医生"
class=
"set-width"
disabled
></el-input>
-->
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
<el-select
@
change=
"doctorChanged($event)"
filterable
v-model=
"formData.receptionId"
placeholder=
"请选择接诊医生"
class=
"set-width"
style=
"width: 100%;"
>
<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-select>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
</el-form>
</el-form>
<!--
</el-row>
-->
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<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
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
:disabled=
"isClick"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
:disabled=
"isClick"
>
确定
</el-button>
</span>
</span>
...
@@ -182,7 +183,11 @@ export default {
...
@@ -182,7 +183,11 @@ export default {
diagnoseChannel
:
1
,
diagnoseChannel
:
1
,
},
},
doctorList
:[],
doctorList
:[],
sessionDoctorList
:[],
inNewTime
:
''
,
inNewTimeObj
:{},
rangeTime
:
''
,
rangeTime
:
''
,
listKey
:
''
,
addRules
:{
addRules
:{
receptionId
:
[
receptionId
:
[
{
required
:
true
,
message
:
"请选择接诊医生"
,
trigger
:
'change'
}
{
required
:
true
,
message
:
"请选择接诊医生"
,
trigger
:
'change'
}
...
@@ -288,6 +293,11 @@ export default {
...
@@ -288,6 +293,11 @@ export default {
}
}
})
})
},
},
refreshData
(){
let
key
=
"sessionDoctorList"
+
this
.
diagnoseType
;
localStorage
.
removeItem
(
key
);
this
.
getDoctorList
();
},
cancel
(){
cancel
(){
this
.
doctorId
=
""
;
this
.
doctorId
=
""
;
this
.
formData
.
outsideDoctor
=
''
;
this
.
formData
.
outsideDoctor
=
''
;
...
@@ -320,20 +330,27 @@ export default {
...
@@ -320,20 +330,27 @@ export default {
},
},
getDoctorList
()
{
getDoctorList
()
{
this
.
loading
=
true
this
.
loading
=
true
let
url
=
`/diagnose/doctorService/doctorList?diagnoseType=
${
this
.
diagnoseType
}
`
this
.
listKey
=
"sessionDoctorList"
+
this
.
diagnoseType
;
this
.
GET
(
url
).
then
(
res
=>
{
let
sessionList
=
localStorage
.
getItem
(
this
.
listKey
);
this
.
loading
=
false
this
.
sessionDoctorList
=
JSON
.
parse
(
sessionList
);
if
(
res
.
code
==
'000000'
)
{
if
(
sessionList
){
this
.
doctorList
=
res
.
data
this
.
doctorList
=
this
.
sessionDoctorList
this
.
doctorChanged
(
this
.
formData
.
receptionId
)
}
else
{
}
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
))
this
.
doctorChanged
(
this
.
formData
.
receptionId
)
}
else
{
this
.
$message
.
info
(
'请稍后重试'
)
}
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
$message
.
info
(
'请稍后重试'
)
this
.
$message
.
info
(
'请稍后重试'
)
}
});
}
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
$message
.
info
(
'请稍后重试'
)
});
},
},
openDiagnosisStartTimeDialog
(){
openDiagnosisStartTimeDialog
(){
this
.
diagnosisStartTimeDialog
=
true
;
this
.
diagnosisStartTimeDialog
=
true
;
...
...
src/components/common/rematching-doctor.vue
浏览文件 @
74d1bf3a
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
placeholder=
"请输入备注信息"
placeholder=
"请输入备注信息"
></el-input>
-->
></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
<el-option
v-for=
"item in rematchingOptions"
v-for=
"item in rematchingOptions"
:key=
"item"
:key=
"item"
...
...
src/utils/constants.js
浏览文件 @
74d1bf3a
...
@@ -508,7 +508,7 @@ export const TABLE_COLUMN = [
...
@@ -508,7 +508,7 @@ export const TABLE_COLUMN = [
},
},
{
{
prop
:
"receptionBeginTime"
,
prop
:
"receptionBeginTime"
,
label
:
"接诊
诊
医生意向时间"
,
label
:
"接诊医生意向时间"
,
showtooltip
:
false
,
showtooltip
:
false
,
},
},
{
{
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
74d1bf3a
...
@@ -751,6 +751,7 @@ export default {
...
@@ -751,6 +751,7 @@ export default {
appointEndTime
:
""
,
appointEndTime
:
""
,
doneTimeBegin
:
""
,
doneTimeBegin
:
""
,
doneTimeEnd
:
""
,
doneTimeEnd
:
""
,
inNewTimeObj
:{}
});
});
},
},
...
@@ -907,7 +908,7 @@ export default {
...
@@ -907,7 +908,7 @@ export default {
//重新匹配医生
//重新匹配医生
reMatchDot
(
row
,
type
)
{
reMatchDot
(
row
,
type
)
{
if
(
type
==
10
){
if
(
type
==
10
){
this
.
rematchingOptions
=
[
"接诊医生爽约"
]
this
.
rematchingOptions
=
[
"接诊医生爽约"
,
'上级医生日程改变,提前取消'
,
'操作失误,重新匹配医生'
]
}
}
else
{
else
{
this
.
rematchingOptions
=
[
"助诊医生爽约"
]
this
.
rematchingOptions
=
[
"助诊医生爽约"
]
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录