diff --git a/src/api/trials.js b/src/api/trials.js index db4b751c..6bb5711e 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -4357,4 +4357,13 @@ export function setBatchRemoveReadingPlan(data) { method: 'post', data }) +} +// 更新项目额外json配置 +export function updateTrialExtralConfig(params, data) { + return request({ + url: `/TrialConfig/updateTrialExtralConfig`, + method: 'put', + params, + data + }) } \ No newline at end of file diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue b/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue index e5a0915a..1eedf811 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue @@ -106,6 +106,16 @@ export default { isTrial: { type: Boolean, default: false + }, + isExternal: { + type: Boolean, + default: false + }, + ExternalList: { + type: Array, + default: () => { + return [] + } } }, data() { @@ -122,7 +132,8 @@ export default { rowData: {}, list: [], searchData: defaultSearchData(), - title: this.$t('dictionary:signature:fileList') + title: this.$t('dictionary:signature:fileList'), + loading: false } }, watch: { @@ -131,6 +142,16 @@ export default { this.getList() }, immediate: true, + }, + isExternal: { + handler() { + if (this.isExternal) { + this.list = this.ExternalList + this.rowData = this.list[0] || {} + this.title = this.$t('dictionary:signature:view') + } + }, + immediate: true } }, methods: { @@ -145,6 +166,7 @@ export default { }, async getList() { try { + if (this.isExternal) return if (!this.SystemDocumentId) return false this.loading = true if (!this.isTrial) { diff --git a/src/views/research/components/BaseInfo.vue b/src/views/research/components/BaseInfo.vue index e32538ba..9ef0402c 100644 --- a/src/views/research/components/BaseInfo.vue +++ b/src/views/research/components/BaseInfo.vue @@ -18,19 +18,10 @@ - - + + @@ -42,10 +33,7 @@ - + @@ -55,75 +43,71 @@ - - + + - - - {{ item.label }} + + + {{ + item.label }} - - + + - - - {{ item.label }} + + + {{ item.label }} - - {{ item.label }} + + {{ + item.label }} + + {{ $t('trials:researchForm:button:viewManual') }} + - + - + - + {{ $t('common:button:save') }} + + diff --git a/src/views/trials/trials-panel/attachments/site-research/index.vue b/src/views/trials/trials-panel/attachments/site-research/index.vue index cd45126a..9507c564 100644 --- a/src/views/trials/trials-panel/attachments/site-research/index.vue +++ b/src/views/trials/trials-panel/attachments/site-research/index.vue @@ -5,127 +5,62 @@ - - + + - + - - + + - + - - + + - - + + - + {{ $t('common:button:search') }} - + {{ $t('common:button:reset') }} - + {{ $t('trials:researchRecord:button:questionStaffs') }} - + {{ $t('trials:researchRecord:button:questionLink') }} @@ -133,61 +68,27 @@ - -
+ +
- + - + + + +