智慧社区后台管理页面
c67237e0b99db5aba836fa19d24015edc99a14ae..c5ddb674b10b89ebd08ea1c2c5577484e94ac3e0
2022-01-17 liuyg
+去掉打印
c5ddb6 diff | tree
2022-01-17 liuyg
+bug 每项id
f78fb4 diff | tree
2 files modified
9 ■■■■ changed files
src/views/hd/getMapDataInThere.vue 6 ●●●● patch | view | raw | blame | history
src/views/hd/hd.vue 3 ●●●●● patch | view | raw | blame | history
src/views/hd/getMapDataInThere.vue
@@ -257,6 +257,7 @@
          id: this.ourDatas.length,
        });
      }
      this.nowId = +this.ourDatas.length + 1;
    },
    myRules(index) {
      //单个验证
@@ -281,6 +282,7 @@
      }
      let line = this.changeMapData(lineBefor, "name");
      let point = this.changeMapData(pointBefor, "name");
      // console.log(line, point);
      if (line[0] == "namenot" || point[0] == "namenot") {
        //需要显示验证失败合集
        let errorId = [];
@@ -290,8 +292,9 @@
        if (point[0] == "namenot") {
          errorId.push(...point[1]);
        }
        // console.log(errorId, "errorId");
        for (let x in this.ourDatas) {
          // console.log(this.ourDatas[x], "x");
          let flog = true;
          for (let k in errorId) {
            if (errorId[k] == this.ourDatas[x].id) {
@@ -329,6 +332,7 @@
            kin != "isLine" &&
            kin != "id"
          ) {
            console.log(kin);
            notData.push(inItem.id);
            break;
          }
src/views/hd/hd.vue
@@ -240,6 +240,9 @@
      row["lx"] = outMapData[0][1];
      row["addressname"] = outMapData[1][0];
      row["address"] = outMapData[1][1];
      // console.log(row);
      // loading();
      // return;
      update(row).then(
        () => {
          this.onLoad(this.page);