修复部分列表点击重置或排序查询问题

uat_us
caiyiling 2024-04-10 15:13:28 +08:00
parent 94e80cbb38
commit 0accca7ec1
8 changed files with 22 additions and 11 deletions

View File

@ -763,6 +763,7 @@ export default {
this.getList()
},
handleReset() {
this.timeList = null
this.searchData = searchDataDefault()
this.getList()
},

View File

@ -21,7 +21,7 @@
<!-- 角色 -->
<el-form-item :label="$t('trials:researchStaff:table:role')">
<el-select
v-model="searchData.TrialRoleNameId"
v-model="searchData.TrialRoleCode"
style="width:120px;"
clearable
>
@ -29,7 +29,7 @@
v-for="item of dict.type.SiteSurvey_UserRoles"
:key="item.value"
:label="item.label"
:value="item.value"
:value="parseInt(item.raw.Code)"
/>
</el-select>
</el-form-item>
@ -164,12 +164,16 @@
</el-table-column>
<!-- 角色 -->
<el-table-column
prop="TrialRoleName"
prop="TrialRoleCode"
:label="$t('trials:researchStaff:table:role')"
show-overflow-tooltip
sortable="custom"
min-width="100"
/>
>
<template slot-scope="scope">
{{ $fd('SiteSurvey_UserRoles',scope.row.TrialRoleCode) }}
</template>
</el-table-column>
<!-- 电话号码 -->
<el-table-column
prop="Phone"
@ -259,7 +263,7 @@ const searchDataDefault = () => {
SiteId: '',
UserTypeId: '',
IsGenerateAccount: null,
TrialRoleNameId: '',
TrialRoleCode: '',
UserName: '',
OrganizationName: '',
FormWriterKeyInfo: '',
@ -292,6 +296,7 @@ export default {
}
},
mounted() {
console.log(this.dict.type.SiteSurvey_UserRoles)
this.getList()
this.getSite()
this.getUserType()

View File

@ -978,6 +978,7 @@ export default {
this.getList()
},
handleReset() {
this.timeList = null
this.searchData = searchDataDefault()
this.getList()
},

View File

@ -4,7 +4,11 @@ import * as cornerstoneTools from '@cornerstonejs/tools'
import cornerstoneDICOMImageLoader from '@cornerstonejs/dicom-image-loader'
import intel from './d-intel.json'
cornerstone.init({
gpuTier: intel
gpuTier: intel,
rendering: {
// useCPURendering: false,
useNorm16Texture: true
}
})
cornerstone.Settings.getRuntimeSettings().set('useCursors', false)
window.cornerstone = cornerstone

View File

@ -236,11 +236,14 @@ export default {
cornerstone.events.addEventListener('cornerstoneimageloaded', this.cornerstoneImageLoaded)
// cornerstone.events.addEventListener('cornerstoneimagecachefull', this.cornerstoneimagecachefull)
// cornerstone.events.addEventListener('cornerstoneimagecachechanged', this.cornerstoneimagecachechanged)
window.addEventListener('beforeunload', e => {
cornerstone.imageCache.purgeCache()
})
},
beforeDestroy() {
console.log('study---beforeDestroy')
cornerstone.imageCache.purgeCache()
DicomEvent.$off('refreshStudyListMeasureData')
window.removeEventListener('beforeunload', e => { cornerstone.imageCache.purgeCache() })
},
methods: {
initStudyInfo() {

View File

@ -210,6 +210,7 @@ export default {
},
//
handleReset() {
this.datetimerange = null
this.searchData = searchDataDefault()
this.getList()
},

View File

@ -183,7 +183,6 @@
min-width="120"
:label="$t('trials:uploadMonitor:table:uploadInterval')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
{{scope.row.UploadIntervalStr}}
@ -195,7 +194,6 @@
min-width="120"
:label="$t('trials:uploadMonitor:table:archiveInterval')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
{{scope.row.ArchiveIntervalStr}}
@ -207,7 +205,6 @@
min-width="100"
:label="$t('trials:uploadMonitor:table:totalTime')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
{{scope.row.TimeInterval}}

View File

@ -165,7 +165,6 @@
:label="$t('trials:consistencyCheck:table:modality')"
show-overflow-tooltip
width="140"
sortable="custom"
>
<template slot-scope="scope">
<span>{{ scope.row.Modalitys }}</span>