| | |
| | | } |
| | | updateDonatebaseinfo(this.form).then(response => { |
| | | this.$modal.msgSuccess("保存成功"); |
| | | Modifydonationattachment(this.donatelist).then(res => {}); |
| | | Modifydonationattachment(this.donatelist).then(res => { |
| | | this.listDonateannex(); |
| | | }); |
| | | this.Getbasicinformation(); |
| | | // this.Processvalidation(); |
| | | this.open = false; |
| | |
| | | addDonatebaseinfo(this.form).then(response => { |
| | | if (response.code == 200) { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | Modifydonationattachment(this.donatelist).then(res => {}); |
| | | Modifydonationattachment(this.donatelist).then(res => { |
| | | this.listDonateannex(); |
| | | }); |
| | | this.Getbasicinformation(); |
| | | // this.Processvalidation(); |
| | | this.open = false; |
| | |
| | | }, |
| | | // 更改进程效验 |
| | | Processvalidation() { |
| | | if (this.form.workflow + 1 == this.actives || this.actives == 6) { |
| | | if (this.form.workflow <= 6) { |
| | | if (this.form.workflow + 1 == this.actives ) { |
| | | if (this.form.workflow < 6) { |
| | | this.form.workflow++; |
| | | } else { |
| | | } |
| | |
| | | // this.GetAttacheddata(); |
| | | } else if (this.form.workflow > this.actives) { |
| | | this.submitForm(); |
| | | Modifydonationattachment(this.donatelist).then(res => {}); |
| | | this.listDonateannex(); |
| | | // Modifydonationattachment(this.donatelist).then(res => {}); |
| | | // this.GetAttacheddata(); |
| | | } else { |
| | | this.submitForm(); |
| | |
| | | }, |
| | | // 提交归档 |
| | | Reportforreview() { |
| | | if (this.form.workflow == 9) { |
| | | this.form.workflow = 8; |
| | | if (this.form.workflow == 8) { |
| | | this.form.workflow = 7; |
| | | this.submitForm(); |
| | | this.$router.go(-1); |
| | | this.$message({ |
| | |
| | | if (res.code == 500) { |
| | | this.$message.error(res.msg); |
| | | } else { |
| | | this.form.workflow = 9; |
| | | this.form.workflow = 8; |
| | | this.submitForm(); |
| | | this.$message({ |
| | | type: "success", |