From eba5a57c3f1228b00c27985bdd78ce07ccc68df6 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Sat, 15 Oct 2022 11:44:03 +0800
Subject: [PATCH] 限制输入字符数;修改农场详情显示
---
src/views/wel/index.vue | 26 +-------------------------
1 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue
index 6a05abb..fac1af1 100644
--- a/src/views/wel/index.vue
+++ b/src/views/wel/index.vue
@@ -254,7 +254,7 @@
...mapGetters(["userInfo","$farmId"]),
},
created () {
-
+
this.$EventBus.$on('getFarmObj', (farmObj)=>{
// this.$nextTick(() => {
// this.$EventBus.$emit("setFarmId", farmObj.id);
@@ -414,30 +414,6 @@
this.$refs.over.initData(data,this.farm.id)
})
},
- //结束种植
- // over (id) {
- // var that = this
- // this.$confirm("确定结束当前种植的农产品?", {
- // confirmButtonText: "确定",
- // cancelButtonText: "取消",
- // type: "warning",
- // })
- // .then(() => {
- // const data = {
- // id: id,
- // status: 2,
- // }
- // return update(data)
- // })
- // .then(() => {
- // that.onLoad()
- // this.$message({
- // type: "success",
- // message: "操作成功!",
- // })
- // })
- // },
- //圈地
land () {
this.landVisible = true
this.$nextTick(() => {
--
Gitblit v1.9.3