Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rs-admin
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
翟畅
rs-admin
Commits
774b7cb3
提交
774b7cb3
authored
8月 05, 2024
作者:
翟畅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zc外链查详情、资讯列表锁定检索
上级
652b3f72
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
41 行增加
和
8 行删除
+41
-8
index.vue
src/views/platform_manage/informationInfo/content/index.vue
+24
-0
content.vue
src/views/resource_manage/recommendedContent/content.vue
+2
-8
index.vue
src/views/resource_manage/special_module/index.vue
+15
-0
没有找到文件。
src/views/platform_manage/informationInfo/content/index.vue
浏览文件 @
774b7cb3
...
...
@@ -8,8 +8,14 @@
<el-button
v-for=
"item in btnList"
:key=
"item.id"
v-if=
"item.type == 8"
size=
"small"
type=
"primary"
@
click=
"handleBtn(item.url)"
>
{{
item
.
name
}}
</el-button>
</div>
</div>
<!-- 页面检索模块 -->
<div
class=
"box_button"
>
<el-form
inline
:model=
"listQuery"
style=
"float:right;"
size=
"small"
>
<el-form-item
style=
"margin-right:20px;"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"lockTags"
>
{{
lockViews
.
find
(
item
=>
item
==
'contentInformation'
)?
"解除锁定"
:
"锁定"
}}
检索条件
</el-button>
<el-tooltip
content=
"锁定后在第二次及以后进入时,页面数据将会被缓存,重复进入不会自动刷新"
placement=
"top"
><i
class=
"el-icon-question"
style=
"font-size: 14px;"
></i></el-tooltip>
</el-form-item>
<el-form-item
style=
"width:120px;margin-right:0"
>
<el-select
clearable
placeholder=
"所属栏目"
v-model=
"listQuery.columnId"
>
<el-option
label=
"全部栏目"
:value=
"null"
></el-option>
...
...
@@ -151,7 +157,18 @@ export default {
setTimeout
(()
=>
{
this
.
btnList
=
this
.
$store
.
state
.
btn
.
btnList
},
0
);
},
computed
:{
lockViews
()
{
return
this
.
$store
.
state
.
tagsView
.
lockViews
},
},
methods
:
{
lockTags
(){
let
view
=
this
.
$store
.
state
.
tagsView
.
visitedViews
.
find
(
item
=>
{
return
item
.
name
==
'contentInformation'
})
this
.
$store
.
dispatch
(
'tagsView/lockViews'
,
view
).
then
(()
=>
{})
},
getList
()
{
//获取列表
this
.
listLoading
=
true
this
.
listQuery
.
beginReleaserTime
=
this
.
value
?
this
.
value
[
0
]
:
null
...
...
@@ -329,3 +346,10 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.box_button
{
width
:
100%
;
height
:
auto
;
margin-bottom
:
16px
;
}
</
style
>
src/views/resource_manage/recommendedContent/content.vue
浏览文件 @
774b7cb3
...
...
@@ -415,23 +415,17 @@ export default {
},
//查看二维码
viewLinkCode
(
item
){
outsideLinksDetailAPI
(
item
.
resourceId
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
0
){
this
.
qrCodeViewDialog
=
true
setTimeout
(()
=>
{
let
qr
=
new
QRCode
(
'qrCodeUr'
,
{
text
:
this
.
baseUrl
+
'/h5/resource/outsideLink/index?id='
+
item
.
resourceId
+
'&urlLink='
+
res
.
data
.
data
.
link
+
'&phyId='
+
this
.
$route
.
query
.
id
,
text
:
this
.
baseUrl
+
'/h5/resource/outsideLink/index?id='
+
item
.
resourceId
+
'&phyId='
+
this
.
$route
.
query
.
id
,
width
:
200
,
height
:
200
,
colorDark
:
'#000000'
,
colorLight
:
'#ffffff'
,
correctLevel
:
QRCode
.
CorrectLevel
.
H
correctLevel
:
3
})
},
1000
)
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
)
}
})
},
contentTypeSubmit
(){
if
(
this
.
contentType
==
'1'
){
...
...
src/views/resource_manage/special_module/index.vue
浏览文件 @
774b7cb3
...
...
@@ -4,6 +4,10 @@
<div
class=
"top_title"
>
专题
</div>
<div
class=
"container"
style=
"float:right;"
>
<el-form
inline
size=
"small"
:model=
"listQuery"
ref=
"listQuery"
:label-position=
"labelPosition"
label-width=
"100px"
>
<el-form-item
style=
"margin-right:20px;"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"lockTags"
>
{{
lockViews
.
find
(
item
=>
item
==
'special'
)?
"解除锁定"
:
"锁定"
}}
检索条件
</el-button>
<el-tooltip
content=
"锁定后在第二次及以后进入时,页面数据将会被缓存,重复进入不会自动刷新"
placement=
"top"
><i
class=
"el-icon-question"
style=
"font-size: 14px;"
></i></el-tooltip>
</el-form-item>
<el-form-item
label=
"专题名称:"
>
<el-input
v-model=
"listQuery.name"
placeholder=
"请输入专题名称"
clearable
class=
"selWidth"
/>
</el-form-item>
...
...
@@ -127,6 +131,11 @@ export default {
sortId
:
[]
}
},
computed
:{
lockViews
()
{
return
this
.
$store
.
state
.
tagsView
.
lockViews
},
},
mounted
()
{
this
.
getList
()
setTimeout
(()
=>
{
...
...
@@ -141,6 +150,12 @@ export default {
},
0
)
},
methods
:
{
lockTags
(){
let
view
=
this
.
$store
.
state
.
tagsView
.
visitedViews
.
find
(
item
=>
{
return
item
.
name
==
'special'
})
this
.
$store
.
dispatch
(
'tagsView/lockViews'
,
view
).
then
(()
=>
{})
},
filterChange
(
filters
){
if
(
filters
.
status
){
this
.
listQuery
.
status
=
filters
.
status
[
0
]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论