ZIneen 1 year ago
parent
commit
b2e97c75e7
2 changed files with 15 additions and 15 deletions
  1. 5 5
      src/store/modules/cesiumMap.ts
  2. 10 10
      src/views/spectrum/reform/afterAssess/widget.vue

+ 5 - 5
src/store/modules/cesiumMap.ts

@@ -62,11 +62,11 @@ const actions = {
             if (AppX.appConfig.onlineconfig) {
                 APIs.GetUserInitData({ platform: 1 }).then((result) => {
                     var resData = result.result;
-                    // console.log("1111111:",resData);
-                    // debugger;
-                    var resData2 = JSON.stringify(resData).replace(/tgdcepc.ctg.com.cn:8443/g, '106.12.170.138:8090')
-                    var resData = JSON.parse(resData2.replace(/https/g, 'http'))
-                    // console.log("22222222:",resData);
+                    // // console.log("1111111:",resData);
+                    // // debugger;
+                    // var resData2 = JSON.stringify(resData).replace(/tgdcepc.ctg.com.cn:8443/g, '106.12.170.138:8090')
+                    // var resData = JSON.parse(resData2.replace(/https/g, 'http'))
+                    // // console.log("22222222:",resData);
 
                     if (resData) {
                         AppX.appConfig.initPosition = JSON.parse(sessionStorage.getItem('initPosition'));

+ 10 - 10
src/views/spectrum/reform/afterAssess/widget.vue

@@ -578,11 +578,11 @@ export default {
         for(let i=0; i<this.selectData1.length; i++){
           // debugger
           if(this.selectData1[i].dayStr == this.beforeRemouldDate1.slice(0, 10)){
-            alert(11111)
-            console.log("相等的标号", i);
-            console.log("相等的标号前", this.selectData1[i-1]);
-            console.log("相等的标号中", this.selectData1[i]);
-            console.log("相等的标号后", this.selectData1[i+1]);
+            // alert(11111)
+            // console.log("相等的标号", i);
+            // console.log("相等的标号前", this.selectData1[i-1]);
+            // console.log("相等的标号中", this.selectData1[i]);
+            // console.log("相等的标号后", this.selectData1[i+1]);
             for(let j=i;j>=(i-dataCount);j--){
               console.log("降雨量", this.selectData1[j]);
               ljRain = ljRain + this.selectData1[j].rfall
@@ -601,11 +601,11 @@ export default {
         for(let i=0; i<this.selectData1.length; i++){
           // debugger
           if(this.selectData1[i].dayStr == this.afterRemouldDate1.slice(0, 10)){
-            alert(11111)
-            console.log("相等的标号", i);
-            console.log("相等的标号前", this.selectData1[i-1]);
-            console.log("相等的标号中", this.selectData1[i]);
-            console.log("相等的标号后", this.selectData1[i+1]);
+            // alert(11111)
+            // console.log("相等的标号", i);
+            // console.log("相等的标号前", this.selectData1[i-1]);
+            // console.log("相等的标号中", this.selectData1[i]);
+            // console.log("相等的标号后", this.selectData1[i+1]);
             for(let j=i;j>=(i-dataCount2);j--){
               console.log("降雨量", this.selectData1[j]);
               ljRain2 = ljRain2 + this.selectData1[j].rfall