|
@@ -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
|