From 246b306ad0b4b0bf74dc3bfddb8cba860f4aaeb8 Mon Sep 17 00:00:00 2001 From: asd <374367073@qq.com> Date: Thu, 7 May 2020 21:59:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=94=E4=B8=AA=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E7=BB=93=E9=A1=B9=E5=8F=82=E6=95=B0=20=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E4=B8=8D=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/excutes/Post_pro.vue | 4 ++-- src/views/project/Appcationnew.vue | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/views/excutes/Post_pro.vue b/src/views/excutes/Post_pro.vue index d24247c..69a95cd 100644 --- a/src/views/excutes/Post_pro.vue +++ b/src/views/excutes/Post_pro.vue @@ -1739,7 +1739,7 @@ export default { this.targetText = data; }, proact(data) { - this.proactText = data; + this.proactVal = data; }, great(data) { this.greatText = data; @@ -2647,7 +2647,7 @@ export default { }); } else { this.$message.error(res.data.data.msg); - this.$router.push({ path: `/schedule${this.id}` }); + // this.$router.push({ path: `/schedule${this.id}` }); } }) .catch(err => { diff --git a/src/views/project/Appcationnew.vue b/src/views/project/Appcationnew.vue index be70764..3386286 100644 --- a/src/views/project/Appcationnew.vue +++ b/src/views/project/Appcationnew.vue @@ -1190,22 +1190,33 @@ export default { del() { this.filename = ""; this.imageUrl = ""; + this.fileurl = ""; + }, del1() { this.filename1 = ""; this.imageUrl1 = ""; + this.fileurl1 = ""; + console.log(this.fileurl,this.fileurl1,this.fileurl2,this.fileurl3,this.fileurl4) + }, del2() { this.filename2 = ""; this.imageUrl2 = ""; + this.fileurl2 = ""; + }, del3() { this.filename3 = ""; this.imageUrl3 = ""; + this.fileurl3 = ""; + }, del4() { this.filename4 = ""; this.imageUrl4 = ""; + this.fileurl4 = ""; + }, yulana1(file) { console.log(file, 111); @@ -1410,6 +1421,7 @@ export default { } else if (houzui == "jpg" || houzui == "jpeg" || houzui == "png") { this.imageUrl3 = res.url; } + console.log(res.name) this.filename3 = res.name; // console.log(file); @@ -1652,6 +1664,7 @@ export default { this.ruleForm.pifu = this.fileurl2; this.ruleForm.pact = this.fileurl3; this.ruleForm.promise = this.fileurl4; + console.log(this.ruleForm,1664) for (let a in this.types) { console.log(this.types[a]); if (this.types[a] == this.ruleForm.tid) { @@ -1981,6 +1994,11 @@ export default { for (let m in this.ruleForm1) { this.ruleForm1[m] = this.ruleForm[m]; } + this.fileurl = this.ruleForm.probook ; + this.fileurl1 = this.ruleForm.fangan; + this.fileurl2 = this.ruleForm.pifu; + this.fileurl3 = this.ruleForm.pact; + this.fileurl4 = this.ruleForm.promise; console.log(this.ruleForm, 200); } else { this.$http({ @@ -2015,6 +2033,11 @@ export default { m = i; } } + this.fileurl = this.ruleForm.probook ; + this.fileurl1 = this.ruleForm.fangan; + this.fileurl2 = this.ruleForm.pifu; + this.fileurl3 = this.ruleForm.pact; + this.fileurl4 = this.ruleForm.promise; console.log(m); for (let n in this.zDate) { if (n - m <= 0) {