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
提交
5bf246e6
提交
5bf246e6
编写于
7月 21, 2021
作者:
lyf
浏览文件
操作
浏览文件
下载
差异文件
添加备注状态
上级
be1b78bb
56f7a95b
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
140 行增加
和
66 行删除
+140
-66
diagnosis-doctor.vue
src/components/common/diagnosis-doctor.vue
+5
-0
rematching-doctor.vue
src/components/common/rematching-doctor.vue
+71
-53
table-c.vue
src/components/list/table-c.vue
+13
-5
constants.js
src/utils/constants.js
+5
-0
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+46
-8
未找到文件。
src/components/common/diagnosis-doctor.vue
浏览文件 @
5bf246e6
...
...
@@ -157,6 +157,9 @@ export default {
this
.
getDoctorList
();
},
watch
:{
diagnoseType
:
function
(){
this
.
getDoctorList
();
},
doctorId
:
function
(){
if
(
this
.
doctorId
==
0
||
this
.
doctorId
==
null
){
this
.
formData
.
receptionId
=
""
;
...
...
@@ -194,6 +197,7 @@ export default {
}
}
else
{
this
.
formData
.
innerFlag
=
1
;
// 内部
req
=
{
id
:
this
.
diagnoseLogId
,
bizType
:
9
,
...
...
@@ -221,6 +225,7 @@ export default {
})
},
cancel
(){
this
.
doctorId
=
""
;
this
.
formData
.
outsideDoctor
=
''
;
this
.
$emit
(
'update:diagnosisDoctorVisible'
,
false
);
},
...
...
src/components/common/rematching-doctor.vue
浏览文件 @
5bf246e6
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"rematchingVisible"
@
close=
"cancel"
>
:title=
"bizType == 10 ? '重新匹配医生' : '重新联系助诊医生'"
:visible
.
sync=
"rematchingVisible"
@
close=
"cancel"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-form-item
label=
"备注"
class=
"required-label"
prop=
"repatternRemark"
>
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%"
>
<el-form-item
label=
"备注"
class=
"required-label"
prop=
"repatternRemark"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.repatternRemark"
style=
"width: 135%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注信息"
></el-input>
<el-input
type=
"textarea"
v-model=
"model.repatternRemark"
style=
"width: 135%"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注信息"
></el-input>
</el-col>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center
;
"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
import
{
updateDiagnosis
}
from
"../../utils/diagnosis"
;
import
{
updateDiagnosis
}
from
"../../utils/diagnosis"
;
let
vm
=
null
;
export
default
{
props
:
{
rematchingVisible
:
{
type
:
Boolean
,
default
:
false
default
:
false
,
},
bizType
:
{
type
:
Number
,
default
:
10
,
},
diagnoseLogId
:
{
type
:
Number
,
default
:
0
default
:
0
,
},
bizType
:
{
type
:
Number
,
default
:
0
default
:
0
,
},
},
data
()
{
return
{
show
:
false
,
title
:
'重新匹配医生'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
title
:
"重新匹配医生"
,
confirmTxt
:
"确定"
,
cancleTxt
:
""
,
_promise
:
null
,
model
:{
repatternRemark
:
""
model
:
{
repatternRemark
:
""
,
},
addRules
:{
addRules
:
{
repatternRemark
:
[
{
required
:
true
,
message
:
"请输入备注信息"
,
trigger
:
'blur'
}
]
}
}
{
required
:
true
,
message
:
"请输入备注信息"
,
trigger
:
"blur"
},
]
,
}
,
}
;
},
created
()
{
vm
=
this
;
...
...
@@ -72,33 +90,33 @@ export default {
this
.
$refs
.
setForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
let
req
=
{
id
:
this
.
diagnoseLogId
,
bizType
:
10
,
repatternRemark
:
this
.
model
.
repatternRemark
}
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
cancel
();
vm
.
$emit
(
'search'
);
}
else
{
id
:
this
.
diagnoseLogId
,
bizType
:
this
.
bizType
,
repatternRemark
:
this
.
model
.
repatternRemark
,
};
updateDiagnosis
(
req
)
.
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
cancel
();
vm
.
$emit
(
"search"
);
}
else
{
vm
.
$message
.
error
(
res
.
message
);
}
})
.
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
res
.
message
);
}
}).
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
res
.
message
);
});
});
}
})
});
},
cancel
(){
cancel
()
{
this
.
model
.
repatternRemark
=
""
;
this
.
$emit
(
'update:rematchingVisible'
,
false
);
}
}
}
this
.
$emit
(
"update:rematchingVisible"
,
false
);
}
,
}
,
}
;
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/list/table-c.vue
浏览文件 @
5bf246e6
...
...
@@ -4,6 +4,7 @@
v-loading=
"loading"
class=
"search-table"
:data=
"tData"
@
sort-change=
'sortfunc'
:height=
"tableHeight"
style=
"width: 100%"
border
...
...
@@ -15,6 +16,7 @@
:key=
"item.prop"
:prop=
"item.prop"
:label=
"item.label"
:sortable=
"item.prop=='appointBeginTime'||item.prop=='assistantBeginTime'?'custom':false"
:show-overflow-tooltip=
"item.showtooltip"
min-width=
"170"
align=
"center"
...
...
@@ -142,7 +144,7 @@
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row, 3, 25, 26)"
@
click=
"reMatchDot(scope.row)"
@
click=
"reMatchDot(scope.row
,10
)"
>
重新匹配医生
</el-button
>
<el-button
...
...
@@ -150,7 +152,7 @@
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row, 3, 25, 26)"
@
click=
"reMatchDot(scope.row)"
@
click=
"reMatchDot(scope.row
,16
)"
>
重新联系助诊医生
</el-button
>
<el-button
...
...
@@ -237,6 +239,7 @@ export default {
default
:
[],
},
},
data
()
{
return
{
tableColumn
:
TABLE_COLUMN
,
...
...
@@ -244,6 +247,11 @@ export default {
},
mounted
()
{},
methods
:
{
sortfunc
(
data
){
this
.
$emit
(
"sortfunc"
,
data
);
},
showBtn
(
row
,
...
arr
)
{
return
arr
.
includes
(
row
.
status
);
// return true;
...
...
@@ -302,9 +310,9 @@ export default {
this
.
$emit
(
"waitMatchTime"
,
row
);
},
//重新匹配医生
reMatchDot
(
row
)
{
console
.
log
(
row
)
this
.
$emit
(
"reMatchDot"
,
row
);
reMatchDot
(
row
,
type
)
{
this
.
$emit
(
"reMatchDot"
,
row
,
type
);
},
//修改时间
changeTime
(
row
)
{
...
...
src/utils/constants.js
浏览文件 @
5bf246e6
...
...
@@ -420,6 +420,11 @@ export const TABLE_COLUMN = [
label
:
"状态"
,
showtooltip
:
false
,
},
{
prop
:
"statusRemark"
,
label
:
"状态备注"
,
showtooltip
:
false
,
},
{
prop
:
"toFollowReason"
,
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
5bf246e6
...
...
@@ -225,6 +225,7 @@
:loading=
"loading"
:tableHeight=
"tableHeight"
:multipleSelection
.
sync=
"multipleSelection"
@
sortfunc=
"sortfunc"
@
witeDiagnose=
"witeDiagnose"
@
changeRun=
"changeRun"
@
goDetail=
"goDetail"
...
...
@@ -316,11 +317,13 @@
</
template
>
<
script
>
let
vm
=
null
;
import
{
updateDiagnosis
}
from
"../../../utils/diagnosis"
;
const
DOWN_URL
=
"/diagnose/admin/diagnose/export"
;
const
LIST_URL
=
"/diagnose/admin/diagnose/list"
;
import
{
updateDiagnosis
}
from
"../../../utils/diagnosis"
;
import
{
base64decode
}
from
"../../../utils/utils.js"
;
const
DOWN_URL
=
'/diagnose/admin/diagnose/export'
;
const
LIST_URL
=
'/diagnose/admin/diagnose/list'
;
const
COUNT_QUERY
=
"/diagnose/admin/diagnose/countQuery"
;
const
DEP_URL
=
"/hospital/departments/0"
;
const
DEP_URL
=
'/hospital/departments/0'
import
TableComponent
from
"@/components/list/table-c"
;
import
{
TYPE_LIST
,
...
...
@@ -374,6 +377,7 @@ export default {
operateName
:
""
,
assistantVal
:
""
,
receptionVal
:
""
,
sort
:
null
,
triageDepartmentId
:
""
,
diagnoseType
:
""
,
//预约问诊类型:1、音频 2、视频 3、图文
createdTimeBegin
:
""
,
...
...
@@ -485,7 +489,17 @@ export default {
},
init
()
{
this
.
fromType
=
+
(
this
.
$route
.
query
.
fromType
||
1
);
let
fullPath
=
this
.
$route
.
fullPath
;
let
fromType
=
1
;
if
(
fullPath
.
indexOf
(
"?"
)
>
-
1
){
let
str
=
base64decode
(
fullPath
.
split
(
"?"
)[
1
]);
if
(
str
.
indexOf
(
"?"
)){
fromType
=
str
.
split
(
"="
)[
1
];
}
}
// this.fromType = +(this.$route.query.fromType || 1);
this
.
fromType
=
+
fromType
;
this
.
activeName
=
"99"
;
this
.
searchParam
.
status
=
""
;
this
.
Raw_tabpaneList
=
[]
...
...
@@ -628,6 +642,29 @@ export default {
this
.
resetPage
();
this
.
search
();
},
sortfunc
(
data
){
// ascending 升序
// descending 降序
if
(
data
.
prop
==
"appointBeginTime"
&&
data
.
order
==
"ascending"
){
this
.
searchParam
.
sort
=
1
}
else
if
(
data
.
prop
==
"appointBeginTime"
&&
data
.
order
==
"descending"
){
this
.
searchParam
.
sort
=
2
}
else
if
(
data
.
prop
==
"assistantBeginTime"
&&
data
.
order
==
"ascending"
){
this
.
searchParam
.
sort
=
3
}
else
if
(
data
.
prop
==
"assistantBeginTime"
&&
data
.
order
==
"descending"
){
this
.
searchParam
.
sort
=
4
}
else
{
this
.
searchParam
.
sort
=
null
}
this
.
search
()
},
search
()
{
this
.
loading
=
true
;
this
.
initTime
();
...
...
@@ -672,6 +709,7 @@ export default {
createdTimeEnd
:
""
,
operateTimeBegin
:
""
,
operateTimeEnd
:
""
,
sort
:
null
,
appointBeginTime
:
""
,
appointEndTime
:
""
,
doneTimeBegin
:
""
,
...
...
@@ -829,11 +867,11 @@ export default {
}
},
//重新匹配医生
reMatchDot
(
row
)
{
console
.
log
(
row
)
reMatchDot
(
row
,
type
)
{
console
.
log
(
row
,
type
)
this
.
rematchingVisible
=
true
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
this
.
bizType
=
10
;
this
.
bizType
=
type
;
},
//修改时间
changeTime
(
row
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录