From d5786ed5bcb549ad4ea37437b2acc48d0bac9413 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 21 二月 2024 16:05:50 +0800 Subject: [PATCH] 11 --- src/views/project/fund/applyDetail/index.vue | 29 ++++++++++++----------------- 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 956ff25..46b670c 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -2188,8 +2188,10 @@ flowconclusion: this.checkObj.flowlevelone, flowcontent: this.checkObj.flowconclusion }; + this.$modal.loading("姝e湪鎻愪氦瀹℃牳锛岃绋嶅�欙紒"); 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 => { -- Gitblit v1.9.3