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
提交
527a2f6a
提交
527a2f6a
编写于
7月 07, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/dev-20210702' into dev-20210702
上级
d317c3bc
5646f608
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
39 行增加
和
20 行删除
+39
-20
router.js
src/router/router.js
+1
-1
constants.js
src/utils/constants.js
+2
-2
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+36
-17
未找到文件。
src/router/router.js
浏览文件 @
527a2f6a
...
...
@@ -14,6 +14,7 @@ const downList = r => require.ensure([], () => r(require('../views/IM/diagnosis-
export
default
[{
path
:
'/'
,
component
:
App
,
mode
:
'history'
,
children
:
[
{
path
:
''
,
...
...
@@ -45,7 +46,6 @@ export default [{
},
{
path
:
'/diagnosis-list-new'
,
component
:
diagnosisListNew
},
{
path
:
'/down-list'
,
component
:
downList
...
...
src/utils/constants.js
浏览文件 @
527a2f6a
...
...
@@ -323,7 +323,7 @@ export const RUN_TAB_LIST = [
export
const
TRIAGE_TAB_LIST
=
[
{
label
:
'全部'
,
active
:
'
1
'
active
:
'
99
'
},
{
label
:
'待诊断'
,
...
...
@@ -335,7 +335,7 @@ export const TRIAGE_TAB_LIST = [
export
const
RECEPTION_TAB_LIST
=
[
{
label
:
'全部'
,
active
:
'
1
'
active
:
'
99
'
},
{
label
:
'待匹配医生'
,
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
527a2f6a
...
...
@@ -231,11 +231,11 @@
<appointment-time
:appointmentTimeVisible
.
sync=
"appointmentTimeVisible"
:diagnoseLogId=
"diagnoseLogId"
:bizType=
"bizType"
></appointment-time>
<diagnosis-time
:diagnosisTimeVisible
.
sync=
"diagnosisTimeVisible"
:diagnoseLogId=
"diagnoseLogId"
:bizType=
"bizType"
></diagnosis-time>
</div>
<a
class=
"target"
href=
""
target=
"_blank"
ref=
"target"
></a>
</div>
</
template
>
<
script
>
import
{
updateDiagnosis
}
from
"../../../utils/diagnosis"
;
let
vm
=
null
;
const
DOWN_URL
=
'/diagnose/admin/diagnose/export'
;
const
LIST_URL
=
'/diagnose/admin/diagnose/list'
;
const
DEP_URL
=
'/hospital/departments/0'
...
...
@@ -335,17 +335,32 @@ export default {
activated
()
{
this
.
search
();
},
watch
:
{
'$route'
:
{
handler
(
newVal
,
oldVal
)
{
// this.getview(newVal, oldVal)
if
(
newVal
)
{
this
.
init
()
}
},
deep
:
true
,
immediate
:
true
,
}
},
created
()
{
vm
=
this
;
this
.
fromType
=
+
(
this
.
$route
.
query
.
fromType
||
1
);
this
.
setTable
();
this
.
getDep
()
},
mounted
()
{
this
.
setTableHeight
();
this
.
search
();
},
methods
:
{
init
(){
this
.
fromType
=
+
(
this
.
$route
.
query
.
fromType
||
1
);
this
.
activeName
=
"99"
;
this
.
status
=
'99'
this
.
setTable
();
this
.
search
();
},
// 不同也main切换不同的tab
setTable
()
{
let
tabs
=
ALL_TAB_LIST
;
...
...
@@ -372,6 +387,7 @@ export default {
break
;
}
this
.
tabpaneList
=
tabs
;
},
// 设置table的高度
setTableHeight
()
{
...
...
@@ -473,10 +489,13 @@ export default {
},
//查看详情/编辑详情
goDetail
(
row
,
flag
)
{
this
.
$router
.
push
({
path
:
"/diagnosis-editor"
,
query
:
{
id
:
row
.
diagnoseLogId
,
editorType
:
flag
},
});
// this.$router.push({
// path: "/diagnosis-editor",
// query: { id: row.diagnoseLogId, editorType: flag },
// });
let
target
=
this
.
$refs
.
target
target
.
setAttribute
(
'href'
,
window
.
location
.
origin
+
`/#/diagnosis-editor?id=
${
row
.
diagnoseLogId
}
&editorType=
${
flag
}
`
)
target
.
click
()
},
//取消/退款
cancelRefund
(
row
)
{
...
...
@@ -529,13 +548,13 @@ export default {
}
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
//
vm
.cancel();
vm
.
search
();
//
this
.cancel();
this
.
search
();
}
else
{
vm
.
$message
.
error
(
res
.
message
);
this
.
$message
.
error
(
res
.
message
);
}
}).
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
error
);
this
.
$message
.
error
(
error
);
});
})
...
...
@@ -594,13 +613,13 @@ export default {
}
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
//
vm
.cancel();
vm
.
search
();
//
this
.cancel();
this
.
search
();
}
else
{
vm
.
$message
.
error
(
res
.
message
);
this
.
$message
.
error
(
res
.
message
);
}
}).
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
error
);
this
.
$message
.
error
(
error
);
});
})
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录