From e3ac0a8d96cb3b98e45454fac42489dce7b15c68 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 24 十一月 2023 16:15:38 +0800 Subject: [PATCH] 11 --- src/views/project/fund/applyDetail/index.vue | 83 +++++++++++++++++++++++++++-------------- 1 files changed, 55 insertions(+), 28 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 2ae752b..1b3fbdf 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -150,7 +150,8 @@ <div style="margin-bottom: 15px;" v-if=" - userprofile.nickName == '闄堟厱鍗�' && operationType == 'check' + userprofile.nickName == '闄堟厱鍗�' && + (businessType == '1' || businessType == '2') " > <el-button @@ -346,7 +347,7 @@ <el-table-column prop="beneficiaryname" align="center" - label="濮撳悕" + label="涓撳/鍗曚綅" width="120" v-if="form.applytype == '1' || form.applytype == '2'" > @@ -366,7 +367,7 @@ <el-table-column prop="unitno" align="center" - label="鍗曚綅鍚嶇О" + label="涓撳鎵�鍦ㄥ崟浣�" width="250" v-if="form.applytype != '4' && form.applytype != '3'" > @@ -451,7 +452,7 @@ <el-form-item :error="scope.row.error" label-width="0"> <el-input v-model.number="scope.row.idcardno" - @input="tableParValueChange(scope.row)" + @input="tableParValueChange1(scope.row)" placeholder="韬唤璇佸彿" /> </el-form-item> @@ -558,7 +559,9 @@ " type="text" size="small" - v-if="businessType == 3 || businessType == 4" + v-if=" + businessType == 3 || businessType == 2 || businessType == 4 + " >绁ㄦ嵁</el-button > </template> @@ -863,7 +866,7 @@ </el-col> <el-col :span="24" v-if="experthear == 'unit'"> <el-form-item - label="浜哄憳濮撳悕" + label="涓撳/鍗曚綅" prop="beneficiaryname" label-width="80px" > @@ -1152,15 +1155,14 @@ label="鍚嶇О" > <template slot-scope="scope"> - <i style="color:#409EFF" class=" el-icon-s-order" />{{ - scope.row.name - }} + <i style="color:#409EFF" class=" el-icon-s-order" /> + <span>{{ scope.row.name }}</span> </template> </el-table-column> <el-table-column prop="name" - width="180" + width="190" :show-overflow-tooltip="true" label="鍔熻兘" > @@ -1176,6 +1178,13 @@ size="mini" @click.native.prevent.stop="moveupdowfile(scope.row)" >涓婄Щ</el-button + > + <el-button + type="success" + size="mini" + icon="el-icon-search" circle + @click.native.prevent.stop="Downloadfile(scope.row)" + ></el-button > </template> </el-table-column> @@ -1249,15 +1258,14 @@ label="鍚嶇О" > <template slot-scope="scope"> - <i style="color:#409EFF" class=" el-icon-s-order" />{{ - scope.row.name - }} + <i style="color:#409EFF" class=" el-icon-s-order" /> + <span>{{ scope.row.name }}</span> </template> </el-table-column> <el-table-column prop="name" - width="180" + width="190" :show-overflow-tooltip="true" label="鍔熻兘" > @@ -1273,6 +1281,13 @@ size="mini" @click.native.prevent.stop="moveupdowfile(scope.row)" >涓婄Щ</el-button + > + <el-button + type="success" + size="mini" + icon="el-icon-search" circle + @click.native.prevent.stop="Downloadfile(scope.row)" + ></el-button > </template> </el-table-column> @@ -1574,7 +1589,7 @@ ] }, funddrules: { - expertidcardno: [{ validator: validatePass, trigger: "blur" }], + // expertidcardno: [{ validator: validatePass, trigger: "blur" }], expertdepositbank: [ { required: true, message: "璇疯緭鍏ュ紑鎴烽摱琛�", trigger: "change" } ], @@ -2122,6 +2137,8 @@ ); return; } + + /* if ( tempDetail.idcardno == null && this.businessType != "3" && @@ -2135,6 +2152,7 @@ ); return; } + */ if (this.businessType == "1") { if (tempDetail.servicesscope == null) { @@ -2296,6 +2314,7 @@ } }); } + this.form.id = response.data; } else { this.$modal.msgError("鐢宠鍗曚繚瀛樺け璐ワ細" + response.msg); } @@ -2887,20 +2906,22 @@ ); sessionStorage.setItem("apiform", JSON.stringify(this.form)); // this.$router.go(0); - this.$router.push({ - path: "/finance/applyDetail/", - query: { - id: this.curId, - businessType: this.businessType, - operationType: this.operationType, - curCase: this.curCase - } - }); - } else { - // this.$message({ - // type: "error", - // message: "鐢宠澶辫触" + // this.$router.push({ + // path: "/finance/applyDetail/", + // query: { + // id: this.curId, + // businessType: this.businessType, + // operationType: this.operationType, + // curCase: this.curCase + // } // }); + this.$modal.msgSuccess("璁$畻鎴愬姛"); + this.handleCheck(); + } else { + this.$message({ + type: "error", + message: "璁$畻閿欒" + }); } }); }, @@ -3188,6 +3209,8 @@ uploadSccess(response, file, fileList) { this.rbDetails; //鑾峰彇绁ㄦ嵁淇℃伅浣嶇疆 + console.log(response); + console.log(file); if (this.activeName == 1) { if (response.code == 200) { // this.form.filename = file.raw.name; @@ -3375,6 +3398,10 @@ this.invoicefileListto.splice(index - 1, 0, item); // 灏唅tem鎻掑叆鍒扮储寮曚綅缃殑鍓嶄竴浣� } }, + Downloadfile(row) { + console.log(row); + window.location.href = this.Networkheader + "/prod-api" + row.url; + }, //涓撳/鍖荤枟鏈烘瀯/璐圭敤鎶ラ攢鏈烘瀯閫夋嫨 ShowDetailDialog(spoce, showType) { this.spocewl = spoce; -- Gitblit v1.9.3