五个文件 结项参数 失败不跳转

This commit is contained in:
asd
2020-05-07 21:59:52 +08:00
parent dcbd58596c
commit 246b306ad0
2 changed files with 25 additions and 2 deletions

View File

@@ -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 => {

View File

@@ -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) {