9bb1bbba by 杨威
2 parents 6f853957 218f5a70
......@@ -69,7 +69,7 @@
<li @click="exportToShp">ESRI Shape</li>
</ul>
</li>
<li v-show="isZD" @click="drsx">导入属性</li>
<li @click="drsx">导入属性</li>
<li v-show="!isZD">导入楼盘</li>
<li>重叠分析</li>
<li v-show="isZD && (zdQszt == '1' || zdQszt == '2')" @click="openCreateDialog('dzw')">添加定着物</li>
......
......@@ -8,7 +8,7 @@
<div class="main-button">
<el-upload
class="upload-demo"
:action="uploadUrl"
action="/api/tx/excelGeo/import"
:data="sxdrData"
:on-success="uploadSuccess"
:show-file-list="false"
......@@ -47,7 +47,6 @@
},
data() {
return {
uploadUrl: '',
isVisible: false,
sxdrData: {
bsm: '',
......@@ -65,7 +64,6 @@
},
reset() {
this.errorData = [];
this.uploadUrl = '';
this.sxdrData = {bsm: ''};
},
close() {
......@@ -97,13 +95,6 @@
},
dylx(val) {
this.sxdrData.type=val;
switch (val) {
case "zd":
this.uploadUrl = "/api/tx/excelGeo/import";
break;
default:
break;
}
},
bsm(val) {
this.sxdrData.bsm = val;
......