diff --git a/src/components/ecrf/dialog-load.vue b/src/components/ecrf/dialog-load.vue
index 2b91492..db150bd 100644
--- a/src/components/ecrf/dialog-load.vue
+++ b/src/components/ecrf/dialog-load.vue
@@ -54,7 +54,7 @@ export default {
})
} else {
// 预览模板
- this.$http.get('/crf/template', { params: { crfId: this.id }}).then(({ data: res }) => {
+ this.$http.get('/project/crf/template/' + this.id).then(({ data: res }) => {
if (res.data) {
this.content = Base64.decode(res.data.content)
}
@@ -103,7 +103,7 @@ export default {
.el-dialog__body {
padding: 10px 0;
text-align: center;
- background: #606266;
+ background: rgba(193, 193, 193, 0.2);
height: calc(96vh - 55px);
diff --git a/src/components/files/index.vue b/src/components/files/index.vue
index 3cba109..f6ac8b3 100644
--- a/src/components/files/index.vue
+++ b/src/components/files/index.vue
@@ -11,10 +11,10 @@
@@ -62,7 +62,6 @@ export default {
isImg(url) {
const type = this.fileType(url)
return ['png', 'jpg', 'jpeg', 'bmp'].indexOf(type.toLowerCase()) >= 0
- // console.log(url, t, type, type.toLowerCase())
},
isPdf(url) {
const type = this.fileType(url)
diff --git a/src/components/hm-crf/tinymce/plugins/hm_utils/index.js b/src/components/hm-crf/tinymce/plugins/hm_utils/index.js
index 40f0415..f9b603a 100644
--- a/src/components/hm-crf/tinymce/plugins/hm_utils/index.js
+++ b/src/components/hm-crf/tinymce/plugins/hm_utils/index.js
@@ -11,7 +11,8 @@ export const isInclude = function(name, doc) {
// 加载插件所需js
export const loadJS_ifrEditArea = function(editor, jsArr) {
if (jsArr.length > 0) {
- const nodeList = document.getElementsByClassName('tox-edit-area__iframe')
+
+ const nodeList = Array.from(document.getElementsByClassName('tox-edit-area__iframe'))
nodeList.forEach(node => {
const ifr = node.contentWindow.document
const head = ifr.getElementsByTagName('head')[0]
@@ -31,7 +32,7 @@ export const loadJS_ifrEditArea = function(editor, jsArr) {
// 加载插件所需css
export const loadCSS_ifrEditArea = function(editor, cssArr) {
if (cssArr.length > 0) {
- const nodeList = document.getElementsByClassName('tox-edit-area__iframe')
+ const nodeList = Array.from(document.getElementsByClassName('tox-edit-area__iframe'))
nodeList.forEach(node => {
const ifr = node.contentWindow.document
const head = ifr.getElementsByTagName('head')[0]
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 57b60c5..99e2a43 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()
- // })
- // }
}
}