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 677 this.queryParams.street = null;
678 678 this.queryParams.community = null;
679 679 }
680   - if(this.form.district!=null){
  680 + if(this.form.id==null&&this.form.district!=null){
681 681 this.form.street = null;
682 682 this.form.community = null;
683 683 }
... ... @@ -691,13 +691,16 @@ export default {
691 691 if(this.queryParams.street!=null){
692 692 this.queryParams.community = null;
693 693 }
694   - if(this.form.street!=null){
  694 + if(this.form.id==null&&this.form.street!=null){
695 695 this.form.community = null;
696 696 }
697 697 this.communitys = [];
698 698 this.form.dropPointNo = null;
699 699 // this.form.community = null;
  700 + console.log(this.streets)
  701 + console.log(regionName)
700 702 const region = this.streets.find(region => region.code === regionName);
  703 + console.log(region)
701 704 this.communitys = region.items;
702 705 },
703 706 /** 下载文件 */
... ... @@ -766,6 +769,7 @@ export default {
766 769 handleAdd() {
767 770 this.reset();
768 771 this.open = true;
  772 + this.dropTime = true;
769 773 this.title = "添加投放点信息管理";
770 774 },
771 775 /** 修改按钮操作 */
... ...