loulijun2021
2022-08-31 436569820a3084dcf90f8156a4f812bc220fbb98
src/views/kb/zhkb.vue
@@ -676,7 +676,6 @@
            linename: res1.data[0].linename,
            lineworkcont: res1.data[0].lineworkcont,
            children: res1.data[0].children ? res.data[0].children[count] : []
            // children: res1.data[0].children[count]
          }
          flag1 = false
        }
@@ -706,7 +705,6 @@
            }
          }
        }, 1000 * 3)
        // }, res1.data[0].children && res1.data[0].children.length > 0 ? 1000 * 3 : 1000 * 3)
      } else if (index === 1) {
        let count = 0
        if (flag2) {
@@ -741,31 +739,7 @@
              children: res2.data[0].children ? res2.data[0].children[count] : []
            }
          }
        // }, res2.data[0].children && res2.data[0].children.length > 0 ? 1000 * 3 : 1000 * 10)
        }, 1000 * 3)
        // setInterval(() => {
        //   if (count > 0) {
        //     this.lineContent02 = {
        //       linename: res2.data[0].linename,
        //       lineworkcont: res2.data[0].lineworkcont,
        //       children: res2.data[0].children ? res2.data[0].children[count] : []
        //     }
        //   }
        //   if (res2.data[0].children.length === count++) {
        //     count = 0
        //     LineSearchTopLeftData([item]).then(res => {
        //       res2 = res
        //       this.lineContent02 = {
        //         linename: res2.data[0].linename,
        //         lineworkcont: res2.data[0].lineworkcont,
        //         children: res2.data[0].children ? res2.data[0].children[count] : []
        //       }
        //     })
        //
        //     // this.handleEveryLine(item, index)
        //   }
        // }, res2.data[0].children && res2.data[0].children.length > 0 ? 1000 * 3 : 1000 * 10)
      } else if (index === 2) {
        let count = 0
        if (flag3) {
@@ -797,17 +771,12 @@
          if (res3.data[0].children.length === count++) {
            count = 0
            // LineSearchTopLeftData([item]).then(res => {
            //   res3 = res
            this.lineContent03 = {
              linename: res3.data[0].linename,
              lineworkcont: res3.data[0].lineworkcont,
              children: res3.data[0].children ? res3.data[0].children[count] : []
            }
            // })
            // this.handleEveryLine(item, index)
          }
        // }, res3.data[0].children && res3.data[0].children.length > 0 ? 1000 * 3 : 1000 * 10)
        }, 1000 * 3)
      } else if (index === 3) {
        let count = 0
@@ -846,7 +815,6 @@
              children: res4.data[0].children ? res4.data[0].children[count] : []
            }
          }
        // }, res4.data[0].children && res4.data[0].children.length > 0 ? 1000 * 3 : 1000 * 10)
        }, 1000 * 3)
      }
    },