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
提交
1c99ef6a
提交
1c99ef6a
编写于
11月 09, 2023
作者:
peng.zhao
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/zl' into 'release'
Feature/zl See merge request
!271
上级
38ccf474
b87420e3
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
117 行增加
和
56 行删除
+117
-56
.env.development.local
.env.development.local
+1
-1
diagnosis.js
src/api/diagnosis.js
+13
-0
diagnosis-doctor.vue
src/components/common/diagnosis-doctor.vue
+53
-35
rematching-doctor.vue
src/components/common/rematching-doctor.vue
+2
-1
table-set-component.vue
src/components/list/table-set-component.vue
+8
-7
main.js
src/main.js
+7
-1
constants.js
src/utils/constants.js
+4
-0
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+28
-10
vue.config.js
vue.config.js
+1
-1
未找到文件。
.env.development.local
浏览文件 @
1c99ef6a
...
@@ -17,4 +17,4 @@ VUE_APP_IS_LOCAL=true
...
@@ -17,4 +17,4 @@ VUE_APP_IS_LOCAL=true
VUE_APP_APPID=wxf4e66242d31c81c2
VUE_APP_APPID=wxf4e66242d31c81c2
#本地token
#本地token
VUE_APP_TOKEN=
080D305CDE1648C8A23B59AECE68C7A7
VUE_APP_TOKEN=
A696F7FD7DD5429B9CB693E91BD3A640
src/api/diagnosis.js
浏览文件 @
1c99ef6a
...
@@ -14,6 +14,13 @@ export const getDoctorList = async (data) => {
...
@@ -14,6 +14,13 @@ export const getDoctorList = async (data) => {
method
:
'get'
,
method
:
'get'
,
});
});
};
};
export
const
getDoctorListNew
=
async
(
data
)
=>
{
return
request
({
url
:
'/diagnose/doctorService/doctorListNew'
,
params
:
data
,
method
:
'get'
,
});
};
export
const
getDiagnoseLog
=
async
(
data
)
=>
{
export
const
getDiagnoseLog
=
async
(
data
)
=>
{
return
request
({
return
request
({
...
@@ -29,6 +36,12 @@ export const diagnoseUpdate = async (data) => {
...
@@ -29,6 +36,12 @@ export const diagnoseUpdate = async (data) => {
method
:
'post'
,
method
:
'post'
,
});
});
};
};
export
const
reMatchDoctor
=
async
(
diagnoseLogId
)
=>
{
return
request
({
url
:
`/diagnose/admin/diagnose/outbound/intention/
${
diagnoseLogId
}
`
,
method
:
'post'
,
});
};
// diagnosis-im
// diagnosis-im
export
const
getQueryTemplate
=
async
()
=>
{
export
const
getQueryTemplate
=
async
()
=>
{
...
...
src/components/common/diagnosis-doctor.vue
浏览文件 @
1c99ef6a
<!-- todo -->
<
template
>
<
template
>
<div>
<div>
<el-dialog
<el-dialog
...
@@ -23,6 +24,7 @@
...
@@ -23,6 +24,7 @@
/>
/>
</el-select>
</el-select>
<el-date-picker
<el-date-picker
v-if=
"diagnoseType != 4"
v-model=
"chooseTime"
v-model=
"chooseTime"
type=
"date"
type=
"date"
:clearable=
"false"
:clearable=
"false"
...
@@ -74,44 +76,49 @@
...
@@ -74,44 +76,49 @@
<span>
未选定医生
</span>
<span>
未选定医生
</span>
</div>
</div>
<div
class=
"work-info-Num"
>
<div
class=
"work-info-Num"
>
<span
<div
v-if=
"diagnoseType != 4"
>
class=
"work-info-Num-span"
<span
>
可选排班时间(预约已满需要沟通确定时间)
</span>
class=
"work-info-Num-span"
<div
>
可选排班时间(预约已满需要沟通确定时间)
</span>
v-if=
"timeChoosetList.length > 0"
class=
"time-list-show"
>
<div
<div
v-for=
"(itemChild, indexChild) in timeChoosetList"
v-if=
"timeChoosetList.length > 0"
:key=
"indexChild"
class=
"time-list-show"
class=
"home_grid_item"
>
>
<div
<div
class=
"grid_tex
t"
v-for=
"(itemChild, indexChild) in timeChoosetLis
t"
:
class=
"chooseTimeIndex == indexChild && 'choose-time-choose'
"
:
key=
"indexChild
"
@
click=
"getChooseTimeValue(itemChild, indexChild)
"
class=
"home_grid_item
"
>
>
<span
<div
:class=
"
class=
"grid_text"
itemChild.isFull == 1 ? 'show-meet-time' : 'no-meet-time'
:class=
"chooseTimeIndex == indexChild && 'choose-time-choose'"
"
@
click=
"getChooseTimeValue(itemChild, indexChild)"
>
{{
itemChild
.
time
}}
</span>
<p
:class=
"
itemChild.isFull == 1 ? 'can-meet-time' : 'canot-meet-time'
"
>
>
{{
itemChild
.
isFull
==
1
?
'可约'
:
'已满'
}}
<span
</p>
:class=
"
itemChild.isFull == 1 ? 'show-meet-time' : 'no-meet-time'
"
>
{{
itemChild
.
time
}}
</span>
<p
:class=
"
itemChild.isFull == 1
? 'can-meet-time'
: 'canot-meet-time'
"
>
{{
itemChild
.
isFull
==
1
?
'可约'
:
'已满'
}}
</p>
</div>
</div>
</div>
</div>
</div>
<div
v-else
class=
"time-list-showNo"
>
<span>
无可选时间
</span>
</div>
</div>
</div>
<div
v-else
class=
"time-list-showNo"
>
<span>
无可选时间
</span>
</div>
<div
class=
"work-info-botton"
>
<div
class=
"work-info-botton"
>
<span
<span
slot=
"footer"
slot=
"footer"
...
@@ -141,7 +148,12 @@
...
@@ -141,7 +148,12 @@
<
script
>
<
script
>
import
{
manualQueue
}
from
'../../utils/diagnosis'
;
import
{
manualQueue
}
from
'../../utils/diagnosis'
;
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
import
{
getDoctorList
,
getLeisureTime
,
acceptsCeiling
}
from
'@/api/diagnosis'
;
import
{
getDoctorList
,
getDoctorListNew
,
getLeisureTime
,
acceptsCeiling
,
}
from
'@/api/diagnosis'
;
let
vm
=
null
;
let
vm
=
null
;
export
default
{
export
default
{
...
@@ -308,7 +320,7 @@
...
@@ -308,7 +320,7 @@
});
});
return
false
;
return
false
;
}
}
if
(
this
.
startTime
==
''
)
{
if
(
this
.
startTime
==
''
&&
this
.
diagnoseType
!=
4
)
{
this
.
$message
({
this
.
$message
({
message
:
'请选择排班时间'
,
message
:
'请选择排班时间'
,
type
:
'warning'
,
type
:
'warning'
,
...
@@ -322,8 +334,8 @@
...
@@ -322,8 +334,8 @@
innerFlag
:
this
.
formData
.
innerFlag
,
innerFlag
:
this
.
formData
.
innerFlag
,
receptionId
:
this
.
formData
.
receptionId
,
receptionId
:
this
.
formData
.
receptionId
,
receptionName
:
this
.
formData
.
receptionName
,
receptionName
:
this
.
formData
.
receptionName
,
receptionBeginTime
:
this
.
startTime
,
receptionBeginTime
:
this
.
startTime
||
''
,
receptionEndTime
:
this
.
endTime
,
receptionEndTime
:
this
.
endTime
||
''
,
diagnoseChannel
:
this
.
formData
.
diagnoseChannel
,
diagnoseChannel
:
this
.
formData
.
diagnoseChannel
,
};
};
manualQueue
(
req
)
manualQueue
(
req
)
...
@@ -418,7 +430,13 @@
...
@@ -418,7 +430,13 @@
this
.
doctorList
=
this
.
sessionDoctorList
;
this
.
doctorList
=
this
.
sessionDoctorList
;
this
.
doctorChanged
(
this
.
formData
.
receptionId
);
this
.
doctorChanged
(
this
.
formData
.
receptionId
);
}
else
{
}
else
{
getDoctorList
({
let
doctorMethod
=
getDoctorList
;
if
(
this
.
diagnoseType
==
'4'
)
{
// diagnoseType = 4实时类型 换了一个接口
doctorMethod
=
getDoctorListNew
;
}
doctorMethod
({
diagnoseType
:
this
.
diagnoseType
,
diagnoseType
:
this
.
diagnoseType
,
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
...
src/components/common/rematching-doctor.vue
浏览文件 @
1c99ef6a
...
@@ -123,7 +123,8 @@
...
@@ -123,7 +123,8 @@
if
(
valid
)
{
if
(
valid
)
{
const
req
=
{
const
req
=
{
id
:
this
.
diagnoseLogId
,
id
:
this
.
diagnoseLogId
,
bizType
:
this
.
bizType
,
bizType
:
this
.
model
.
statusRemark
===
'助诊医生爽约'
?
16
:
this
.
bizType
,
statusRemark
:
this
.
model
.
statusRemark
,
statusRemark
:
this
.
model
.
statusRemark
,
};
};
updateDiagnosis
(
req
)
updateDiagnosis
(
req
)
...
...
src/components/list/table-set-component.vue
浏览文件 @
1c99ef6a
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
class=
"btn"
class=
"btn"
@
click=
"waitMatchDot(scope.row)"
@
click=
"waitMatchDot(scope.row)"
>
>
设为待匹配医生
重新匹配
</el-button>
</el-button>
<el-button
<el-button
v-if=
"showBtn(scope.row, 22, 21)"
v-if=
"showBtn(scope.row, 22, 21)"
...
@@ -136,8 +136,9 @@
...
@@ -136,8 +136,9 @@
>
>
发送消息
发送消息
</el-button>
</el-button>
<el-button
<el-button
v-if=
"showBtn(scope.row, 3, 26)"
v-if=
"s
cope.row.diagnoseType !== 4 && s
howBtn(scope.row, 3, 26)"
type=
"primary"
type=
"primary"
size=
"small"
size=
"small"
class=
"btn"
class=
"btn"
...
@@ -179,7 +180,7 @@
...
@@ -179,7 +180,7 @@
class=
"btn"
class=
"btn"
@
click=
"waitMatchTime(scope.row)"
@
click=
"waitMatchTime(scope.row)"
>
>
设为待确认时间
修改指定医生
</el-button>
</el-button>
<el-button
<el-button
v-if=
"showBtn(scope.row, 3, 25, 26)"
v-if=
"showBtn(scope.row, 3, 25, 26)"
...
@@ -188,9 +189,9 @@
...
@@ -188,9 +189,9 @@
class=
"btn"
class=
"btn"
@
click=
"reMatchDot(scope.row, 10)"
@
click=
"reMatchDot(scope.row, 10)"
>
>
重新匹配医生
手动打回
</el-button>
</el-button>
<el-button
<
!--
<
el-button
v-if=
"showBtn(scope.row, 3, 25, 26)"
v-if=
"showBtn(scope.row, 3, 25, 26)"
type=
"primary"
type=
"primary"
size=
"small"
size=
"small"
...
@@ -198,9 +199,9 @@
...
@@ -198,9 +199,9 @@
@
click=
"reMatchDot(scope.row, 16)"
@
click=
"reMatchDot(scope.row, 16)"
>
>
重新联系助诊医生
重新联系助诊医生
</el-button>
</el-button>
-->
<el-button
<el-button
v-if=
"showBtn(scope.row, 3, 26)"
v-if=
"s
cope.row.diagnoseType !== 4 && s
howBtn(scope.row, 3, 26)"
type=
"primary"
type=
"primary"
size=
"small"
size=
"small"
class=
"btn"
class=
"btn"
...
...
src/main.js
浏览文件 @
1c99ef6a
import
{
router
,
store
}
from
'@pica-cli/vue-cli-plugin-pica-cli-plugin/auto'
;
import
{
router
,
store
}
from
'@pica-cli/vue-cli-plugin-pica-cli-plugin/auto'
;
import
'@/router'
;
import
'@/router'
;
console
.
log
(
'router '
,
router
);
console
.
log
(
'router '
,
router
);
console
.
log
(
'store '
,
store
);
console
.
log
(
'store '
,
store
);
\ No newline at end of file
// 本地调试增加token和systemType
if
(
process
.
env
.
VUE_APP_ENV
===
'development'
)
{
window
.
localStorage
.
setItem
(
'token'
,
process
.
env
.
VUE_APP_TOKEN
);
window
.
localStorage
.
setItem
(
'systemType'
,
process
.
env
.
VUE_APP_SYSTEM_TYPE
);
}
src/utils/constants.js
浏览文件 @
1c99ef6a
...
@@ -21,6 +21,10 @@ export const TYPE_LIST = [
...
@@ -21,6 +21,10 @@ export const TYPE_LIST = [
label
:
'图文问诊'
,
label
:
'图文问诊'
,
value
:
3
,
value
:
3
,
},
},
{
label
:
'电话问诊'
,
value
:
4
,
},
];
];
// 支付方式
// 支付方式
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
1c99ef6a
...
@@ -623,6 +623,7 @@
...
@@ -623,6 +623,7 @@
diagnoseExport
,
diagnoseExport
,
diagnoseList
,
diagnoseList
,
departmentAll
,
departmentAll
,
reMatchDoctor
,
}
from
'@/api/diagnosis'
;
}
from
'@/api/diagnosis'
;
import
MatchComponent
from
'@/components/common/match'
;
import
MatchComponent
from
'@/components/common/match'
;
...
@@ -1268,8 +1269,28 @@
...
@@ -1268,8 +1269,28 @@
this
.
departmentId
=
row
.
triageDepartmentId
;
this
.
departmentId
=
row
.
triageDepartmentId
;
this
.
patientName
=
row
.
patientName
;
this
.
patientName
=
row
.
patientName
;
this
.
patientMobilePhone
=
row
.
patientMobilePhone
;
this
.
patientMobilePhone
=
row
.
patientMobilePhone
;
this
.
diagnosisTimeVisible
=
true
;
this
.
bizType
=
5
;
this
.
bizType
=
5
;
if
(
this
.
diagnoseType
==
'4'
)
{
this
.
$confirm
(
'是否重新匹配医生'
,
'提示'
,
{
confirmButtonText
:
'是'
,
cancelButtonText
:
'否'
,
type
:
'warning'
,
}).
then
(()
=>
{
this
.
loading
=
true
;
reMatchDoctor
(
this
.
diagnoseLogId
)
.
then
(()
=>
{
this
.
loading
=
false
;
this
.
search
(
false
);
})
.
catch
(()
=>
{
this
.
loading
=
false
;
});
});
}
else
{
this
.
diagnosisTimeVisible
=
true
;
}
// }
// }
},
},
// 修改科室
// 修改科室
...
@@ -1366,15 +1387,12 @@
...
@@ -1366,15 +1387,12 @@
},
},
// 重新匹配医生
// 重新匹配医生
reMatchDot
(
row
,
type
)
{
reMatchDot
(
row
,
type
)
{
if
(
type
==
10
)
{
this
.
rematchingOptions
=
[
this
.
rematchingOptions
=
[
'接诊医生爽约'
,
'接诊医生爽约'
,
'上级医生日程改变,提前取消'
,
'上级医生日程改变,提前取消'
,
'操作失误,重新匹配医生'
,
'操作失误,重新匹配医生'
,
'助诊医生爽约'
,
];
];
}
else
{
this
.
rematchingOptions
=
[
'助诊医生爽约'
];
}
// this.rematchingOptions=
// this.rematchingOptions=
// this.options=
// this.options=
this
.
rematchingVisible
=
true
;
this
.
rematchingVisible
=
true
;
...
...
vue.config.js
浏览文件 @
1c99ef6a
...
@@ -71,7 +71,7 @@ module.exports = {
...
@@ -71,7 +71,7 @@ module.exports = {
port
:
8080
,
port
:
8080
,
proxy
:
{
proxy
:
{
'/proxy'
:
{
'/proxy'
:
{
target
:
'https://
test1
-sc.yunqueyi.com/'
,
target
:
'https://
uat
-sc.yunqueyi.com/'
,
ws
:
false
,
ws
:
false
,
changeOrigin
:
true
,
changeOrigin
:
true
,
secure
:
true
,
secure
:
true
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录