diff --git a/src/api/dictionary.js b/src/api/dictionary.js index e670f052..ba2e0ab9 100644 --- a/src/api/dictionary.js +++ b/src/api/dictionary.js @@ -220,6 +220,29 @@ export function addOrUpdateSystemDocument(param) { data: param }) } +// 新增/修改通用培训附件 +export function addOrUpdateSystemDocumentAttachment(param) { + return request({ + url: `/SystemDocument/addOrUpdateSystemDocumentAttachment`, + method: 'post', + data: param + }) +} +// 通用培训附件列表 +export function getSystemDocumentAttachmentList(param) { + return request({ + url: `/SystemDocument/getSystemDocumentAttachmentList`, + method: 'post', + data: param + }) +} +// 删除通用培训附件 +export function deleteSystemDocumentAttachment(systemDocumentAttachmentId) { + return request({ + url: `/SystemDocument/deleteSystemDocumentAttachment/${systemDocumentAttachmentId}`, + method: 'delete', + }) +} export function deleteSystemDocument(id) { return request({ diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue b/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue index f93cf82a..8189de54 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue @@ -1,100 +1,45 @@ + + + + Image + + + + + \ 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 new file mode 100644 index 00000000..c06cafd6 --- /dev/null +++ b/src/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview.vue @@ -0,0 +1,292 @@ + + + + + \ No newline at end of file diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/image-viewer.vue b/src/views/dictionary/attachment/components/SignatureTemplate/image-viewer.vue new file mode 100644 index 00000000..57365dfd --- /dev/null +++ b/src/views/dictionary/attachment/components/SignatureTemplate/image-viewer.vue @@ -0,0 +1,385 @@ +/* eslint-disable no-unused-vars */ + + + + diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue index 14dae0e8..19ae3658 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue @@ -69,12 +69,16 @@ @sort-change="handleSortByColumn"> + sortable="custom" min-width="120px" /> + sortable="custom" min-width="120px" /> + show-overflow-tooltip sortable="custom" min-width="200px" /> + + + sortable="custom" min-width="120px"> + show-overflow-tooltip sortable="custom" min-width="150px"> + + + + sortable="custom" min-width="180px" /> - +