|
|
|
@ -359,7 +359,7 @@ export default { |
|
|
|
onFillCallback(data) { |
|
|
|
console.log("data:" + JSON.stringify(data)) |
|
|
|
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData())) |
|
|
|
if (data.type == 'fieldChanged') { |
|
|
|
if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') { |
|
|
|
studyFormFill_updateBdnr( |
|
|
|
{ |
|
|
|
id: this.form.id, |
|
|
|
@ -512,7 +512,10 @@ export default { |
|
|
|
this.$modal.loading() |
|
|
|
studyFormFill_bcOnly(this.form).then(response => { |
|
|
|
this.form = response.data |
|
|
|
this.templateData = deepClone(this.form) |
|
|
|
this.showIndex = 2 |
|
|
|
const obj = Object.assign({}, this.$route, { title: this.form.bdmc }) |
|
|
|
this.$tab.updatePage(obj); |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
|