uat_us
caiyiling 2024-03-27 14:55:05 +08:00
commit 6407cd8264
8 changed files with 42 additions and 15 deletions

View File

@ -54,7 +54,7 @@ export const anonymization = function (file, config) {
} }
} }
} }
console.log(dataset) // console.log(dataset)
let newDicomFile = dataset.write() let newDicomFile = dataset.write()
const bufferArray = new Uint8Array(newDicomFile) const bufferArray = new Uint8Array(newDicomFile)
const blob = new Blob([bufferArray], { type: 'application/octet-stream' }) const blob = new Blob([bufferArray], { type: 'application/octet-stream' })

View File

@ -117,6 +117,7 @@
@sort-change="handleSortChange" @sort-change="handleSortChange"
stripe stripe
height="100" height="100"
:default-sort ="{prop: 'CreateTime', order: 'descending'}"
> >
<el-table-column type="index" width="40" fixed="left" align="left" /> <el-table-column type="index" width="40" fixed="left" align="left" />
<!-- 研究方案号 --> <!-- 研究方案号 -->
@ -748,7 +749,7 @@ export default {
data() { data() {
const searchDataDefault = () => { const searchDataDefault = () => {
return { return {
SortField: '', SortField: 'CreateTime',
Asc: false, Asc: false,
PageIndex: 1, PageIndex: 1,
PageSize: 20, PageSize: 20,

View File

@ -69,6 +69,7 @@
:data="list" :data="list"
class="table" class="table"
@sort-change="handleSortByColumn" @sort-change="handleSortByColumn"
:default-sort ="{prop: 'CreateTime', order: 'descending'}"
> >
<el-table-column <el-table-column
type="index" type="index"
@ -90,6 +91,7 @@
prop="IP" prop="IP"
min-width="90" min-width="90"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('trials:loginLog:table:incorrectUserName')" :label="$t('trials:loginLog:table:incorrectUserName')"
@ -110,6 +112,7 @@
prop="LoginUserTypeEnum" prop="LoginUserTypeEnum"
min-width="90" min-width="90"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('UserType',scope.row.LoginUserTypeEnum) }} {{ $fd('UserType',scope.row.LoginUserTypeEnum) }}
@ -120,12 +123,14 @@
prop="optUserName" prop="optUserName"
min-width="90" min-width="90"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('trials:loginLog:table:optUserType')" :label="$t('trials:loginLog:table:optUserType')"
prop="OptUserTypeEnum" prop="OptUserTypeEnum"
min-width="90" min-width="90"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('UserType',scope.row.OptUserTypeEnum) }} {{ $fd('UserType',scope.row.OptUserTypeEnum) }}
@ -136,6 +141,7 @@
prop="CreateTime" prop="CreateTime"
min-width="90" min-width="90"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
</el-table> </el-table>
<!-- 分页组件 --> <!-- 分页组件 -->
@ -156,8 +162,8 @@ const searchDataDefault = () => {
LoginFaildName: '', LoginFaildName: '',
BeginDate: '', BeginDate: '',
EndDate: '', EndDate: '',
Asc: true, Asc: false,
SortField: '', SortField: 'CreateTime',
PageIndex: 1, PageIndex: 1,
PageSize: 20 PageSize: 20
} }

View File

@ -90,6 +90,7 @@
stripe stripe
height="100" height="100"
@sort-change="handleSortByColumn" @sort-change="handleSortByColumn"
:default-sort ="{prop: 'ArchiveFinishedTime', order: 'descending'}"
> >
<el-table-column type="index" width="40" align="left" /> <el-table-column type="index" width="40" align="left" />
<!-- 中心编号 --> <!-- 中心编号 -->
@ -337,7 +338,7 @@ import BaseModel from '@/components/BaseModel'
import axios from "axios"; import axios from "axios";
const searchDataDefault = () => { const searchDataDefault = () => {
return { return {
SortField: '', SortField: 'ArchiveFinishedTime',
Asc: false, Asc: false,
PageIndex: 1, PageIndex: 1,
PageSize: 20, PageSize: 20,

View File

@ -581,7 +581,8 @@ export default {
trialBodyPartTypes: [], trialBodyPartTypes: [],
trialModalitys: [], trialModalitys: [],
myInterval: [], myInterval: [],
studyErrorList: [] studyErrorList: [],
confirmFlag:false
} }
}, },
mounted() { mounted() {
@ -669,8 +670,10 @@ export default {
cancelButtonText: this.$t("common:button:cancel"), cancelButtonText: this.$t("common:button:cancel"),
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.confirmFlag = false;
this.$emit("update:activeName",'clinical-data'); this.$emit("update:activeName",'clinical-data');
}).catch(() => { }).catch(() => {
this.confirmFlag = false;
}); });
}else{ }else{
if(showConfirm) return; if(showConfirm) return;
@ -940,7 +943,7 @@ export default {
beginUploadQueues() { beginUploadQueues() {
this.scanState = 'uploading' this.scanState = 'uploading'
this.studyErrorList = [] this.studyErrorList = []
console.log(this.uploadQueues, this.selectArr) // console.log(this.uploadQueues, this.selectArr)
this.warningArr = [] this.warningArr = []
for (let i = 0; i < this.selectArr.length; ++i) { for (let i = 0; i < this.selectArr.length; ++i) {
const index = this.selectArr[i].studyIndex const index = this.selectArr[i].studyIndex
@ -1078,6 +1081,7 @@ export default {
}) })
this.$refs.pathClear.value = '' this.$refs.pathClear.value = ''
this.btnLoading = false this.btnLoading = false
// console.log(11111);
if (this.studyErrorList.length > 0) { if (this.studyErrorList.length > 0) {
let msg = this.$t('trials:uploadDicomFiles2:message:studyErrorList') let msg = this.$t('trials:uploadDicomFiles2:message:studyErrorList')
msg = msg.replaceAll('xxx', this.studyErrorList.join('、')) msg = msg.replaceAll('xxx', this.studyErrorList.join('、'))
@ -1087,6 +1091,9 @@ export default {
this.beginUploadQueues() this.beginUploadQueues()
}) })
} }
if(this.confirmFlag){
this.getClinicalData(true);
}
}) })
}).catch(_ => { this.btnLoading = false }) }).catch(_ => { this.btnLoading = false })
}, },
@ -1378,7 +1385,7 @@ export default {
let flag = res.Result=== 'PET-CT' || res.Result==='CT、PT' || res.Result === 'PT、CT'; let flag = res.Result=== 'PET-CT' || res.Result==='CT、PT' || res.Result === 'PT、CT';
// let flag = params.study.seriesList.some(item=>item.modality==='PT'); // let flag = params.study.seriesList.some(item=>item.modality==='PT');
if(flag){ if(flag){
scope.getClinicalData(true); scope.confirmFlag = true;
} }
scope.getStudyInfo() scope.getStudyInfo()
if (scope.$route.path !== '/trials/trials-panel/visit/crc-question') { if (scope.$route.path !== '/trials/trials-panel/visit/crc-question') {

View File

@ -21,6 +21,7 @@
v-adaptive="{bottomOffset:45}" v-adaptive="{bottomOffset:45}"
height="100" height="100"
@sort-change="handleSortByColumn" @sort-change="handleSortByColumn"
:default-sort ="{prop: 'ConfirmTime', order: 'descending'}"
> >
<el-table-column type="index" width="40" /> <el-table-column type="index" width="40" />
<!-- 项目编号 --> <!-- 项目编号 -->
@ -48,16 +49,19 @@
:label="$t('trials:sysDocBeSigned:table:fileType')" :label="$t('trials:sysDocBeSigned:table:fileType')"
prop="FileType" prop="FileType"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:fileName')" :label="$t('trials:sysDocBeSigned:table:fileName')"
prop="Name" prop="Name"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:ConfirmTime')" :label="$t('trials:sysDocBeSigned:table:ConfirmTime')"
prop="ConfirmTime" prop="ConfirmTime"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('common:action:action')" :label="$t('common:action:action')"
@ -132,8 +136,8 @@ const searchDataDefault = () => {
IsSigned: true, IsSigned: true,
pageIndex: 1, pageIndex: 1,
pageSize: 20, pageSize: 20,
asc: true, asc: false,
sortField: '' sortField: 'ConfirmTime'
} }
} }
export default { export default {

View File

@ -21,22 +21,26 @@
v-adaptive="{bottomOffset:45}" v-adaptive="{bottomOffset:45}"
height="100" height="100"
@sort-change="handleSortByColumn" @sort-change="handleSortByColumn"
:default-sort ="{prop: 'UpdateTime', order: 'descending'}"
> >
<el-table-column type="index" width="40" /> <el-table-column type="index" width="40" />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:fileType')" :label="$t('trials:sysDocBeSigned:table:fileType')"
prop="FileType" prop="FileType"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:fileName')" :label="$t('trials:sysDocBeSigned:table:fileName')"
prop="Name" prop="Name"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:uploadTime')" :label="$t('trials:sysDocBeSigned:table:uploadTime')"
prop="UpdateTime" prop="UpdateTime"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('common:action:action')" :label="$t('common:action:action')"
@ -119,8 +123,8 @@ const searchDataDefault = () => {
return { return {
pageIndex: 1, pageIndex: 1,
pageSize: 20, pageSize: 20,
asc: true, asc: false,
sortField: '' sortField: 'UpdateTime'
} }
} }
export default { export default {

View File

@ -21,22 +21,26 @@
v-adaptive="{bottomOffset:45}" v-adaptive="{bottomOffset:45}"
height="100" height="100"
@sort-change="handleSortByColumn" @sort-change="handleSortByColumn"
:default-sort ="{prop: 'UpdateTime', order: 'descending'}"
> >
<el-table-column type="index" width="40" /> <el-table-column type="index" width="40" />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:fileType')" :label="$t('trials:sysDocBeSigned:table:fileType')"
prop="FileType" prop="FileType"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:fileName')" :label="$t('trials:sysDocBeSigned:table:fileName')"
prop="Name" prop="Name"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:uploadTime')" :label="$t('trials:sysDocBeSigned:table:uploadTime')"
prop="UpdateTime" prop="UpdateTime"
show-overflow-tooltip show-overflow-tooltip
sortable="custom"
/> />
<el-table-column <el-table-column
:label="$t('common:action:action')" :label="$t('common:action:action')"
@ -119,8 +123,8 @@ const searchDataDefault = () => {
return { return {
pageIndex: 1, pageIndex: 1,
pageSize: 20, pageSize: 20,
asc: true, asc: false,
sortField: '' sortField: 'UpdateTime'
} }
} }
export default { export default {