Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
19bfd9a5
提交
19bfd9a5
编写于
10月 29, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
入口列表,新建入口
上级
a315b490
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
29 行增加
和
6 行删除
+29
-6
edit-entry.vue
src/views/education/edit-entry.vue
+22
-2
entry-manager.vue
src/views/education/entry-manager.vue
+7
-4
未找到文件。
src/views/education/edit-entry.vue
浏览文件 @
19bfd9a5
...
@@ -566,6 +566,20 @@ export default {
...
@@ -566,6 +566,20 @@ export default {
vm.visibleName = false;
vm.visibleName = false;
}
}
},
},
tagDrop() {
this.$nextTick(function() {
if(vm.tagsProject.length > 0) {
const ele = document.querySelector('.check-project .el-col-10');
// console.log('ele',ele);
Sortable.create(ele, {
onEnd({ newIndex, oldIndex }) {
const currRow = vm.tagsProject.splice(oldIndex, 1)[0]
vm.tagsProject.splice(newIndex, 0, currRow)
}
})
}
});
},
changeValue(value) {
changeValue(value) {
this.tagsProject = [];
this.tagsProject = [];
let len = 0;
let len = 0;
...
@@ -580,7 +594,7 @@ export default {
...
@@ -580,7 +594,7 @@ export default {
}
}
}
}
}
}
//
vm.tagDrop();
vm.tagDrop();
},
},
handleCloseProject(tag) {
handleCloseProject(tag) {
if (tag.disabled == true) {
if (tag.disabled == true) {
...
@@ -593,7 +607,7 @@ export default {
...
@@ -593,7 +607,7 @@ export default {
}
}
},
},
complete(type) {
complete(type) {
console.log(
'type:'+
type);
console.log(
"
type
:
" +
type);
if (type == 1) {
if (type == 1) {
//完成
//完成
} else {
} else {
...
@@ -701,6 +715,12 @@ export default {
...
@@ -701,6 +715,12 @@ export default {
height
:
350px
;
height
:
350px
;
min-width
:
280px
;
min-width
:
280px
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
.el-tag
{
margin-top
:
5px
;
display
:
table
;
background-color
:
#e6f1fc
;
color
:
#389efe
;
}
.tags-project-online
{
.tags-project-online
{
color
:
#9aceff
;
color
:
#9aceff
;
background-color
:
#f3f8fe
;
background-color
:
#f3f8fe
;
...
...
src/views/education/entry-manager.vue
浏览文件 @
19bfd9a5
...
@@ -9,10 +9,10 @@
...
@@ -9,10 +9,10 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"2"
></el-col>
<el-col
:span=
"2"
></el-col>
<el-col
:span=
"2"
>
<el-col
:span=
"
1
2"
>
<el-button
type=
"primary"
size=
"small"
>
查询
</el-button>
<el-button
type=
"primary"
size=
"small"
>
查询
</el-button>
</el-col>
</el-col>
<el-col
:span=
"
6
"
style=
"padding:0;text-align:right;padding-right:10px;"
>
<el-col
:span=
"
4
"
style=
"padding:0;text-align:right;padding-right:10px;"
>
<el-button
type=
"primary"
size=
"small"
>
新建入口
</el-button>
<el-button
type=
"primary"
size=
"small"
>
新建入口
</el-button>
</el-col>
</el-col>
</el-form>
</el-form>
...
@@ -27,9 +27,12 @@
...
@@ -27,9 +27,12 @@
<el-table-column
fixed=
"right"
label=
"状态"
align=
"center"
>
<el-table-column
fixed=
"right"
label=
"状态"
align=
"center"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
status
|
shieldStatus
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
status
|
shieldStatus
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"
1
50"
align=
"center"
>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"
3
50"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"small"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"small"
>
上架
</el-button>
<el-button
type=
"primary"
size=
"small"
>
下架
</el-button>
<el-button
type=
"primary"
size=
"small"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录