Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
welfare
Overview
Overview
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
达摩4.0重构
welfare
Commits
118d5a1f
Commit
118d5a1f
authored
Mar 08, 2021
by
shaojiawen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:导出按钮+UI
parent
1e2d7c91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
card-form.vue
src/views/card/gic-card/card-form.vue
+4
-4
destory-list.vue
src/views/card/gic-card/destory-list.vue
+6
-6
No files found.
src/views/card/gic-card/card-form.vue
View file @
118d5a1f
...
...
@@ -111,10 +111,10 @@
<el-button
type=
"text"
class=
"ml20"
@
click=
"downloadCouponCSV"
>
点击下载文件模板
</el-button>
<el-popover
placement=
"bottom"
width=
"350"
trigger=
"hover"
open-delay=
"200"
>
<ul>
<li>
1.
单次上传最多可支持 5000 条
</li>
<li>
2.
券码格式可由 6~20 位的数字或字母组成
</li>
<li>
3.
若券码为纯数字组成,为避免发生意外错误,请将其格式设置为 ‘文本’ 格式
</li>
<li>
4.
仅支持.csv 文件的导入 (建议直接下载模板,在模板的基础上进行数据的填充)
</li>
<li>
1.
券码格式可由 6~20 位的数字或字母组成,若券码为纯数字组成,为避免发生意外错误,请将其格式设置为 ‘文本’ 格式;
</li>
<li>
2.
请勿导入重复的内容,导入的内容在原来基础上增加库存;
</li>
<li>
3.
导入的券码在当前模版上进行数据的填充;
</li>
<li>
4.
上传完整仅支持.xlsx .xls文件的导入,填充数据不超过“10万”条。
</li>
</ul>
<el-button
class=
"ml30"
type=
"text"
slot=
"reference"
>
查看导入规则
</el-button>
</el-popover>
...
...
src/views/card/gic-card/destory-list.vue
View file @
118d5a1f
...
...
@@ -15,11 +15,11 @@
<span
v-else
>
{{
scope
.
row
[
v
.
prop
]
||
'--'
}}
</span>
</
template
>
</el-table-column>
<
!-- <
el-table-column label="操作" align="left" width="120px" fixed="right">
<el-table-column
label=
"操作"
align=
"left"
width=
"120px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<dm-perm-button
type=
"text"
@
click=
"showExport(scope.row)"
:disabled=
"$itemPerm($itemCode.gicCardDestoryExport)"
>
导出结果
</dm-perm-button>
</
template
>
</el-table-column>
-->
</el-table-column>
</el-table>
<div
class=
"clearfix"
>
<dm-pagination
class=
"fr mb0"
v-if=
"tableList.length"
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"listParams.currentPage"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"listParams.pageSize"
layout=
"total, sizes, prev, pager, next"
:total=
"total"
></dm-pagination>
...
...
@@ -165,10 +165,10 @@ export default {
},
// ********数据导出*************
showExport
({
destroyPlanId
})
{
//
if(!this.tableList.length) {
//
this.$tips({ message: '没有要导出的数据', type: 'warning' });
//
return;
//
}
if
(
!
this
.
tableList
.
length
)
{
this
.
$tips
({
message
:
'没有要导出的数据'
,
type
:
'warning'
});
return
;
}
this
.
exportDestroyPlanId
=
destroyPlanId
;
this
.
exportVisible
=
true
;
},
...
...
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