Compare commits

..

No commits in common. "31d3a17b80cb0a17b788f727ebfdd9b9629e25f2" and "a8bebaba49cdb3034a49ed267a5c95d26d425737" have entirely different histories.

2 changed files with 54 additions and 104 deletions

View File

@ -813,7 +813,7 @@ export default {
},
data() {
return {
uploadActiveName: "file",
uploadActiveName: "pacs",
editStudyInfoVisible: false,
studyForm: {
StudyCode: "",

View File

@ -70,123 +70,59 @@
<template slot="main-container">
<el-table
v-loading="loading"
v-adaptive="{ bottomOffset: 150 }"
v-adaptive="{ bottomOffset: 120 }"
height="100"
:data="list"
class="table"
@selection-change="handleSelectChange"
@sort-change="handleSortByColumn"
:default-sort="{ prop: 'StudyTime', 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:visit:crcUpload:uploadDicomPacs:table:patientMessage')
"
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:patientId')"
prop="PatientIdStr"
min-width="140"
show-overflow-tooltip
sortable="custom"
>
<template slot="header">
<el-tooltip placement="top">
<div slot="content">
{{ $t("trials:uploadDicomList:table:pId") }}<br />
{{ $t("trials:uploadDicomList:table:patientName") }}<br />
{{ $t("trials:uploadDicomList:table:pInfo") }}
</div>
<span>{{ $t("trials:uploadDicomList:table:patientInfo") }}</span>
</el-tooltip>
</template>
<template slot-scope="scope">
<div style="line-height: 15px">
<div>
<span v-if="scope.row.PatientIdStr"
><span style="font-weight: 500">PID: </span
>{{ scope.row.PatientIdStr }}</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
<div>
<span :class="[scope.row.PatientName ? '' : 'colorOfRed']">
{{ scope.row.PatientName ? scope.row.PatientName : "N/A" }}
</span>
</div>
<div>
<span :class="[scope.row.PatientSex ? '' : 'colorOfRed']">
{{ scope.row.PatientSex ? scope.row.PatientSex : "N/A" }},
</span>
<span :class="[scope.row.PatientAge ? '' : 'colorOfRed']">
{{ scope.row.PatientAge ? scope.row.PatientAge : "N/A" }},
</span>
<span :class="[scope.row.PatientBirthDate ? '' : 'colorOfRed']">
{{
scope.row.PatientBirthDate
? scope.row.PatientBirthDate
: "N/A"
}}
</span>
</div>
</div>
</template>
</el-table-column>
<!--检查申请号-->
<el-table-column
:label="
$t('trials:visit:crcUpload:uploadDicomPacs:table:accNumber')
"
prop="AccNumber"
min-width="90"
show-overflow-tooltip
sortable="custom"
/>
<!--检查模态-->
<el-table-column
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:modalities')"
prop="Modalities"
min-width="120"
show-overflow-tooltip
sortable="custom"
/>
<!--检查部位-->
<el-table-column
:label="
$t('trials:visit:crcUpload:uploadDicomPacs:table:bodyPartExamined')
"
prop="BodyPartExamined"
min-width="120"
show-overflow-tooltip
sortable="custom"
/>
<!--检查描述-->
<el-table-column
:label="
$t('trials:visit:crcUpload:uploadDicomPacs:table:description')
"
prop="Description"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--序列数量-->
<!--患者姓名-->
<el-table-column
:label="
$t('trials:visit:crcUpload:uploadDicomPacs:table:seriesCount')
$t('trials:visit:crcUpload:uploadDicomPacs:table:patientName')
"
prop="SeriesCount"
prop="PatientName"
min-width="90"
show-overflow-tooltip
sortable="custom"
/>
<!--图像数量-->
<!--性别-->
<el-table-column
:label="
$t('trials:visit:crcUpload:uploadDicomPacs:table:instanceCount')
"
prop="InstanceCount"
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:patientSex')"
prop="PatientSex"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--出生日期-->
<el-table-column
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:patientSex')"
prop="CalledAEList"
min-width="90"
show-overflow-tooltip
sortable="custom"
><template slot-scope="scope">
{{ scope.row.CallingAEList.join(", ") }}
</template>
</el-table-column>
<!--检查信息-->
<el-table-column
:label="$t('trials:visit:crcUpload:uploadDicomPacs:table:modalities')"
prop="Modalities"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
@ -198,15 +134,29 @@
show-overflow-tooltip
sortable="custom"
/>
<el-table-column :label="$t('common:action:action')" fixed="right">
<!--图像数量-->
<el-table-column
:label="
$t('trials:visit:crcUpload:uploadDicomPacs:table:instanceCount')
"
prop="InstanceCount"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column
: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')"
type="text"
circle
@click="handleAdd(scope.row)"
>{{ $t("common:button:add") }}</el-button
>
/>
</template>
</el-table-column>
</el-table>
@ -237,7 +187,7 @@ const searchDataDefault = () => {
PageIndex: 1,
PageSize: 20,
Asc: true,
SortField: "StudyTime",
SortField: "StartTime",
};
};
export default {
@ -272,11 +222,11 @@ export default {
return this.$message.warning(
this.$t("trials:visit:crcUpload:uploadDicomPacs:message:notCheck")
);
let arr = this.tableSelectData.map((item) => item.SCPStudyId);
let arr = this.tableSelectData.map((item) => item.ScpStudyId);
this.submitVisitStudyBinding(arr);
},
handleAdd(row) {
let arr = [row.SCPStudyId];
let arr = [row.ScpStudyId];
this.submitVisitStudyBinding(arr);
},
//