Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liang
agcs2.0-web
Commits
fc8b1546
Commit
fc8b1546
authored
May 04, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改首页内容
2.动态设置视频高度 3.修改bug
parent
7054eace
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
127 additions
and
53 deletions
+127
-53
video.mp4
public/video.mp4
+0
-0
index.vue
src/components/layout/index.vue
+4
-4
index.vue
src/layouts/components/NavBar/index.vue
+20
-1
index.vue
src/views/Home/ScientificResearch/index.vue
+7
-6
index.vue
src/views/Home/index.vue
+37
-11
index.vue
src/views/followupentry/index.vue
+4
-0
index.vue
src/views/followupquery/index.vue
+11
-2
index.vue
src/views/followupresearch/index.vue
+34
-23
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+10
-6
No files found.
public/video.mp4
0 → 100644
View file @
fc8b1546
File added
src/components/layout/index.vue
View file @
fc8b1546
...
@@ -104,10 +104,10 @@ export default {
...
@@ -104,10 +104,10 @@ export default {
route
:
"
/allianceintroduction
"
,
route
:
"
/allianceintroduction
"
,
name
:
"
联盟介绍
"
,
name
:
"
联盟介绍
"
,
},
},
{
//
{
route
:
"
/healthpopularization
"
,
//
route: "/healthpopularization",
name
:
"
健康科普
"
,
//
name: "健康科普",
},
//
},
{
{
route
:
"
/scientificresearch
"
,
route
:
"
/scientificresearch
"
,
name
:
"
科学研究
"
,
name
:
"
科学研究
"
,
...
...
src/layouts/components/NavBar/index.vue
View file @
fc8b1546
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"userInfo"
>
<div
class=
"userInfo"
>
<error-log></error-log>
<error-log></error-log>
<!--
<avatar></avatar>
-->
<!--
<avatar></avatar>
-->
<div
v-if=
"
$route.path != '/auditqualitycontrol'
"
class=
"fontSelect"
>
<div
v-if=
"
showFontList.includes($route.path)
"
class=
"fontSelect"
>
<div
<div
v-for=
"(item, index) in fontList"
v-for=
"(item, index) in fontList"
:key=
"index"
:key=
"index"
...
@@ -122,6 +122,25 @@ export default {
...
@@ -122,6 +122,25 @@ export default {
return
{
return
{
pulse
:
false
,
pulse
:
false
,
isDot
:
true
,
isDot
:
true
,
showFontList
:
[
"
/dataoverview
"
,
"
/screening/index
"
,
"
/screening/draft
"
,
"
/followupquery
"
,
"
/followupresearch
"
,
"
/auditqualitycontrol
"
,
"
/field-mapping
"
,
"
/systems/form-config
"
,
"
/database
"
,
"
/systems/colla-group
"
,
"
/systems/org
"
,
"
/systems/dict
"
,
"
/systems/user
"
,
"
/systems/role
"
,
"
/systems/menu
"
,
"
/systems/medicalunion
"
,
"
/operation
"
,
],
screeningList
:
[
screeningList
:
[
{
{
title
:
"
社区筛查
"
,
title
:
"
社区筛查
"
,
...
...
src/views/Home/ScientificResearch/index.vue
View file @
fc8b1546
<
template
>
<
template
>
<div
class=
"commonList"
>
<div
class=
"commonList"
>
<ul
class=
"left_bar"
>
<
!--
<
ul
class=
"left_bar"
>
<li
<li
v-for=
"(item, index) in leftBar"
v-for=
"(item, index) in leftBar"
:key=
"index"
:key=
"index"
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
>
>
{{
item
.
name
}}
{{
item
.
name
}}
</li>
</li>
</ul>
</ul>
-->
<div
v-loading=
"listLoading"
class=
"right_list"
>
<div
v-loading=
"listLoading"
class=
"right_list"
>
<div
class=
"list_title"
>
<
!--
<
div
class=
"list_title"
>
{{
leftBar
[
activeBar
].
name
}}
{{
leftBar
[
activeBar
].
name
}}
</div>
</div>
-->
<ul
v-if=
"tableData.length > 0"
class=
"list"
>
<ul
v-if=
"tableData.length > 0"
class=
"list"
>
<li
<li
v-for=
"(item, index) in tableData"
v-for=
"(item, index) in tableData"
...
@@ -104,7 +104,7 @@ export default {
...
@@ -104,7 +104,7 @@ export default {
current
:
this
.
pageIndex
,
current
:
this
.
pageIndex
,
moduleType
:
"
5
"
,
moduleType
:
"
5
"
,
status
:
"
1
"
,
status
:
"
1
"
,
articleType
:
this
.
activeBar
-
0
+
1
,
//
articleType: this.activeBar - 0 + 1,
}
}
articleList
(
params
)
articleList
(
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
@@ -160,7 +160,8 @@ export default {
...
@@ -160,7 +160,8 @@ export default {
}
}
}
}
.right_list
{
.right_list
{
width
:
calc
(
100%
-
208px
);
width
:
100%
;
// width: calc(100% - 208px);
height
:
760px
;
height
:
760px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
4px
;
border-radius
:
4px
;
...
...
src/views/Home/index.vue
View file @
fc8b1546
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
id=
"con"
>
<div
id=
"con"
>
<Notice
v-show=
"isNotice"
></Notice>
<Notice
v-show=
"isNotice"
></Notice>
<div
v-show=
"!isNotice"
>
<div
v-show=
"!isNotice"
>
<div
class=
"
top
flex"
>
<div
class=
"flex"
>
<div
class=
"left box"
>
<div
class=
"left box"
>
<video
:src=
"videoSrc"
controls
class=
"video"
/>
<video
:src=
"videoSrc"
controls
class=
"video"
/>
</div>
</div>
...
@@ -15,7 +15,10 @@
...
@@ -15,7 +15,10 @@
:label=
"e.title"
:label=
"e.title"
:name=
"index + 1 + ''"
:name=
"index + 1 + ''"
>
>
<ul
class=
"tabslist"
>
<ul
class=
"tabslist videoTabList"
:style=
"
{ height: videoHeight }"
>
<li
<li
v-for=
"(item, index) in noticeList"
v-for=
"(item, index) in noticeList"
:key=
"index"
:key=
"index"
...
@@ -131,7 +134,7 @@
...
@@ -131,7 +134,7 @@
</div>
</div>
<!-- 健康科普 -->
<!-- 健康科普 -->
<div
class=
"healthPopularization"
>
<
!--
<
div
class=
"healthPopularization"
>
<div
class=
"title_box"
>
<div
class=
"title_box"
>
<div
class=
"title"
>
健康科普
</div>
<div
class=
"title"
>
健康科普
</div>
<div
class=
"empty"
></div>
<div
class=
"empty"
></div>
...
@@ -151,7 +154,7 @@
...
@@ -151,7 +154,7 @@
{{
item
.
name
}}
{{
item
.
name
}}
</li>
</li>
</ul>
</ul>
</div>
</div>
-->
<!-- 科学研究 -->
<!-- 科学研究 -->
<div
class=
"scientificresearch"
>
<div
class=
"scientificresearch"
>
...
@@ -178,9 +181,9 @@
...
@@ -178,9 +181,9 @@
<div
v-show=
"showFixed"
class=
"fixed_box"
>
<div
v-show=
"showFixed"
class=
"fixed_box"
>
<ul
class=
"f_list"
>
<ul
class=
"f_list"
>
<el-popover
<el-popover
popper-class=
"poperbackground"
v-for=
"(item, index) in rigBarList"
v-for=
"(item, index) in rigBarList"
:key=
"index"
:key=
"index"
popper-class=
"poperbackground"
placement=
"left-start"
placement=
"left-start"
title=
""
title=
""
width=
"200"
width=
"200"
...
@@ -228,9 +231,10 @@ export default {
...
@@ -228,9 +231,10 @@ export default {
isNotice
:
false
,
isNotice
:
false
,
curPdf
:
{},
curPdf
:
{},
pdfSrc
:
""
,
pdfSrc
:
""
,
videoHeight
:
"
0px
"
,
fixIndex
:
-
1
,
fixIndex
:
-
1
,
// videoSrc: require("../../../public/aaa
.mp4"),
videoSrc
:
require
(
"
../../../public/video
.mp4
"
),
videoSrc
:
""
,
//
videoSrc: "",
exTab
:
"
浙江省典型案例
"
,
exTab
:
"
浙江省典型案例
"
,
example
:
[
example
:
[
{
{
...
@@ -248,6 +252,9 @@ export default {
...
@@ -248,6 +252,9 @@ export default {
{
{
title
:
"
学术动态
"
,
title
:
"
学术动态
"
,
},
},
{
title
:
"
健康知识
"
,
},
],
],
noticeList
:
[],
noticeList
:
[],
curTab
:
"
1
"
,
curTab
:
"
1
"
,
...
@@ -317,7 +324,24 @@ export default {
...
@@ -317,7 +324,24 @@ export default {
this
.
showFixed
=
false
this
.
showFixed
=
false
}
}
})
})
var
video
=
document
.
querySelector
(
"
video
"
)
video
.
addEventListener
(
"
canplay
"
,
(
e
)
=>
{
console
.
log
(
e
.
target
.
clientHeight
)
this
.
videoHeight
=
e
.
target
.
clientHeight
-
66
+
"
px
"
})
})
})
window
.
onresize
=
()
=>
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
videoHeight
=
document
.
querySelector
(
"
video
"
).
clientHeight
-
66
+
"
px
"
})
})()
},
beforeDestroy
()
{
window
.
onresize
=
()
=>
{}
},
},
methods
:
{
methods
:
{
setPdf
(
item
)
{
setPdf
(
item
)
{
...
@@ -334,7 +358,10 @@ export default {
...
@@ -334,7 +358,10 @@ export default {
item
.
filePath
[
0
].
uuidName
item
.
filePath
[
0
].
uuidName
},
},
handleClick
()
{
handleClick
()
{
// if (this.curTab == "4") {
// } else {
this
.
getArticleList
(
this
.
curTab
)
this
.
getArticleList
(
this
.
curTab
)
// }
},
},
// 获取新闻会议tab的数据
// 获取新闻会议tab的数据
getArticleList
(
moduleType
)
{
getArticleList
(
moduleType
)
{
...
@@ -348,7 +375,7 @@ export default {
...
@@ -348,7 +375,7 @@ export default {
articleList
(
params
)
articleList
(
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
if
([
"
1
"
,
"
2
"
,
"
3
"
].
includes
(
moduleType
))
{
if
([
"
1
"
,
"
2
"
,
"
3
"
,
"
4
"
].
includes
(
moduleType
))
{
this
.
noticeList
=
[...
res
.
data
.
records
]
this
.
noticeList
=
[...
res
.
data
.
records
]
}
}
if
([
"
6
"
].
includes
(
moduleType
))
{
if
([
"
6
"
].
includes
(
moduleType
))
{
...
@@ -393,7 +420,7 @@ export default {
...
@@ -393,7 +420,7 @@ export default {
.video
{
.video
{
width
:
100%
;
width
:
100%
;
border-radius
:
5px
;
border-radius
:
5px
;
height
:
420px
;
//
height: 420px;
object-fit
:
fill
;
object-fit
:
fill
;
}
}
}
}
...
@@ -402,7 +429,6 @@ export default {
...
@@ -402,7 +429,6 @@ export default {
border-radius
:
8px
;
border-radius
:
8px
;
overflow
:
hidden
;
overflow
:
hidden
;
.tabslist
{
.tabslist
{
height
:
352px
;
padding-right
:
8px
;
padding-right
:
8px
;
overflow
:
hidden
;
overflow
:
hidden
;
display
:
flex
;
display
:
flex
;
...
@@ -436,7 +462,7 @@ export default {
...
@@ -436,7 +462,7 @@ export default {
}
}
}
}
.videoboxs
{
.videoboxs
{
height
:
100%
;
//
height: 100%;
}
}
}
}
.dataAnalysis
{
.dataAnalysis
{
...
...
src/views/followupentry/index.vue
View file @
fc8b1546
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
:patient-id=
"patientId"
:patient-id=
"patientId"
:screenList=
"screenList"
:screenList=
"screenList"
@
refreshData=
"refreshData"
@
refreshData=
"refreshData"
@
changeShow=
"changeShow"
></ConfigForms>
></ConfigForms>
</div>
</div>
</
template
>
</
template
>
...
@@ -78,6 +79,9 @@ export default {
...
@@ -78,6 +79,9 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
changeShow
()
{
this
.
$emit
(
"
changeShow
"
)
},
refreshData
(
data
)
{
refreshData
(
data
)
{
// this.refreshFlag = false
// this.refreshFlag = false
// this.$nextTick(() => {
// this.$nextTick(() => {
...
...
src/views/followupquery/index.vue
View file @
fc8b1546
<
template
>
<
template
>
<!-- 随访查询 -->
<!-- 随访查询 -->
<div
class=
"screeningSearch"
>
<div
class=
"screeningSearch"
>
<div
v-show=
"!isDetail"
>
<div
v-show=
"!isDetail
&& !show
"
>
<div
class=
"top"
>
<div
class=
"top"
>
<form-components
<form-components
ref=
"form"
ref=
"form"
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
v-if=
"isDetail"
v-if=
"isDetail"
@
back=
"back"
@
back=
"back"
></FollowUpDetail>
></FollowUpDetail>
<followupentry
v-if=
"show"
@
changeShow=
"changeShow"
></followupentry>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -40,15 +41,18 @@ import searchMixin from "../searchMixin"
...
@@ -40,15 +41,18 @@ import searchMixin from "../searchMixin"
import
{
getCurrentFormByType
}
from
"
@/api/coop-group.js
"
import
{
getCurrentFormByType
}
from
"
@/api/coop-group.js
"
import
{
getFollowSearch
}
from
"
@/api/followup
"
import
{
getFollowSearch
}
from
"
@/api/followup
"
import
FollowUpDetail
from
"
./FollowUpDetail.vue
"
import
FollowUpDetail
from
"
./FollowUpDetail.vue
"
import
followupentry
from
"
../followupentry
"
export
default
{
export
default
{
components
:
{
components
:
{
FormComponents
,
FormComponents
,
FollowUpDetail
,
FollowUpDetail
,
followupentry
,
},
},
mixins
:
[
paginationMixin
,
searchMixin
],
mixins
:
[
paginationMixin
,
searchMixin
],
data
()
{
data
()
{
return
{
return
{
isDetail
:
false
,
isDetail
:
false
,
show
:
false
,
followId
:
""
,
followId
:
""
,
listLoading
:
false
,
listLoading
:
false
,
keyword
:
""
,
keyword
:
""
,
...
@@ -292,6 +296,10 @@ export default {
...
@@ -292,6 +296,10 @@ export default {
this
.
getCurrentFormByType
(
2
)
this
.
getCurrentFormByType
(
2
)
},
},
methods
:
{
methods
:
{
changeShow
()
{
this
.
$router
.
push
({
query
:
{}
})
this
.
show
=
false
},
back
()
{
back
()
{
this
.
isDetail
=
false
this
.
isDetail
=
false
const
followId
=
this
.
$route
.
query
.
followId
const
followId
=
this
.
$route
.
query
.
followId
...
@@ -311,8 +319,9 @@ export default {
...
@@ -311,8 +319,9 @@ export default {
console
.
log
(
v
)
console
.
log
(
v
)
},
},
handleEdit
(
data
,
i
,
index
)
{
handleEdit
(
data
,
i
,
index
)
{
this
.
show
=
true
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"
/followupentry
"
,
//
path: "/followupentry",
query
:
{
query
:
{
patientId
:
data
.
patientId
,
patientId
:
data
.
patientId
,
followId
:
data
.
id
,
followId
:
data
.
id
,
...
...
src/views/followupresearch/index.vue
View file @
fc8b1546
<
template
>
<
template
>
<!-- 随访调查 -->
<!-- 随访调查 -->
<div
class=
"screeningSearch"
>
<div
class=
"screeningSearch"
>
<div
class=
"top"
>
<template
v-if=
"!show"
>
<form-components
<div
class=
"top"
>
:forms=
"formList"
<form-components
:formEdit=
"formEdit"
:forms=
"formList"
@
handleSearch=
"onSearch"
:formEdit=
"formEdit"
></form-components>
@
handleSearch=
"onSearch"
</div>
></form-components>
<div
class=
"bot"
>
</div>
<el-table-self
<div
class=
"bot"
>
ref=
"table"
<el-table-self
:table-data=
"tableData"
ref=
"table"
:columns=
"columns"
:table-data=
"tableData"
:header-class=
"'newHeader'"
:columns=
"columns"
:list-loading=
"listLoading"
:header-class=
"'newHeader'"
:current-page=
"pageIndex"
:list-loading=
"listLoading"
:total-count=
"total"
:current-page=
"pageIndex"
:page-sizes=
"pageSizes"
:total-count=
"total"
:page-size=
"pageSize"
:page-sizes=
"pageSizes"
@
pageSizeChange=
"handleSizeChange"
:page-size=
"pageSize"
@
currentPageChange=
"handleCurrentChange"
@
pageSizeChange=
"handleSizeChange"
/>
@
currentPageChange=
"handleCurrentChange"
</div>
/>
</div>
</
template
>
<followupentry
v-if=
"show"
@
changeShow=
"changeShow"
></followupentry>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
FormComponents
from
"
@/components/FormComponents
"
import
FormComponents
from
"
@/components/FormComponents
"
import
followupentry
from
"
../followupentry
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
import
searchMixin
from
"
../searchMixin
"
import
searchMixin
from
"
../searchMixin
"
import
{
getCurrentFormByType
}
from
"
@/api/coop-group.js
"
import
{
getCurrentFormByType
}
from
"
@/api/coop-group.js
"
...
@@ -35,12 +39,14 @@ import { mapGetters } from "vuex"
...
@@ -35,12 +39,14 @@ import { mapGetters } from "vuex"
export
default
{
export
default
{
components
:
{
components
:
{
FormComponents
,
FormComponents
,
followupentry
,
},
},
mixins
:
[
paginationMixin
,
searchMixin
],
mixins
:
[
paginationMixin
,
searchMixin
],
data
()
{
data
()
{
return
{
return
{
formId
:
""
,
//随访表单类型
formId
:
""
,
//随访表单类型
listLoading
:
false
,
listLoading
:
false
,
show
:
false
,
keyword
:
""
,
keyword
:
""
,
modifiedFlag
:
false
,
modifiedFlag
:
false
,
columns
:
[
columns
:
[
...
@@ -271,6 +277,10 @@ export default {
...
@@ -271,6 +277,10 @@ export default {
this
.
handleSearch
()
//调试注释
this
.
handleSearch
()
//调试注释
},
},
methods
:
{
methods
:
{
changeShow
()
{
this
.
$router
.
push
({
query
:
{}
})
this
.
show
=
false
},
changeModified
()
{
changeModified
()
{
this
.
modifiedFlag
=
!
this
.
modifiedFlag
this
.
modifiedFlag
=
!
this
.
modifiedFlag
},
},
...
@@ -287,7 +297,7 @@ export default {
...
@@ -287,7 +297,7 @@ export default {
rowOpration
(
data
,
i
)
{
rowOpration
(
data
,
i
)
{
sessionStorage
.
setItem
(
"
formEdit
"
,
JSON
.
stringify
(
data
))
sessionStorage
.
setItem
(
"
formEdit
"
,
JSON
.
stringify
(
data
))
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/followupentry`
,
//
path: `/followupentry`,
query
:
{
query
:
{
patientId
:
data
.
patientId
,
patientId
:
data
.
patientId
,
getData
:
0
,
getData
:
0
,
...
@@ -295,6 +305,7 @@ export default {
...
@@ -295,6 +305,7 @@ export default {
model
:
"
add
"
,
model
:
"
add
"
,
},
},
})
})
this
.
show
=
true
},
},
async
handleSearch
()
{
async
handleSearch
()
{
this
.
listLoading
=
true
this
.
listLoading
=
true
...
...
src/views/screening/components/ConfigForms.vue
View file @
fc8b1546
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
v-if=
"formType == 1 ? (!disabled ? true : false) : true"
v-if=
"formType == 1 ? (!disabled ? true : false) : true"
class=
"draftButton"
class=
"draftButton"
:loading=
"loading"
:loading=
"loading"
:disabled=
"
!infoCompelet
e"
:disabled=
"
formType == 1 ? !infoCompelete : fals
e"
@
click=
"onSubmit(formType)"
@
click=
"onSubmit(formType)"
>
{{
formType
==
1
?
"
临时保存
"
:
"
返回
"
}}
</el-button
>
{{
formType
==
1
?
"
临时保存
"
:
"
返回
"
}}
</el-button
>
>
...
@@ -353,17 +353,21 @@ export default {
...
@@ -353,17 +353,21 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
}
else
{
}
else
{
// 返回
// 返回
this
.
$router
.
back
()
// this.$router.back()
this
.
$emit
(
"
changeShow
"
)
}
}
},
},
continueSubmit
()
{
continueSubmit
()
{
sessionStorage
.
removeItem
(
"
index1Data
"
)
sessionStorage
.
removeItem
(
"
index1Data
"
)
this
.
activeName
=
"
index0
"
this
.
activeName
=
"
index0
"
// 清空表单
// 清空表单
for
(
let
i
=
0
;
i
<
this
.
$refs
.
formTabs
.
length
;
i
++
)
{
// for (let i = 0; i
<
this
.
$refs
.
formTabs
.
length
;
i
++
)
{
this
.
$refs
.
formTabs
[
i
].
resetForm
()
// this.$refs.formTabs[i].resetForm()
this
.
$refs
.
formTabs
[
i
].
initForm
()
// this.$refs.formTabs[i].initForm()
}
// }
this
.
formTabsList
=
[]
this
.
formTabs
=
[]
this
.
getCurrentFormByType
(
this
.
formType
)
// 清空红字:不符合筛查条件
// 清空红字:不符合筛查条件
this
.
$refs
.
showDialog
.
dialogVisible
=
false
this
.
$refs
.
showDialog
.
dialogVisible
=
false
if
(
this
.
$route
.
path
!=
"
/screening/add
"
)
{
if
(
this
.
$route
.
path
!=
"
/screening/add
"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment