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