11
WXL
2024-02-21 d5786ed5bcb549ad4ea37437b2acc48d0bac9413
src/views/project/fund/applyDetail/index.vue
@@ -2188,8 +2188,10 @@
                  flowconclusion: this.checkObj.flowlevelone,
                  flowcontent: this.checkObj.flowconclusion
                };
      this.$modal.loading("正在提交审核,请稍候!");
                checkfund(checkFundObj).then(res => {
                  //关闭窗口
        this.$modal.closeLoading();
                  this.$modal.msgSuccess("审核完成!");
                  this.$store.dispatch("tagsView/delView", this.$route);
                  this.$router.go(-1);
@@ -2917,10 +2919,16 @@
              }
              addExternalperson(this.accountform).then(response => {
                if (response.code == 200) {
                if (response.code == 200) {
                  // //重新获取账户列表
                  // listExternalperson().then(res => {
                  //   this.accountlist = res.rows;
                  // });
                  console.log("addExternalperson", response.data.id);
                  if (this.accountselectform.usertype == "org") {
                    this.accountlist.push({
                      id: 0,
                      id: response.data.id,
                      userno: this.accountform.userno,
                      username: this.accountform.username,
                      idcardno: this.accountform.idcardno,
@@ -2931,12 +2939,10 @@
                      unitname: this.accountform.unitname,
                      userid: this.accountform.username
                    });
                    this.$modal.msgSuccess("您已添加成功新账户信息!");
                  } else {
                    this.accountlist.push({
                      id: 0,
                      id: response.data.id,
                      userno: this.accountform.userno,
                      username: this.accountform.username,
                      idcardno: this.accountform.idcardno,
@@ -2947,22 +2953,11 @@
                      unitname: this.accountform.unitname,
                      userid: this.accountform.username + '(' + this.accountform.idcardno + ')'
                    });
                    this.$modal.msgSuccess(
                      "您已添加成功新账户信息,需要在账号状态启用后才能被使用!"
                    );
                    this.$modal.msgSuccess("您已添加成功新账户信息,需要在账号状态启用后才能被使用!");
                    return;
                  }
                  this.accountselectform.accountno = this.accountform.userno;
                  this.accountselectform.accountname = this.accountselectform.username;
                  console.log("this.accountlist", this.accountlist);
                  console.log("this.accountselectform.accountno", this.accountselectform.accountno);
                  // //重新获取账户列表
                  // listExternalperson().then(res => {
                  //   this.accountlist = res.rows;
                  // });
                  //赋值信息
                  this.accountlist.map(res => {