|  | @@ -137,6 +137,7 @@
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |  import yxyzPop from "./yxyzPop.vue"; ///mapview/range
 | 
	
		
			
				|  |  |  import range from "@/components/mapview/range.vue"; ///mapview/range
 | 
	
		
			
				|  |  | +import { Message } from "element-ui";
 | 
	
		
			
				|  |  |  import {
 | 
	
		
			
				|  |  |    GetDldmTree,
 | 
	
		
			
				|  |  |    GetSjyList,
 | 
	
	
		
			
				|  | @@ -340,8 +341,13 @@ export default {
 | 
	
		
			
				|  |  |        var _temp = this.$refs.range.getRange();
 | 
	
		
			
				|  |  |        // this.ruleForm.xzfw = _temp.xzfw;
 | 
	
		
			
				|  |  |        this.ruleForm.xzmj = _temp.xzmj;
 | 
	
		
			
				|  |  | +      console.log(this.ruleForm, "0---");
 | 
	
		
			
				|  |  |        this.$refs.ruleForm.validate((valid) => {
 | 
	
		
			
				|  |  |          if (valid) {
 | 
	
		
			
				|  |  | +          if (!this.$refs.range.fileDataID) {
 | 
	
		
			
				|  |  | +            Message.warning("请绘制或导入选址范围!");
 | 
	
		
			
				|  |  | +            return;
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |            let obj = {
 | 
	
		
			
				|  |  |              xzmj: Number(this.ruleForm.xzmj),
 | 
	
		
			
				|  |  |              xmmc: this.ruleForm.xmmc,
 | 
	
	
		
			
				|  | @@ -379,6 +385,7 @@ export default {
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |            console.log("error submit!!");
 | 
	
		
			
				|  |  | +          loading.close();
 | 
	
		
			
				|  |  |            return false;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        });
 |