Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
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
5d29f70d
Commit
5d29f70d
authored
May 05, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into dev_Miaojiale
parents
21d83817
13646677
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
index.vue
src/views/Home/index.vue
+5
-1
index.vue
src/views/Home/notice/index.vue
+12
-2
No files found.
src/views/Home/index.vue
View file @
5d29f70d
<
template
>
<
template
>
<div
id=
"con"
>
<div
id=
"con"
>
<Notice
v-show=
"isNotice"
></Notice>
<Notice
v-show=
"isNotice"
:noticeName=
"noticeName"
></Notice>
<div
v-show=
"!isNotice"
>
<div
v-show=
"!isNotice"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
class=
"left box"
>
<div
class=
"left box"
>
...
@@ -229,6 +229,7 @@ export default {
...
@@ -229,6 +229,7 @@ export default {
components
:
{
Map
,
PdfDialog
,
Notice
},
components
:
{
Map
,
PdfDialog
,
Notice
},
data
()
{
data
()
{
return
{
return
{
noticeName
:
""
,
isNotice
:
false
,
isNotice
:
false
,
curPdf
:
{},
curPdf
:
{},
pdfSrc
:
""
,
pdfSrc
:
""
,
...
@@ -262,9 +263,11 @@ export default {
...
@@ -262,9 +263,11 @@ export default {
articleTitle
:
"
申请加入国家消化道早癌防治中心联盟
"
,
articleTitle
:
"
申请加入国家消化道早癌防治中心联盟
"
,
createTime
:
"
2022-09-20
"
,
createTime
:
"
2022-09-20
"
,
isTop
:
1
,
isTop
:
1
,
name
:
"
AllianceApply
"
,
moduleType
:
99
,
moduleType
:
99
,
},
},
{
{
name
:
"
HospitalsList
"
,
articleTitle
:
"
GECA联盟理事及医院名单
"
,
articleTitle
:
"
GECA联盟理事及医院名单
"
,
createTime
:
"
2022-11-20
"
,
createTime
:
"
2022-11-20
"
,
isTop
:
1
,
isTop
:
1
,
...
@@ -361,6 +364,7 @@ export default {
...
@@ -361,6 +364,7 @@ export default {
methods
:
{
methods
:
{
setPdf
(
item
)
{
setPdf
(
item
)
{
if
(
item
.
moduleType
===
99
)
{
if
(
item
.
moduleType
===
99
)
{
this
.
noticeName
=
item
.
name
this
.
isNotice
=
true
this
.
isNotice
=
true
return
return
}
}
...
...
src/views/Home/notice/index.vue
View file @
5d29f70d
...
@@ -27,6 +27,12 @@ import AllianceApply from "./components/AllianceApply.vue"
...
@@ -27,6 +27,12 @@ import AllianceApply from "./components/AllianceApply.vue"
import
HospitalsList
from
"
./components/HospitalsList.vue
"
import
HospitalsList
from
"
./components/HospitalsList.vue
"
export
default
{
export
default
{
name
:
"
Notice
"
,
name
:
"
Notice
"
,
props
:
{
noticeName
:
{
type
:
String
,
default
:
"
AllianceApply
"
,
},
},
components
:
{
components
:
{
AllianceApply
,
AllianceApply
,
HospitalsList
,
HospitalsList
,
...
@@ -47,12 +53,16 @@ export default {
...
@@ -47,12 +53,16 @@ export default {
isTop
:
true
,
isTop
:
true
,
},
},
],
],
currentComponent
:
"
AllianceApply
"
,
currentComponent
:
this
.
$props
.
noticeName
,
}
}
},
},
methods
:
{},
methods
:
{},
mounted
()
{},
mounted
()
{},
watch
:
{},
watch
:
{
noticeName
(
val
)
{
this
.
currentComponent
=
val
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
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