9bb1bbba by 杨威
2 parents 6f853957 218f5a70
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 <li @click="exportToShp">ESRI Shape</li> 69 <li @click="exportToShp">ESRI Shape</li>
70 </ul> 70 </ul>
71 </li> 71 </li>
72 <li v-show="isZD" @click="drsx">导入属性</li> 72 <li @click="drsx">导入属性</li>
73 <li v-show="!isZD">导入楼盘</li> 73 <li v-show="!isZD">导入楼盘</li>
74 <li>重叠分析</li> 74 <li>重叠分析</li>
75 <li v-show="isZD && (zdQszt == '1' || zdQszt == '2')" @click="openCreateDialog('dzw')">添加定着物</li> 75 <li v-show="isZD && (zdQszt == '1' || zdQszt == '2')" @click="openCreateDialog('dzw')">添加定着物</li>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
8 <div class="main-button"> 8 <div class="main-button">
9 <el-upload 9 <el-upload
10 class="upload-demo" 10 class="upload-demo"
11 :action="uploadUrl" 11 action="/api/tx/excelGeo/import"
12 :data="sxdrData" 12 :data="sxdrData"
13 :on-success="uploadSuccess" 13 :on-success="uploadSuccess"
14 :show-file-list="false" 14 :show-file-list="false"
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
47 }, 47 },
48 data() { 48 data() {
49 return { 49 return {
50 uploadUrl: '',
51 isVisible: false, 50 isVisible: false,
52 sxdrData: { 51 sxdrData: {
53 bsm: '', 52 bsm: '',
...@@ -65,7 +64,6 @@ ...@@ -65,7 +64,6 @@
65 }, 64 },
66 reset() { 65 reset() {
67 this.errorData = []; 66 this.errorData = [];
68 this.uploadUrl = '';
69 this.sxdrData = {bsm: ''}; 67 this.sxdrData = {bsm: ''};
70 }, 68 },
71 close() { 69 close() {
...@@ -97,13 +95,6 @@ ...@@ -97,13 +95,6 @@
97 }, 95 },
98 dylx(val) { 96 dylx(val) {
99 this.sxdrData.type=val; 97 this.sxdrData.type=val;
100 switch (val) {
101 case "zd":
102 this.uploadUrl = "/api/tx/excelGeo/import";
103 break;
104 default:
105 break;
106 }
107 }, 98 },
108 bsm(val) { 99 bsm(val) {
109 this.sxdrData.bsm = val; 100 this.sxdrData.bsm = val;
......