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
提交
15c8edee
提交
15c8edee
编写于
1月 30, 2024
作者:
zhongyao.qiao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat 订单管理加字段
上级
a84a66da
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
842 行增加
和
833 行删除
+842
-833
.env
.env
+1
-1
.env.development.local
.env.development.local
+1
-1
.eslintrc.js
.eslintrc.js
+1
-5
diagnosis.js
src/api/diagnosis.js
+3
-2
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+835
-823
vue.config.js
vue.config.js
+1
-1
未找到文件。
.env
浏览文件 @
15c8edee
NODE_ENV=development
NODE_ENV=development
# baseUrl
# baseUrl
BASE_URL=/pica-admin-consultation/
BASE_URL=/
consultation/
pica-admin-consultation/
# 路由 base
# 路由 base
VUE_APP_BASE_ROUTE_URL=/consultation/pica-admin-consultation/
VUE_APP_BASE_ROUTE_URL=/consultation/pica-admin-consultation/
...
...
.env.development.local
浏览文件 @
15c8edee
...
@@ -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=
BD84987E12C94A659DA95DE2BF177A76
VUE_APP_TOKEN=
C7D1BE8D74644C5C9073BCA21C56B6B4
.eslintrc.js
浏览文件 @
15c8edee
...
@@ -37,11 +37,7 @@ module.exports = {
...
@@ -37,11 +37,7 @@ module.exports = {
'spaced-comment'
:
[
2
,
'always'
],
// 强制在注释中 // 或 /* 使用一致的空格
'spaced-comment'
:
[
2
,
'always'
],
// 强制在注释中 // 或 /* 使用一致的空格
'array-bracket-spacing'
:
[
2
,
'never'
],
// 指定数组的元素之间要以空格隔开(, 后面), never参数:[ 之后和 ] 之前不能带空格,always参数:[ 之后和 ] 之前必须带空格
'array-bracket-spacing'
:
[
2
,
'never'
],
// 指定数组的元素之间要以空格隔开(, 后面), never参数:[ 之后和 ] 之前不能带空格,always参数:[ 之后和 ] 之前必须带空格
"space-before-blocks"
:
2
,
// if/function等的大括号之前需要有空格
"space-before-blocks"
:
2
,
// if/function等的大括号之前需要有空格
"vue/script-indent"
:
[
"error"
,
2
,
{
// script标签缩进设置
"vue/script-indent"
:
'off'
,
"baseIndent"
:
1
,
"switchCase"
:
0
,
"ignores"
:
[]
}],
'no-undef-init'
:
2
,
// 禁止将变量初始化为 undefined,保存时会将let a = undefined变成let a
'no-undef-init'
:
2
,
// 禁止将变量初始化为 undefined,保存时会将let a = undefined变成let a
'semi'
:
[
2
,
'always'
],
//强制结尾必须有分号;
'semi'
:
[
2
,
'always'
],
//强制结尾必须有分号;
...
...
src/api/diagnosis.js
浏览文件 @
15c8edee
...
@@ -92,10 +92,11 @@ export const messageSend = async (data) => {
...
@@ -92,10 +92,11 @@ export const messageSend = async (data) => {
// diagnosis-list-new
// diagnosis-list-new
export
const
getCountQuery
=
async
()
=>
{
export
const
getCountQuery
=
async
(
params
)
=>
{
return
request
({
return
request
({
url
:
'/diagnose/admin/diagnose/countQuery'
,
url
:
'/diagnose/admin/diagnose/countQuery'
,
method
:
'get'
,
method
:
'post'
,
data
:
params
});
});
};
};
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
15c8edee
...
@@ -390,7 +390,7 @@
...
@@ -390,7 +390,7 @@
<el-button
<el-button
type=
"primary"
type=
"primary"
class=
"submit-btn"
class=
"submit-btn"
@
click=
"getsearch"
@
click=
"getsearch
()
"
>
>
搜索
搜索
</el-button>
</el-button>
...
@@ -602,46 +602,46 @@
...
@@ -602,46 +602,46 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
let
vm
=
null
;
let
vm
=
null
;
import
{
updateDiagnosis
,
callAssistantDoctor
}
from
'../../../utils/diagnosis'
;
import
{
import
{
outbounNote
}
from
'../../../api/diagnosis'
;
departmentAll
,
import
{
base64decode
}
from
'../../../utils/utils.js'
;
diagnoseExport
,
import
{
DIAGNOS_LIST_NEW
}
from
'@/utils/GeneralData/diagnosis-list-new'
;
diagnoseList
,
import
{
getCountQuery
,
TYPE_LIST
,
getDepartments
,
IS_FLLOW
,
reMatchDoctor
,
SOURCE_LIST
,
}
from
'@/api/diagnosis'
;
ALL_TAB_LIST
,
import
{
DIAGNOS_LIST_NEW
}
from
'@/utils/GeneralData/diagnosis-list-new'
;
TRIAGE_TAB_LIST
,
import
{
RECEPTION
_TAB_LIST
,
ALL
_TAB_LIST
,
RUN_TAB_LIST
,
IS_FLLOW
,
MATCH_TAB
_LIST
,
MATCHING
_LIST
,
ORDER_PRICE
,
MATCH_TAB_LIST
,
MATCHING_LIST
,
ORDER_PRICE
,
}
from
'@/utils/constants'
;
RECEPTION_TAB_LIST
,
import
{
RUN_TAB_LIST
,
getCountQuery
,
SOURCE_LIST
,
getDepartments
,
TRIAGE_TAB_LIST
,
diagnoseExport
,
TYPE_LIST
,
diagnoseList
,
}
from
'@/utils/constants'
;
departmentAll
,
import
{
outbounNote
}
from
'../../../api/diagnosis'
;
reMatchDoctor
,
import
{
callAssistantDoctor
,
updateDiagnosis
}
from
'../../../utils/diagnosis'
;
}
from
'@/api/diagnosi
s'
;
import
{
base64decode
}
from
'../../../utils/utils.j
s'
;
import
MatchComponent
from
'@/components/common/match'
;
import
MatchComponent
from
'@/components/common/match'
;
import
RefundComponent
from
'@/components/common/refund'
;
import
RefundComponent
from
'@/components/common/refund'
;
import
FollowupComponent
from
'../../../components/common/followup
'
;
import
TableSetComponent
from
'@/components/list/table-set-component
'
;
import
MatchingDoctor
from
'../../../components/common/matching-doctor
'
;
import
applyCancelComponent
from
'../../../components/common/applyCancel
'
;
import
DiagnosisComponent
from
'../../../components/common/diagnosis
'
;
import
AppointmentTime
from
'../../../components/common/appointment-time
'
;
import
CoordinatingDoctor
from
'../../../components/common/coordinating-doctor'
;
import
CoordinatingDoctor
from
'../../../components/common/coordinating-doctor'
;
import
DiagnosisDoctor
from
'../../../components/common/diagnosis-doctor
'
;
import
DiagnosisComponent
from
'../../../components/common/diagnosis
'
;
import
AppointmentTime
from
'../../../components/common/appointment-time
'
;
import
DiagnosisDoctor
from
'../../../components/common/diagnosis-doctor
'
;
import
DiagnosisTime
from
'../../../components/common/diagnosis-time'
;
import
DiagnosisTime
from
'../../../components/common/diagnosis-time'
;
import
RematchingDoctor
from
'../../../components/common/rematching-doctor
'
;
import
FollowupComponent
from
'../../../components/common/followup
'
;
import
TableSetComponent
from
'@/components/list/table-set-component
'
;
import
MatchingDoctor
from
'../../../components/common/matching-doctor
'
;
import
applyCancelComponent
from
'../../../components/common/applyCancel
'
;
import
RematchingDoctor
from
'../../../components/common/rematching-doctor
'
;
import
updateDeparId
from
'../../../components/common/updateDepartId'
;
import
updateDeparId
from
'../../../components/common/updateDepartId'
;
export
default
{
export
default
{
components
:
{
components
:
{
TableSetComponent
,
TableSetComponent
,
FollowupComponent
,
FollowupComponent
,
...
@@ -903,7 +903,7 @@
...
@@ -903,7 +903,7 @@
},
},
// 获取tabs数据
// 获取tabs数据
getTabs
()
{
getTabs
()
{
return
getCountQuery
(
).
then
((
res
)
=>
{
getCountQuery
(
this
.
searchParam
).
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
setTable
(
res
.
data
);
this
.
setTable
(
res
.
data
);
this
.
tabrefresh
=
false
;
this
.
tabrefresh
=
false
;
...
@@ -929,11 +929,12 @@
...
@@ -929,11 +929,12 @@
this
.
activeName
=
'99'
;
this
.
activeName
=
'99'
;
this
.
searchParam
.
status
=
''
;
this
.
searchParam
.
status
=
''
;
this
.
Raw_tabpaneList
=
[];
this
.
Raw_tabpaneList
=
[];
this
.
getTabs
().
then
((
res
)
=>
{
if
(
res
)
{
this
.
getsearch
();
this
.
getsearch
();
}
// this.getTabs().then((res) => {
});
// if (res) {
// this.getsearch();
// }
// });
this
.
contrastData
();
this
.
contrastData
();
},
},
...
@@ -1070,7 +1071,7 @@
...
@@ -1070,7 +1071,7 @@
delete
this
.
searchParam
.
hasToFollowReason
;
delete
this
.
searchParam
.
hasToFollowReason
;
}
}
}
}
this
.
getsearch
(
);
this
.
getsearch
(
true
);
this
.
saveFresh
=
false
;
this
.
saveFresh
=
false
;
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
saveFresh
=
true
;
this
.
saveFresh
=
true
;
...
@@ -1103,9 +1104,9 @@
...
@@ -1103,9 +1104,9 @@
this
.
searchParam
[
etime
]
=
arrtime
[
1
];
this
.
searchParam
[
etime
]
=
arrtime
[
1
];
},
},
// 重置页面后搜索
// 重置页面后搜索
getsearch
(
)
{
getsearch
(
isTabs
)
{
this
.
resetPage
();
this
.
resetPage
();
this
.
search
(
true
);
this
.
search
(
isTabs
);
},
},
sortfunc
(
data
)
{
sortfunc
(
data
)
{
// ascending 升序
// ascending 升序
...
@@ -1306,16 +1307,17 @@
...
@@ -1306,16 +1307,17 @@
this
.
diaUpdateDeIdVisible
=
true
;
this
.
diaUpdateDeIdVisible
=
true
;
},
},
callAssistant
(
row
)
{
callAssistant
(
row
)
{
const
i
=
row
.
consultRoadType
==
2
?
'确定呼叫居民吗?'
:
'确定呼叫助诊医生吗?'
;
const
i
=
row
.
consultRoadType
==
2
?
'确定呼叫居民吗?'
:
'确定呼叫助诊医生吗?'
;
this
.
$confirm
(
i
,
'提示'
,
{
this
.
$confirm
(
i
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
callAssistantDoctor
(
row
.
diagnoseLogId
).
then
(
res
=>
{
callAssistantDoctor
(
row
.
diagnoseLogId
).
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
vm
.
$message
.
success
(
'呼叫成功'
);
vm
.
$message
.
success
(
'呼叫成功'
);
}
else
{
}
else
{
vm
.
$message
.
error
(
res
.
message
);
vm
.
$message
.
error
(
res
.
message
);
}
}
});
});
...
@@ -1507,7 +1509,7 @@
...
@@ -1507,7 +1509,7 @@
this
.
searchParam
.
patientName
=
value
?
value
:
null
;
this
.
searchParam
.
patientName
=
value
?
value
:
null
;
},
},
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.diagnosis-list-content
{
.diagnosis-list-content
{
...
@@ -1516,24 +1518,29 @@
...
@@ -1516,24 +1518,29 @@
padding
:
10px
;
padding
:
10px
;
background
:
#fff
;
background
:
#fff
;
overflow
:
hidden
!
important
;
overflow
:
hidden
!
important
;
.title
{
.title
{
height
:
50px
;
height
:
50px
;
display
:
flex
;
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-items
:
center
;
align-items
:
center
;
}
}
.form-container
{
.form-container
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.form-li
{
.form-li
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
// justify-content: space-between;
// justify-content: space-between;
}
}
.form-btn
{
.form-btn
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
.form-btn-li
{
.form-btn-li
{
display
:
flex
;
display
:
flex
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
...
@@ -1541,6 +1548,7 @@
...
@@ -1541,6 +1548,7 @@
}
}
}
}
}
}
.select-bottom
{
.select-bottom
{
height
:
50px
;
height
:
50px
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -1549,6 +1557,7 @@
...
@@ -1549,6 +1557,7 @@
align-items
:
center
;
align-items
:
center
;
color
:
#0d9078
;
color
:
#0d9078
;
}
}
.btn-wrap
{
.btn-wrap
{
text-align
:
right
;
text-align
:
right
;
}
}
...
@@ -1557,6 +1566,7 @@
...
@@ -1557,6 +1566,7 @@
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
}
}
.component-content
{
.component-content
{
padding
:
10px
;
padding
:
10px
;
background
:
#fff
;
background
:
#fff
;
...
@@ -1569,6 +1579,7 @@
...
@@ -1569,6 +1579,7 @@
right
:
5px
;
right
:
5px
;
top
:
10px
;
top
:
10px
;
}
}
body
.el-table
th
.gutter
{
body
.el-table
th
.gutter
{
display
:
table-cell
!
important
;
display
:
table-cell
!
important
;
}
}
...
@@ -1576,6 +1587,7 @@ body .el-table th.gutter {
...
@@ -1576,6 +1587,7 @@ body .el-table th.gutter {
body
.el-table
colgroup
.gutter
{
body
.el-table
colgroup
.gutter
{
display
:
table-cell
!
important
;
display
:
table-cell
!
important
;
}
}
.el-table
.warning-row
{
.el-table
.warning-row
{
background
:
oldlace
;
background
:
oldlace
;
}
}
...
...
vue.config.js
浏览文件 @
15c8edee
...
@@ -70,7 +70,7 @@ module.exports = {
...
@@ -70,7 +70,7 @@ module.exports = {
port
:
8080
,
port
:
8080
,
proxy
:
{
proxy
:
{
'/proxy'
:
{
'/proxy'
:
{
target
:
'https://
uat
-sc.yunqueyi.com/'
,
target
:
'https://
dev
-sc.yunqueyi.com/'
,
ws
:
false
,
ws
:
false
,
changeOrigin
:
true
,
changeOrigin
:
true
,
secure
:
true
,
secure
:
true
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录