智慧农业后台管理页面
guoshilong
2022-09-02 bcb6af1fa7973001a43bb08a2d7a8f96e81bc5e5
src/views/mapPattern/index.vue
@@ -199,7 +199,7 @@
    },
    computed: {
        ...mapGetters(["userInfo","$farmId"]),
        ...mapGetters(["userInfo", "$farmId"]),
    },
    created () {
        //获取种样品列表
@@ -255,8 +255,11 @@
                    }
                })
                this.plotPlantBreed = arr
                arr.forEach((e)=>{
                    e.area = e.area.toFixed(3)
                })
                this.plotPlantBreed = arr
                this.loading = false
@@ -300,6 +303,7 @@
        },
        //返回上一页
        goToBack () {
            this.$EventBus.$emit("getFarmObj", this.farmInfo);
            this.$router.go(-1)
        },
        //获取农场信息
@@ -352,7 +356,6 @@
            }
            if (this.$refs.showCP) {
                console.log(1)
                let isSelf = this.$refs.showCP.contains(e.target)
                if (!isSelf) {
                    this.plotClickNum = 0