diff --git a/src/api/dicomAE.js b/src/api/dicomAE.js new file mode 100644 index 0000000..c4912de --- /dev/null +++ b/src/api/dicomAE.js @@ -0,0 +1,35 @@ +import request from '@/utils/request' + +// 获取dicomAE列表 +export function getDicomAEList(data) { + return request({ + url: '/DicomAE/getDicomAEList', + method: 'post', + data + }) +} + +// 新增或编辑dicomAE +export function setDiicomAE(data) { + return request({ + url: '/DicomAE/addOrUpdateDicomAE', + method: 'post', + data + }) +} + +// 删除dicomAE +export function deleteDiicomAE(id) { + return request({ + url: `/DicomAE/deleteDicomAE/${id}`, + method: 'delete' + }) +} + +// 测试scp server是否可以连接 +export function testConnect(id) { + return request({ + url: `/DicomAE/testSCPServerConnect/${id}`, + method: 'get' + }) +} \ No newline at end of file diff --git a/src/views/system/dicomAE/components/edit-dicom.vue b/src/views/system/dicomAE/components/edit-dicom.vue index 94c530d..109b67e 100644 --- a/src/views/system/dicomAE/components/edit-dicom.vue +++ b/src/views/system/dicomAE/components/edit-dicom.vue @@ -12,28 +12,28 @@ :model="form" :rules="rules" size="small" - label-width="100px" + label-width="150px" >
- - + + - - + + - - + + - - + + - - + +
{{ $t("common:button:save") }} @@ -63,6 +63,7 @@ \ No newline at end of file diff --git a/src/views/system/dicomAE/index.vue b/src/views/system/dicomAE/index.vue index 3015837..5060276 100644 --- a/src/views/system/dicomAE/index.vue +++ b/src/views/system/dicomAE/index.vue @@ -4,15 +4,19 @@ - + - + - + 编辑 + 删除 + 测试 @@ -93,13 +111,21 @@ />
+