gis导入图形再次打开时 打开文件选择弹出框
Showing
2 changed files
with
14 additions
and
1 deletions
... | @@ -102,7 +102,7 @@ | ... | @@ -102,7 +102,7 @@ |
102 | </ul> | 102 | </ul> |
103 | 103 | ||
104 | <el-dialog title="导入图形" :visible.sync="improtDialog"> | 104 | <el-dialog title="导入图形" :visible.sync="improtDialog"> |
105 | <import-geo :property-info="zdData" :geo-info="currentClickZdGeo" @closeImportDialog="closeImportDialog"></import-geo> | 105 | <import-geo :property-info="zdData" :timeLine="new Date().getTime()" :geo-info="currentClickZdGeo" @closeImportDialog="closeImportDialog"></import-geo> |
106 | </el-dialog> | 106 | </el-dialog> |
107 | <!-- 添加定着物弹框 --> | 107 | <!-- 添加定着物弹框 --> |
108 | <el-dialog title="新建" :visible.sync="dialogVisible" width="48%"> | 108 | <el-dialog title="新建" :visible.sync="dialogVisible" width="48%"> | ... | ... |
... | @@ -138,6 +138,10 @@ export default { | ... | @@ -138,6 +138,10 @@ export default { |
138 | geoInfo:{ | 138 | geoInfo:{ |
139 | type:Object, | 139 | type:Object, |
140 | default:null | 140 | default:null |
141 | }, | ||
142 | timeLine:{ | ||
143 | type:Number, | ||
144 | default:null | ||
141 | } | 145 | } |
142 | }, | 146 | }, |
143 | mixins:[geoUtils,featureUpdate], | 147 | mixins:[geoUtils,featureUpdate], |
... | @@ -156,6 +160,15 @@ export default { | ... | @@ -156,6 +160,15 @@ export default { |
156 | } | 160 | } |
157 | } | 161 | } |
158 | }, | 162 | }, |
163 | mounted(){ | ||
164 | |||
165 | }, | ||
166 | watch:{ | ||
167 | timeLine(newValue,oldValue){ | ||
168 | this.resultDialog = false; | ||
169 | this.txtResultDialog = false; | ||
170 | } | ||
171 | }, | ||
159 | methods:{ | 172 | methods:{ |
160 | txtFileChange(file, fileList){ | 173 | txtFileChange(file, fileList){ |
161 | var self = this; | 174 | var self = this; | ... | ... |
-
Please register or sign in to post a comment