Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4b1472f5
提交
4b1472f5
编写于
9月 24, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新跳转
上级
812825b8
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
38 行增加
和
3 行删除
+38
-3
edit-manager.vue
src/views/education/edit-manager.vue
+36
-1
item-manager.vue
src/views/education/item-manager.vue
+2
-2
未找到文件。
src/views/education/edit-manager.vue
浏览文件 @
4b1472f5
...
...
@@ -660,6 +660,38 @@
<el-button
type=
"primary"
size=
"small"
@
click=
"dialogSuccess = false"
>
关闭
</el-button>
</span>
</el-dialog>
<el-dialog
title=
"导入失败"
:visible
.
sync=
"dialogFail"
width=
"30%"
class=
"dialog-fail"
center
>
<div
class=
"fail-type"
v-if=
"failType == 1"
>
<p>
表格不符合格式要求,请修正后再次导入
</p>
<p
class=
"fail-notice"
>
仅支持一次导入5000条数据
</p>
</div>
<div
class=
"fail-type"
v-if=
"failType == 2"
>
<p>
有
<span
class=
"fail-num"
>
{{ failNum }}条
</span>
数据不符合格式要求,请修正后再次导入
</p>
<p
class=
"fail-notice"
>
仅支持xlsx格式的文件
</p>
<p
class=
"fail-link"
@
click=
"download('fail')"
>
下载错误数据>
</p>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"fail-close"
size=
"small"
@
click=
"dialogFail = false"
>
取消
</el-button>
<el-upload
class=
"upload-button"
action=
"#"
accept=
".xlsx"
multiple
:limit=
"1"
:before-upload=
"uploadOrganization"
>
<el-button
stype=
"position: absolute;top: -14px;"
type=
"primary"
size=
"small"
@
click=
"uploadOrganization()"
>
重新导入
</el-button>
</el-upload>
</span>
</el-dialog>
</div>
<div
class=
"third-step"
v-else-if=
"active === 2"
>
<el-form
...
...
@@ -845,7 +877,7 @@ export default {
curmbSecond: "
新建项目
",
//页面展示位置
stepData: [true, false, false],
active:
1
,
active:
0
,
activeName: "
first
",
//基层信息 数据
uploadImgMessage: false,
...
...
@@ -1038,6 +1070,9 @@ export default {
},
updateNum: 0,
dialogSuccess: false,
failType: 1,
failNum: 0,
dialogFail: false,
props: {
lazy: true,
lazyLoad(node, resolve) {
...
...
src/views/education/item-manager.vue
浏览文件 @
4b1472f5
...
...
@@ -292,7 +292,7 @@ export default {
},
methods
:
{
toPage
()
{
this
.
$router
.
push
(
"
add
-manager"
);
this
.
$router
.
push
(
"
edit
-manager"
);
},
toShield
(
row
)
{
this
.
$router
.
push
(
"item-shield?projectId="
+
row
.
id
);
...
...
@@ -353,7 +353,7 @@ export default {
let
level
=
row
.
level
;
if
(
type
===
0
)
{
//编辑
this
.
$router
.
push
(
"
add
-manager?projectId="
+
projectId
+
"&level="
+
level
);
this
.
$router
.
push
(
"
edit
-manager?projectId="
+
projectId
+
"&level="
+
level
);
}
else
if
(
type
===
7
)
{
//提醒审核
let
req
=
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录