智慧农业后台管理页面
src/views/farmplant/processlist.vue
@@ -62,15 +62,19 @@
                column: [
                    {
                        label: "品种",
                        prop: "strainId",
                        prop: "kind",
                        search: true,
                        hide: true,
                        display: false,
                        type: "select",
                        dicUrl: '/api/strain/strain-tree',
                        dicUrl: '/api/strain/kind-tree',
                        dicFormatter:(res)=>{
                          this.kindList = res.data
                          return res.data
                        },
                        props: {
                            label: "strainName",
                            value: "id"
                          label: "kindName",
                          value: "id"
                        }
                    },
                    {
@@ -111,7 +115,7 @@
                this.onLoad(this.page)
            }
        }
    },
    },
    methods: {
        currentChange (currentPage) {
            this.page.currentPage = currentPage
@@ -169,4 +173,4 @@
<style>
</style>
</style>