zkl 5 سال پیش
والد
کامیت
198e2eda90
50فایلهای تغییر یافته به همراه623 افزوده شده و 212 حذف شده
  1. 1 1
      yfbch/build/utils.js
  2. 4 4
      yfbch/config/index.js
  3. 1 1
      yfbch/src/assets/style/scss/examine.scss
  4. 1 1
      yfbch/src/assets/style/scss/feedback_list.scss
  5. 15 2
      yfbch/src/assets/style/scss/insect.scss
  6. 1 1
      yfbch/src/assets/style/scss/insectset.scss
  7. 1 1
      yfbch/src/assets/style/scss/plantset.scss
  8. 21 7
      yfbch/src/assets/style/scss/secondstep.scss
  9. 6 6
      yfbch/src/components/acquiescent/acquiescent.vue
  10. 3 3
      yfbch/src/components/addData/addData.vue
  11. 6 6
      yfbch/src/components/caste/caste.vue
  12. 1 1
      yfbch/src/components/cityList/cityList.vue
  13. 1 1
      yfbch/src/components/county/county.vue
  14. 5 5
      yfbch/src/components/crop/crop.vue
  15. 6 6
      yfbch/src/components/cropType/cropType.vue
  16. 2 2
      yfbch/src/components/details/details.vue
  17. 3 1
      yfbch/src/components/discern/discern.vue
  18. 9 5
      yfbch/src/components/disease/disease.vue
  19. 4 4
      yfbch/src/components/diseaseName/diseaseName.vue
  20. 32 20
      yfbch/src/components/examine/examine.vue
  21. 1 1
      yfbch/src/components/feedback/feedback.vue
  22. 7 5
      yfbch/src/components/feedback_list/feedback_list.vue
  23. 10 6
      yfbch/src/components/injuriousInsect/injuriousInsect.vue
  24. 5 5
      yfbch/src/components/insect/insect.vue
  25. 4 4
      yfbch/src/components/insectName/insectName.vue
  26. 8 5
      yfbch/src/components/insectPlug/insectPlug.vue
  27. 5 5
      yfbch/src/components/insectType/insectType.vue
  28. 5 5
      yfbch/src/components/insectset/insectset.vue
  29. 1 1
      yfbch/src/components/inventory/inventory.vue
  30. 2 2
      yfbch/src/components/kunName/kunName.vue
  31. 3 3
      yfbch/src/components/lianxi/lianxi.vue
  32. 14 14
      yfbch/src/components/library/library.vue
  33. 14 7
      yfbch/src/components/login.vue
  34. 349 9
      yfbch/src/components/newmessage/newmessage.vue
  35. 3 3
      yfbch/src/components/particulars/particulars.vue
  36. 2 2
      yfbch/src/components/pathology/pathology.vue
  37. 9 9
      yfbch/src/components/plantPlug/plantPlug.vue
  38. 9 6
      yfbch/src/components/plantinsectset/plantinsectset.vue
  39. 3 3
      yfbch/src/components/plantset/plantset.vue
  40. 1 1
      yfbch/src/components/provinceList/provinceList.vue
  41. 13 13
      yfbch/src/components/record/record.vue
  42. 1 1
      yfbch/src/components/redact/redact.vue
  43. 15 10
      yfbch/src/components/screen_plant/screen_plant.vue
  44. 5 5
      yfbch/src/components/secondstep/secondstep.vue
  45. 1 1
      yfbch/src/components/shengList/shengList.vue
  46. 1 1
      yfbch/src/components/shiList/shiList.vue
  47. 2 2
      yfbch/src/components/statistics/statistics.vue
  48. 3 1
      yfbch/src/components/system/system.vue
  49. 3 3
      yfbch/src/components/updateHistory/updateHistory.vue
  50. 1 1
      yfbch/src/components/xianList/xianList.vue

+ 1 - 1
yfbch/build/utils.js

@@ -55,7 +55,7 @@ exports.cssLoaders = function (options) {
     if (options.extract) {
       return ExtractTextPlugin.extract({
         use: loaders,
-        // publicPath: '../../',
+        publicPath: '../../',
         fallback: 'vue-style-loader'
       })
     } else {

+ 4 - 4
yfbch/config/index.js

@@ -9,7 +9,7 @@ module.exports = {
 
     // Paths
     assetsSubDirectory: 'static',
-    assetsPublicPath: '/',
+    assetsPublicPath: './',
     proxyTable: {
       // '/': {
       //   // target: 'http://47.104.218.216:8000',  //目标接口域名-本地
@@ -37,10 +37,10 @@ module.exports = {
        '/bigservers': {
         // target: 'http://47.104.218.216:8000',  //目标接口域名
         // target: 'http://127.0.0.1:8000',  //目标接口域名
-        // target: 'http://192.168.1.11:8000',  //目标接口域名
+        // target: 'http://192.168.1.22:8000',  //目标接口域名
         // target: 'http://120.27.222.26:5555',  //目标接口域名
         target: 'https://www.yfznscd.com',  //目标接口域名
-        // target: 'http://39.104.94.153:9999',  //目标接口域名,
+        // target: 'https://39.104.94.153:9999',  //目标接口域名,
         // target: 'http://192.168.1.8:8000',  //目标接口域名,
         changeOrigin: true,  //是否跨域
         pathRewrite: {
@@ -81,7 +81,7 @@ module.exports = {
     // Paths
     assetsRoot: path.resolve(__dirname, '../dist'),
     assetsSubDirectory: 'static',
-    assetsPublicPath: '/',
+    assetsPublicPath: './',
 
     /**
      * Source Maps

+ 1 - 1
yfbch/src/assets/style/scss/examine.scss

@@ -178,7 +178,7 @@ body {
 }
 
 .content-block {
-  font-size: 45px;
+  font-size: 25px;
   letter-spacing: .5rem;
   color: #707070;
   position: absolute;

+ 1 - 1
yfbch/src/assets/style/scss/feedback_list.scss

@@ -87,7 +87,7 @@
 }
 
 .content-block {
-  font-size: 45px;
+  font-size: 25px;
   letter-spacing: .5rem;
   color: #707070;
   position: absolute;

+ 15 - 2
yfbch/src/assets/style/scss/insect.scss

@@ -109,6 +109,11 @@
   margin: -.3rem 0 0 0;
 }
 
+.insect-box .el-input .el-input__clear {
+  height: .2rem;
+  margin-top: -.08rem;
+}
+
 .insect-box .el-collapse {
   border: 0;
 }
@@ -298,16 +303,24 @@
 
 // 统计方法样式
 .insect-box .el-cascader {
-  left: 2rem;
+  left: 2.2rem;
   top: -.8rem;
 }
 
+.insect-box .el-input__prefix, .el-input__suffix {
+  width: 1rem;
+}
+
 .insect-box .el-cascader .el-input .el-input__inner {
   width: 4.5rem;
   height: 0.8rem;
   font-size: 13px;
 }
 
+.insect-box .el-input__inner {
+  margin-left: 21px;
+}
+
 .el-cascader-node__label {
   font-size: 16px;
 }
@@ -331,7 +344,7 @@
 }
 
 .insect-box .el-cascader .el-input .el-icon-arrow-down {
-  margin: 0 .2rem 0 0;
+  margin: 0 .2rem 0 .25rem;
 }
 
 //数字input框

+ 1 - 1
yfbch/src/assets/style/scss/insectset.scss

@@ -178,7 +178,7 @@ body {
 }
 
 .content-block {
-  font-size: 45px;
+  font-size: 25px;
   letter-spacing: .5rem;
   color: #707070;
   position: absolute;

+ 1 - 1
yfbch/src/assets/style/scss/plantset.scss

@@ -178,7 +178,7 @@ body {
 }
 
 .content-block {
-  font-size: 45px;
+  font-size: 25px;
   letter-spacing: .5rem;
   color: #707070;
   position: absolute;

+ 21 - 7
yfbch/src/assets/style/scss/secondstep.scss

@@ -265,16 +265,21 @@
 
 // 统计方法样式
 .secondstep-box .el-cascader {
-  left: 1.95rem;
+  left: 2.2rem;
   top: -.8rem;
 }
 
 .secondstep-box .el-cascader .el-input .el-input__inner {
-  width: 4.5rem;
+  // width: 4.5rem;
+  width: 4.8rem;
   height: 0.8rem;
   font-size: 13px;
 }
 
+.secondstep-box .el-input__inner {
+  margin-left: 21px;
+}
+
 .el-cascader-node__label {
   font-size: 15px;
 }
@@ -301,6 +306,11 @@
   // margin: 0 .2rem 0 0;
 }
 
+.secondstep-box .el-input .el-input__clear {
+  height: .2rem;
+  margin-top: -.08rem;
+}
+
 //数字input框
 .secondstep-box .secondstep-li-input {
   width: 4.8rem;
@@ -317,8 +327,8 @@
 }
 
 .secondstep-box .el-icon-circle-close:before {
-  font-size: 25px;
-  margin: .5rem 0 0 0;
+  font-size: 16px;
+  margin: .5rem 0 0 1.75rem;
 }
 
 .secondstep-box .el-upload--picture-card {
@@ -358,7 +368,7 @@
 .secondstep-box .bingji {
   position: absolute;
   left: .1rem;
-  top: .1rem;
+  top: .4rem;
 }
 
 .secondstep-box .bgji {
@@ -387,7 +397,7 @@
 .secondstep-li-img {
   position: absolute;
   left: .1rem;
-  top: .2rem;
+  top: .5rem;
   width: .5rem;
   height: .6rem;
 }
@@ -410,7 +420,7 @@
 
 //作物种类下拉框
 .secondstep-box .content.el-cascader {
-  left: 1.45rem;
+  left: 1.55rem;
 }
 
 .el-cascader-menu__empty-text {
@@ -472,3 +482,7 @@
 }
 
 .plantaddBtnA {}
+
+.secondstep-box .plantList {
+  margin: 0 0 0 1.5rem;
+}

+ 6 - 6
yfbch/src/components/acquiescent/acquiescent.vue

@@ -620,7 +620,7 @@ export default {
 
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {
@@ -654,7 +654,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "bigservers/seeuser",
+          url: "https://www.yfznscd.com/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -919,7 +919,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "bigservers/cate",
+          url: "https://www.yfznscd.com/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -1025,7 +1025,7 @@ export default {
 
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {
@@ -1125,7 +1125,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/account_photo",
+          url: "https://www.yfznscd.com/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -1162,7 +1162,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/del_account_photo",
+          url: "https://www.yfznscd.com/del_account_photo",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"

+ 3 - 3
yfbch/src/components/addData/addData.vue

@@ -152,7 +152,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/upload_photos",
+          url: "https://www.yfznscd.com/upload_photos",
           anync: true,
           data: form,
           headers: {
@@ -249,7 +249,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/make_data",
+          url: "https://www.yfznscd.com/make_data",
           data: postData
         })
         .then(res => {
@@ -293,7 +293,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/del_insect_photo",
+          url: "https://www.yfznscd.com/del_insect_photo",
           data: postData
         })
         .then(res => {

+ 6 - 6
yfbch/src/components/caste/caste.vue

@@ -185,7 +185,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/check_insect"
+        url: "https://www.yfznscd.com/check_insect"
       })
       .then(res => {
         _this.redata = res.data;
@@ -223,7 +223,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/check_insect",
+            url: "https://www.yfznscd.com/check_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -264,7 +264,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/addr_insect_type",
+            url: "https://www.yfznscd.com/addr_insect_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -327,7 +327,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/check_insect_leve",
+          url: "https://www.yfznscd.com/check_insect_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -402,7 +402,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_plant_insect",
+            url: "https://www.yfznscd.com/modify_plant_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -430,7 +430,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_insect_leve",
+            url: "https://www.yfznscd.com/modify_insect_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

+ 1 - 1
yfbch/src/components/cityList/cityList.vue

@@ -63,7 +63,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "bigservers/city",
+        url: "https://www.yfznscd.com/city",
         data: postData,
         headers: {
           "Content-Type": "application/x-www-form-urlencoded"

+ 1 - 1
yfbch/src/components/county/county.vue

@@ -63,7 +63,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "bigservers/city",
+        url: "https://www.yfznscd.com/city",
         data: postData,
         headers: {
           "Content-Type": "application/json"

+ 5 - 5
yfbch/src/components/crop/crop.vue

@@ -172,7 +172,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/check_plant"
+        url: "https://www.yfznscd.com/check_plant"
       })
       .then(res => {
         _this.redata = res.data;
@@ -240,7 +240,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/check_plant",
+            url: "https://www.yfznscd.com/check_plant",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -281,7 +281,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/addr_plant_type",
+            url: "https://www.yfznscd.com/addr_plant_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -419,7 +419,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_plant_insect",
+            url: "https://www.yfznscd.com/modify_plant_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -447,7 +447,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_insect_leve",
+            url: "https://www.yfznscd.com/modify_insect_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

+ 6 - 6
yfbch/src/components/cropType/cropType.vue

@@ -175,7 +175,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/check_plant"
+        url: "https://www.yfznscd.com/check_plant"
       })
       .then(res => {
         _this.redata = res.data;
@@ -217,7 +217,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/check_plant",
+            url: "https://www.yfznscd.com/check_plant",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -258,7 +258,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/addr_plant_type",
+            url: "https://www.yfznscd.com/addr_plant_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -331,7 +331,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/check_plant_leve",
+          url: "https://www.yfznscd.com/check_plant_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -408,7 +408,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_plant_insect",
+            url: "https://www.yfznscd.com/modify_plant_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -437,7 +437,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_insect_leve",
+            url: "https://www.yfznscd.com/modify_insect_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

+ 2 - 2
yfbch/src/components/details/details.vue

@@ -124,7 +124,7 @@ export default {
     if (localStorage.getItem("biaoshi") === "0") {
       this.$axios({
         method: "post",
-        url: "bigservers/insect_details",
+        url: "https://www.yfznscd.com/insect_details",
         data: postData,
         headers: {
           "Content-Type": "application/json"
@@ -152,7 +152,7 @@ export default {
     } else if (localStorage.getItem("biaoshi") === "1") {
       this.$axios({
         method: "post",
-        url: "bigservers/plant_details",
+        url: "https://www.yfznscd.com/plant_details",
         data: postData,
         headers: {
           "Content-Type": "application/json"

+ 3 - 1
yfbch/src/components/discern/discern.vue

@@ -104,7 +104,9 @@ export default {
       let _this = this;
       _this.$router.push("/record");
       // location.reload();
-      localStorage.setItem('biaoshi', '0') //存识别记录的下标
+      if (localStorage.getItem("biaoshi") == null) {
+        localStorage.setItem("biaoshi", 0); //存识别记录的下标
+      }
     }
   }
 };

+ 9 - 5
yfbch/src/components/disease/disease.vue

@@ -403,7 +403,7 @@ export default {
       form.append("gis", "118.279643#31.221456");
       this.$axios({
         method: "post",
-        url: "academysciences/recognizationSys/api/recognization",
+        url: "http://47.99.110.100:8080/recognizationSys/api/recognization",
         anync: true,
         data: form,
         headers: {
@@ -504,7 +504,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/plant_record",
+          url: "https://www.yfznscd.com/plant_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"
@@ -536,7 +536,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/plant_record",
+          url: "https://www.yfznscd.com/plant_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"
@@ -584,21 +584,25 @@ export default {
       z-index: 99999;
       background: #fff;
       width: 100%;
-      height: 0.8rem;
+      height: 1.2rem;
       padding: 0 0.2rem;
       box-sizing: border-box;
     }
     .cancel,
     .confirm {
-      line-height: 0.8rem;
+      line-height: 1rem;
       font-size: 0.28rem;
       background: inherit;
       border: 0;
       outline: 0;
       float: left;
+      font-size: 20px;
+      color: red;
     }
     .confirm {
       float: right;
+      font-size: 20px;
+      color: blue;
     }
     img {
       position: inherit !important;

+ 4 - 4
yfbch/src/components/diseaseName/diseaseName.vue

@@ -144,7 +144,7 @@ export default {
       .$axios({
         method: "post",
         // url: "/modify_plant_leve"
-        url: "bigservers/check_plant_leve",
+        url: "https://www.yfznscd.com/check_plant_leve",
         data: postData,
         headers: {
           "Content-Type": "application/json"
@@ -202,7 +202,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/addr_plant_type",
+            url: "https://www.yfznscd.com/addr_plant_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -286,7 +286,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/modify_plant_leve",
+          url: "https://www.yfznscd.com/modify_plant_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -322,7 +322,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_plant_leve",
+            url: "https://www.yfznscd.com/modify_plant_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

+ 32 - 20
yfbch/src/components/examine/examine.vue

@@ -298,7 +298,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/cate"
+        url: "https://www.yfznscd.com/cate"
       })
       .then(res => {
         _this.optionsA = res.data.city; //地区筛选
@@ -323,7 +323,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/seeuser",
+            url: "https://www.yfznscd.com/seeuser",
             params: {
               page: this.mescrollUp.page.num,
               pest_sort: "2"
@@ -354,7 +354,7 @@ export default {
                 }
                 this.$axios({
                   method: "get",
-                  url: "bigservers/seeuser",
+                  url: "https://www.yfznscd.com/seeuser",
                   params: {
                     page: this.mescrollUp.page.num,
                     pest_sort: "2"
@@ -406,7 +406,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/seeuser",
+            url: "https://www.yfznscd.com/seeuser",
             params: {
               page: this.mescrollUp.page.num,
               pest_sort: "1"
@@ -438,7 +438,7 @@ export default {
                 }
                 this.$axios({
                   method: "get",
-                  url: "bigservers/seeuser",
+                  url: "https://www.yfznscd.com/seeuser",
                   params: {
                     page: this.mescrollUp.page.num,
                     pest_sort: "1"
@@ -488,6 +488,7 @@ export default {
     result(e) {
       let _this = this;
       //判断当前是病害还是虫害
+      _this.selectedOptionsA = [];
       if (localStorage.getItem("examineIndex") === "0") {
         //虫害
         var postData = _this.$qs.stringify({
@@ -506,14 +507,19 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/seeuser",
+          url: "https://www.yfznscd.com/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
           }
         })
         .then(res => {
-          _this.redata = res.data;
+          if (res.data.nums == 0) {
+            _this.isShow = true;
+          } else if (res.data.nums != 0) {
+            _this.redata = res.data.date;
+            _this.isShow = false;
+          }
         })
         .catch(err => {
           console.log(err);
@@ -523,6 +529,7 @@ export default {
     resultA(e) {
       let _this = this;
       var string = e[0];
+      _this.selectedOptions = [];
       var a = string.replace(/[\u4e00-\u9fa5]/gi, "");
       //判断当前是病害还是虫害
       if (localStorage.getItem("examineIndex") === "0") {
@@ -547,14 +554,19 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/seeuser",
+          url: "https://www.yfznscd.com/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
           }
         })
         .then(res => {
-          _this.redata = res.data;
+          if (res.data.nums == 0) {
+            _this.isShow = true;
+          } else if (res.data.nums != 0) {
+            _this.isShow = false;
+            _this.redata = res.data.date;
+          }
         })
         .catch(err => {
           console.log(err);
@@ -720,7 +732,7 @@ export default {
           .then(() => {
             _this
               .$axios({
-                url: "bigservers/seeuser",
+                url: "https://www.yfznscd.com/seeuser",
                 method: "post",
                 data: postData,
                 headers: {
@@ -764,7 +776,7 @@ export default {
         //没有默认数据
         _this
           .$axios({
-            url: "bigservers/seeuser",
+            url: "https://www.yfznscd.com/seeuser",
             method: "post",
             data: postData,
             headers: {
@@ -929,14 +941,14 @@ export default {
       localStorage.setItem("examineIndex", index); //保存已录区别下标
 
       // 清空当前筛选值
-      _this.selectedOptions = '' //
-      _this.selectedOptionsA = ''
+      _this.selectedOptions = ""; //
+      _this.selectedOptionsA = "";
       //判断当前点击的是虫害还是病害
       if (index === 0) {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/seeuser?page=1&pest_sort=2"
+            url: "https://www.yfznscd.com/seeuser?page=1&pest_sort=2"
           })
           .then(res => {
             if (res.data.dat.length === 0) {
@@ -963,7 +975,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/seeuser?page=1&pest_sort=1"
+            url: "https://www.yfznscd.com/seeuser?page=1&pest_sort=1"
           })
           .then(res => {
             if (res.data.dat.length === 0) {
@@ -1034,7 +1046,7 @@ export default {
       });
       this.$axios({
         method: "post",
-        url: "bigservers/screen_time",
+        url: "https://www.yfznscd.com/screen_time",
         data: postData
       })
         .then(res => {
@@ -1061,7 +1073,7 @@ export default {
       });
       this.$axios({
         method: "post",
-        url: "bigservers/expores",
+        url: "https://www.yfznscd.com/expores",
         data: postData
       })
         .then(res => {
@@ -1071,7 +1083,7 @@ export default {
             //   "http://47.104.218:8000/" + res.data[0].file;
 
             window.location.href =
-              "http://192.168.1.22:8000/" + res.data[0].file;
+              "https://www.yfznscd.com/" + res.data[0].file;
 
             _this.shanShow = false;
             _this.checked = [];
@@ -1102,7 +1114,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/seeuser?page=1&pest_sort=2"
+            url: "https://www.yfznscd.com/seeuser?page=1&pest_sort=2"
           })
           .then(res => {
             if (res.data.dat.length === 0) {
@@ -1129,7 +1141,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/seeuser?page=1&pest_sort=1"
+            url: "https://www.yfznscd.com/seeuser?page=1&pest_sort=1"
           })
           .then(res => {
             if (res.data.dat.length === 0) {

+ 1 - 1
yfbch/src/components/feedback/feedback.vue

@@ -130,7 +130,7 @@ export default {
       })
       _this.$axios({
         method: 'post',
-        url: 'bigservers/user_pro',
+        url: 'https://www.yfznscd.com/user_pro',
         data: postData,
         headers: {
           "Content-Type": "application/json"

+ 7 - 5
yfbch/src/components/feedback_list/feedback_list.vue

@@ -55,7 +55,7 @@ export default {
     return {
       fullHeight: document.documentElement.clientHeight,
       redata: [], //后端数据
-      isShow: true, //判断是否有数据
+      isShow: false, //判断是否有数据
       FenShow: true,
       //测试
       mescroll: null, // mescroll实例对象
@@ -139,7 +139,7 @@ export default {
       let _this = this;
       this.$axios({
         method: "get",
-        url: "bigservers/check_leaving",
+        url: "https://www.yfznscd.com/check_leaving",
         params: {
           page: this.mescrollUp.page.num
         }
@@ -158,7 +158,7 @@ export default {
           if (this.mescrollUp.page.num <= this.aggregate) {
             this.$axios({
               method: "get",
-              url: "bigservers/check_leaving",
+              url: "https://www.yfznscd.com/check_leaving",
               params: {
                 page: this.mescrollUp.page.num
               }
@@ -173,11 +173,13 @@ export default {
                 this.$nextTick(() => {
                   mescroll.endSuccess(arr.length);
                 });
-                if (res.data.dat.length === 0) {
+                if (res.data.num === 0) {
                   _this.FenShow = false;
-                } else if (res.data.dat.length !== 0) {
+                  _this.isShow = false
+                } else if (res.data.num !== 0) {
                   _this.axiosShow = true;
                   _this.FenShow = true;
+                  _this.isShow = true
                 }
               })
               .catch(error => {

+ 10 - 6
yfbch/src/components/injuriousInsect/injuriousInsect.vue

@@ -347,7 +347,7 @@ export default {
       // _this
       //   .$axios({
       //     method: "post",
-      //     url: "bigservers/app_insect",
+      //     url: "https://www.yfznscd.com/app_insect",
       //     anync: true,
       //     data: form,
       //     headers: {
@@ -404,7 +404,7 @@ export default {
       form.append("gis", "118.279643#31.221456");
       this.$axios({
         method: "post",
-        url: "academysciences/recognizationSys/api/recognization",
+        url: "http://47.99.110.100:8080/recognizationSys/api/recognization",
         anync: true,
         data: form,
         headers: {
@@ -505,7 +505,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/insect_record",
+          url: "https://www.yfznscd.com/insect_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"
@@ -535,7 +535,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/insect_record",
+          url: "https://www.yfznscd.com/insect_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"
@@ -584,21 +584,25 @@ export default {
       z-index: 99999;
       background: #fff;
       width: 100%;
-      height: 0.8rem;
+      height: 1.2rem;
       padding: 0 0.2rem;
       box-sizing: border-box;
     }
     .cancel,
     .confirm {
-      line-height: 0.8rem;
+      line-height: 1rem;
       font-size: 0.28rem;
       background: inherit;
       border: 0;
       outline: 0;
       float: left;
+      font-size: 20px;
+      color: red;
     }
     .confirm {
       float: right;
+      font-size: 20px;
+      color: blue;
     }
     img {
       position: inherit !important;

+ 5 - 5
yfbch/src/components/insect/insect.vue

@@ -419,7 +419,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "bigservers/cate",
+          url: "https://www.yfznscd.com/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -609,7 +609,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/account_photo",
+          url: "https://www.yfznscd.com/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -635,7 +635,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/del_account_photo",
+          url: "https://www.yfznscd.com/del_account_photo",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -685,7 +685,7 @@ export default {
       });
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {
@@ -772,7 +772,7 @@ export default {
       }
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {

+ 4 - 4
yfbch/src/components/insectName/insectName.vue

@@ -144,7 +144,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "bigservers/check_insect_leve",
+        url: "https://www.yfznscd.com/check_insect_leve",
         data: postData,
         headers: {
           "Content-Type": "application/json"
@@ -202,7 +202,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/addr_insect_type",
+            url: "https://www.yfznscd.com/addr_insect_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -286,7 +286,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/modify_insect_leve",
+          url: "https://www.yfznscd.com/modify_insect_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -322,7 +322,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_insect_leve",
+            url: "https://www.yfznscd.com/modify_insect_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

+ 8 - 5
yfbch/src/components/insectPlug/insectPlug.vue

@@ -417,7 +417,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "bigservers/cate",
+          url: "https://www.yfznscd.com/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -497,6 +497,8 @@ export default {
           type: "warning",
           duration: 1000
         });
+      } else {
+        localStorage.setItem('maternity', _this.inputC) //生育期数据保存
       }
     },
 
@@ -607,7 +609,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/account_photo",
+          url: "https://www.yfznscd.com/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -633,7 +635,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/del_account_photo",
+          url: "https://www.yfznscd.com/del_account_photo",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -646,6 +648,7 @@ export default {
             message: "图片删除成功",
             type: "success"
           });
+          _this.add = []
           this.$refs.upload.clearFiles();
           localStorage.removeItem("add");
         })
@@ -683,7 +686,7 @@ export default {
       });
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {
@@ -770,7 +773,7 @@ export default {
       }
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {

+ 5 - 5
yfbch/src/components/insectType/insectType.vue

@@ -172,7 +172,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/check_insect"
+        url: "https://www.yfznscd.com/check_insect"
       })
       .then(res => {
         _this.redata = res.data;
@@ -233,7 +233,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/check_insect",
+            url: "https://www.yfznscd.com/check_insect",
             data: postData
           })
           .then(res => {
@@ -271,7 +271,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/addr_insect_type",
+            url: "https://www.yfznscd.com/addr_insect_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -415,7 +415,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_plant_insect",
+            url: "https://www.yfznscd.com/modify_plant_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -446,7 +446,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/modify_insect_leve",
+            url: "https://www.yfznscd.com/modify_insect_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

+ 5 - 5
yfbch/src/components/insectset/insectset.vue

@@ -214,7 +214,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/cate"
+        url: "https://www.yfznscd.com/cate"
       })
       .then(res => {
         _this.optionsA = res.data.city; //地区筛选
@@ -237,7 +237,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/seeuser",
+            url: "https://www.yfznscd.com/seeuser",
             params: {
               page: this.mescrollUp.page.num,
               pest_sort: "2"
@@ -268,7 +268,7 @@ export default {
                 }
                 this.$axios({
                   method: "get",
-                  url: "bigservers/seeuser",
+                  url: "https://www.yfznscd.com/seeuser",
                   params: {
                     page: this.mescrollUp.page.num,
                     pest_sort: "2"
@@ -318,7 +318,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/seeuser",
+            url: "https://www.yfznscd.com/seeuser",
             params: {
               page: this.mescrollUp.page.num,
               pest_sort: "1"
@@ -350,7 +350,7 @@ export default {
                 }
                 this.$axios({
                   method: "get",
-                  url: "bigservers/seeuser",
+                  url: "https://www.yfznscd.com/seeuser",
                   params: {
                     page: this.mescrollUp.page.num,
                     pest_sort: "1"

+ 1 - 1
yfbch/src/components/inventory/inventory.vue

@@ -109,7 +109,7 @@ export default {
     });
     this.$axios({
       method: "post",
-      url: "bigservers/insect_base",
+      url: "https://www.yfznscd.com/insect_base",
       data: postData,
       headers: {
         "Content-Type": "application/json"

+ 2 - 2
yfbch/src/components/kunName/kunName.vue

@@ -340,7 +340,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/addr_insect_type",
+            url: "https://www.yfznscd.com/addr_insect_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -406,7 +406,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/check_insect_leve",
+          url: "https://www.yfznscd.com/check_insect_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"

+ 3 - 3
yfbch/src/components/lianxi/lianxi.vue

@@ -348,7 +348,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/app_insect",
+          url: "https://www.yfznscd.com/app_insect",
           anync: true,
           data: form,
           headers: {
@@ -447,7 +447,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/insect_record",
+          url: "https://www.yfznscd.com/insect_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"
@@ -479,7 +479,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/insect_record",
+          url: "https://www.yfznscd.com/insect_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"

+ 14 - 14
yfbch/src/components/library/library.vue

@@ -210,7 +210,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/insect_base?page=1"
+            url: "https://www.yfznscd.com/insect_base?page=1"
           })
           .then(res => {
             if (res.data === 0) {
@@ -238,7 +238,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/insect_base?page=1"
+            url: "https://www.yfznscd.com/insect_base?page=1"
           })
           .then(res => {
             if (res.data === 0) {
@@ -267,7 +267,7 @@ export default {
       _this
         .$axios({
           method: "get",
-          url: "bigservers/plant_base?page=1"
+          url: "https://www.yfznscd.com/plant_base?page=1"
         })
         .then(res => {
           if (res.data === 0) {
@@ -317,7 +317,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "bigservers/search",
+              url: "https://www.yfznscd.com/search",
               data: postData,
               headers: {
                 "Content-Type": "application/json"
@@ -341,7 +341,7 @@ export default {
                 });
                 this.$axios({
                   method: "post",
-                  url: "bigservers/search",
+                  url: "https://www.yfznscd.com/search",
                   data: postData,
                   headers: {
                     "Content-Type": "application/json"
@@ -388,7 +388,7 @@ export default {
           //虫害
           this.$axios({
             method: "get",
-            url: "bigservers/insect_base",
+            url: "https://www.yfznscd.com/insect_base",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -407,7 +407,7 @@ export default {
               if (this.mescrollUp.page.num <= this.aggregate) {
                 this.$axios({
                   method: "get",
-                  url: "bigservers/insect_base",
+                  url: "https://www.yfznscd.com/insect_base",
                   params: {
                     page: this.mescrollUp.page.num
                   }
@@ -477,7 +477,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "bigservers/search",
+              url: "https://www.yfznscd.com/search",
               data: postData,
               headers: {
                 "Content-Type": "application/json"
@@ -502,7 +502,7 @@ export default {
                 });
                 this.$axios({
                   method: "post",
-                  url: "bigservers/search",
+                  url: "https://www.yfznscd.com/search",
                   data: postData,
                   headers: {
                     "Content-Type": "application/json"
@@ -559,7 +559,7 @@ export default {
           //病害
           this.$axios({
             method: "get",
-            url: "bigservers/plant_base",
+            url: "https://www.yfznscd.com/plant_base",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -578,7 +578,7 @@ export default {
               if (this.mescrollUp.page.num <= this.aggregate) {
                 this.$axios({
                   method: "get",
-                  url: "bigservers/plant_base",
+                  url: "https://www.yfznscd.com/plant_base",
                   params: {
                     page: this.mescrollUp.page.num
                   }
@@ -666,7 +666,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/insect_base?page=1"
+            url: "https://www.yfznscd.com/insect_base?page=1"
           })
           .then(res => {
             // this.reload();
@@ -697,7 +697,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/plant_base?page=1"
+            url: "https://www.yfznscd.com/plant_base?page=1"
           })
           .then(res => {
             if (res.data.num === 0) {
@@ -768,7 +768,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/search",
+          url: "https://www.yfznscd.com/search",
           data: postData,
           headers: {
             "Content-Type": "application/json"

+ 14 - 7
yfbch/src/components/login.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="login-box" :style="'height:' + fullHeight + 'px'">
+  <div class="login-box" :style="'height:' + fullHeight + 'px'"  v-loading="loading">
     <img src="../assets/imageOne/222.jpg" alt class />
     <div class="piece">
       <!-- title -->
@@ -116,6 +116,7 @@ export default {
   data() {
     let self = this;
     return {
+      loading: true, //加载
       ruleForm: {
         username: "",
         password: ""
@@ -158,6 +159,7 @@ export default {
       inptShow: false, //激活验证码显示登陆按钮
       inputV: "", //验证码
       iptSHow: true, //判断当前设备是否激活过
+      imeiID: '', //手机设备唯一标识
     };
   },
   components: {
@@ -191,15 +193,18 @@ export default {
   },
   created() {
     this.getLocalStorage(); //页面加载调用获取LocalStorage值
+    this.imeiID = localStorage.getItem('uuID')
+    // console.log(localStorage.getItem("uuID"))
   },
   mounted() {
     let _this = this;
+    console.log(this.imeiID)
     _this.ceshi();
     _this.get_boderHeight();
     _this
       .$axios({
         method: "get",
-        url: "bigservers/app_upgrade"
+        url: "https://www.yfznscd.com/app_upgrade"
       })
       .then(res => {
         if (res.data.app_num === "1.4") {
@@ -232,21 +237,23 @@ export default {
       //判断用户是否激活app
      var _this = this;
       let postData = this.$qs.parse({
-        imei: localStorage.getItem("uuID")
+        imei: _this.imeiID
       });
       _this.$axios({
         method: "post",
-        url: "bigservers/decide",
+        url: "https://www.yfznscd.com/decide",
         data: postData
       })
         .then(res => {
           if (res.data !== null && res.data !== 2 && res.data !== 0) {
             _this.inptShow = true;
             _this.inputV = res.data[0].cipher;
+            _this.loading = false
           } else if (res.data == 2) {
             //还未注册
             _this.inptShow = false; //登录按钮
             _this.iptSHow = true;
+            _this.loading = false
           }
         })
         .catch(error => {});
@@ -302,7 +309,7 @@ export default {
         this.iShow = true;
         this.$axios({
           method: "post",
-          url: "bigservers/app_log",
+          url: "https://www.yfznscd.com/app_log",
           data: login
         }).then(res => {
           if (res.data !== 1 && res.data !== 2) {
@@ -344,7 +351,7 @@ export default {
               _this
                 .$axios({
                   method: "get",
-                  url: "bigservers/app_user_in"
+                  url: "https://www.yfznscd.com/app_user_in"
                 })
                 .then(res => {
                   localStorage.setItem("personAxios", JSON.stringify(res.data));
@@ -433,7 +440,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/census",
+          url: "https://www.yfznscd.com/census",
           data: postData
         })
         .then(res => {

+ 349 - 9
yfbch/src/components/newmessage/newmessage.vue

@@ -4,7 +4,20 @@
     <el-header>
       <div class="grid-content bg-purple-dark">
         <el-page-header @back="goBack" title content="新建信息"></el-page-header>
-        <el-button type="primary" class="pathology-btn2" @click="judge()">完成</el-button>
+        <!-- 病害 -->
+        <el-button
+          v-show="this.plantName !== undefined && this.radio == '1'"
+          type="primary"
+          class="pathology-btn2"
+          @click="Plantjudge()"
+        >完成</el-button>
+        <!-- 虫害 -->
+        <el-button
+          v-show="this.plantName !== undefined && this.radio == '2'"
+          type="primary"
+          class="pathology-btn2"
+          @click="Insectjudge()"
+        >完成</el-button>
       </div>
     </el-header>
 
@@ -73,16 +86,15 @@
         </li>
 
         <!-- 病害第二步 -->
-        <!-- <li v-if="plantShow"> -->
         <transition name="el-fade-in-linear">
-          <li v-if="this.plantName != 'undefined' && this.radio == '1'">
+          <li v-if="this.plantName != undefined && this.radio == '1'">
             <plant></plant>
           </li>
         </transition>
 
         <!-- 虫害第二步 -->
         <transition name="el-fade-in-linear">
-          <li v-if="this.plantName != 'undefined' && this.radio == '2'">
+          <li v-if="this.plantName != undefined && this.radio == '2'">
             <insect></insect>
           </li>
         </transition>
@@ -108,7 +120,44 @@ export default {
       fullHeight: document.documentElement.clientHeight,
       show3: false,
       plantShow: false, //病害第二步
-      insectShow: false //虫害第二步
+      insectShow: false, //虫害第二步
+      btnShow: false, //右上角按钮
+
+      //病害保存值
+      plantNum: {
+        input1: localStorage.getItem("input1"),
+        input2: "0",
+        input3: localStorage.getItem("input2"),
+        input4: "0",
+        input5: localStorage.getItem("input3"),
+        input6: "0",
+        input7: localStorage.getItem("input4"),
+        input8: "0",
+        input9: localStorage.getItem("input5"),
+        input10: "0",
+        input11: localStorage.getItem("input6"),
+        input12: "0"
+      },
+
+      //虫害保存值
+      insectNum: {
+        input1: "0",
+        input2: "0",
+        input3: "0",
+        input4: "0",
+        input5: "0",
+        input6: "0",
+        input7: "0",
+        input8: "0",
+        input9: "0",
+        input10: "0",
+        input11: "0",
+        input12: "0",
+        input13: "0",
+        input14: "0",
+        input15: "0",
+        input16: "0"
+      }
     };
   },
 
@@ -134,6 +183,9 @@ export default {
         localStorage.getItem("regionID") !== null
       ) {
         localStorage.setItem("radioData", val);
+        console.log(val);
+        localStorage.removeItem("plantName"); //清除作物名称
+        _this.plantName = undefined;
       } else {
         this.$message({
           type: "warning",
@@ -163,10 +215,22 @@ export default {
   mounted() {
     this.get_boderHeight();
 
-    //判读单选框是否有选择
-    // if (localStorage.getItem('radioData') == null) {
-    //   localStorage.setItem('radioData', '1')
-    // }
+    //判断病级在本地的值是否为空
+    if (
+      localStorage.getItem("input1") == null &&
+      localStorage.getItem("input2") == null &&
+      localStorage.getItem("input3") == null &&
+      localStorage.getItem("input4") == null &&
+      localStorage.getItem("input5") == null &&
+      localStorage.getItem("input6") == null
+    ) {
+      this.plantNum.input1 = "病级1";
+      this.plantNum.input3 = "病级2";
+      this.plantNum.input5 = "病级3";
+      this.plantNum.input7 = "病级4";
+      this.plantNum.input9 = "病级5";
+      this.plantNum.input11 = "病级6";
+    }
   },
 
   created() {
@@ -221,6 +285,27 @@ export default {
       localStorage.removeItem("radioData");
       localStorage.removeItem("screenIndex"); //作物选择ID
 
+      //第二步病害
+      localStorage.removeItem("iptList"); //病虫害值
+      localStorage.removeItem("area"); //作物数量
+      localStorage.removeItem("add"); //上传图片
+      localStorage.removeItem("classify_palnt"); //病害名称
+      localStorage.removeItem("unit"); //统计方法
+      localStorage.removeItem("plantNumber"); //作物数量
+      localStorage.removeItem("pestName"); //作物选择返回的病虫害名称
+
+      //第二步虫害
+      localStorage.removeItem("newdata");
+      localStorage.removeItem("type");
+      localStorage.removeItem("textNumber");
+      localStorage.removeItem("tyNumber");
+      localStorage.removeItem("iptList");
+      localStorage.removeItem("textBNumber");
+      localStorage.removeItem("area");
+      localStorage.removeItem("tyNumber");
+      localStorage.removeItem("add"); //上传图片
+      localStorage.removeItem("pestName"); //作物选择返回的病虫害名称
+
       _this.$router.push("/home");
     },
 
@@ -291,6 +376,261 @@ export default {
         e.target.classList.add("activeA");
       }
       localStorage.setItem("danxun", "1"); //病害
+    },
+
+    //病害信息保存
+    Plantjudge() {
+      if (
+        localStorage.getItem("classify_palnt") &&
+        localStorage.getItem("maternity") &&
+        localStorage.getItem("area") &&
+        localStorage.getItem("unit") &&
+        localStorage.getItem("plantNumber") &&
+        localStorage.getItem("add")
+      ) {
+        this.baocun();
+        // this.bingji()
+      } else {
+        this.$message.error("必填项没有完成不能保存!!");
+      }
+    },
+    //保存病级值
+    bingji() {
+      let _this = this;
+      let list = localStorage.iptList; //原有值
+      if (list) {
+        var b1 = JSON.parse(list);
+        b1.push(_this.plantNum.input1 + ":" + _this.plantNum.input2);
+        b1.push(_this.plantNum.input3 + ":" + _this.plantNum.input4);
+        b1.push(_this.plantNum.input5 + ":" + _this.input6);
+        b1.push(_this.plantNum.input7 + ":" + _this.plantNum.input8);
+        b1.push(_this.plantNum.input9 + ":" + _this.plantNum.input10);
+        b1.push(_this.plantNum.input11 + ":" + _this.plantNum.input12);
+        var b2 = JSON.stringify(b1);
+      } else {
+        let adlist = [];
+        adlist.push(_this.plantNum.input1 + ":" + _this.plantNum.input2);
+        adlist.push(_this.plantNum.input3 + ":" + _this.plantNum.input4);
+        adlist.push(_this.plantNum.input5 + ":" + _this.plantNum.input6);
+        adlist.push(_this.plantNum.input7 + ":" + _this.plantNum.input8);
+        adlist.push(_this.plantNum.input9 + ":" + _this.plantNum.input10);
+        adlist.push(_this.plantNum.input11 + ":" + _this.plantNum.input12);
+
+        var b2 = JSON.stringify(adlist);
+      }
+      localStorage.setItem("iptList", b2);
+    },
+    //保存成功后删除存在本地的数据
+    delData() {
+      //第二步页面的数据
+      localStorage.removeItem("iptList"); //病虫害值
+      localStorage.removeItem("area"); //作物数量
+      localStorage.removeItem("add"); //上传图片
+      localStorage.removeItem("classify_palnt"); //病害名称
+      localStorage.removeItem("unit"); //统计方法
+      localStorage.removeItem("plantNumber"); //作物数量
+      localStorage.removeItem("maternity"); //生育期
+
+      //第一步页面数据
+      localStorage.removeItem("regionID"); //地区ID
+      localStorage.removeItem("regionName"); //地区名称
+      localStorage.removeItem("regionData"); //地区
+      localStorage.removeItem("monthID"); //月份ID
+      localStorage.removeItem("month"); //月份
+      localStorage.removeItem("screebIndex");
+      localStorage.removeItem("plantType");
+      localStorage.removeItem("plantName");
+      localStorage.removeItem("pestName");
+      localStorage.removeItem("radioData");
+      localStorage.removeItem("screenIndex");
+    },
+    //点击完成按钮给后端发送作物种类等数据
+    baocun() {
+      let _this = this;
+      _this.bingji(); //调用保存病级值
+      // 将用户修改的病级存在本地
+      localStorage.setItem("input1", _this.plantNum.input1);
+      localStorage.setItem("input2", _this.plantNum.input3);
+      localStorage.setItem("input3", _this.plantNum.input5);
+      localStorage.setItem("input4", _this.plantNum.input7);
+      localStorage.setItem("input5", _this.plantNum.input9);
+      localStorage.setItem("input6", _this.plantNum.input11);
+
+      // let postData = _this.$qs.stringify({
+      //   harm_id: localStorage.getItem("classify_palnt"), //病虫害ID
+      //   growth_stages: localStorage.getItem("maternity"), //生育期
+      //   addr_photo: localStorage.getItem("add"), //病虫害照片路径
+      //   area: localStorage.getItem("plantNumber"), //统计面积
+      //   pestname: localStorage.getItem("iptList"), //病害值
+      //   cens_method: localStorage.getItem("area") + localStorage.getItem("unit") //统计方法
+      // });
+
+      // _this
+      //   .$axios({
+      //     method: "POST",
+      //     url: "https://www.yfznscd.com/cate",
+      //     data: postData,
+      //     headers: {
+      //       "Content-Type": "application/x-www-form-urlencoded"
+      //     }
+      //   })
+      //   .then(res => {
+      //     if (res.data.code == null) {
+      //       this.$notify.error({
+      //         title: "失败",
+      //         message: "数据保存失败",
+      //         duration: 1000
+      //       });
+      //     } else if (res.data.code == 200) {
+      //       _this.$router.push("home");
+      //       this.$notify({
+      //         title: "成功",
+      //         message: "数据保存成功了",
+      //         type: "success",
+      //         duration: 1000
+      //       });
+      //       //删除存在本地的值
+      //       this.delData();
+      //     }
+      //   })
+      //   .catch(error => {
+      //     alert("请求失败");
+      //     console.log(error);
+      //   });
+    },
+
+    //虫害信息保存
+    Insectjudge() {
+      if (
+        localStorage.getItem("classify_palnt") &&
+        localStorage.getItem("maternity") &&
+        localStorage.getItem("area") &&
+        localStorage.getItem("unit") &&
+        localStorage.getItem("plantNumber") &&
+        localStorage.getItem("add")
+      ) {
+        this.binghai();
+      } else {
+        this.$message.error("必填项没有完成不能保存!!");
+      }
+    },
+    //   给后端传递病虫害值和虫害级别
+    binghai() {
+      let _this = this;
+      _this.chongji(); //调用虫害函数
+      let postData = _this.$qs.stringify({
+        harm_id: localStorage.getItem("classify_palnt"), //病虫害ID
+        // growth_stages: data, //生育期
+        growth_stages: localStorage.getItem("maternity"), //生育期
+        addr_photo: localStorage.getItem("add"), //病虫害照片路径
+        area: localStorage.getItem("plantNumber"), //统计面积
+        pestname: localStorage.getItem("iptList"), //病害值
+        cens_method: localStorage.getItem("area") + localStorage.getItem("unit") //统计方法
+      });
+
+      _this
+        .$axios({
+          method: "POST",
+          url: "https://www.yfznscd.com/cate",
+          data: postData,
+          headers: {
+            "Content-Type": "application/x-www-form-urlencoded"
+          }
+        })
+        .then(res => {
+          if (res.data.code == null) {
+            this.$notify.error({
+              title: "失败",
+              message: "数据保存失败",
+              duration: 1000
+            });
+          } else if (res.data.code == 200) {
+            _this.$router.push("home");
+            this.$notify({
+              title: "成功",
+              message: "数据保存成功了",
+              type: "success",
+              duration: 1000
+            });
+            //删除存在本地的值
+            this.delDataA();
+          }
+        })
+        .catch(error => {
+          alert("保存失败");
+          console.log(error);
+        });
+    },
+    //保存虫级值
+    chongji() {
+      let _this = this;
+      //存input框中输入的值
+      let list = localStorage.iptList; //原有值
+      if (list) {
+        var b1 = JSON.parse(list);
+        b1.push("卵" + ":" + _this.insectNum.input1);
+        b1.push("蛹" + ":" + _this.insectNum.input2);
+        b1.push("幼虫" + ":" + _this.insectNum.input3);
+        b1.push("落虫" + ":" + _this.insectNum.input4);
+        b1.push("齡雄虫1" + ":" + _this.insectNum.input5);
+        b1.push("齡雄虫2" + ":" + _this.insectNum.input6);
+        b1.push("齡雄虫3" + ":" + _this.insectNum.input7);
+        b1.push("齡雄虫4" + ":" + _this.insectNum.input8);
+        b1.push("齡雄虫5" + ":" + _this.insectNum.input9);
+        b1.push("齡雄虫6" + ":" + _this.insectNum.input10);
+        b1.push("齡雌虫1" + ":" + _this.insectNum.input11);
+        b1.push("齡雌虫2" + ":" + _this.insectNum.input12);
+        b1.push("齡雌虫3" + ":" + _this.insectNum.input13);
+        b1.push("齡雌虫4" + ":" + _this.insectNum.input14);
+        b1.push("齡雌虫5" + ":" + _this.insectNum.input15);
+        b1.push("齡雌虫6" + ":" + _this.insectNum.input16);
+
+        var b2 = JSON.stringify(b1);
+      } else {
+        let adlist = [];
+        adlist.push("卵" + ":" + _this.insectNum.input1);
+        adlist.push("蛹" + ":" + _this.insectNum.input2);
+        adlist.push("幼虫" + ":" + _this.insectNum.input3);
+        adlist.push("落虫" + ":" + _this.insectNum.input4);
+        adlist.push("齡雄虫1" + ":" + _this.insectNum.input5);
+        adlist.push("齡雄虫2" + ":" + _this.insectNum.input6);
+        adlist.push("齡雄虫3" + ":" + _this.insectNum.input7);
+        adlist.push("齡雄虫4" + ":" + _this.insectNum.input8);
+        adlist.push("齡雄虫5" + ":" + _this.insectNum.input9);
+        adlist.push("齡雄虫6" + ":" + _this.insectNum.input10);
+        adlist.push("齡雌虫1" + ":" + _this.insectNum.input11);
+        adlist.push("齡雌虫2" + ":" + _this.insectNum.input12);
+        adlist.push("齡雌虫3" + ":" + _this.insectNum.input13);
+        adlist.push("齡雌虫4" + ":" + _this.insectNum.input14);
+        adlist.push("齡雌虫5" + ":" + _this.insectNum.input15);
+        adlist.push("齡雌虫6" + ":" + _this.insectNum.input16);
+        var b2 = JSON.stringify(adlist);
+      }
+      localStorage.setItem("iptList", b2);
+    },
+    //保存完成后删除本地数据
+    delDataA() {
+      //第二步页面的数据
+      localStorage.removeItem("iptList"); //病虫害值
+      localStorage.removeItem("area"); //作物数量
+      localStorage.removeItem("add"); //上传图片
+      localStorage.removeItem("classify_palnt"); //病害名称
+      localStorage.removeItem("unit"); //统计方法
+      localStorage.removeItem("plantNumber"); //作物数量
+      localStorage.removeItem("maternity"); //生育期
+
+      //第一步页面数据
+      localStorage.removeItem("regionID"); //地区ID
+      localStorage.removeItem("regionName"); //地区名称
+      localStorage.removeItem("regionData"); //地区
+      localStorage.removeItem("monthID"); //月份ID
+      localStorage.removeItem("month"); //月份
+      localStorage.removeItem("screebIndex");
+      localStorage.removeItem("plantType");
+      localStorage.removeItem("plantName");
+      localStorage.removeItem("pestName");
+      localStorage.removeItem("radioData");
+      localStorage.removeItem("screenIndex");
     }
   }
 };

+ 3 - 3
yfbch/src/components/particulars/particulars.vue

@@ -163,7 +163,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "bigservers/seeuser",
+        url: "https://www.yfznscd.com/seeuser",
         data: postData,
         headers: {
           "Content-Type": "application/x-www-form-urlencoded"
@@ -248,7 +248,7 @@ export default {
           .then(() => {
             _this
               .$axios({
-                url: "bigservers/seeuser",
+                url: "https://www.yfznscd.com/seeuser",
                 method: "post",
                 data: postData,
                 headers: {
@@ -289,7 +289,7 @@ export default {
       } else {
         _this
           .$axios({
-            url: "bigservers/seeuser",
+            url: "https://www.yfznscd.com/seeuser",
             method: "post",
             data: postData,
             headers: {

+ 2 - 2
yfbch/src/components/pathology/pathology.vue

@@ -253,7 +253,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/addr_plant_type",
+            url: "https://www.yfznscd.com/addr_plant_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -319,7 +319,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/check_plant_leve",
+          url: "https://www.yfznscd.com/check_plant_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"

+ 9 - 9
yfbch/src/components/plantPlug/plantPlug.vue

@@ -129,7 +129,7 @@
         <!-- 病级 -->
         <li class="secondstep-li bgji">
           <img src="../../assets/imageOne/plant.png" alt class="secondstep-li-img" />
-          <div class="secondstep-li-div">
+          <div class="secondstep-li-div plantList">
             <div class="secondstep-li-text bingji">病级</div>
             <div class="secondstep-div-box">
               <div class="secondstep-text-box">
@@ -436,7 +436,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "bigservers/cate",
+          url: "https://www.yfznscd.com/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -526,7 +526,7 @@ export default {
       });
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {
@@ -580,6 +580,8 @@ export default {
           type: "warning",
           duration: 1000
         });
+      } else {
+        localStorage.setItem('maternity', _this.inputB) //生育期数据保存
       }
     },
 
@@ -622,7 +624,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/account_photo",
+          url: "https://www.yfznscd.com/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -630,14 +632,11 @@ export default {
           }
         })
         .then(res => {
-          // _this.add = res.data.src
           _this.add.push(res.data.src);
           _this.btnShow = true;
           localStorage.setItem("add", _this.add);
-          // console.log(_this.add);
         })
         .catch(error => {
-          // console.log("222");
           console.log(err);
         });
     },
@@ -651,7 +650,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/del_account_photo",
+          url: "https://www.yfznscd.com/del_account_photo",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -664,6 +663,7 @@ export default {
             message: "图片删除成功",
             type: "success"
           });
+          _this.add = []
           this.$refs.upload.clearFiles();
           localStorage.removeItem("add");
           // const timer = setInterval(() => {
@@ -725,7 +725,7 @@ export default {
       }
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {

+ 9 - 6
yfbch/src/components/plantinsectset/plantinsectset.vue

@@ -184,7 +184,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "bigservers/seeuser",
+        url: "https://www.yfznscd.com/seeuser",
         data: postData,
         headers: {
           "Content-Type": "application/x-www-form-urlencoded"
@@ -279,7 +279,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/seeuser",
+          url: "https://www.yfznscd.com/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -289,7 +289,8 @@ export default {
           if (res.data.code == 200) {
             this.$message({
               type: "success",
-              message: "设置默认成功!"
+              message: "设置默认成功!",
+              duration: 1500,
             });
             if (
               localStorage.getItem("plantsetID") !== null &&
@@ -311,14 +312,16 @@ export default {
           } else {
             this.$message({
               type: "error",
-              message: "设置默认失败!"
+              message: "设置默认失败!",
+              duration: 1500,
             });
           }
         })
         .catch(error => {
           this.$message({
             type: "error",
-            message: "设置默认失败!"
+            message: "设置默认失败!",
+            duration: 1500,
           });
         });
     },
@@ -348,7 +351,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/seeuser",
+          url: "https://www.yfznscd.com/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"

+ 3 - 3
yfbch/src/components/plantset/plantset.vue

@@ -191,7 +191,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/cate"
+        url: "https://www.yfznscd.com/cate"
       })
       .then(res => {
         _this.optionsA = res.data.city; //地区筛选
@@ -213,7 +213,7 @@ export default {
       _this
         .$axios({
           method: "get",
-          url: "bigservers/seeuser",
+          url: "https://www.yfznscd.com/seeuser",
           params: {
             page: this.mescrollUp.page.num,
             pest_sort: "1"
@@ -244,7 +244,7 @@ export default {
               }
               this.$axios({
                 method: "get",
-                url: "bigservers/seeuser",
+                url: "https://www.yfznscd.com/seeuser",
                 params: {
                   page: this.mescrollUp.page.num,
                   pest_sort: "1"

+ 1 - 1
yfbch/src/components/provinceList/provinceList.vue

@@ -60,7 +60,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/city"
+        url: "https://www.yfznscd.com/city"
       })
       .then(res => {
         _this.items = res.data;

+ 13 - 13
yfbch/src/components/record/record.vue

@@ -183,11 +183,11 @@ export default {
     // 上拉回调 page = {num:1, size:10}; num:当前页 ,默认从1开始; size:每页数据条数,默认10
     upCallback(page, mescroll) {
       let _this = this;
-      if (localStorage.getItem("biaoshi") === "0") {
+      if (localStorage.getItem("biaoshi") == "0") {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/insect_details",
+            url: "https://www.yfznscd.com/insect_details",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -211,7 +211,7 @@ export default {
               }
               this.$axios({
                 method: "get",
-                url: "bigservers/insect_details",
+                url: "https://www.yfznscd.com/insect_details",
                 params: {
                   page: this.mescrollUp.page.num
                 }
@@ -252,11 +252,11 @@ export default {
           .catch(error => {
             mescroll.endErr();
           });
-      } else if (localStorage.getItem("biaoshi") === "1") {
+      } else if (localStorage.getItem("biaoshi") == "1") {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/plant_details",
+            url: "https://www.yfznscd.com/plant_details",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -280,7 +280,7 @@ export default {
               }
               this.$axios({
                 method: "get",
-                url: "bigservers/plant_details",
+                url: "https://www.yfznscd.com/plant_details",
                 params: {
                   page: this.mescrollUp.page.num
                 }
@@ -339,7 +339,7 @@ export default {
       let _this = this;
       localStorage.removeItem("recordRet");
       localStorage.removeItem("recordID");
-      localStorage.removeItem("biaoshi");
+      // localStorage.removeItem("biaoshi");
       localStorage.removeItem("recordPage");
       _this.$router.push("/discern");
     },
@@ -378,7 +378,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/insect_details?page=1"
+            url: "https://www.yfznscd.com/insect_details?page=1"
           })
           .then(res => {
             // this.reload();
@@ -409,7 +409,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/plant_details?page=1"
+            url: "https://www.yfznscd.com/plant_details?page=1"
           })
           .then(res => {
             if (res.data.num === 0) {
@@ -455,7 +455,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/del_record",
+          url: "https://www.yfznscd.com/del_record",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -496,7 +496,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/insect_details?page=1"
+            url: "https://www.yfznscd.com/insect_details?page=1"
           })
           .then(res => {
             // this.reload();
@@ -526,7 +526,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/plant_details?page=1"
+            url: "https://www.yfznscd.com/plant_details?page=1"
           })
           .then(res => {
             if (res.data === 0) {
@@ -558,7 +558,7 @@ export default {
     let _this = this;
     _this.get_boderHeight();
     //判断如果biaoshi为空的话就存否则不存
-    if (localStorage.getItem("biaoshi") === null) {
+    if (localStorage.getItem("biaoshi") == null) {
       localStorage.setItem("biaoshi", 0);
     }
   }

+ 1 - 1
yfbch/src/components/redact/redact.vue

@@ -209,7 +209,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "bigservers/seeuser",
+        url: "https://www.yfznscd.com/seeuser",
         data: postData,
         headers: {
           "Content-Type": "application/json"

+ 15 - 10
yfbch/src/components/screen_plant/screen_plant.vue

@@ -232,25 +232,28 @@ export default {
         //新建
         var postData = _this.$qs.stringify({
           ret: "harm",
-          month_id: localStorage.getItem("monthID")
+          month_id: localStorage.getItem("monthID"),
+          pest_sort: localStorage.getItem("radioData")
         });
       } else if (localStorage.getItem("yfenID") !== null) {
         if (localStorage.getItem("yuefenID") !== null) {
           var postData = _this.$qs.stringify({
             ret: "harm",
-            month_id: localStorage.getItem("yuefenID")
+            month_id: localStorage.getItem("yuefenID"),
+            pest_sort: localStorage.getItem('radioData')
           });
         } else {
           var postData = _this.$qs.stringify({
             ret: "harm",
-            month_id: localStorage.getItem("yfenID")
+            month_id: localStorage.getItem("yfenID"),
+            pest_sort: localStorage.getItem('radioData')
           });
         }
       }
       _this
         .$axios({
           method: "post",
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -364,7 +367,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/city",
+            url: "https://www.yfznscd.com/city",
             data: postData,
             headers: {
               "Content-Type": "application/x-www-form-urlencoded"
@@ -409,7 +412,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/city",
+            url: "https://www.yfznscd.com/city",
             data: postData,
             headers: {
               "Content-Type": "application/x-www-form-urlencoded"
@@ -453,7 +456,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "bigservers/city",
+            url: "https://www.yfznscd.com/city",
             data: postData,
             headers: {
               "Content-Type": "application/x-www-form-urlencoded"
@@ -528,7 +531,7 @@ export default {
       ) {
         _this
           .$axios({
-            url: "bigservers/city",
+            url: "https://www.yfznscd.com/city",
             method: "post",
             data: postData,
             headers: {
@@ -556,11 +559,13 @@ export default {
               //判断是跳转到病害还是虫害
               if (localStorage.getItem("radioData") == "1") {
                 //病害
-                _this.$router.push("/secondstep");
+                // _this.$router.push("/secondstep");
+                _this.$router.push('/newmessage')
                 location.reload();
               } else if (localStorage.getItem("radioData") == "2") {
                 //虫害
-                _this.$router.push("/insect");
+                // _this.$router.push("/insect");
+                _this.$router.push('/newmessage')
                 location.reload();
               }
             }

+ 5 - 5
yfbch/src/components/secondstep/secondstep.vue

@@ -438,7 +438,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "bigservers/cate",
+          url: "https://www.yfznscd.com/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -528,7 +528,7 @@ export default {
       });
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {
@@ -624,7 +624,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/account_photo",
+          url: "https://www.yfznscd.com/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -653,7 +653,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/del_account_photo",
+          url: "https://www.yfznscd.com/del_account_photo",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -727,7 +727,7 @@ export default {
       }
       _this
         .$axios({
-          url: "bigservers/city",
+          url: "https://www.yfznscd.com/city",
           method: "post",
           data: postData,
           headers: {

+ 1 - 1
yfbch/src/components/shengList/shengList.vue

@@ -52,7 +52,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "bigservers/city"
+        url: "https://www.yfznscd.com/city"
       })
       .then(res => {
         _this.items = res.data;

+ 1 - 1
yfbch/src/components/shiList/shiList.vue

@@ -69,7 +69,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "bigservers/city",
+        url: "https://www.yfznscd.com/city",
         data: postData,
         headers: {
           "Content-Type": "application/x-www-form-urlencoded"

+ 2 - 2
yfbch/src/components/statistics/statistics.vue

@@ -257,7 +257,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/count_plant",
+          url: "https://www.yfznscd.com/count_plant",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -341,7 +341,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/count_plant",
+          url: "https://www.yfznscd.com/count_plant",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"

+ 3 - 1
yfbch/src/components/system/system.vue

@@ -201,6 +201,7 @@ export default {
     //点击进入作物种类设置页面
     crop() {
       let _this = this;
+      localStorage.removeItem('insectsetID')
       _this.$router.push("/plantset");
 
       // _this.$router.push("/crop");
@@ -209,6 +210,7 @@ export default {
     //点击进入昆虫种类设置
     kunchong() {
       let _this = this;
+      localStorage.removeItem('plantsetID')
       _this.$router.push("/insectset");
 
       // _this.$router.push("/insectType");
@@ -265,7 +267,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "bigservers/app_upgrade"
+            url: "https://www.yfznscd.com/app_upgrade"
           })
           .then(res => {
             if (res.data.app_num > "1.4") {

+ 3 - 3
yfbch/src/components/updateHistory/updateHistory.vue

@@ -158,7 +158,7 @@ export default {
     upCallback(page, mescroll) {
       this.$axios({
         method: "get",
-        url: "bigservers/app_all",
+        url: "https://www.yfznscd.com/app_all",
         params: {
           page: this.mescrollUp.page.num
         }
@@ -182,7 +182,7 @@ export default {
             }
             this.$axios({
               method: "get",
-              url: "bigservers/app_all",
+              url: "https://www.yfznscd.com/app_all",
               params: {
                 page: this.mescrollUp.page.num
               }
@@ -254,7 +254,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "bigservers/app_all",
+          url: "https://www.yfznscd.com/app_all",
           data: postData
         })
         .then(res => {

+ 1 - 1
yfbch/src/components/xianList/xianList.vue

@@ -73,7 +73,7 @@ export default {
       })
       _this.$axios({
         method: 'post',
-        url: 'bigservers/city',
+        url: 'https://www.yfznscd.com/city',
         data: postaData,
         headers: {
           'Content-Type': "application/json"