diff --git a/src/views/business/form/drug/comp/ytbdList.vue b/src/views/business/form/drug/comp/ytbdList.vue
index a197cd7..b50978a 100644
--- a/src/views/business/form/drug/comp/ytbdList.vue
+++ b/src/views/business/form/drug/comp/ytbdList.vue
@@ -159,7 +159,7 @@
-
+
@@ -178,7 +178,7 @@
-
+
@@ -236,7 +236,7 @@ export default {
return {
formCount: 0,
formFinishCount: 0,
- formPreview: {
+ formDatePreview: {
templateSn: null
},
openPreview: false,
@@ -303,12 +303,17 @@ export default {
})
},
previewFzbd() {
- let that = this
- let _index = _.findIndex(this.formPreList, function (item) {
- return item.id = that.formXz.formPreId
+ this.$modal.loading()
+ studyFormPre_info({ id: this.formXz.formPreId }).then(response => {
+ this.formDatePreview = _.merge({}, response.data, {
+ studySn: this.searchForm.studySn,
+ studyMc: this.searchForm.studyMc,
+ studyId: this.searchForm.studyId,
+ })
+ this.openPreview = true
+ }).finally(() => {
+ this.$modal.closeLoading()
})
- this.formPreview.templateSn = that.formPreList[_index].templateSn
- this.openPreview = true
},
saveCopy() {
let that = this
diff --git a/src/views/business/form/nonTrial/comp/ytbdList.vue b/src/views/business/form/nonTrial/comp/ytbdList.vue
index 37cdc0f..7d83c55 100644
--- a/src/views/business/form/nonTrial/comp/ytbdList.vue
+++ b/src/views/business/form/nonTrial/comp/ytbdList.vue
@@ -160,7 +160,7 @@
-
+
@@ -179,7 +179,7 @@
-
+
@@ -237,7 +237,7 @@ export default {
return {
formCount: 0,
formFinishCount: 0,
- formPreview: {
+ formDatePreview: {
templateSn: null
},
openPreview: false,
@@ -304,12 +304,17 @@ export default {
})
},
previewFzbd() {
- let that = this
- let _index = _.findIndex(this.formPreList, function (item) {
- return item.id = that.formXz.formPreId
+ this.$modal.loading()
+ studyFormPre_info({ id: this.formXz.formPreId }).then(response => {
+ this.formDatePreview = _.merge({}, response.data, {
+ studySn: this.searchForm.studySn,
+ studyMc: this.searchForm.studyMc,
+ studyId: this.searchForm.studyId,
+ })
+ this.openPreview = true
+ }).finally(() => {
+ this.$modal.closeLoading()
})
- this.formPreview.templateSn = that.formPreList[_index].templateSn
- this.openPreview = true
},
saveCopy() {
let that = this
diff --git a/src/views/business/study/comp/sqbd/Sy.vue b/src/views/business/study/comp/sqbd/Sy.vue
index acb7c3d..20eb8f1 100644
--- a/src/views/business/study/comp/sqbd/Sy.vue
+++ b/src/views/business/study/comp/sqbd/Sy.vue
@@ -195,7 +195,7 @@ export default {
resetApprove() {
this.formApprove = {
id: null,
- qmyy: $t('page.business.study.studyFormApply.ysy'),
+ qmyy: this.$t('page.business.study.studyFormApply.ysy'),
remark: '',
bdnr: '',
qmrmm: '',
diff --git a/src/views/business/study/comp/tbbd/Xq.vue b/src/views/business/study/comp/tbbd/Xq.vue
index b4f8833..75bcbf7 100644
--- a/src/views/business/study/comp/tbbd/Xq.vue
+++ b/src/views/business/study/comp/tbbd/Xq.vue
@@ -25,7 +25,7 @@
{{ $t('page.business.study.studyFormFill.dcbhsjgj') }}
- {{ $t('page.business.study.studyFormFill.dcqbjcgj') }}
+
-
+
@@ -72,8 +72,8 @@
-->
-
-
+
diff --git a/src/views/business/study/comp/ytbdList.vue b/src/views/business/study/comp/ytbdList.vue
index d3470bb..7380427 100644
--- a/src/views/business/study/comp/ytbdList.vue
+++ b/src/views/business/study/comp/ytbdList.vue
@@ -160,7 +160,7 @@
-
+