+
liuyg
2021-11-27 cdebeb1650aef97dd3198454ff89d41cdd0f1ef0
+
1 files modified
28 ■■■■■ changed files
src/views/qiandao/tables.vue 28 ●●●●● patch | view | raw | blame | history
src/views/qiandao/tables.vue
@@ -195,7 +195,33 @@
          row.myPicture = zhiwenData.featuredata;
          this.upDataMain(row);
        } else {
          this.msg("warning", "无指纹信息,请添加指纹信息后重试!");
          // this.msg("warning", "无指纹信息,请添加指纹信息后重试!");
          this.$confirm("检测到无指纹信息,是否确定修改?", "确认信息", {
            distinguishCancelAndClose: true,
            confirmButtonText: "保存",
            cancelButtonText: "放弃修改",
          })
            .then(() => {
              row.realName = card.name;
              row.cardid = card.id;
              row.sex = card.sex == "男" ? "1" : card.sex == "女" ? "2" : "3";
              row.nation = card.national;
              row.registered = card.certAddress;
              row.fingerprint = zhiwenData.imgBMP;
              row.myPicture = zhiwenData.featuredata;
              this.upDataMain(row);
              // this.$message({
              //   type: "info",
              //   message: "保存修改",
              // });
            })
            .catch((action) => {
              // this.$message({
              //   type: "info",
              //   message:
              //     action === "cancel" ? "放弃保存并离开页面" : "停留在当前页面",
              // });
            });
        }
      } else {
        this.msg("warning", "请读取身份证后重试!");