diff --git a/src/views/business/study/comp/jhbd/Bj.vue b/src/views/business/study/comp/jhbd/Bj.vue
index d8c74b6..c3e11d2 100644
--- a/src/views/business/study/comp/jhbd/Bj.vue
+++ b/src/views/business/study/comp/jhbd/Bj.vue
@@ -193,7 +193,7 @@ export default {
onPlanCallback(data) {
console.log("data:" + JSON.stringify(data))
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData()))
- if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') {
+ if (data.type == 'fieldChanged' ) {
studyFormPlan_updateBdnr(
{
id: this.form.id,
@@ -223,7 +223,7 @@ export default {
this.$modal.loading()
studyFormPlan_bcOnly(this.form).then(response => {
this.form = response.data
- this.templateData = deepClone(this.form)
+ this.templateData.bdmc = this.form.bdmc
this.showIndex = 2
this.$modal.closeLoading()
}).finally(() => {
diff --git a/src/views/business/study/comp/sqbd/Bj.vue b/src/views/business/study/comp/sqbd/Bj.vue
index fb4bb0c..64c25e7 100644
--- a/src/views/business/study/comp/sqbd/Bj.vue
+++ b/src/views/business/study/comp/sqbd/Bj.vue
@@ -76,7 +76,7 @@
+ :sn="form.templateSn" :templateData="templateData" fillType="actFill" />
@@ -193,7 +193,7 @@ export default {
onApplyCallback(data) {
console.log("data:" + JSON.stringify(data))
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData()))
- if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') {
+ if (data.type == 'fieldChanged') {
studyFormApply_updateBdnr(
{
id: this.form.id,
@@ -224,7 +224,7 @@ export default {
this.$modal.loading()
studyFormApply_bcOnly(this.form).then(response => {
this.form = response.data
- this.templateData = deepClone(this.form)
+ this.templateData.bdmc = this.form.bdmc
this.showIndex = 2
this.$modal.closeLoading()
}).finally(() => {
diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue
index 8b7f806..ed0db28 100644
--- a/src/views/business/study/comp/tbbd/Bj.vue
+++ b/src/views/business/study/comp/tbbd/Bj.vue
@@ -320,7 +320,7 @@ export default {
remark: '',
bdnr: '',
resource: '',
- yqResource:'',
+ yqResource: '',
qmrmm: '',
sfcz: false,
czfs: '',
@@ -332,7 +332,7 @@ export default {
ccids: '',
},
resource: [],
- yqResource:[],
+ yqResource: [],
bdmbTitle: this.$t('page.business.form.bdmb'),
rulesApprove: {
qmrmm: [{
@@ -363,7 +363,7 @@ export default {
onFillCallback(data) {
console.log("data:" + JSON.stringify(data))
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData()))
- if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') {
+ if (data.type == 'fieldChanged' ) {
studyFormFill_updateBdnr(
{
id: this.form.id,
@@ -517,9 +517,9 @@ export default {
this.$modal.loading()
studyFormFill_bcOnly(this.form).then(response => {
this.form = response.data
- this.templateData = deepClone(this.form)
+ this.templateData.bdmc = this.form.bdmc
this.showIndex = 2
- const obj = Object.assign({}, this.$route, { title: this.form.bdmc })
+ const obj = Object.assign({}, this.$route, { title: this.form.bdmc })
this.$tab.updatePage(obj);
}).finally(() => {
this.$modal.closeLoading()
diff --git a/src/views/business/study/comp/ytbd/Bj.vue b/src/views/business/study/comp/ytbd/Bj.vue
index 8b22944..fea8fb0 100644
--- a/src/views/business/study/comp/ytbd/Bj.vue
+++ b/src/views/business/study/comp/ytbd/Bj.vue
@@ -73,7 +73,7 @@
-
+
@@ -123,7 +123,7 @@
-
@@ -199,7 +199,7 @@ export default {
onPreCallback(data) {
console.log("data:" + JSON.stringify(data))
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData()))
- if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') {
+ if (data.type == 'fieldChanged' ) {
studyFormPre_updateBdnr(
{
id: this.form.id,
@@ -220,7 +220,7 @@ export default {
this.$modal.loading()
studyFormPre_bcOnly(this.form).then(response => {
this.form = response.data
- this.templateData = deepClone(this.form)
+ this.templateData.bdmc = this.form.bdmc
this.showIndex = 2
this.$modal.closeLoading()
}).finally(() => {