|
|
@ -196,6 +196,14 @@ export default { |
|
|
this.$refs["form"].validate(valid => { |
|
|
this.$refs["form"].validate(valid => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
this.showIndex = 2 |
|
|
this.showIndex = 2 |
|
|
|
|
|
this.$modal.loading() |
|
|
|
|
|
studyFormPre_bc(this.form).then(response => { |
|
|
|
|
|
this.form = response.data |
|
|
|
|
|
this.templateData = deepClone(this.form) |
|
|
|
|
|
this.showIndex = 2 |
|
|
|
|
|
}).finally(() => { |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
@ -236,7 +244,7 @@ export default { |
|
|
studyFormPre_info({ id: row.id }).then(response => { |
|
|
studyFormPre_info({ id: row.id }).then(response => { |
|
|
this.form = response.data |
|
|
this.form = response.data |
|
|
this.templateData = deepClone(this.form) |
|
|
this.templateData = deepClone(this.form) |
|
|
this.form.qmyy = this.$t('page.business.study.studyFormPre.zztjyzbd') |
|
|
|
|
|
|
|
|
this.form.qmyy = this.$t('page.business.study.studyFormPre.zztjyzbd') |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
|