diff --git a/public/index.html b/public/index.html index 58cd68b..e212c1a 100644 --- a/public/index.html +++ b/public/index.html @@ -39,9 +39,9 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/add-or-update.vue b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/add-or-update.vue index 9b1d2a7..673bfc9 100644 --- a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/add-or-update.vue +++ b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/add-or-update.vue @@ -94,7 +94,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get('/crf/template', { params: { crfId: this.dataForm.id }}).then(({ data: res }) => { + this.$http.get(`/project/crf/template/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/index.vue b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/index.vue index 99e2a43..57b60c5 100644 --- a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/index.vue +++ b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/index.vue @@ -30,7 +30,7 @@ {{ $t('update') }} { + // this.$refs.addOrUpdate.dataForm.id = id + // noParams ? '' : this.$refs.addOrUpdate.params = params || {} + // this.$refs.addOrUpdate.dataForm.title = title + // // 存在BUG,params无法覆盖,弃用 + // // this.$refs.addOrUpdate.dataForm = { id, ...params, title } + // this.$refs.addOrUpdate.init() + // }) + // } } }