Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-admin-discuss
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-admin-discuss
提交
6ea94af6
提交
6ea94af6
编写于
3月 19, 2021
作者:
haochangdi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更改上下线标识
上级
c133db47
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
10 行增加
和
10 行删除
+10
-10
env-config.js
src/utils/env-config.js
+1
-1
mixins.js
src/utils/mixins.js
+1
-1
slidebar.vue
src/views/layout/slidebar.vue
+1
-1
index.vue
src/views/topicManage/index.vue
+7
-7
未找到文件。
src/utils/env-config.js
浏览文件 @
6ea94af6
...
...
@@ -9,7 +9,7 @@ export const envConfig = {
// baseUrl: 'https://test1-sc.yunqueyi.com/',
//baseUrl: 'https://uat-sc.yunqueyi.com/',
baseUrl
:
'https://
uat
-sc.yunqueyi.com'
,
baseUrl
:
'https://
dev
-sc.yunqueyi.com'
,
qiniuFileUrl
:
"https://dev-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
...
...
src/utils/mixins.js
浏览文件 @
6ea94af6
...
...
@@ -121,7 +121,7 @@ module.exports = {
}
}
}
else
if
(
modeCode
===
'M400'
)
{
debugger
//
debugger
let
path
=
paramList
[
0
][
'key'
];
let
v
=
paramList
[
0
][
'value'
];
let
query
=
this
.
setRouterParm
(
paramList
);
...
...
src/views/layout/slidebar.vue
浏览文件 @
6ea94af6
...
...
@@ -78,7 +78,7 @@ export default {
}
return
nvs
;
}
debugger
//
debugger
if
(
navList
.
indexOf
(
path
)
==
-
1
)
{
this
.
$router
.
push
(
`/
${
navList
[
0
]}
`
);
}
...
...
src/views/topicManage/index.vue
浏览文件 @
6ea94af6
...
...
@@ -67,15 +67,15 @@
<el-table-column
prop=
"status"
label=
"状态"
min-width=
"80"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"!scope.row.official"
>
已发布
</span>
<span
v-else
>
{{
scope
.
row
.
releaseStatus
==
1
?
'已发布'
:
'未发布'
}}
</span>
<span
v-else
>
{{
scope
.
row
.
releaseStatus
==
2
?
'已发布'
:
'未发布'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
min-width=
"200"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"edit(scope.row)"
>
编辑
</el-button>
<el-button
type=
"primary"
v-if=
"!scope.row.official"
size=
"small"
@
click=
"optFun(scope.row)"
disabled
>
下线
</el-button>
<el-button
type=
"primary"
v-if=
"scope.row.releaseStatus ==
1
&& scope.row.official"
size=
"small"
@
click=
"optFun(scope.row)"
>
下线
</el-button>
<el-button
type=
"primary"
v-if=
"scope.row.releaseStatus !=
1
&& scope.row.official"
size=
"small"
@
click=
"optFun(scope.row)"
>
发布
</el-button>
<el-button
type=
"primary"
v-if=
"scope.row.releaseStatus ==
2
&& scope.row.official"
size=
"small"
@
click=
"optFun(scope.row)"
>
下线
</el-button>
<el-button
type=
"primary"
v-if=
"scope.row.releaseStatus !=
2
&& scope.row.official"
size=
"small"
@
click=
"optFun(scope.row)"
>
发布
</el-button>
<el-button
v-if=
"scope.row.toporder == 0"
type=
"primary"
size=
"small"
@
click=
"topicManage(scope.row,'置顶')"
>
置顶
</el-button>
<el-button
v-else
type=
"primary"
size=
"small"
@
click=
"topicManage(scope.row,'取消置顶')"
>
取消置顶
</el-button>
</
template
>
...
...
@@ -303,11 +303,11 @@ export default {
// 发布、下线
optFun
(
row
)
{
let
status
=
0
,
str
=
''
,
_this
=
this
,
index
=
0
;
str
=
row
.
releaseStatus
==
1
?
'下架'
:
'发布'
if
(
row
.
releaseStatus
==
1
){
index
=
2
}
else
if
(
row
.
releaseStatus
==
2
){
str
=
row
.
releaseStatus
==
2
?
'下架'
:
'发布'
if
(
row
.
releaseStatus
==
2
){
index
=
1
}
else
if
(
row
.
releaseStatus
==
1
){
index
=
2
}
let
parm
=
{
topic
:{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录