pacs配置确认修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ca79de57d2
commit
c6df434fa4
|
@ -3740,10 +3740,11 @@ export function addOrUpdateDicomAE(data) {
|
|||
})
|
||||
}
|
||||
// 测试dicomAE链接
|
||||
export function testSCPServerConnect(id) {
|
||||
export function testSCPServerConnect(data) {
|
||||
return request({
|
||||
url: `/TrialDicomAE/testSCPServerConnect/${id}`,
|
||||
method: 'get'
|
||||
url: `/TrialDicomAE/testSCPServerConnect`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// dicomAE配置签名
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
v-model="form.CalledAE"
|
||||
style="width: 80%"
|
||||
:disabled="form.IsTrialPACSConfirmed && !isEdit"
|
||||
@input="form.IsTestOK = null"
|
||||
clearable
|
||||
maxlength="16"
|
||||
/>
|
||||
|
@ -48,6 +49,7 @@
|
|||
v-model="form.Ip"
|
||||
style="width: 80%"
|
||||
:disabled="form.IsTrialPACSConfirmed && !isEdit"
|
||||
@input="form.IsTestOK = null"
|
||||
clearable
|
||||
/>
|
||||
</el-form-item>
|
||||
|
@ -59,6 +61,7 @@
|
|||
clearable
|
||||
style="width: 80%"
|
||||
:disabled="form.IsTrialPACSConfirmed && !isEdit"
|
||||
@input="form.IsTestOK = null"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!--状态-->
|
||||
|
@ -399,10 +402,15 @@ export default {
|
|||
// 测试dicomAE
|
||||
async testSCPServerConnect() {
|
||||
try {
|
||||
let res = await this.addOrUpdateDicomAE();
|
||||
if (!res) return;
|
||||
let validate = await this.$refs.dicomConfigForm.validate();
|
||||
if (!validate) return;
|
||||
let data = {
|
||||
CalledAE: this.form.CalledAE,
|
||||
Ip: this.form.Ip,
|
||||
Port: this.form.Port,
|
||||
};
|
||||
this.loading = true;
|
||||
let d = await testSCPServerConnect(res);
|
||||
let d = await testSCPServerConnect(data);
|
||||
this.loading = false;
|
||||
if (d.IsSuccess) {
|
||||
this.form.IsTestOK = d.Result;
|
||||
|
|
Loading…
Reference in New Issue