38738969 by 杨威
2 parents 72ac6329 10723bef
...@@ -68,11 +68,17 @@ ...@@ -68,11 +68,17 @@
68 <span class="edit">查看全部 <i class="fa fa-angle-right " aria-hidden="true"></i></span> 68 <span class="edit">查看全部 <i class="fa fa-angle-right " aria-hidden="true"></i></span>
69 </div> 69 </div>
70 <el-table 70 <el-table
71 :data="tableData" 71 :data="downloadData"
72 :height="tableHeight" 72 :height="tableHeight"
73 border
74 @row-click="download"
73 :row-class-name="tableRowClassName" 75 :row-class-name="tableRowClassName"
74 > 76 >
75 <el-table-column prop="title" align="center" label="内容名称"> 77 <el-table-column
78 type="index" align="center"
79 width="50" label="序号">
80 </el-table-column>
81 <el-table-column prop="name" align="center" label="下载文件">
76 </el-table-column> 82 </el-table-column>
77 </el-table> 83 </el-table>
78 </el-card> 84 </el-card>
...@@ -99,6 +105,15 @@ export default { ...@@ -99,6 +105,15 @@ export default {
99 { name: "添加", img: require("@assets/images/tj.png") }, 105 { name: "添加", img: require("@assets/images/tj.png") },
100 ], 106 ],
101 tableData: [], 107 tableData: [],
108 downloadData:[
109 {
110 name:"宗地导入模板",
111 url:"api/tx/excelGeo/template?type=zd"
112 },{
113 name:"自然幢导入模板",
114 url:"api/tx/excelGeo/template?type=zrz"
115 }
116 ],
102 tableHeight: 0, 117 tableHeight: 0,
103 total: 0, 118 total: 0,
104 isEdit:false 119 isEdit:false
...@@ -110,6 +125,9 @@ export default { ...@@ -110,6 +125,9 @@ export default {
110 }); 125 });
111 }, 126 },
112 methods: { 127 methods: {
128 download(row,column,event){
129 window.open(row.url)
130 },
113 handleSelect() { 131 handleSelect() {
114 //非编辑状态才可以点击 132 //非编辑状态才可以点击
115 if (!isEdit) { 133 if (!isEdit) {
......
1 <template> 1 <template>
2 <div class="content_box"> 2 <!-- <div class="content_box"> -->
3 <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick"> 3 <el-tabs v-model="activeName" @tab-click="handleClick" type="border-card" >
4 <el-tab-pane label="地籍调查表" name="djdcb"><zddcb></zddcb></el-tab-pane> 4 <el-tab-pane label="地籍调查表" name="djdcb"><zddcb></zddcb></el-tab-pane>
5 <el-tab-pane label="面积分摊表" name="mjftb"><mjftb v-if="mjftbVisible"></mjftb></el-tab-pane> 5 <el-tab-pane label="面积分摊表" name="mjftb"><mjftb v-if="mjftbVisible"></mjftb></el-tab-pane>
6 <el-tab-pane label="界址点" name="jzd"><jzd v-if="jzdVisible"></jzd></el-tab-pane> 6 <el-tab-pane label="界址点" name="jzd"><jzd v-if="jzdVisible"></jzd></el-tab-pane>
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible"></lshs></el-tab-pane> 9 <el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible"></lshs></el-tab-pane>
10 <el-tab-pane label="附件材料" name="fjcl"><fjcl v-if="fjclVisible"></fjcl></el-tab-pane> 10 <el-tab-pane label="附件材料" name="fjcl"><fjcl v-if="fjclVisible"></fjcl></el-tab-pane>
11 </el-tabs> 11 </el-tabs>
12 </div> 12 <!-- </div> -->
13 </template> 13 </template>
14 14
15 <script> 15 <script>
...@@ -71,4 +71,23 @@ export default { ...@@ -71,4 +71,23 @@ export default {
71 watch: {}, 71 watch: {},
72 }; 72 };
73 </script> 73 </script>
74 <style scoped lang="less"></style> 74 <style scoped lang="less">
75 .el-tabs{
76 height: calc(100% - 50px);
77 /deep/.el-tabs__content{
78 //height: 100%;
79 /deep/.el-tab-pane{
80 height: 100%;
81 }
82 background: #eaedf5;
83 padding: 0;
84 }
85 /deep/ .el-tabs__item {
86 height: 48px;
87 }
88 /deep/ .el-tabs__header{
89 background-color: #ffffff;
90 }
91 }
92
93 </style>
......
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
245 width: 100%; 245 width: 100%;
246 246
247 table { 247 table {
248 margin-top: 10px; 248 // margin-top: 10px;
249 background-color: #fff; 249 background-color: #fff;
250 font-size: 14px; 250 font-size: 14px;
251 width: 100%; 251 width: 100%;
......
...@@ -785,6 +785,10 @@ ...@@ -785,6 +785,10 @@
785 } 785 }
786 }) 786 })
787 .catch((error) => { 787 .catch((error) => {
788 this.$message({
789 message: error.message+",查看日志,联系管理员",
790 type: "error",
791 });
788 }); 792 });
789 //保存到空间库里面 793 //保存到空间库里面
790 var self = this; 794 var self = this;
......