|
@@ -71,10 +71,10 @@ export default {
|
|
|
|
|
|
* 监听导入要素Id的变化
|
|
|
*/
|
|
|
- impFeaturesId(next, prve) {
|
|
|
- console.log(next, prve);
|
|
|
- this.queryFeatureById(next);
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
created() {
|
|
|
this.config = this.data.that.config;
|
|
@@ -282,7 +282,12 @@ export default {
|
|
|
uploadForm.append('', this.uploadFile);
|
|
|
this.uploading = true;
|
|
|
addGisData(uploadForm).then(res => {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
this.loadingtext = "上传成功,正在获取数据……"
|
|
|
+
|
|
|
|
|
|
setTimeout(() => {
|
|
|
this.getTempData(res.result)
|
|
@@ -319,6 +324,7 @@ export default {
|
|
|
* 获取全部临时数据
|
|
|
*/
|
|
|
getTempData(res) {
|
|
|
+ this.impFeaturesId = res.id
|
|
|
let dataSource = this.layerName.dataSource;
|
|
|
let url = iServerBaseUrl + this.layerName.url;
|
|
|
let datasetNames = [dataSource + ':' + res.tempDatasetName];
|