修改评估结果的页面布局
This commit is contained in:
@@ -102,15 +102,16 @@
|
||||
<script>
|
||||
import { getAction, postAction, deleteAction, putAction } from '@/api/manage'
|
||||
import problemKnowledgeBaseList from './components/problemKnowledgeBaseList'
|
||||
|
||||
export default {
|
||||
name: 'collection',
|
||||
components:{
|
||||
components: {
|
||||
problemKnowledgeBaseList
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
selectedRowKeys: [],
|
||||
activeTab:this.$t('DocumentLibrary'),
|
||||
activeTab: this.$t('DocumentLibrary'),
|
||||
queryParams: {
|
||||
pageNo: 1,
|
||||
pageSize: 10
|
||||
@@ -126,7 +127,7 @@
|
||||
key: 'serialNumber',
|
||||
scopedSlots: { customRender: 'serialNumber' },
|
||||
align: 'left',
|
||||
sorter:true,
|
||||
sorter: true,
|
||||
ellipsis: true,
|
||||
width: 180
|
||||
},
|
||||
@@ -143,7 +144,7 @@
|
||||
align: 'left',
|
||||
width: 180,
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
sorter: true,
|
||||
dataIndex: 'state'
|
||||
},
|
||||
{
|
||||
@@ -151,7 +152,7 @@
|
||||
align: 'left',
|
||||
width: 180,
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
sorter: true,
|
||||
dataIndex: 'createTime'
|
||||
},
|
||||
{
|
||||
@@ -175,11 +176,11 @@
|
||||
methods: {
|
||||
tableOnChange(pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
|
||||
if(sorter.columnKey == 'serialNumber'){
|
||||
if (sorter.columnKey == 'serialNumber') {
|
||||
this.orderByField = 'serial_number'
|
||||
} else if(sorter.columnKey == 'createTime') {
|
||||
} else if (sorter.columnKey == 'createTime') {
|
||||
this.orderByField = 'create_time'
|
||||
} else{
|
||||
} else {
|
||||
this.orderByField = sorter.columnKey
|
||||
}
|
||||
this.loadData()
|
||||
@@ -205,7 +206,7 @@
|
||||
}
|
||||
})
|
||||
},//搜索
|
||||
callback(event){
|
||||
callback(event) {
|
||||
|
||||
},
|
||||
searchQuery() {
|
||||
@@ -326,7 +327,7 @@
|
||||
|
||||
.collection {
|
||||
.collection-search-wrapper {
|
||||
margin-bottom: 20px;
|
||||
/*margin-bottom: 20px;*/
|
||||
}
|
||||
|
||||
.colloction-table {
|
||||
@@ -367,6 +368,10 @@
|
||||
.box-button {
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
::v-deep .ant-card-body {
|
||||
padding: 0 24px!important;
|
||||
}
|
||||
</style>
|
||||
<style lang="less">
|
||||
/*.collection{*/
|
||||
|
||||
Reference in New Issue
Block a user