Commit 2a1017920d8be9317184e952eed2ed4acaa80d94

Authored by 2c2c2c
1 parent 3a599365

投放点

1.点击投放点名称可以查看详情;
2.新增区域和街道查询和社区
trash-ui/src/views/unit/dropPointInfo/index.vue
@@ -677,7 +677,7 @@ export default { @@ -677,7 +677,7 @@ export default {
677 this.queryParams.street = null; 677 this.queryParams.street = null;
678 this.queryParams.community = null; 678 this.queryParams.community = null;
679 } 679 }
680 - if(this.form.district!=null){ 680 + if(this.form.id==null&&this.form.district!=null){
681 this.form.street = null; 681 this.form.street = null;
682 this.form.community = null; 682 this.form.community = null;
683 } 683 }
@@ -691,13 +691,16 @@ export default { @@ -691,13 +691,16 @@ export default {
691 if(this.queryParams.street!=null){ 691 if(this.queryParams.street!=null){
692 this.queryParams.community = null; 692 this.queryParams.community = null;
693 } 693 }
694 - if(this.form.street!=null){ 694 + if(this.form.id==null&&this.form.street!=null){
695 this.form.community = null; 695 this.form.community = null;
696 } 696 }
697 this.communitys = []; 697 this.communitys = [];
698 this.form.dropPointNo = null; 698 this.form.dropPointNo = null;
699 // this.form.community = null; 699 // this.form.community = null;
  700 + console.log(this.streets)
  701 + console.log(regionName)
700 const region = this.streets.find(region => region.code === regionName); 702 const region = this.streets.find(region => region.code === regionName);
  703 + console.log(region)
701 this.communitys = region.items; 704 this.communitys = region.items;
702 }, 705 },
703 /** 下载文件 */ 706 /** 下载文件 */
@@ -766,6 +769,7 @@ export default { @@ -766,6 +769,7 @@ export default {
766 handleAdd() { 769 handleAdd() {
767 this.reset(); 770 this.reset();
768 this.open = true; 771 this.open = true;
  772 + this.dropTime = true;
769 this.title = "添加投放点信息管理"; 773 this.title = "添加投放点信息管理";
770 }, 774 },
771 /** 修改按钮操作 */ 775 /** 修改按钮操作 */