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
d903e640
Commit
d903e640
authored
Apr 27, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
e7cc4f5a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
67 additions
and
26 deletions
+67
-26
table.js
src/store/modules/table.js
+1
-1
index.vue
src/views/Home/HealthPopularization/index.vue
+30
-7
index.vue
src/views/Home/PdfView/index.vue
+1
-1
index.vue
src/views/Home/ScientificResearch/index.vue
+1
-0
AcademicTrend.vue
...systems/operation-management/components/AcademicTrend.vue
+3
-2
HealthPopularization.vue
.../operation-management/components/HealthPopularization.vue
+8
-3
NewsMeeting.vue
...s/systems/operation-management/components/NewsMeeting.vue
+3
-2
NoticeAnnouncement.vue
...ms/operation-management/components/NoticeAnnouncement.vue
+3
-2
TypicalCase.vue
...s/systems/operation-management/components/TypicalCase.vue
+3
-2
mixin.js
src/views/systems/operation-management/components/mixin.js
+4
-3
scientificResearch.vue
...ms/operation-management/components/scientificResearch.vue
+8
-3
index.vue
src/views/systems/user/index.vue
+2
-0
No files found.
src/store/modules/table.js
View file @
d903e640
const
state
=
{
fontSize
:
localStorage
.
getItem
(
"
fontSize
"
)
||
1
,
fontSize
:
localStorage
.
getItem
(
"
fontSize
"
)
||
1
4
,
selectedIndex
:
sessionStorage
.
getItem
(
"
selectedIndex
"
)
||
""
,
refreshFlag
:
0
,
}
...
...
src/views/Home/HealthPopularization/index.vue
View file @
d903e640
...
...
@@ -14,7 +14,7 @@
<div
class=
"list_title"
>
{{
leftBar
[
activeBar
].
name
}}
</div>
<ul
class=
"list"
v-if=
"tableData.length > 0
"
>
<ul
v-if=
"tableData.length > 0"
class=
"list
"
>
<li
v-for=
"(item, index) in tableData"
:key=
"index"
>
<div
class=
"leftImg"
>
<img
...
...
@@ -62,14 +62,19 @@
{{
item
}}
<span
v-if=
"index != showTitle.length - 1"
>
/
</span>
</div>
</div>
{{
showText
}}
<div
class=
"refuteList"
>
<!--
<pdf
:src=
"pdfSrc"
></pdf>
-->
<pdf-view
ref=
"pdfView"
:pdf-url=
"pdfSrc"
></pdf-view>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
articleList
}
from
"
@/api/operation-management
"
import
PdfView
from
"
../PdfView/index
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
export
default
{
components
:
{
PdfView
},
mixins
:
[
paginationMixin
],
data
()
{
return
{
...
...
@@ -89,7 +94,7 @@ export default {
name
:
"
其他
"
,
},
],
showText
:
""
,
pdfSrc
:
""
,
showTitle
:
[],
showDetail
:
false
,
// 分页数据
...
...
@@ -97,6 +102,15 @@ export default {
tableData
:
[],
}
},
watch
:
{
showDetail
(
v
)
{
if
(
v
)
{
setTimeout
(()
=>
{
this
.
$refs
.
pdfView
.
loadPDF
()
},
250
)
}
},
},
mounted
()
{
console
.
log
(
this
.
$route
)
if
(
this
.
$route
.
query
.
tabIndex
)
{
...
...
@@ -112,6 +126,7 @@ export default {
size
:
this
.
pageSize
,
current
:
this
.
pageIndex
,
moduleType
:
"
4
"
,
status
:
"
1
"
,
articleType
:
this
.
activeBar
-
0
+
1
,
}
articleList
(
params
)
...
...
@@ -129,19 +144,23 @@ export default {
changeActive
(
i
)
{
this
.
activeBar
=
i
this
.
showDetail
=
false
this
.
showText
=
""
this
.
pdfSrc
=
""
this
.
getArticleList
()
},
viewDetail
(
i
)
{
this
.
showDetail
=
true
this
.
showText
=
this
.
tableData
[
i
].
articleContent
this
.
pdfSrc
=
"
https://ds.cixincloud.com/geca-api/disease-data/file/info/
"
+
this
.
tableData
[
i
].
filePath
[
0
].
bucketName
+
"
/
"
+
this
.
tableData
[
i
].
filePath
[
0
].
uuidName
this
.
showTitle
[
0
]
=
this
.
leftBar
[
this
.
activeBar
].
name
this
.
showTitle
[
1
]
=
this
.
tableData
[
i
].
articleTitle
console
.
log
(
this
.
showText
)
console
.
log
(
this
.
pdfSrc
)
},
back
(
index
)
{
if
(
index
==
0
)
{
this
.
showText
=
""
this
.
pdfSrc
=
""
this
.
showDetail
=
false
}
},
...
...
@@ -268,4 +287,8 @@ export default {
font-family
:
AlibabaPuHuiTiR
;
}
}
.refuteList
{
height
:
100%
;
// overflow: auto;
}
</
style
>
src/views/Home/PdfView/index.vue
View file @
d903e640
...
...
@@ -199,7 +199,7 @@ export default {
left
:
0
;
right
:
0
;
padding
:
10px
0
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.5
);
background-color
:
rgba
(
255
,
255
,
255
,
1
);
.info
{
display
:
flex
;
flex-wrap
:
wrap
;
...
...
src/views/Home/ScientificResearch/index.vue
View file @
d903e640
...
...
@@ -103,6 +103,7 @@ export default {
size
:
this
.
pageSize
,
current
:
this
.
pageIndex
,
moduleType
:
"
5
"
,
status
:
"
1
"
,
articleType
:
this
.
activeBar
-
0
+
1
,
}
articleList
(
params
)
...
...
src/views/systems/operation-management/components/AcademicTrend.vue
View file @
d903e640
...
...
@@ -6,6 +6,7 @@
<div
class=
"bot-table"
>
<customs-table
ref=
"table"
:max-height=
"780"
:table-data=
"tableData"
:columns=
"columns"
:header-class=
"'newHeader'"
...
...
@@ -223,11 +224,11 @@ export default {
},
watch
:
{},
mounted
()
{
this
.
getArticleList
()
this
.
handleSearch
()
},
methods
:
{
// 获取新闻会议
getArticleList
()
{
handleSearch
()
{
this
.
listLoading
=
true
let
params
=
{
size
:
this
.
pageSize
,
...
...
src/views/systems/operation-management/components/HealthPopularization.vue
View file @
d903e640
<
template
>
<div
id=
"medicalunion-management"
>
<div
class=
"top-btn"
>
<el-select
v-model=
"selectType"
@
change=
"
getArticleList
"
>
<el-select
v-model=
"selectType"
@
change=
"
beforeSearch
"
>
<el-option
v-for=
"item in selectList"
:key=
"item.value"
...
...
@@ -17,6 +17,7 @@
ref=
"table"
:table-data=
"tableData"
:columns=
"columns"
:max-height=
"780"
:header-class=
"'newHeader'"
:list-loading=
"listLoading"
:current-page=
"pageIndex"
...
...
@@ -291,11 +292,15 @@ export default {
},
watch
:
{},
mounted
()
{
this
.
getArticleList
()
this
.
handleSearch
()
},
methods
:
{
// 获取健康科普
getArticleList
()
{
beforeSearch
()
{
this
.
pageIndex
=
1
this
.
handleSearch
()
},
handleSearch
()
{
this
.
listLoading
=
true
let
params
=
{
size
:
this
.
pageSize
,
...
...
src/views/systems/operation-management/components/NewsMeeting.vue
View file @
d903e640
...
...
@@ -14,6 +14,7 @@
:total-count=
"total"
:page-sizes=
"pageSizes"
:page-size=
"pageSize"
:max-height=
"780"
@
pageSizeChange=
"handleSizeChange"
@
currentPageChange=
"handleCurrentChange"
/>
...
...
@@ -223,11 +224,11 @@ export default {
},
watch
:
{},
mounted
()
{
this
.
getArticleList
()
this
.
handleSearch
()
},
methods
:
{
// 获取新闻会议
getArticleList
()
{
handleSearch
()
{
this
.
listLoading
=
true
let
params
=
{
size
:
this
.
pageSize
,
...
...
src/views/systems/operation-management/components/NoticeAnnouncement.vue
View file @
d903e640
...
...
@@ -15,6 +15,7 @@
:page-sizes=
"pageSizes"
:page-size=
"pageSize"
@
pageSizeChange=
"handleSizeChange"
:max-height=
"780"
@
currentPageChange=
"handleCurrentChange"
/>
</div>
...
...
@@ -223,11 +224,11 @@ export default {
},
watch
:
{},
mounted
()
{
this
.
getArticleList
()
this
.
handleSearch
()
},
methods
:
{
// 获取新闻会议
getArticleList
()
{
handleSearch
()
{
this
.
listLoading
=
true
let
params
=
{
size
:
this
.
pageSize
,
...
...
src/views/systems/operation-management/components/TypicalCase.vue
View file @
d903e640
...
...
@@ -12,6 +12,7 @@
:list-loading=
"listLoading"
:current-page=
"pageIndex"
:total-count=
"total"
:max-height=
"780"
:page-sizes=
"pageSizes"
:page-size=
"pageSize"
@
pageSizeChange=
"handleSizeChange"
...
...
@@ -223,11 +224,11 @@ export default {
},
watch
:
{},
mounted
()
{
this
.
getArticleList
()
this
.
handleSearch
()
},
methods
:
{
// 获取新闻会议
getArticleList
()
{
handleSearch
()
{
this
.
listLoading
=
true
let
params
=
{
size
:
this
.
pageSize
,
...
...
src/views/systems/operation-management/components/mixin.js
View file @
d903e640
...
...
@@ -44,7 +44,7 @@ const mixin = {
articleEnable
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
// this.$message.success("保存成功")
this
.
getArticleList
()
this
.
handleSearch
()
}
})
},
...
...
@@ -67,7 +67,8 @@ const mixin = {
this
.
form
=
{
status
:
1
,
}
this
.
getArticleList
()
this
.
pageIndex
=
1
this
.
handleSearch
()
}
})
}
else
{
...
...
@@ -89,7 +90,7 @@ const mixin = {
.
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
$message
.
success
(
"
删除成功
"
)
this
.
getArticleList
()
this
.
handleSearch
()
}
})
.
catch
(()
=>
{})
...
...
src/views/systems/operation-management/components/scientificResearch.vue
View file @
d903e640
<
template
>
<div
id=
"medicalunion-management"
>
<div
class=
"top-btn"
>
<el-select
v-model=
"selectType"
@
change=
"
getArticleList
"
>
<el-select
v-model=
"selectType"
@
change=
"
beforeSearch
"
>
<el-option
v-for=
"item in selectList"
:key=
"item.value"
...
...
@@ -17,6 +17,7 @@
ref=
"table"
:table-data=
"tableData"
:columns=
"columns"
:max-height=
"780"
:header-class=
"'newHeader'"
:list-loading=
"listLoading"
:current-page=
"pageIndex"
...
...
@@ -277,11 +278,15 @@ export default {
},
watch
:
{},
mounted
()
{
this
.
getArticleList
()
this
.
handleSearch
()
},
methods
:
{
beforeSearch
()
{
this
.
pageIndex
=
1
this
.
handleSearch
()
},
// 获取健康科普
getArticleList
()
{
handleSearch
()
{
this
.
listLoading
=
true
let
params
=
{
size
:
this
.
pageSize
,
...
...
src/views/systems/user/index.vue
View file @
d903e640
...
...
@@ -345,12 +345,14 @@ export default {
spanCount
:
12
,
prop
:
"
orgId
"
,
opts
:
orgList
,
rules
:
[{
required
:
true
,
message
:
"
请选择机构
"
}],
func
:
this
.
orgChange
,
},
{
type
:
"
select
"
,
label
:
"
科室
"
,
spanCount
:
12
,
rules
:
[{
required
:
true
,
message
:
"
请选择科室
"
}],
prop
:
"
deptId
"
,
opts
:
[],
},
...
...
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