智慧农业后台管理页面
guoshilong
2022-09-06 e9724c99dae805661fc96fd99515c550e81c0a39
修复切换农场后查询条件还是别的农场的页码
5 files modified
10 ■■■■ changed files
src/views/land/cs.vue 1 ●●●● patch | view | raw | blame | history
src/views/land/landAdd.vue 4 ●●● patch | view | raw | blame | history
src/views/land/landUpdate.vue 2 ●●● patch | view | raw | blame | history
src/views/stock/stockmanage.vue 1 ●●●● patch | view | raw | blame | history
src/views/wel/land.vue 2 ●●● patch | view | raw | blame | history
src/views/land/cs.vue
@@ -144,6 +144,7 @@
        '$farmId': {
            handler (newName, oldName) {
                // this.farm.id = newName
                this.page.currentPage = 1
                //地块页面
                setTimeout(() => {
                    this.onLoad()
src/views/land/landAdd.vue
@@ -4,7 +4,7 @@
    :modal-append-to-body="false"
    :append-to-body="true"
    :close-on-click-modal="false"
    width="80%"
    width="60%"
    :visible.sync="visible"
    top="10vh"
  >
@@ -299,6 +299,8 @@
          that.$emit("refreshOnLoad");
          that.$refs.form.resetFields();
          that.form.landUnit = "0";
          console.log(that.$parent,11)
          that.$parent.onLoad()
          that.visible = false;
          this.$message({
            type: "success",
src/views/land/landUpdate.vue
@@ -4,7 +4,7 @@
    :modal-append-to-body="false"
    :append-to-body="true"
    :close-on-click-modal="false"
    width="80%"
    width="60%"
    top="10vh"
    :visible.sync="visible"
  >
src/views/stock/stockmanage.vue
@@ -734,6 +734,7 @@
  watch: {
      '$farmId':{
      handler (newName, oldName) {
          this.page.currentPage = 1
          this.farm.id = newName
          //地块页面
          this.onLoad(this.page)
src/views/wel/land.vue
@@ -4,7 +4,7 @@
    :modal-append-to-body="false"
    :append-to-body="true"
    :close-on-click-modal="false"
    width="80%"
    width="60%"
    top="10vh"
    :visible.sync="visible"
  >