From 937ab15b5e62f83b2f190ece0134c4dffb784be5 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 18 Jul 2022 08:52:28 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/zhny_web
---
src/views/wel/index.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue
index 6d21d9e..63df300 100644
--- a/src/views/wel/index.vue
+++ b/src/views/wel/index.vue
@@ -224,7 +224,7 @@
//本年农事操作记录
getFarmingCount() {
var that = this;
- getFarmingCount(this.userInfo.dept_id).then((res) => {
+ getFarmingCount(this.userInfo.farmId).then((res) => {
that.total = res.data.data;
// that.total = 0;
if (that.total > 0) {
@@ -235,13 +235,13 @@
//本年农事操作记录,分组统计
getFarmingStatis() {
var that = this;
- getFarmingStatis(this.userInfo.dept_id).then((res) => {
+ getFarmingStatis(this.userInfo.farmId).then((res) => {
that.farmingList = res.data.data;
});
},
StockCount() {
var that = this;
- StockCount(this.userInfo.dept_id).then((res) => {
+ StockCount(this.userInfo.farmId).then((res) => {
that.stockList= res.data.data;
console.log(that.stockList)
});
@@ -249,7 +249,7 @@
//地块使用率统计
getCountStatis() {
var that = this;
- selectCount(this.userInfo.dept_id).then((res) => {
+ selectCount(this.userInfo.farmId).then((res) => {
var data = res.data.data;
that.landInfo = data;
});
@@ -263,7 +263,7 @@
status: 1,
};
params['tenantId'] = this.userInfo.tenant_id;
- params['deptId'] = this.userInfo.dept_id;
+ params['farmId'] = this.userInfo.farmId;
getList(1, 10, Object.assign(params)).then((res) => {
const data = res.data.data;
this.farmPlanList = data.records;
--
Gitblit v1.9.3