Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f77c23bb
authored
Dec 19, 2023
by
Thews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20231219wangwansu
1 parent
f9b5652c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
src/views/etpManage/index.vue
src/views/etpManage/index.vue
View file @
f77c23b
...
...
@@ -36,22 +36,9 @@
</div>
</div>
<div
class=
"search_btn"
>
<div
class=
"add_btn"
@
click=
"operate('add')"
>
<img
class=
"btn_icon"
src=
"@/assets/archi-ele-list/create.png"
alt=
""
/>
<p>
新建
</p>
</div>
<!--
<div
class=
"version_btn"
@
click=
"operate('pushAll')"
>
<img
class=
"btn_icon"
src=
"@/assets/archi-ele-list/version.png"
alt=
""
/>
<p>
删除
</p>
</div>
<div
class=
"version_btn"
@
click=
"operate('pushAll')"
>
<img
class=
"btn_icon"
src=
"@/assets/archi-ele-list/version.png"
alt=
""
/>
<p>
导入
</p>
</div>
<div
class=
"version_btn"
@
click=
"operate('pushAll')"
>
<img
class=
"btn_icon"
src=
"@/assets/archi-ele-list/version.png"
alt=
""
/>
<p>
导出
</p>
</div>
-->
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
@
click=
"operate('add')"
>
新建
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
@
click=
"operate('delMultiple')"
>
删除
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
@
click=
"exportFile"
>
导出
</el-button>
</div>
<el-table
:data=
"tableData"
stripe
border
@
selection-change=
"handleSelectionChange"
height=
"450"
>
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"selectInit"
></el-table-column>
...
...
@@ -419,6 +406,16 @@ export default {
}
this
.
radioName
=
""
;
},
exportFile
()
{
//导出
getTypicalExampleExcel
(
this
.
params
).
then
(
res
=>
{
let
blob
=
new
Blob
([
res
],
{
type
:
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
});
let
url
=
URL
.
createObjectURL
(
blob
);
let
link
=
document
.
createElement
(
'a'
);
link
.
href
=
url
;
document
.
body
.
appendChild
(
link
);
link
.
click
();
})
},
// 表格多选
handleSelectionChange
(
e
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment