Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
qzhxx
national_museum_vod
Commits
b7114190
Commit
b7114190
authored
Jun 16, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改删除项目提示语
parent
4141f861
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
254 additions
and
254 deletions
+254
-254
breadcrumb.vue
src/components/breadcrumb.vue
+61
-61
menu.js
src/config/menu.js
+184
-184
add.vue
src/page/content/learn/project/add.vue
+5
-5
index.vue
src/page/content/learn/project/index.vue
+2
-2
learn.js
src/router/learn.js
+2
-2
No files found.
src/components/breadcrumb.vue
View file @
b7114190
<
template
>
<
template
>
<div
class=
"breadcrumb-wrapper"
>
<div
class=
"breadcrumb-wrapper"
>
<i
class=
"icon-loc"
></i>
<i
class=
"icon-loc"
></i>
<span
class=
"breadcrumb__item active"
@
click=
"goIndex"
>
<span
class=
"breadcrumb__item active"
@
click=
"goIndex"
>
<span>
首页
</span>
<span>
首页
</span>
<i
class=
"el-icon-arrow-right"
></i>
<i
class=
"el-icon-arrow-right"
></i>
</span>
</span>
<span
class=
"breadcrumb__item"
>
<span
class=
"breadcrumb__item"
>
<span>
{{
currentPageName
}}
</span>
<span>
{{
currentPageName
}}
</span>
</span>
</span>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
currentPageName
:
''
currentPageName
:
''
}
}
},
},
mounted
(){
mounted
(){
this
.
currentPageName
=
this
.
$route
.
meta
.
title
this
.
currentPageName
=
this
.
$route
.
meta
.
title
},
},
methods
:{
methods
:{
goIndex
(){
goIndex
(){
this
.
$router
.
push
(
'/index'
)
this
.
$router
.
push
(
'/index'
)
}
}
},
},
watch
:{
watch
:{
$route
()
{
$route
()
{
this
.
currentPageName
=
this
.
$route
.
meta
.
title
this
.
currentPageName
=
this
.
$route
.
meta
.
title
console
.
log
(
this
.
$route
)
console
.
log
(
this
.
$route
)
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.breadcrumb-wrapper{
.breadcrumb-wrapper{
width: 100%;
width: 100%;
height: 36px;
height: 36px;
line-height: 36px;
line-height: 36px;
padding-left: 20px;
padding-left: 20px;
background-color:@party-white;
background-color:@party-white;
.icon-loc{
.icon-loc{
display: inline-block;
display: inline-block;
width: 15px;
width: 15px;
height: 16px;
height: 16px;
margin-right: 10px;
margin-right: 10px;
vertical-align: middle;
vertical-align: middle;
background: url("~@/assets/login/loc.png") no-repeat;
background: url("~@/assets/login/loc.png") no-repeat;
background-size: cover;
background-size: cover;
}
}
.breadcrumb__item{
.breadcrumb__item{
span{
span{
color: #151515;
color: #151515;
}
}
&.active{
&.active{
cursor: pointer;
cursor: pointer;
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/config/menu.js
View file @
b7114190
This diff is collapsed.
Click to expand it.
src/page/content/learn/project/add.vue
View file @
b7114190
...
@@ -359,8 +359,8 @@ export default {
...
@@ -359,8 +359,8 @@ export default {
},
},
getExhibitionBoardTable
()
{
getExhibitionBoardTable
()
{
const
param
=
{
const
param
=
{
boardCopyrightOwnerIdList
:
this
.
ruleForm
.
copyrightOwnerIdList
,
boardCopyrightOwnerIdList
:
this
.
ruleForm
.
copyrightOwnerIdList
.
toString
()
,
exhibitionBoardCatIdList
:
this
.
ruleForm
.
exhibitionBoardCatIdList
exhibitionBoardCatIdList
:
this
.
ruleForm
.
exhibitionBoardCatIdList
.
toString
()
};
};
this
.
getTableData
(
param
,
"update"
);
this
.
getTableData
(
param
,
"update"
);
},
},
...
@@ -480,9 +480,9 @@ export default {
...
@@ -480,9 +480,9 @@ export default {
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
data
.
resultCode
===
"200"
){
if
(
res
.
data
.
resultCode
===
"200"
){
if
(
this
.
userType
===
'1'
){
if
(
this
.
userType
===
'1'
){
this
.
$message
({
type
:
"success"
,
message
:
"新增学习内容
申请已提交,待审核!"
});
this
.
$message
({
type
:
"success"
,
message
:
"新增学习项目
申请已提交,待审核!"
});
}
else
{
}
else
{
this
.
$message
({
type
:
"success"
,
message
:
"新增成功!"
});
this
.
$message
({
type
:
"success"
,
message
:
"新增成功!"
});
}
}
history
.
go
(
-
1
);
history
.
go
(
-
1
);
}
else
{
}
else
{
...
@@ -514,7 +514,7 @@ export default {
...
@@ -514,7 +514,7 @@ export default {
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
data
.
resultCode
===
"200"
){
if
(
res
.
data
.
resultCode
===
"200"
){
if
(
this
.
userType
===
'1'
){
if
(
this
.
userType
===
'1'
){
this
.
$message
({
type
:
"success"
,
message
:
"修改学习内容申请已提交,待审核!"
});
this
.
$message
({
type
:
"success"
,
message
:
res
.
data
.
message
});
}
else
{
}
else
{
this
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
});
this
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
});
}
}
...
...
src/page/content/learn/project/index.vue
View file @
b7114190
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<
template
slot-scope=
"scope"
width=
"220"
>
<
template
slot-scope=
"scope"
width=
"220"
>
<div
class=
"table-btn-group"
>
<div
class=
"table-btn-group"
>
<el-tooltip
content=
"修改"
placement=
"top"
>
<el-tooltip
content=
"修改"
placement=
"top"
>
<el-button
circle
@
click=
"openEdit(scope.row)"
>
<el-button
circle
:disabled=
"scope.row.auditStatus !== 'APPROVED_FINAL' && scope.row.auditStatus !== 'REFUSED'"
@
click=
"openEdit(scope.row)"
>
<i
class=
"icon-table icon-edit"
></i>
<i
class=
"icon-table icon-edit"
></i>
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
...
@@ -358,7 +358,7 @@ export default {
...
@@ -358,7 +358,7 @@ export default {
// 删除
// 删除
handleDelete
(
row
)
{
handleDelete
(
row
)
{
let
_this
=
this
;
let
_this
=
this
;
this
.
$confirm
(
"
此操作将永久删除, 是否继续?
"
,
"提示"
,
{
this
.
$confirm
(
"
删除项目后对应的学习内容也会被删除!
"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
type
:
"warning"
,
...
...
src/router/learn.js
View file @
b7114190
...
@@ -236,11 +236,11 @@ export let learnRoute = [
...
@@ -236,11 +236,11 @@ export let learnRoute = [
},
},
{
{
path
:
'/checkLearn'
,
path
:
'/checkLearn'
,
name
:
'
平台
学习内容审核'
,
name
:
'
学习项目及
学习内容审核'
,
component
:
()
=>
import
(
'@/page/check/learn/index'
),
component
:
()
=>
import
(
'@/page/check/learn/index'
),
meta
:
{
meta
:
{
showBreadcrumb
:
true
,
showBreadcrumb
:
true
,
title
:
'
平台
学习内容审核'
,
title
:
'
学习项目及
学习内容审核'
,
}
}
},
},
{
{
...
...
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