Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
41304f44
提交
41304f44
编写于
6月 01, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
量表链接修改及小红点样样式修改
上级
cc152ca5
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
71 行增加
和
34 行删除
+71
-34
env-config.js
src/utils/env-config.js
+6
-0
index.js
src/utils/index.js
+5
-0
slidebar.vue
src/views/layout/slidebar.vue
+2
-1
edit-information.vue
...atients/mypatients-manage/components/edit-information.vue
+3
-0
patient-detail.vue
src/views/patients/mypatients-manage/patient-detail.vue
+40
-32
not-complete-list.vue
src/views/patients/not-complete/not-complete-list.vue
+15
-1
未找到文件。
src/utils/env-config.js
浏览文件 @
41304f44
...
...
@@ -21,6 +21,7 @@ export const envConfig = {
followUpSC
:
'https://dev-sc.yunqueyi.com'
,
saasDomainUrl
:
'https://dev-saas.yunqueyi.com/'
,
workApiUrl
:
'https://dev-work.yunqueyi.com/web'
,
workApiSrc
:
'https://dev-work.yunqueyi.com'
,
},
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
...
...
@@ -34,6 +35,7 @@ export const envConfig = {
followUpSC
:
'https://dev-sc.yunqueyi.com'
,
saasDomainUrl
:
'https://dev-saas.yunqueyi.com/'
,
workApiUrl
:
'https://dev-work.yunqueyi.com/web'
,
workApiSrc
:
'https://dev-work.yunqueyi.com'
,
},
test
:
{
baseUrl
:
'https://test1-sc.yunqueyi.com/'
,
...
...
@@ -47,6 +49,7 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://test1.yunqueyi.com/pica_index.html'
,
saasDomainUrl
:
'https://test1.yunqueyi.com/'
,
workApiUrl
:
'https://test1-work.yunqueyi.com/web'
,
workApiSrc
:
'https://test1-work.yunqueyi.com'
,
},
test2
:
{
baseUrl
:
'https://test2-work.yunqueyi.com/sc/'
,
...
...
@@ -59,6 +62,7 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://test1.yunqueyi.com/pica_index.html'
,
saasDomainUrl
:
'https://test2-work.yunqueyi.com/web/'
,
workApiUrl
:
'https://test2-work.yunqueyi.com/web'
,
workApiSrc
:
'https://test2-work.yunqueyi.com'
,
},
uat
:
{
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
...
...
@@ -72,6 +76,7 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://uat.yunqueyi.com/pica_index.html'
,
saasDomainUrl
:
'https://uat.yunqueyi.com/'
,
workApiUrl
:
'https://uat-work.yunqueyi.com/web'
,
workApiSrc
:
'https://uat-work.yunqueyi.com'
,
},
pro
:
{
baseUrl
:
'https://sc.yunqueyi.com/'
,
...
...
@@ -85,5 +90,6 @@ export const envConfig = {
yuequeyiIndexUrl
:
'https://www.yunqueyi.com/pica_index.html'
,
saasDomainUrl
:
'https://www.yunqueyi.com/'
,
workApiUrl
:
'https://work.yunqueyi.com/web'
,
workApiSrc
:
'https://work.yunqueyi.com'
,
}
}
src/utils/index.js
浏览文件 @
41304f44
...
...
@@ -196,6 +196,11 @@ export function getSaasApiDomain(url) {
return
getConfigByEnvType
(
'apiUrl'
)
+
url
}
// 获取工作站的域名地址
export
function
getWorkDomain
(
url
)
{
return
getConfigByEnvType
(
'workApiSrc'
)
+
url
}
// 根据不同环境,生成URL
function
getConfigByEnvType
(
urlType
)
{
return
envConfig
[
process
.
env
.
BUILD_ENV
][
urlType
]
...
...
src/views/layout/slidebar.vue
浏览文件 @
41304f44
...
...
@@ -217,7 +217,8 @@ export default {
color
:
#fff
;
font-size
:
12px
;
line-height
:
12px
;
padding
:
5px
10px
;
/*padding: 5px 10px;*/
padding
:
2px
5px
;
span
{
display
:
block
;
}
...
...
src/views/patients/mypatients-manage/components/edit-information.vue
浏览文件 @
41304f44
...
...
@@ -342,6 +342,9 @@
fileLocator
:
[{
required
:
false
,
validator
:
validCode
,
trigger
:
[
'change'
]
}
],
}
,
setPickerOption
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
();
}
,
// disabledDate(time)
{
// let curDate = (new Date()).getTime();
// let three = 90 * 24 * 3600 * 1000;
...
...
src/views/patients/mypatients-manage/patient-detail.vue
浏览文件 @
41304f44
...
...
@@ -80,36 +80,38 @@
<
/div
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"健康记录"
name
=
"second"
>
<
div
class
=
"health-record-list"
v
-
show
=
"recordList.length"
v
-
infinite
-
scroll
=
"loadMore"
:
infinite
-
scroll
-
disabled
=
"busy"
infinite
-
scroll
-
distance
=
"5"
infinite
-
scroll
-
immediate
-
check
=
"true"
>
<
div
class
=
"item"
v
-
for
=
"(item, index) in recordList"
:
key
=
"index"
>
<
div
class
=
"record-date"
>
{{
item
.
finishedTime
}}
<
/div
>
<
div
class
=
"record-content"
>
<
div
class
=
"record-title"
>
<
p
>
{{
item
.
name
}}
-
第
{{
item
.
seqNo
}}
次随访
<
/p
>
<
span
>
{{
item
.
fuTypeValue
}}
<
/span
>
<
/div
>
<
div
class
=
"list-visit"
>
<
span
class
=
"left-label"
>
患教内容:
<
/span
>
<
div
class
=
"right-item"
>
{{
item
.
sendContent
|
emptyFilter
}}
<
/div
>
<
/div
>
<
div
class
=
"list-visit"
>
<
span
class
=
"left-label"
>
随访量表:
<
/span
>
<
div
class
=
"right-item"
>
<
p
v
-
for
=
"(item2, index2) in item.scaleSimpleDtos"
:
key
=
"index2"
v
-
if
=
"item.scaleSimpleDtos.length"
>
{{
item2
.
name
}}
<
span
class
=
"check-btn"
@
click
=
"openScaleDetail(item2.url)"
>
查看量表
<
/span
>
<
/p
>
<
p
v
-
if
=
"!item.scaleSimpleDtos.length"
>
暂无量表
<
/p
>
<
div
class
=
"health-record-wrap"
>
<
div
class
=
"health-record-list"
v
-
show
=
"recordList.length"
v
-
infinite
-
scroll
=
"loadMore"
:
infinite
-
scroll
-
disabled
=
"busy"
infinite
-
scroll
-
distance
=
"5"
infinite
-
scroll
-
immediate
-
check
=
"true"
>
<
div
class
=
"item"
v
-
for
=
"(item, index) in recordList"
:
key
=
"index"
>
<
div
class
=
"record-date"
>
{{
item
.
finishedTime
}}
<
/div
>
<
div
class
=
"record-content"
>
<
div
class
=
"record-title"
>
<
p
>
{{
item
.
name
}}
-
第
{{
item
.
seqNo
}}
次随访
<
/p
>
<
span
>
{{
item
.
fuTypeValue
}}
<
/span
>
<
/div
>
<
div
class
=
"list-visit"
>
<
span
class
=
"left-label"
>
患教内容:
<
/span
>
<
div
class
=
"right-item"
>
{{
item
.
sendContent
|
emptyFilter
}}
<
/div
>
<
/div
>
<
div
class
=
"list-visit"
>
<
span
class
=
"left-label"
>
随访量表:
<
/span
>
<
div
class
=
"right-item"
>
<
p
v
-
for
=
"(item2, index2) in item.scaleSimpleDtos"
:
key
=
"index2"
v
-
if
=
"item.scaleSimpleDtos.length"
>
{{
item2
.
name
}}
<
span
class
=
"check-btn"
@
click
=
"openScaleDetail(item2)"
>
查看量表
<
/span
>
<
/p
>
<
p
v
-
if
=
"!item.scaleSimpleDtos.length"
>
暂无量表
<
/p
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
p
style
=
"text-align: center;padding:10px 0;cursor: pointer"
v
-
if
=
"hasMore"
>
加载中
...
<
/p
>
<
p
style
=
"text-align: center;padding:10px 0;cursor: pointer"
v
-
if
=
"!hasMore"
>
没有更多了
<
/p
>
<
/div
>
<
p
style
=
"text-align: center;padding:10px 0;cursor: pointer"
v
-
if
=
"hasMore"
>
加载中
...
<
/p
>
<
p
style
=
"text-align: center;padding:10px 0;cursor: pointer"
v
-
if
=
"!hasMore"
>
没有更多了
<
/p
>
<
/div
>
<
div
class
=
"no-record-content"
v
-
if
=
"!recordList.length"
>
<
div
>
...
...
@@ -127,6 +129,7 @@
<
script
>
import
BreadCrumb
from
'@/components/breadcrumb'
import
{
mapGetters
}
from
'vuex'
import
{
getWorkDomain
}
from
'@/utils/index'
import
{
getDiseasesList
,
getPatientDetail
,
getRemindPatient
,
deletePatient
,
savePatientInfo
,
getHealthRecordList
,
getNationsList
}
from
'@/utils/patients/patientsapi'
export
default
{
name
:
"patientDetail"
,
...
...
@@ -344,8 +347,11 @@
}
)
}
,
//查看量表详情
openScaleDetail
(
url
)
{
window
.
open
(
url
)
openScaleDetail
(
item
)
{
// this.$router.push(
{
path
:
'/followup/record-manage/form-template'
,
// query:
{
doctorId
:
this
.
enteringInfo
.
doctorId
,
scaleNo
:
val
.
scaleNo
,
planPatientsTimesId
:
this
.
enteringInfo
.
planPatientsTimesId
,
planTimesId
:
val
.
planTimesId
,
showBtn
:
1
}}
)
let
scaleUrl
=
getWorkDomain
(
`/#/followup/record-manage/form-template?doctorId=${item.doctorId
}
&scaleNo=${item.scaleNo
}
&planPatientsTimesId=${item.planPatientsTimesId
}
&planTimesId=${item.planTimesId
}
&showBtn=1`
);
window
.
open
(
scaleUrl
)
}
,
loadMore
()
{
// console.log('触发加载页码',this.pageNo);
...
...
@@ -447,17 +453,17 @@
}
}
}
.
health
-
record
-
list
{
.
health
-
record
-
wrap
{
/*height: 300px;*/
overflow
-
y
:
auto
;
@
media
screen
and
(
min
-
width
:
1240
px
)
and
(
max
-
width
:
1545
px
){
height
:
3
0
0
px
;
height
:
3
5
0
px
;
}
@
media
screen
and
(
min
-
width
:
1545
px
)
and
(
max
-
width
:
1600
px
){
height
:
5
0
0
px
;
height
:
5
8
0
px
;
}
@
media
screen
and
(
min
-
width
:
1600
px
){
height
:
6
5
0
px
;
height
:
6
7
0
px
;
}
&
::
-
webkit
-
scrollbar
{
width
:
5
px
;
...
...
@@ -467,6 +473,8 @@
-
webkit
-
box
-
shadow
:
inset
0
0
5
px
rgba
(
0
,
0
,
0
,
0.2
);
background
:
rgba
(
0
,
0
,
0
,
0.1
);
}
}
.
health
-
record
-
list
{
.
item
{
width
:
100
%
;
margin
-
bottom
:
15
px
;
...
...
src/views/patients/not-complete/not-complete-list.vue
浏览文件 @
41304f44
...
...
@@ -81,7 +81,8 @@
import
{
getNotCompleteList
,
sendCompleteMessage
,
getNotCompleteCount
,
sendCompleteMessageList
}
from
'../../../utils/patients/patientsapi'
sendCompleteMessageList
,
getRedNum
}
from
'../../../utils/patients/patientsapi'
export
default
{
name
:
"not-complete"
,
components
:
{
...
...
@@ -103,10 +104,23 @@
}
},
mounted
()
{
this
.
getRedData
();
this
.
getNotComplete
()
this
.
getNotCompleteNum
()
},
methods
:
{
getRedData
()
{
getRedNum
({
openTime
:
(
new
Date
()).
getTime
(),
type
:
1
,
}).
then
((
data
)
=>
{
if
(
data
.
code
==
'000000'
)
{
// vm.redNum = data.data
}
}).
catch
(
error
=>
{
vm
.
$message
.
error
(
error
)
})
},
handleSelectionChange
(
val
)
{
this
.
selectList
=
val
;
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录