pacs
parent
b8b876c0c9
commit
bc674ec334
|
@ -3794,3 +3794,20 @@ export function getDicomCallingAEList(params) {
|
|||
params
|
||||
})
|
||||
}
|
||||
// CRCpacs上传检查列表
|
||||
export function getVisitPatientStudyFilterList(data) {
|
||||
return request({
|
||||
url: `/Patient/getVisitPatientStudyFilterList`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// CRCpacs上传检查
|
||||
export function submitVisitStudyBinding(data) {
|
||||
return request({
|
||||
url: `/Patient/submitVisitStudyBinding`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -85,13 +85,13 @@
|
|||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
<!-- <el-table-column
|
||||
<el-table-column
|
||||
:label="$t('trials:loginLog:table:IPRegion')"
|
||||
prop="IPRegion"
|
||||
min-width="120"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/> -->
|
||||
/>
|
||||
<el-table-column
|
||||
:label="$t('system:loginLog:table:LoginFaildName')"
|
||||
prop="LoginFaildName"
|
||||
|
|
|
@ -573,7 +573,12 @@
|
|||
name="pacs"
|
||||
:disabled="btnLoading"
|
||||
>
|
||||
<uploadDicomPacs v-if="uploadActiveName === 'pacs'" />
|
||||
<uploadDicomPacs
|
||||
v-if="uploadActiveName === 'pacs'"
|
||||
:subjectVisitId="subjectVisitId"
|
||||
:subjectId="subjectId"
|
||||
@getList="getParentList"
|
||||
/>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
<!-- 预览影像模态框 -->
|
||||
|
@ -808,7 +813,7 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
uploadActiveName: "file",
|
||||
uploadActiveName: "pacs",
|
||||
editStudyInfoVisible: false,
|
||||
studyForm: {
|
||||
StudyCode: "",
|
||||
|
@ -876,6 +881,9 @@ export default {
|
|||
store.dispatch("trials/setUnLock", false);
|
||||
},
|
||||
methods: {
|
||||
getParentList() {
|
||||
this.$emit("getList");
|
||||
},
|
||||
handleHistorical(row) {
|
||||
this.$router.push(
|
||||
`/trials/trials-panel/trial-summary/upload-monitor?trialId=${this.trialId}&trialCode=${this.$route.query.trialCode}&${this.$route.query.researchProgramNo}&studyCode=${row.StudyCode}`
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
<BaseContainer>
|
||||
<template slot="search-container">
|
||||
<el-form :inline="true">
|
||||
<!--所在中心-->
|
||||
<!--患者信息-->
|
||||
<el-form-item
|
||||
:label="$t('trials:pushRecord:table:trialSiteKeyInfo')"
|
||||
:label="
|
||||
$t('trials:visit:crcUpload:uploadDicomPacs:search:patientInfo')
|
||||
"
|
||||
prop="TrialSiteKeyInfo"
|
||||
>
|
||||
<el-input
|
||||
|
@ -15,50 +17,28 @@
|
|||
:placeholder="$t('trials:pushRecord:placeholder:trialSiteKeyInfo')"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!--接收端AE-->
|
||||
<!--检查技术-->
|
||||
<el-form-item
|
||||
:label="$t('trials:pushRecord:table:calledAE')"
|
||||
:label="
|
||||
$t('trials:visit:crcUpload:uploadDicomPacs:search:modalities')
|
||||
"
|
||||
prop="CalledAE"
|
||||
>
|
||||
<el-select
|
||||
v-model="searchData.CalledAE"
|
||||
<el-input
|
||||
v-model="searchData.Modalities"
|
||||
size="small"
|
||||
clearable
|
||||
style="width: 120px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item of calledAEList"
|
||||
:key="item"
|
||||
:value="item"
|
||||
:label="item"
|
||||
/>
|
||||
</el-select>
|
||||
style="width: 150px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!--发送端AE-->
|
||||
<!--检查日期-->
|
||||
<el-form-item
|
||||
:label="$t('trials:pushRecord:table:callingAE')"
|
||||
prop="CallingAE"
|
||||
:label="$t('trials:visit:crcUpload:uploadDicomPacs:search:studyTime')"
|
||||
>
|
||||
<el-select
|
||||
v-model="searchData.CallingAE"
|
||||
clearable
|
||||
style="width: 120px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item of callingAEList"
|
||||
:key="item"
|
||||
:value="item"
|
||||
:label="item"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!--最新接受日期-->
|
||||
<el-form-item :label="$t('trials:pushRecord:table:createTime')">
|
||||
<el-date-picker
|
||||
v-model="datetimerange"
|
||||
type="datetimerange"
|
||||
:default-time="['00:00:00', '23:59:59']"
|
||||
:start-placeholder="$t('trials:loginLog:table:beginTime')"
|
||||
:end-placeholder="$t('trials:loginLog:table:endTime')"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
@change="handleDatetimeChange"
|
||||
/>
|
||||
|
@ -75,6 +55,15 @@
|
|||
>
|
||||
{{ $t("common:button:reset") }}
|
||||
</el-button>
|
||||
<!-- 添加 -->
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-plus"
|
||||
:disabled="tableSelectData.length <= 0"
|
||||
@click="handleAddList"
|
||||
>
|
||||
{{ $t("common:button:add") }}
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</template>
|
||||
|
@ -85,49 +74,41 @@
|
|||
height="100"
|
||||
:data="list"
|
||||
class="table"
|
||||
@selection-change="handleSelectChange"
|
||||
@sort-change="handleSortByColumn"
|
||||
:default-sort="{ prop: 'StartTime', order: 'descending' }"
|
||||
:default-sort="{ prop: 'studyTime', order: 'descending' }"
|
||||
>
|
||||
<el-table-column type="selection" align="center" width="45" />
|
||||
<el-table-column type="index" width="50" />
|
||||
<!--中心编号-->
|
||||
<!--病历号-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:trialSiteCode')"
|
||||
prop="TrialSiteCode"
|
||||
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:patientId')"
|
||||
prop="PatientIdStr"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
<!--中心名称-->
|
||||
<!--患者姓名-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:trialSiteAliasName')"
|
||||
prop="TrialSiteAliasName"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
<!--发送端AE-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:callingAEList')"
|
||||
prop="CallingAEList"
|
||||
:label="
|
||||
$t('trials:visit:crcUpload:uploadDicomPacs:table:patientName')
|
||||
"
|
||||
prop="PatientName"
|
||||
min-width="90"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.CallingAEList.join(", ") }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!--发送端IP-->
|
||||
/>
|
||||
<!--性别-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:callingAEIP')"
|
||||
prop="CallingAEIP"
|
||||
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:patientSex')"
|
||||
prop="PatientSex"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
<!--接收端AE-->
|
||||
<!--出生日期-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:calledAEList')"
|
||||
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:patientSex')"
|
||||
prop="CalledAEList"
|
||||
min-width="90"
|
||||
show-overflow-tooltip
|
||||
|
@ -137,46 +118,47 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<!--检查数-->
|
||||
<!--检查信息-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:studyCount')"
|
||||
prop="StudyCount"
|
||||
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:modalities')"
|
||||
prop="Modalities"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
<!--检查日期-->
|
||||
<el-table-column
|
||||
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:studyTime')"
|
||||
prop="StudyTime"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
<!--图像数量-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:fileCount')"
|
||||
prop="FileCount"
|
||||
:label="
|
||||
$t('trials:visit:crcUpload:uploadDicomPacs:table:instanceCount')
|
||||
"
|
||||
prop="InstanceCount"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
<!--图像大小-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:fileSize')"
|
||||
prop="FileSize"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
<!--推送开始时间-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:startTime')"
|
||||
prop="StartTime"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
<!--推送结束时间-->
|
||||
<el-table-column
|
||||
:label="$t('trials:pushRecord:table:endTime')"
|
||||
prop="EndTime"
|
||||
min-width="160"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
:label="$t('common:action:action')"
|
||||
min-width="260"
|
||||
fixed="right"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<!-- 添加 -->
|
||||
<el-button
|
||||
icon="el-icon-view"
|
||||
:title="$t('common:button:add')"
|
||||
circle
|
||||
@click="handleAdd(scope.row)"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<!-- 分页组件 -->
|
||||
<pagination
|
||||
|
@ -191,20 +173,17 @@
|
|||
</template>
|
||||
<script>
|
||||
import {
|
||||
getSCPImageUploadList,
|
||||
getDicomCalledAEList,
|
||||
getDicomCallingAEList,
|
||||
getVisitPatientStudyFilterList,
|
||||
submitVisitStudyBinding,
|
||||
} from "@/api/trials";
|
||||
import BaseContainer from "@/components/BaseContainer";
|
||||
import Pagination from "@/components/Pagination";
|
||||
import moment from "moment";
|
||||
const searchDataDefault = () => {
|
||||
return {
|
||||
CallingAE: null,
|
||||
CalledAE: null,
|
||||
StartTime: null,
|
||||
EndTime: null,
|
||||
TrialSiteKeyInfo: null,
|
||||
EarliestStudyTime: null,
|
||||
LatestStudyTime: null,
|
||||
Modalities: null,
|
||||
PageIndex: 1,
|
||||
PageSize: 20,
|
||||
Asc: true,
|
||||
|
@ -213,6 +192,16 @@ const searchDataDefault = () => {
|
|||
};
|
||||
export default {
|
||||
components: { BaseContainer, Pagination },
|
||||
props: {
|
||||
subjectVisitId: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
subjectId: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
moment,
|
||||
|
@ -221,50 +210,59 @@ export default {
|
|||
total: 0,
|
||||
loading: false,
|
||||
datetimerange: [],
|
||||
calledAEList: [],
|
||||
callingAEList: [],
|
||||
tableSelectData: [],
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getCalledAEList();
|
||||
this.getCallingAEList();
|
||||
},
|
||||
mounted() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
// 获取接收端AE列表
|
||||
async getCalledAEList() {
|
||||
handleAddList() {
|
||||
if (this.tableSelectData.length < 0)
|
||||
return this.$message.warning(
|
||||
this.$t("trials:visit:crcUpload:uploadDicomPacs:message:notCheck")
|
||||
);
|
||||
let arr = this.tableSelectData.map((item) => item.ScpStudyId);
|
||||
this.submitVisitStudyBinding(arr);
|
||||
},
|
||||
handleAdd(row) {
|
||||
let arr = [row.ScpStudyId];
|
||||
this.submitVisitStudyBinding(arr);
|
||||
},
|
||||
// 添加检查
|
||||
async submitVisitStudyBinding(arr) {
|
||||
try {
|
||||
let params = {
|
||||
let data = {
|
||||
TrialId: this.$route.query.trialId,
|
||||
SubjectVisitId: this.subjectVisitId,
|
||||
SubjectId: this.subjectId,
|
||||
ScpStudyIdList: arr,
|
||||
};
|
||||
let res = await getDicomCalledAEList(params);
|
||||
this.loading = true;
|
||||
let res = await submitVisitStudyBinding(data);
|
||||
this.loading = false;
|
||||
if (res.IsSuccess) {
|
||||
this.calledAEList = res.Result;
|
||||
this.getList();
|
||||
this.$emit("getList");
|
||||
}
|
||||
} catch (err) {
|
||||
this.loading = false;
|
||||
console.log(err);
|
||||
}
|
||||
},
|
||||
// 获取发送端端AE列表
|
||||
async getCallingAEList() {
|
||||
try {
|
||||
let params = {
|
||||
TrialId: this.$route.query.trialId,
|
||||
};
|
||||
let res = await getDicomCallingAEList(params);
|
||||
if (res.IsSuccess) {
|
||||
this.callingAEList = res.Result;
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
}
|
||||
// 表格选择
|
||||
handleSelectChange(selection) {
|
||||
// console.log(selection, "handleSelectChange");
|
||||
this.tableSelectData = selection;
|
||||
},
|
||||
getList() {
|
||||
this.loading = true;
|
||||
this.searchData.TrialId = this.$route.query.trialId;
|
||||
getSCPImageUploadList(this.searchData)
|
||||
let data = {
|
||||
SubjectVisitId: this.subjectVisitId,
|
||||
SubjectId: this.subjectId,
|
||||
...this.searchData,
|
||||
};
|
||||
getVisitPatientStudyFilterList(data)
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
this.list = res.Result.CurrentPageData;
|
||||
|
@ -276,11 +274,11 @@ export default {
|
|||
},
|
||||
handleDatetimeChange(val) {
|
||||
if (val) {
|
||||
this.searchData.StartTime = val[0];
|
||||
this.searchData.EndTime = val[1];
|
||||
this.searchData.EarliestStudyTime = val[0];
|
||||
this.searchData.LatestStudyTime = val[1];
|
||||
} else {
|
||||
this.searchData.StartTime = "";
|
||||
this.searchData.EndTime = "";
|
||||
this.searchData.EarliestStudyTime = "";
|
||||
this.searchData.LatestStudyTime = "";
|
||||
}
|
||||
},
|
||||
handleSearch() {
|
||||
|
|
|
@ -1045,7 +1045,7 @@ export default {
|
|||
formRow: {},
|
||||
searchData: searchDataDefault(),
|
||||
loading: false,
|
||||
uploadVisible: false,
|
||||
uploadVisible: true,
|
||||
qcVisible: false,
|
||||
list: [],
|
||||
total: 0,
|
||||
|
|
|
@ -63,8 +63,8 @@ module.exports = {
|
|||
// target: 'http://123.56.94.154:8079', // 国内测试环境2
|
||||
// target: 'http://123.56.94.154:7000', // 国内测试环境2
|
||||
// target: 'http://123.56.94.154:30668',
|
||||
// target: 'http://106.14.89.110:30000',
|
||||
target: 'http://47.117.164.182:7010', // uat
|
||||
target: 'http://106.14.89.110:30000',
|
||||
// target: 'http://47.117.164.182:7010', // uat
|
||||
// target: 'http://123.56.181.144:7000',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
|
|
Loading…
Reference in New Issue