排序修改
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
342f833eb8
commit
3b96a5326e
|
@ -47,7 +47,7 @@
|
|||
<el-table-column prop="Name" :label="$t('trials:self-attachment:table:fileName')" show-overflow-tooltip
|
||||
sortable="custom" />
|
||||
<el-table-column :label="$t('trials:self-attachment:table:AttachmentCount')" prop="AttachmentCount"
|
||||
show-overflow-tooltip sortable="custom">
|
||||
show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
<el-button type="text" @click.stop="openAttachment(scope.row, true)">{{ scope.row.AttachmentCount
|
||||
}}</el-button>
|
||||
|
|
|
@ -147,7 +147,6 @@
|
|||
prop="UserType"
|
||||
:label="$t('trials:staff:table:userType')"
|
||||
show-overflow-tooltip
|
||||
sortable
|
||||
width="160"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
|
|
|
@ -356,7 +356,14 @@ export default {
|
|||
} else {
|
||||
this.searchData.Asc = false
|
||||
}
|
||||
this.searchData.SortField = column.prop
|
||||
let prop = column.prop
|
||||
if (prop === 'TotalImageSizeStr') {
|
||||
prop = 'TotalImageSize'
|
||||
}
|
||||
if (prop === 'TotalReadingImageSizeStr') {
|
||||
prop = 'TotalReadingImageSize'
|
||||
}
|
||||
this.searchData.SortField = prop
|
||||
this.searchData.PageIndex = 1
|
||||
this.getList()
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue