zkl 5 éve
szülő
commit
4c81888feb
52 módosított fájl, 277 hozzáadás és 260 törlés
  1. 1 1
      yfbch/build/utils.js
  2. 4 2
      yfbch/config/index.js
  3. BIN
      yfbch/src/assets/assets/1596694980(1).jpg
  4. BIN
      yfbch/src/assets/assets/555.jpg
  5. BIN
      yfbch/src/assets/assets/5554.jpg
  6. 41 25
      yfbch/src/components/acquiescent/acquiescent.vue
  7. 3 3
      yfbch/src/components/addData/addData.vue
  8. 6 6
      yfbch/src/components/caste/caste.vue
  9. 1 1
      yfbch/src/components/cityList/cityList.vue
  10. 1 1
      yfbch/src/components/county/county.vue
  11. 5 5
      yfbch/src/components/crop/crop.vue
  12. 6 6
      yfbch/src/components/cropType/cropType.vue
  13. 3 3
      yfbch/src/components/details/details.vue
  14. 3 3
      yfbch/src/components/disease/disease.vue
  15. 4 4
      yfbch/src/components/diseaseName/diseaseName.vue
  16. 17 17
      yfbch/src/components/examine/examine.vue
  17. 1 1
      yfbch/src/components/feedback/feedback.vue
  18. 2 2
      yfbch/src/components/feedback_list/feedback_list.vue
  19. 0 1
      yfbch/src/components/headStyle/headStyle.vue
  20. 2 2
      yfbch/src/components/home/home.vue
  21. 4 4
      yfbch/src/components/injuriousInsect/injuriousInsect.vue
  22. 5 5
      yfbch/src/components/insect/insect.vue
  23. 4 4
      yfbch/src/components/insectName/insectName.vue
  24. 6 6
      yfbch/src/components/insectPlug/insectPlug.vue
  25. 5 5
      yfbch/src/components/insectType/insectType.vue
  26. 5 5
      yfbch/src/components/insectset/insectset.vue
  27. 1 1
      yfbch/src/components/inventory/inventory.vue
  28. 2 2
      yfbch/src/components/kunName/kunName.vue
  29. 14 14
      yfbch/src/components/lianxi/lianxi.vue
  30. 1 1
      yfbch/src/components/lianxi/lianxiD.vue
  31. 14 14
      yfbch/src/components/library/library.vue
  32. 54 54
      yfbch/src/components/login.vue
  33. 2 2
      yfbch/src/components/newmessage/newmessage.vue
  34. 6 5
      yfbch/src/components/particulars/particulars.vue
  35. 2 2
      yfbch/src/components/pathology/pathology.vue
  36. 6 6
      yfbch/src/components/plantPlug/plantPlug.vue
  37. 6 5
      yfbch/src/components/plantinsectset/plantinsectset.vue
  38. 3 3
      yfbch/src/components/plantset/plantset.vue
  39. 1 1
      yfbch/src/components/provinceList/provinceList.vue
  40. 11 11
      yfbch/src/components/record/record.vue
  41. 1 1
      yfbch/src/components/redact/redact.vue
  42. 5 5
      yfbch/src/components/screen_plant/screen_plant.vue
  43. 5 5
      yfbch/src/components/secondstep/secondstep.vue
  44. 1 1
      yfbch/src/components/shengList/shengList.vue
  45. 1 3
      yfbch/src/components/shiList/shiList.vue
  46. 2 2
      yfbch/src/components/statistics/statistics.vue
  47. 5 5
      yfbch/src/components/system/system.vue
  48. 3 3
      yfbch/src/components/updateHistory/updateHistory.vue
  49. 1 1
      yfbch/src/components/xianList/xianList.vue
  50. 1 1
      yfbch/src/main.js
  51. BIN
      yfbch/static/image/1.jpg
  52. BIN
      yfbch/static/image/11.jpg

+ 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 - 2
yfbch/config/index.js

@@ -9,7 +9,7 @@ module.exports = {
 
     // Paths
     assetsSubDirectory: 'static',
-    assetsPublicPath: './',
+    assetsPublicPath: '/',
     proxyTable: {
       // '/': {
       //   // target: 'http://47.104.218.216:8000',  //目标接口域名-本地
@@ -39,6 +39,8 @@ module.exports = {
         // target: 'http://127.0.0.1:8000',  //目标接口域名
         // target: 'http://192.168.1.22:8000',  //目标接口域名
         target: 'http://120.27.222.26:80',  //目标接口域名
+        // target: 'http://192.168.1.9:8000',  //目标接口域名
+        // target: 'http://192.168.1.6:8000',  //目标接口域名
         // target: 'https://www.yfznscd.com',  //目标接口域名
         // target: 'https://39.104.94.153:9999',  //目标接口域名,
         // target: 'http://192.168.1.8:8000',  //目标接口域名,
@@ -81,7 +83,7 @@ module.exports = {
     // Paths
     assetsRoot: path.resolve(__dirname, '../dist'),
     assetsSubDirectory: 'static',
-    assetsPublicPath: './',
+    assetsPublicPath: '/',
 
     /**
      * Source Maps

BIN
yfbch/src/assets/assets/1596694980(1).jpg


BIN
yfbch/src/assets/assets/555.jpg


BIN
yfbch/src/assets/assets/5554.jpg


+ 41 - 25
yfbch/src/components/acquiescent/acquiescent.vue

@@ -152,7 +152,10 @@
           <img src="../../assets/imageOne/number.png" alt class="acquiescent-li-imgone dandu1" />
           <div class="acquiescent-li-div">
             <div>
-              <div class="acquiescent-li-divone shuliang">统计数量</div>
+              <div class="acquiescent-li-divone shuliang">
+                统计数量
+                <span class="must">*</span>
+              </div>
             </div>
             <!-- 测试 -->
             <div class="acquiescent-li-input">
@@ -187,7 +190,7 @@
                 preview="1"
                 v-for="(item, index) in imageList"
                 :key="index"
-                v-lazy=" 'http://120.27.222.26:80/' + item"
+                v-lazy=" 'bigservers/' + item"
                 class="acquiescent-li-picture"
                 alt
               />
@@ -395,7 +398,6 @@
       width="7rem"
       :before-close="handleClose"
     >
-      <!-- <span>如是否添加{{this.inputPlant}}</span> -->
       <el-input
         class="inputStyleedit"
         type="text"
@@ -495,7 +497,7 @@ export default {
       dialogVisible: false,
       add: [],
       btnShow: true, //删除按钮显示隐藏
-      imgLimit: 3, //限制上传图片张数
+      imgLimit: 2, //限制上传图片张数
       optionsB: [],
       selectedOptionsB: "",
       //虫级
@@ -643,7 +645,7 @@ export default {
 
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/city",
           method: "post",
           data: postData,
           headers: {
@@ -677,7 +679,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "http://120.27.222.26:80/seeuser",
+          url: "bigservers/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -689,14 +691,20 @@ export default {
             _this.inputB = res.data[0].growth_stages; //生育期
             // _this.value.push(res.data[0].cens_method); //统计方法
             _this.inputA = res.data[0].area; //作物数量
-            _this.imageList = res.data[0].addr_photo; //上传图片
             localStorage.setItem("diquID", res.data[0].city_id);
 
             //动态设置上传图片张数限制
-            if (res.data[0].addr_photo !== null) {
+            if (res.data[0].addr_photo !== "null") {
               var nums = res.data[0].addr_photo.length;
+              nums = parseInt(nums)
               this.imgLimit = this.imgLimit - nums;
+              _this.imageList = res.data[0].addr_photo; //上传图片
+              
               localStorage.setItem("add", res.data[0].addr_photo); //存上传的图片
+              _this.btnShow = true
+            } else {
+              this.imgLimit = 3
+              _this.btnShow = false
             }
 
             //判断当前是虫级还是病级
@@ -916,6 +924,12 @@ export default {
       //判断是新建还是编辑
       if (localStorage.getItem("defaultID") !== null) {
         //编辑
+        if (_this.imageList.length != 0) {
+          var imgdata = localStorage.getItem('add')
+          _this.imageList.push(imgdata)
+          localStorage.setItem('add', _this.imageList)
+        }
+
         var postData = _this.$qs.stringify({
           harm_id: localStorage.getItem("defaultHarmID"), //病虫害ID
           growth_stages: _this.inputB, //生育期
@@ -941,10 +955,11 @@ export default {
             localStorage.getItem("area") + localStorage.getItem("unit") //统计方法
         });
       }
+      console.log(localStorage.getItem('add'))
       _this
         .$axios({
           method: "POST",
-          url: "http://120.27.222.26:80/cate",
+          url: "bigservers/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -1048,7 +1063,7 @@ export default {
 
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/city",
           method: "post",
           data: postData,
           headers: {
@@ -1141,14 +1156,12 @@ export default {
     },
     handleHttpRequest(file) {
       let _this = this;
-      // console.log(file.file);
-      // console.log(file);
       let form = new FormData();
       form.append("file", file.file);
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/account_photo",
+          url: "bigservers/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -1159,15 +1172,16 @@ export default {
           _this.add.push(res.data.src);
           _this.btnShow = true;
           //判断当前add图片key是否有值
-          if (localStorage.getItem("add") !== null) {
-            var a = localStorage.getItem("add");
-            var arr = [];
-            arr.push(a);
-            arr.push(_this.add[0]);
-            console.log(arr);
-            localStorage.setItem("add", arr);
-            console.log(localStorage.getItem("add"));
-          }
+          // if (localStorage.getItem("add") !== null) {
+          //   var a = localStorage.getItem("add");
+          //   var arr = [];
+          //   arr.push(a);
+          //   arr.push(_this.add[0]);
+          //   console.log(arr);
+          //   localStorage.setItem("add", arr);
+          //   console.log(localStorage.getItem("add"));
+          // }
+          localStorage.setItem("add", _this.add);
         })
         .catch(error => {
           console.log(err);
@@ -1178,14 +1192,15 @@ export default {
     delBtn() {
       let _this = this;
       var imgA = localStorage.getItem("add");
-      console.log(imgA);
+      var id = _this.redata.id
       let postData = _this.$qs.stringify({
-        pic_list: imgA
+        pic_list: imgA,
+        id: id
       });
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/del_account_photo",
+          url: "bigservers/del_account_photo",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -1201,6 +1216,7 @@ export default {
             _this.imgShow = false;
             localStorage.removeItem("add");
             this.$refs.upload.clearFiles();
+            this.imageList = []
           } else {
             this.$notify.error({
               title: "失败",

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

@@ -190,7 +190,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/upload_photos",
+          url: "bigservers/upload_photos",
           anync: true,
           data: form,
           headers: {
@@ -287,7 +287,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/make_data",
+          url: "bigservers/make_data",
           data: postData
         })
         .then(res => {
@@ -331,7 +331,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/del_insect_photo",
+          url: "bigservers/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: "http://120.27.222.26:80/check_insect"
+        url: "bigservers/check_insect"
       })
       .then(res => {
         _this.redata = res.data;
@@ -223,7 +223,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/check_insect",
+            url: "bigservers/check_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -264,7 +264,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/addr_insect_type",
+            url: "bigservers/addr_insect_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -327,7 +327,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/check_insect_leve",
+          url: "bigservers/check_insect_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -402,7 +402,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_plant_insect",
+            url: "bigservers/modify_plant_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -430,7 +430,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_insect_leve",
+            url: "bigservers/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: "http://120.27.222.26:80/city",
+        url: "bigservers/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: "http://120.27.222.26:80/city",
+        url: "bigservers/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: "http://120.27.222.26:80/check_plant"
+        url: "bigservers/check_plant"
       })
       .then(res => {
         _this.redata = res.data;
@@ -240,7 +240,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/check_plant",
+            url: "bigservers/check_plant",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -281,7 +281,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/addr_plant_type",
+            url: "bigservers/addr_plant_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -419,7 +419,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_plant_insect",
+            url: "bigservers/modify_plant_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -447,7 +447,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_insect_leve",
+            url: "bigservers/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: "http://120.27.222.26:80/check_plant"
+        url: "bigservers/check_plant"
       })
       .then(res => {
         _this.redata = res.data;
@@ -217,7 +217,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/check_plant",
+            url: "bigservers/check_plant",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -258,7 +258,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/addr_plant_type",
+            url: "bigservers/addr_plant_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -331,7 +331,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/check_plant_leve",
+          url: "bigservers/check_plant_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -408,7 +408,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_plant_insect",
+            url: "bigservers/modify_plant_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -437,7 +437,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_insect_leve",
+            url: "bigservers/modify_insect_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

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

@@ -12,7 +12,7 @@
       <div class="details_box_main_tupian">
         <!-- <img
           preview="1"
-          v-lazy="this.redata.img_urls === null || this.redata.img_urls === '' ? 'http://120.27.222.26:80/' + this.redata.img :  this.redata.img_urls"
+          v-lazy="this.redata.img_urls === null || this.redata.img_urls === '' ? 'bigservers/' + this.redata.img :  this.redata.img_urls"
           alt
           class="details_box_main_tupian_img"
         /> -->
@@ -132,7 +132,7 @@ export default {
     if (localStorage.getItem("biaoshi") === "0") {
       this.$axios({
         method: "post",
-        url: "http://120.27.222.26:80/insect_details",
+        url: "bigservers/insect_details",
         data: postData,
         headers: {
           "Content-Type": "application/json"
@@ -160,7 +160,7 @@ export default {
     } else if (localStorage.getItem("biaoshi") === "1") {
       this.$axios({
         method: "post",
-        url: "http://120.27.222.26:80/plant_details",
+        url: "bigservers/plant_details",
         data: postData,
         headers: {
           "Content-Type": "application/json"

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

@@ -406,7 +406,7 @@ export default {
       form.append("gis", "118.279643#31.221456");
       this.$axios({
         method: "post",
-        url: "http://47.99.110.100:8080/recognizationSys/api/recognization",
+        url: "academysciences/recognizationSys/api/recognization",
         anync: true,
         data: form,
         headers: {
@@ -507,7 +507,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/plant_record",
+          url: "bigservers/plant_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"
@@ -539,7 +539,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/plant_record",
+          url: "bigservers/plant_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"

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

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

+ 17 - 17
yfbch/src/components/examine/examine.vue

@@ -314,7 +314,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/seeuser",
+            url: "bigservers/seeuser",
             params: {
               page: this.mescrollUp.page.num,
               pest_sort: "2"
@@ -355,7 +355,7 @@ export default {
                 }
                 this.$axios({
                   method: "get",
-                  url: "http://120.27.222.26:80/seeuser",
+                  url: "bigservers/seeuser",
                   params: {
                     page: this.mescrollUp.page.num,
                     pest_sort: "2"
@@ -367,12 +367,12 @@ export default {
                     if (page.num === 1) this.redata = [];
                     // 把请求到的数据添加到列表
                     this.redata = this.redata.concat(arr);
-                    this.redata = this.redata.concat(arr);
                     for (var i = 0; i < this.redata.length; i++) {
                       if (this.redata[i].defa == "1") {
                         localStorage.setItem("defaultID", this.redata[i].id);
                       }
                     }
+                    console.log(this.redata)
                     // 数据渲染成功后,隐藏下拉刷新的状态
                     this.$nextTick(() => {
                       mescroll.endSuccess(arr.length, hasNext);
@@ -413,7 +413,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/seeuser",
+            url: "bigservers/seeuser",
             params: {
               page: this.mescrollUp.page.num,
               pest_sort: "1"
@@ -454,7 +454,7 @@ export default {
                 }
                 this.$axios({
                   method: "get",
-                  url: "http://120.27.222.26:80/seeuser",
+                  url: "bigservers/seeuser",
                   params: {
                     page: this.mescrollUp.page.num,
                     pest_sort: "1"
@@ -519,7 +519,7 @@ export default {
       _this
         .$axios({
           method: "get",
-          url: "http://120.27.222.26:80/cate",
+          url: "bigservers/cate",
           params: {
             pest_sort: pest_sort
           }
@@ -557,7 +557,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/seeuser",
+          url: "bigservers/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -604,7 +604,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/seeuser",
+          url: "bigservers/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -783,7 +783,7 @@ export default {
           .then(() => {
             _this
               .$axios({
-                url: "http://120.27.222.26:80/seeuser",
+                url: "bigservers/seeuser",
                 method: "post",
                 data: postData,
                 headers: {
@@ -839,7 +839,7 @@ export default {
         //没有默认数据
         _this
           .$axios({
-            url: "http://120.27.222.26:80/seeuser",
+            url: "bigservers/seeuser",
             method: "post",
             data: postData,
             headers: {
@@ -921,7 +921,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/seeuser?page=1&pest_sort=2"
+            url: "bigservers/seeuser?page=1&pest_sort=2"
           })
           .then(res => {
             if (res.data.dat.length === 0) {
@@ -948,7 +948,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/seeuser?page=1&pest_sort=1"
+            url: "bigservers/seeuser?page=1&pest_sort=1"
           })
           .then(res => {
             if (res.data.dat.length === 0) {
@@ -1019,7 +1019,7 @@ export default {
       });
       this.$axios({
         method: "post",
-        url: "http://120.27.222.26:80/screen_time",
+        url: "bigservers/screen_time",
         data: postData
       })
         .then(res => {
@@ -1048,7 +1048,7 @@ export default {
       });
       this.$axios({
         method: "post",
-        url: "http://120.27.222.26:80/expores",
+        url: "bigservers/expores",
         data: postData
       })
         .then(res => {
@@ -1057,7 +1057,7 @@ export default {
             // window.location.href =
             //   "http://47.104.218:8000/" + res.data[0].file;
 
-            window.location.href = "http://120.27.222.26:80/" + res.data[0].file;
+            window.location.href = "bigservers/" + res.data[0].file;
 
             _this.shanShow = false;
             _this.checked = [];
@@ -1088,7 +1088,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/seeuser?page=1&pest_sort=2"
+            url: "bigservers/seeuser?page=1&pest_sort=2"
           })
           .then(res => {
             if (res.data.dat.length === 0) {
@@ -1115,7 +1115,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/seeuser?page=1&pest_sort=1"
+            url: "bigservers/seeuser?page=1&pest_sort=1"
           })
           .then(res => {
             if (res.data.dat.length === 0) {

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

@@ -131,7 +131,7 @@ export default {
       })
       _this.$axios({
         method: 'post',
-        url: 'http://120.27.222.26:80/user_pro',
+        url: 'bigservers/user_pro',
         data: postData,
         headers: {
           "Content-Type": "application/json"

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

@@ -139,7 +139,7 @@ export default {
       let _this = this;
       this.$axios({
         method: "get",
-        url: "http://120.27.222.26:80/check_leaving",
+        url: "bigservers/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: "http://120.27.222.26:80/check_leaving",
+              url: "bigservers/check_leaving",
               params: {
                 page: this.mescrollUp.page.num
               }

+ 0 - 1
yfbch/src/components/headStyle/headStyle.vue

@@ -25,7 +25,6 @@ export default {
   //方法集合
   methods: {
     goBack() {
-      alert("哈哈哈成功了");
     }
   },
   //生命周期 - 创建完成(可以访问当前this实例)

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

@@ -10,8 +10,8 @@
     <div class="carousel">
       <div class="block">
         <span class="demonstration"></span>
-        <img src="../../assets/imageOne/555.jpg" alt class="home-box_image" />
-        <!-- <img src="../../assets/assets/555.jpg" alt class="home-box_image" /> -->
+        <!-- <img src="../../assets/imageOne/555.jpg" alt class="home-box_image" /> -->
+        <img src="../../assets/assets/555.jpg" alt class="home-box_image" />
       </div>
     </div>
 

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

@@ -350,7 +350,7 @@ export default {
       // _this
       //   .$axios({
       //     method: "post",
-      //     url: "http://120.27.222.26:80/app_insect",
+      //     url: "bigservers/app_insect",
       //     anync: true,
       //     data: form,
       //     headers: {
@@ -407,7 +407,7 @@ export default {
       form.append("gis", "118.279643#31.221456");
       this.$axios({
         method: "post",
-        url: "http://47.99.110.100:8080/recognizationSys/api/recognization",
+        url: "academysciences/recognizationSys/api/recognization",
         anync: true,
         data: form,
         headers: {
@@ -508,7 +508,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/insect_record",
+          url: "bigservers/insect_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"
@@ -538,7 +538,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/insect_record",
+          url: "bigservers/insect_record",
           data: form,
           headers: {
             "Content-Type": "multipart/form-data"

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

@@ -419,7 +419,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "http://120.27.222.26:80/cate",
+          url: "bigservers/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -609,7 +609,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/account_photo",
+          url: "bigservers/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -635,7 +635,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/del_account_photo",
+          url: "bigservers/del_account_photo",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -685,7 +685,7 @@ export default {
       });
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/city",
           method: "post",
           data: postData,
           headers: {
@@ -772,7 +772,7 @@ export default {
       }
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/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: "http://120.27.222.26:80/check_insect_leve",
+        url: "bigservers/check_insect_leve",
         data: postData,
         headers: {
           "Content-Type": "application/json"
@@ -202,7 +202,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/addr_insect_type",
+            url: "bigservers/addr_insect_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -286,7 +286,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/modify_insect_leve",
+          url: "bigservers/modify_insect_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -322,7 +322,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_insect_leve",
+            url: "bigservers/modify_insect_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

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

@@ -319,7 +319,7 @@ export default {
       dialogVisible: false,
       add: [],
       btnShow: false, //删除按钮显示隐藏
-      imgLimit: 3, //限制上传图片张数
+      imgLimit: 2, //限制上传图片张数
       //三级联动
       props: {
         value: "sort",
@@ -440,7 +440,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "http://120.27.222.26:80/cate",
+          url: "bigservers/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -637,7 +637,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/account_photo",
+          url: "bigservers/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -666,7 +666,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/del_account_photo",
+            url: "bigservers/del_account_photo",
             data: postData,
             headers: {
               "Content-Type": "application/x-www-form-urlencoded"
@@ -723,7 +723,7 @@ export default {
       });
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/city",
           method: "post",
           data: postData,
           headers: {
@@ -810,7 +810,7 @@ export default {
       }
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/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: "http://120.27.222.26:80/check_insect"
+        url: "bigservers/check_insect"
       })
       .then(res => {
         _this.redata = res.data;
@@ -233,7 +233,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/check_insect",
+            url: "bigservers/check_insect",
             data: postData
           })
           .then(res => {
@@ -271,7 +271,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/addr_insect_type",
+            url: "bigservers/addr_insect_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -415,7 +415,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_plant_insect",
+            url: "bigservers/modify_plant_insect",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -446,7 +446,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/modify_insect_leve",
+            url: "bigservers/modify_insect_leve",
             data: postData,
             headers: {
               "Content-Type": "application/json"

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

@@ -220,7 +220,7 @@ export default {
     _this
       .$axios({
         method: "get",
-        url: "http://120.27.222.26:80/cate"
+        url: "bigservers/cate"
       })
       .then(res => {
         _this.optionsA = res.data.city; //地区筛选
@@ -243,7 +243,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/seeuser",
+            url: "bigservers/seeuser",
             params: {
               page: this.mescrollUp.page.num,
               pest_sort: "2"
@@ -283,7 +283,7 @@ export default {
                 }
                 this.$axios({
                   method: "get",
-                  url: "http://120.27.222.26:80/seeuser",
+                  url: "bigservers/seeuser",
                   params: {
                     page: this.mescrollUp.page.num,
                     pest_sort: "2"
@@ -337,7 +337,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/seeuser",
+            url: "bigservers/seeuser",
             params: {
               page: this.mescrollUp.page.num,
               pest_sort: "1"
@@ -378,7 +378,7 @@ export default {
                 }
                 this.$axios({
                   method: "get",
-                  url: "http://120.27.222.26:80/seeuser",
+                  url: "bigservers/seeuser",
                   params: {
                     page: this.mescrollUp.page.num,
                     pest_sort: "1"

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

@@ -113,7 +113,7 @@ export default {
     });
     this.$axios({
       method: "post",
-      url: "http://120.27.222.26:80/insect_base",
+      url: "bigservers/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: "http://120.27.222.26:80/addr_insect_type",
+            url: "bigservers/addr_insect_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -406,7 +406,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/check_insect_leve",
+          url: "bigservers/check_insect_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"

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

@@ -221,7 +221,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_base?page=1"
+            url: "bigservers/insect_base?page=1"
           })
           .then(res => {
             if (res.data === 0) {
@@ -249,7 +249,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_base?page=1"
+            url: "bigservers/insect_base?page=1"
           })
           .then(res => {
             if (res.data === 0) {
@@ -278,7 +278,7 @@ export default {
       _this
         .$axios({
           method: "get",
-          url: "http://120.27.222.26:80/plant_base?page=1"
+          url: "bigservers/plant_base?page=1"
         })
         .then(res => {
           if (res.data === 0) {
@@ -328,7 +328,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "http://120.27.222.26:80/search",
+              url: "bigservers/search",
               data: postData,
               headers: {
                 "Content-Type": "application/json"
@@ -352,7 +352,7 @@ export default {
                 });
                 this.$axios({
                   method: "post",
-                  url: "http://120.27.222.26:80/search",
+                  url: "bigservers/search",
                   data: postData,
                   headers: {
                     "Content-Type": "application/json"
@@ -399,7 +399,7 @@ export default {
           //虫害
           this.$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_base",
+            url: "bigservers/insect_base",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -418,7 +418,7 @@ export default {
               if (this.mescrollUp.page.num <= this.aggregate) {
                 this.$axios({
                   method: "get",
-                  url: "http://120.27.222.26:80/insect_base",
+                  url: "bigservers/insect_base",
                   params: {
                     page: this.mescrollUp.page.num
                   }
@@ -488,7 +488,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "http://120.27.222.26:80/search",
+              url: "bigservers/search",
               data: postData,
               headers: {
                 "Content-Type": "application/json"
@@ -513,7 +513,7 @@ export default {
                 });
                 this.$axios({
                   method: "post",
-                  url: "http://120.27.222.26:80/search",
+                  url: "bigservers/search",
                   data: postData,
                   headers: {
                     "Content-Type": "application/json"
@@ -570,7 +570,7 @@ export default {
           //病害
           this.$axios({
             method: "get",
-            url: "http://120.27.222.26:80/plant_base",
+            url: "bigservers/plant_base",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -589,7 +589,7 @@ export default {
               if (this.mescrollUp.page.num <= this.aggregate) {
                 this.$axios({
                   method: "get",
-                  url: "http://120.27.222.26:80/plant_base",
+                  url: "bigservers/plant_base",
                   params: {
                     page: this.mescrollUp.page.num
                   }
@@ -671,7 +671,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_base?page=1"
+            url: "bigservers/insect_base?page=1"
           })
           .then(res => {
             // this.reload();
@@ -702,7 +702,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/plant_base?page=1"
+            url: "bigservers/plant_base?page=1"
           })
           .then(res => {
             if (res.data.num === 0) {
@@ -773,7 +773,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/search",
+          url: "bigservers/search",
           data: postData,
           headers: {
             "Content-Type": "application/json"

+ 1 - 1
yfbch/src/components/lianxi/lianxiD.vue

@@ -437,7 +437,7 @@ export default {
         data: postData
       })
         .then(res => {
-          window.location.href = "http://120.27.222.26:80/" + res.data[0].file;
+          window.location.href = "bigservers/" + res.data[0].file;
         })
         .catch(err => {
           this.$notify({

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

@@ -218,7 +218,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_base?page=1"
+            url: "bigservers/insect_base?page=1"
           })
           .then(res => {
             if (res.data === 0) {
@@ -246,7 +246,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_base?page=1"
+            url: "bigservers/insect_base?page=1"
           })
           .then(res => {
             if (res.data === 0) {
@@ -275,7 +275,7 @@ export default {
       _this
         .$axios({
           method: "get",
-          url: "http://120.27.222.26:80/plant_base?page=1"
+          url: "bigservers/plant_base?page=1"
         })
         .then(res => {
           if (res.data === 0) {
@@ -325,7 +325,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "http://120.27.222.26:80/search",
+              url: "bigservers/search",
               data: postData,
               headers: {
                 "Content-Type": "application/json"
@@ -349,7 +349,7 @@ export default {
                 });
                 this.$axios({
                   method: "post",
-                  url: "http://120.27.222.26:80/search",
+                  url: "bigservers/search",
                   data: postData,
                   headers: {
                     "Content-Type": "application/json"
@@ -396,7 +396,7 @@ export default {
           //虫害
           this.$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_base",
+            url: "bigservers/insect_base",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -415,7 +415,7 @@ export default {
               if (this.mescrollUp.page.num <= this.aggregate) {
                 this.$axios({
                   method: "get",
-                  url: "http://120.27.222.26:80/insect_base",
+                  url: "bigservers/insect_base",
                   params: {
                     page: this.mescrollUp.page.num
                   }
@@ -485,7 +485,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "http://120.27.222.26:80/search",
+              url: "bigservers/search",
               data: postData,
               headers: {
                 "Content-Type": "application/json"
@@ -510,7 +510,7 @@ export default {
                 });
                 this.$axios({
                   method: "post",
-                  url: "http://120.27.222.26:80/search",
+                  url: "bigservers/search",
                   data: postData,
                   headers: {
                     "Content-Type": "application/json"
@@ -567,7 +567,7 @@ export default {
           //病害
           this.$axios({
             method: "get",
-            url: "http://120.27.222.26:80/plant_base",
+            url: "bigservers/plant_base",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -586,7 +586,7 @@ export default {
               if (this.mescrollUp.page.num <= this.aggregate) {
                 this.$axios({
                   method: "get",
-                  url: "http://120.27.222.26:80/plant_base",
+                  url: "bigservers/plant_base",
                   params: {
                     page: this.mescrollUp.page.num
                   }
@@ -675,7 +675,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_base?page=1"
+            url: "bigservers/insect_base?page=1"
           })
           .then(res => {
             // this.reload();
@@ -706,7 +706,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/plant_base?page=1"
+            url: "bigservers/plant_base?page=1"
           })
           .then(res => {
             if (res.data.num === 0) {
@@ -777,7 +777,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/search",
+          url: "bigservers/search",
           data: postData,
           headers: {
             "Content-Type": "application/json"

+ 54 - 54
yfbch/src/components/login.vue

@@ -4,8 +4,8 @@
     <div class="piece">
       <!-- title -->
       <div class="title">
-        <div class="title-text">病虫测报数据采集系统</div>
-        <!-- <div class="title-text">田间病虫害发生信息移动采集设备</div> -->
+        <!-- <div class="title-text">病虫测报数据采集系统</div> -->
+        <div class="title-text">虫害识别系统</div>
       </div>
 
       <!-- input -->
@@ -196,12 +196,12 @@ export default {
       }
     },
 
-    //监听账号
-    "ruleForm.username"(val) {
-      this.$nextTick(() => {
-        this.ruleForm.username = filterInput(val);
-      });
-    },
+    // //监听账号
+    // "ruleForm.username"(val) {
+    //   this.$nextTick(() => {
+    //     this.ruleForm.username = filterInput(val);
+    //   });
+    // },
 
     //监听密码
     "ruleForm.password"(val) {
@@ -218,26 +218,26 @@ export default {
     _this.get_boderHeight();
     _this.ceshi();
 
-    _this
-      .$axios({
-        method: "get",
-        url: "http://120.27.222.26:80/app_upgrade"
-      })
-      .then(res => {
-        if (res.data.app_num === "1.1.7") {
-        } else if (res.data.app_num > "1.1.7") {
-          this.$message({
-            message: "检测到有新版本",
-            type: "success",
-            duration: 1000
-          });
-          _this.dialogVisible = true;
-          localStorage.setItem("redataName", res.data.app_name);
-          _this.redataName = res.data.app_name;
-          console.log(res.data.app_name);
-        }
-      })
-      .catch(error => {});
+    // _this
+    //   .$axios({
+    //     method: "get",
+    //     url: "bigservers/app_upgrade"
+    //   })
+    //   .then(res => {
+    //     if (res.data.app_num === "1.1.7") {
+    //     } else if (res.data.app_num > "1.1.7") {
+    //       this.$message({
+    //         message: "检测到有新版本",
+    //         type: "success",
+    //         duration: 1000
+    //       });
+    //       _this.dialogVisible = true;
+    //       localStorage.setItem("redataName", res.data.app_name);
+    //       _this.redataName = res.data.app_name;
+    //       console.log(res.data.app_name);
+    //     }
+    //   })
+    //   .catch(error => {});
   },
   methods: {
     //动态获取浏览器高度
@@ -263,7 +263,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/decide",
+          url: "bigservers/decide",
           data: postData
         })
         .then(res => {
@@ -281,7 +281,7 @@ export default {
             _this.loading = false;
             console.log("需要填写验证码");
           } else if (localStorage.getItem("uuID") == null) {
-            this.$alert("获取手机信息失败,请重启软件", "提示", {
+            this.$alert("获取设备信息失败,请重启软件", "提示", {
               confirmButtonText: "确定",
               callback: action => {
                 var webview = plus.webview.currentWebview(); //获取当前页面的
@@ -346,7 +346,7 @@ export default {
           this.iShow = true;
           this.$axios({
             method: "post",
-            url: "http://120.27.222.26:80/app_log",
+            url: "bigservers/app_log",
             data: login
           }).then(res => {
             if (res.data !== 1 && res.data !== 2) {
@@ -388,7 +388,7 @@ export default {
                 _this
                   .$axios({
                     method: "get",
-                    url: "http://120.27.222.26:80/app_user_in"
+                    url: "bigservers/app_user_in"
                   })
                   .then(res => {
                     localStorage.setItem(
@@ -461,7 +461,7 @@ export default {
     newApp() {
       // console.log(this.redataName);
       // window.location.href =
-      //   "http://120.27.222.26:80/app_file/" + this.redataName;
+      //   "bigservers/app_file/" + this.redataName;
       // this.scheduleShow = true;
       // const timer = setInterval(() => {
       //   this.percentage += 10;
@@ -469,26 +469,26 @@ export default {
       //     this.percentage = 100;
       //   }
       // }, 4000);
-      var wait = plus.nativeUI.showWaiting("下载更新中,请勿关闭");
-      //创建一个下载任务
-      var dtask = plus.downloader.createDownload(
-        "http://120.27.222.26:80/app_file/" + this.redataName,
-        {
-          method: "GET"
-        },
-        function(d, status) {
-          if (status == 200) {
-            console.log("Download success: " + d.filename);
-            plus.runtime.install(d.filename); // 安装下载的apk文件
-          } else {
-            alert("更新失败");
-            //						plus.runtime.install('../H5B2852C7_0925104810.apk'); // 安装下载的apk文件
-          }
-          wait.close();
-        }
-      );
-      //开始下载
-      dtask.start();
+      // var wait = plus.nativeUI.showWaiting("下载更新中,请勿关闭");
+      // //创建一个下载任务
+      // var dtask = plus.downloader.createDownload(
+      //   "bigservers/app_file/" + this.redataName,
+      //   {
+      //     method: "GET"
+      //   },
+      //   function(d, status) {
+      //     if (status == 200) {
+      //       console.log("Download success: " + d.filename);
+      //       plus.runtime.install(d.filename); // 安装下载的apk文件
+      //     } else {
+      //       alert("更新失败");
+      //       //						plus.runtime.install('../H5B2852C7_0925104810.apk'); // 安装下载的apk文件
+      //     }
+      //     wait.close();
+      //   }
+      // );
+      // //开始下载
+      // dtask.start();
     },
 
     //关闭app
@@ -511,7 +511,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/census",
+            url: "bigservers/census",
             data: postData
           })
           .then(res => {

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

@@ -498,7 +498,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "http://120.27.222.26:80/cate",
+          url: "bigservers/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -576,7 +576,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "http://120.27.222.26:80/cate",
+          url: "bigservers/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"

+ 6 - 5
yfbch/src/components/particulars/particulars.vue

@@ -18,7 +18,7 @@
         <span class="demonstration"></span>
         <el-carousel trigger="click" height="5.5rem">
           <el-carousel-item v-for="item in this.imgList" :key="item">
-            <img preview="1" v-lazy=" 'http://120.27.222.26:80/' + item" alt class="img_box_img" />
+            <img preview="1" v-lazy=" 'bigservers/' + item" alt class="img_box_img" />
           </el-carousel-item>
         </el-carousel>
       </div>
@@ -118,7 +118,8 @@
           </li>
 
           <!-- 病害级别 -->
-          <li class="particulars-ul-li li-one" v-if="errorShow">
+          <!-- <li class="particulars-ul-li li-one" v-if="errorShow"> -->
+          <li class="particulars-ul-li" v-if="errorShow">
             <img src="../../assets/imageOne/34.png" alt class="particulars-ul-li-img fangkuai" />
             <el-collapse v-model="activeName" accordion>
               <el-collapse-item title="病虫害值" name="4">
@@ -163,7 +164,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "http://120.27.222.26:80/seeuser",
+        url: "bigservers/seeuser",
         data: postData,
         headers: {
           "Content-Type": "application/x-www-form-urlencoded"
@@ -249,7 +250,7 @@ export default {
           .then(() => {
             _this
               .$axios({
-                url: "http://120.27.222.26:80/seeuser",
+                url: "bigservers/seeuser",
                 method: "post",
                 data: postData,
                 headers: {
@@ -291,7 +292,7 @@ export default {
       } else {
         _this
           .$axios({
-            url: "http://120.27.222.26:80/seeuser",
+            url: "bigservers/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: "http://120.27.222.26:80/addr_plant_type",
+            url: "bigservers/addr_plant_type",
             data: postData,
             headers: {
               "Content-Type": "application/json"
@@ -319,7 +319,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/check_plant_leve",
+          url: "bigservers/check_plant_leve",
           data: postData,
           headers: {
             "Content-Type": "application/json"

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

@@ -304,7 +304,7 @@ export default {
       dialogVisible: false,
       add: [],
       btnShow: false, //删除按钮显示隐藏
-      imgLimit: 3, //限制上传图片张数
+      imgLimit: 2, //限制上传图片张数
       optionsB: [],
       selectedOptionsB: ""
     };
@@ -445,7 +445,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "http://120.27.222.26:80/cate",
+          url: "bigservers/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -536,7 +536,7 @@ export default {
       });
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/city",
           method: "post",
           data: postData,
           headers: {
@@ -635,7 +635,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/account_photo",
+          url: "bigservers/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -664,7 +664,7 @@ export default {
         _this
           .$axios({
             method: "post",
-            url: "http://120.27.222.26:80/del_account_photo",
+            url: "bigservers/del_account_photo",
             data: postData,
             headers: {
               "Content-Type": "application/x-www-form-urlencoded"
@@ -749,7 +749,7 @@ export default {
       }
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/city",
           method: "post",
           data: postData,
           headers: {

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

@@ -26,7 +26,7 @@
         <span class="demonstration"></span>
         <el-carousel trigger="click" height="5.5rem">
           <el-carousel-item v-for="item in this.imgList" :key="item">
-            <img preview="1" v-lazy=" 'http://120.27.222.26:80/' + item" alt class="img_box_img" />
+            <img preview="1" v-lazy=" 'bigservers/' + item" alt class="img_box_img" />
           </el-carousel-item>
         </el-carousel>
       </div>
@@ -117,7 +117,8 @@
           </li>
 
           <!-- 病害级别 -->
-          <li class="plantinsectset-ul-li li-one" v-if="errorShow">
+          <!-- <li class="plantinsectset-ul-li li-one" v-if="errorShow"> -->
+          <li class="plantinsectset-ul-li" v-if="errorShow">
             <img src="../../assets/imageOne/34.png" alt class="plantinsectset-ul-li-img fangkuai" />
             <el-collapse v-model="activeName" accordion>
               <el-collapse-item title="病虫害值" name="4">
@@ -177,7 +178,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "http://120.27.222.26:80/seeuser",
+        url: "bigservers/seeuser",
         data: postData,
         headers: {
           "Content-Type": "application/x-www-form-urlencoded"
@@ -275,7 +276,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/seeuser",
+          url: "bigservers/seeuser",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -348,7 +349,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/seeuser",
+          url: "bigservers/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: "http://120.27.222.26:80/cate"
+        url: "bigservers/cate"
       })
       .then(res => {
         _this.optionsA = res.data.city; //地区筛选
@@ -213,7 +213,7 @@ export default {
       _this
         .$axios({
           method: "get",
-          url: "http://120.27.222.26:80/seeuser",
+          url: "bigservers/seeuser",
           params: {
             page: this.mescrollUp.page.num,
             pest_sort: "1"
@@ -253,7 +253,7 @@ export default {
               }
               this.$axios({
                 method: "get",
-                url: "http://120.27.222.26:80/seeuser",
+                url: "bigservers/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: "http://120.27.222.26:80/city"
+        url: "bigservers/city"
       })
       .then(res => {
         _this.items = res.data;

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

@@ -32,12 +32,12 @@
             <div class="record_box_main_li_box">
               <!-- 图片 -->
                <!-- <img
-                v-lazy="item.img_urls === null || item.img_urls === '' ? 'http://120.27.222.26:80/' + item.img : item.img_urls"
+                v-lazy="item.img_urls === null || item.img_urls === '' ? 'bigservers/' + item.img : item.img_urls"
                 alt
                 class="record_box_main_li_img"
               /> -->
               <img
-                v-lazy="'http://120.27.222.26:80/' + item.img"
+                v-lazy="'bigservers/' + item.img"
                 alt
                 class="record_box_main_li_img"
               />
@@ -192,7 +192,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_details",
+            url: "bigservers/insect_details",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -216,7 +216,7 @@ export default {
               }
               this.$axios({
                 method: "get",
-                url: "http://120.27.222.26:80/insect_details",
+                url: "bigservers/insect_details",
                 params: {
                   page: this.mescrollUp.page.num
                 }
@@ -261,7 +261,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/plant_details",
+            url: "bigservers/plant_details",
             params: {
               page: this.mescrollUp.page.num
             }
@@ -285,7 +285,7 @@ export default {
               }
               this.$axios({
                 method: "get",
-                url: "http://120.27.222.26:80/plant_details",
+                url: "bigservers/plant_details",
                 params: {
                   page: this.mescrollUp.page.num
                 }
@@ -383,7 +383,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_details?page=1"
+            url: "bigservers/insect_details?page=1"
           })
           .then(res => {
             // this.reload();
@@ -414,7 +414,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/plant_details?page=1"
+            url: "bigservers/plant_details?page=1"
           })
           .then(res => {
             if (res.data.num === 0) {
@@ -460,7 +460,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/del_record",
+          url: "bigservers/del_record",
           data: postData,
           headers: {
             "Content-Type": "application/json"
@@ -501,7 +501,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/insect_details?page=1"
+            url: "bigservers/insect_details?page=1"
           })
           .then(res => {
             // this.reload();
@@ -531,7 +531,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/plant_details?page=1"
+            url: "bigservers/plant_details?page=1"
           })
           .then(res => {
             if (res.data === 0) {

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

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

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

@@ -256,7 +256,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/city",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -373,7 +373,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "http://120.27.222.26:80/city",
+              url: "bigservers/city",
               data: postData,
               headers: {
                 "Content-Type": "application/x-www-form-urlencoded"
@@ -421,7 +421,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "http://120.27.222.26:80/city",
+              url: "bigservers/city",
               data: postData,
               headers: {
                 "Content-Type": "application/x-www-form-urlencoded"
@@ -466,7 +466,7 @@ export default {
           _this
             .$axios({
               method: "post",
-              url: "http://120.27.222.26:80/city",
+              url: "bigservers/city",
               data: postData,
               headers: {
                 "Content-Type": "application/x-www-form-urlencoded"
@@ -552,7 +552,7 @@ export default {
         ) {
           _this
             .$axios({
-              url: "http://120.27.222.26:80/city",
+              url: "bigservers/city",
               method: "post",
               data: postData,
               headers: {

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

@@ -438,7 +438,7 @@ export default {
       _this
         .$axios({
           method: "POST",
-          url: "http://120.27.222.26:80/cate",
+          url: "bigservers/cate",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -528,7 +528,7 @@ export default {
       });
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/city",
           method: "post",
           data: postData,
           headers: {
@@ -624,7 +624,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/account_photo",
+          url: "bigservers/account_photo",
           anync: true,
           data: form,
           headers: {
@@ -653,7 +653,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/del_account_photo",
+          url: "bigservers/del_account_photo",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -727,7 +727,7 @@ export default {
       }
       _this
         .$axios({
-          url: "http://120.27.222.26:80/city",
+          url: "bigservers/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: "http://120.27.222.26:80/city"
+        url: "bigservers/city"
       })
       .then(res => {
         _this.items = res.data;

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

@@ -69,7 +69,7 @@ export default {
     _this
       .$axios({
         method: "post",
-        url: "http://120.27.222.26:80/city",
+        url: "bigservers/city",
         data: postData,
         headers: {
           "Content-Type": "application/x-www-form-urlencoded"
@@ -124,14 +124,12 @@ export default {
       ) {
         //新建
         _this.$router.push("/newmessage");
-        alert(111);
       } else if (
         localStorage.getItem("regionID") == null &&
         localStorage.getItem("regionIDset") !== null
       ) {
         //系统设置
         _this.$router.push("/Site");
-        alert(222);
       }
     },
 

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

@@ -258,7 +258,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/count_plant",
+          url: "bigservers/count_plant",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"
@@ -342,7 +342,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/count_plant",
+          url: "bigservers/count_plant",
           data: postData,
           headers: {
             "Content-Type": "application/x-www-form-urlencoded"

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

@@ -49,13 +49,13 @@
         </li>
 
         <!-- 版本更新 -->
-        <li class="system-li" @click="update()">
+        <!-- <li class="system-li" @click="update()">
           <img src="../../assets/imageOne/gengxin.png" alt class="system-img forbidB" />
           <div class="system-box">
             <div class="system-div1 kind">版本更新</div>
           </div>
           <img src="../../assets/imageOne/15.png" alt class="system-img1" />
-        </li>
+        </li> -->
 
         <!-- 版本更新历史记录 -->
         <li class="system-li" @click="updateHistory()">
@@ -268,7 +268,7 @@ export default {
         _this
           .$axios({
             method: "get",
-            url: "http://120.27.222.26:80/app_upgrade"
+            url: "bigservers/app_upgrade"
           })
           .then(res => {
             if (res.data.app_num > "1.1.7") {
@@ -280,7 +280,7 @@ export default {
               });
               // const timerA = setInterval(() => {
               //   window.location.href =
-              //     "http://120.27.222.26:80/app_file/" + res.data.app_name;
+              //     "bigservers/app_file/" + res.data.app_name;
               //   clearInterval(timerA);
               // }, 1500);
 
@@ -288,7 +288,7 @@ export default {
                 var wait = plus.nativeUI.showWaiting("下载更新中,请勿关闭");
                 //创建一个下载任务
                 var dtask = plus.downloader.createDownload(
-                  "http://120.27.222.26:80/app_file/" + res.data.app_name,
+                  "bigservers/app_file/" + res.data.app_name,
                   {
                     method: "GET"
                   },

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

@@ -161,7 +161,7 @@ export default {
     upCallback(page, mescroll) {
       this.$axios({
         method: "get",
-        url: "http://120.27.222.26:80/app_all",
+        url: "bigservers/app_all",
         params: {
           page: this.mescrollUp.page.num
         }
@@ -185,7 +185,7 @@ export default {
             }
             this.$axios({
               method: "get",
-              url: "http://120.27.222.26:80/app_all",
+              url: "bigservers/app_all",
               params: {
                 page: this.mescrollUp.page.num
               }
@@ -258,7 +258,7 @@ export default {
       _this
         .$axios({
           method: "post",
-          url: "http://120.27.222.26:80/app_all",
+          url: "bigservers/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: 'http://120.27.222.26:80/city',
+        url: 'bigservers/city',
         data: postaData,
         headers: {
           'Content-Type': "application/json"

+ 1 - 1
yfbch/src/main.js

@@ -67,7 +67,7 @@ Vue.prototype.$axios = axios //使用aixos
 
 
 
-// axios.defaults.baseURL = 'http://120.27.222.26:80/' //配置全部接口的api前缀-
+// axios.defaults.baseURL = 'bigservers/' //配置全部接口的api前缀-
 Vue.config.productionTip = false
 
 router.beforeEach((to, from, next) => {

BIN
yfbch/static/image/1.jpg


BIN
yfbch/static/image/11.jpg