Browse Source

页面调整

shuhao 7 months ago
parent
commit
cc59c03f8d
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/api/modules/farm.js

+ 4 - 3
src/api/modules/farm.js

@@ -150,7 +150,7 @@ module.exports = {
         },mockFun:function(p){
             return new Promise((resolve, reject) => {
                 //柏桥
-                if(p.farmId === 90888 || p.farmId === 26196){
+                if(p.farmId === 90888){
                     resolve({
                         "code": 0,
                         "msg": "",
@@ -198,7 +198,7 @@ module.exports = {
                                 },
                                 "type_id": 12,
                                 "meta_info": {
-                                    "avg_age": 10,
+                                    "avg_age": 5,
                                     "prescription_info": {
                                         "statement": "近期农事复核良好",
                                         "key": "农事"
@@ -238,11 +238,12 @@ module.exports = {
                                 "production_info": {
                                     "production": 1244,
                                     "cihua_ratio": 75,
+                                    "zuoguo_ratio": 75,
                                     "quality": 96.47
                                 },
                                 "type_id": 0,
                                 "meta_info": {
-                                    "avg_age": "--",
+                                    "avg_age": 5,
                                     "prescription_info": {
                                         "statement": "近期农事复核良好",
                                         "key": "农事"