修复部分列表点击重置或排序查询问题
parent
94e80cbb38
commit
0accca7ec1
|
@ -763,6 +763,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
handleReset() {
|
handleReset() {
|
||||||
|
this.timeList = null
|
||||||
this.searchData = searchDataDefault()
|
this.searchData = searchDataDefault()
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<!-- 角色 -->
|
<!-- 角色 -->
|
||||||
<el-form-item :label="$t('trials:researchStaff:table:role')">
|
<el-form-item :label="$t('trials:researchStaff:table:role')">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="searchData.TrialRoleNameId"
|
v-model="searchData.TrialRoleCode"
|
||||||
style="width:120px;"
|
style="width:120px;"
|
||||||
clearable
|
clearable
|
||||||
>
|
>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
v-for="item of dict.type.SiteSurvey_UserRoles"
|
v-for="item of dict.type.SiteSurvey_UserRoles"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"
|
:value="parseInt(item.raw.Code)"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -164,12 +164,16 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 角色 -->
|
<!-- 角色 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="TrialRoleName"
|
prop="TrialRoleCode"
|
||||||
:label="$t('trials:researchStaff:table:role')"
|
:label="$t('trials:researchStaff:table:role')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
min-width="100"
|
min-width="100"
|
||||||
/>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('SiteSurvey_UserRoles',scope.row.TrialRoleCode) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- 电话号码 -->
|
<!-- 电话号码 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="Phone"
|
prop="Phone"
|
||||||
|
@ -259,7 +263,7 @@ const searchDataDefault = () => {
|
||||||
SiteId: '',
|
SiteId: '',
|
||||||
UserTypeId: '',
|
UserTypeId: '',
|
||||||
IsGenerateAccount: null,
|
IsGenerateAccount: null,
|
||||||
TrialRoleNameId: '',
|
TrialRoleCode: '',
|
||||||
UserName: '',
|
UserName: '',
|
||||||
OrganizationName: '',
|
OrganizationName: '',
|
||||||
FormWriterKeyInfo: '',
|
FormWriterKeyInfo: '',
|
||||||
|
@ -292,6 +296,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
console.log(this.dict.type.SiteSurvey_UserRoles)
|
||||||
this.getList()
|
this.getList()
|
||||||
this.getSite()
|
this.getSite()
|
||||||
this.getUserType()
|
this.getUserType()
|
||||||
|
|
|
@ -978,6 +978,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
handleReset() {
|
handleReset() {
|
||||||
|
this.timeList = null
|
||||||
this.searchData = searchDataDefault()
|
this.searchData = searchDataDefault()
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,7 +4,11 @@ import * as cornerstoneTools from '@cornerstonejs/tools'
|
||||||
import cornerstoneDICOMImageLoader from '@cornerstonejs/dicom-image-loader'
|
import cornerstoneDICOMImageLoader from '@cornerstonejs/dicom-image-loader'
|
||||||
import intel from './d-intel.json'
|
import intel from './d-intel.json'
|
||||||
cornerstone.init({
|
cornerstone.init({
|
||||||
gpuTier: intel
|
gpuTier: intel,
|
||||||
|
rendering: {
|
||||||
|
// useCPURendering: false,
|
||||||
|
useNorm16Texture: true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
cornerstone.Settings.getRuntimeSettings().set('useCursors', false)
|
cornerstone.Settings.getRuntimeSettings().set('useCursors', false)
|
||||||
window.cornerstone = cornerstone
|
window.cornerstone = cornerstone
|
||||||
|
|
|
@ -236,11 +236,14 @@ export default {
|
||||||
cornerstone.events.addEventListener('cornerstoneimageloaded', this.cornerstoneImageLoaded)
|
cornerstone.events.addEventListener('cornerstoneimageloaded', this.cornerstoneImageLoaded)
|
||||||
// cornerstone.events.addEventListener('cornerstoneimagecachefull', this.cornerstoneimagecachefull)
|
// cornerstone.events.addEventListener('cornerstoneimagecachefull', this.cornerstoneimagecachefull)
|
||||||
// cornerstone.events.addEventListener('cornerstoneimagecachechanged', this.cornerstoneimagecachechanged)
|
// cornerstone.events.addEventListener('cornerstoneimagecachechanged', this.cornerstoneimagecachechanged)
|
||||||
|
window.addEventListener('beforeunload', e => {
|
||||||
|
cornerstone.imageCache.purgeCache()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
console.log('study---beforeDestroy')
|
|
||||||
cornerstone.imageCache.purgeCache()
|
cornerstone.imageCache.purgeCache()
|
||||||
DicomEvent.$off('refreshStudyListMeasureData')
|
DicomEvent.$off('refreshStudyListMeasureData')
|
||||||
|
window.removeEventListener('beforeunload', e => { cornerstone.imageCache.purgeCache() })
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initStudyInfo() {
|
initStudyInfo() {
|
||||||
|
|
|
@ -210,6 +210,7 @@ export default {
|
||||||
},
|
},
|
||||||
// 重置列表查询
|
// 重置列表查询
|
||||||
handleReset() {
|
handleReset() {
|
||||||
|
this.datetimerange = null
|
||||||
this.searchData = searchDataDefault()
|
this.searchData = searchDataDefault()
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|
|
@ -183,7 +183,6 @@
|
||||||
min-width="120"
|
min-width="120"
|
||||||
:label="$t('trials:uploadMonitor:table:uploadInterval')"
|
:label="$t('trials:uploadMonitor:table:uploadInterval')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
sortable="custom"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{scope.row.UploadIntervalStr}}
|
{{scope.row.UploadIntervalStr}}
|
||||||
|
@ -195,7 +194,6 @@
|
||||||
min-width="120"
|
min-width="120"
|
||||||
:label="$t('trials:uploadMonitor:table:archiveInterval')"
|
:label="$t('trials:uploadMonitor:table:archiveInterval')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
sortable="custom"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{scope.row.ArchiveIntervalStr}}
|
{{scope.row.ArchiveIntervalStr}}
|
||||||
|
@ -207,7 +205,6 @@
|
||||||
min-width="100"
|
min-width="100"
|
||||||
:label="$t('trials:uploadMonitor:table:totalTime')"
|
:label="$t('trials:uploadMonitor:table:totalTime')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
sortable="custom"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{scope.row.TimeInterval}}
|
{{scope.row.TimeInterval}}
|
||||||
|
|
|
@ -165,7 +165,6 @@
|
||||||
:label="$t('trials:consistencyCheck:table:modality')"
|
:label="$t('trials:consistencyCheck:table:modality')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="140"
|
width="140"
|
||||||
sortable="custom"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.Modalitys }}</span>
|
<span>{{ scope.row.Modalitys }}</span>
|
||||||
|
|
Loading…
Reference in New Issue