Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5345a113
authored
2020-12-29 19:42:19 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(panel):相关下载
1 parent
464068aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
src/views/panel/index.vue
src/views/panel/index.vue
View file @
5345a11
...
...
@@ -68,11 +68,17 @@
<span
class=
"edit"
>
查看全部
<i
class=
"fa fa-angle-right "
aria-hidden=
"true"
></i></span>
</div>
<el-table
:data=
"
table
Data"
:data=
"
download
Data"
:height=
"tableHeight"
border
@
row-click=
"download"
:row-class-name=
"tableRowClassName"
>
<el-table-column
prop=
"title"
align=
"center"
label=
"内容名称"
>
<el-table-column
type=
"index"
align=
"center"
width=
"50"
label=
"序号"
>
</el-table-column>
<el-table-column
prop=
"name"
align=
"center"
label=
"下载文件"
>
</el-table-column>
</el-table>
</el-card>
...
...
@@ -99,6 +105,15 @@ export default {
{
name
:
"添加"
,
img
:
require
(
"@assets/images/tj.png"
)
},
],
tableData
:
[],
downloadData
:[
{
name
:
"宗地导入模板"
,
url
:
"api/tx/excelGeo/template?type=zd"
},{
name
:
"自然幢导入模板"
,
url
:
"api/tx/excelGeo/template?type=zrz"
}
],
tableHeight
:
0
,
total
:
0
,
isEdit
:
false
...
...
@@ -110,6 +125,9 @@ export default {
});
},
methods
:
{
download
(
row
,
column
,
event
){
window
.
open
(
row
.
url
)
},
handleSelect
()
{
//非编辑状态才可以点击
if
(
!
isEdit
)
{
...
...
Please
register
or
sign in
to post a comment