1.完成能力集市:基础设施-会客厅,字数太多时,展示不美观的问题;

2.完成融合服务:打包模式,点击发布时间,只能按照正序排,不能按照倒序排列的问题;
3完成.融合服务:打包模式,点击收藏量,只能按照正序排,不能按照倒序排列的问题
This commit is contained in:
gongjiale 2022-10-28 16:37:48 +08:00
parent ed6a7e85b2
commit 6967b3f1da
2 changed files with 1904 additions and 1911 deletions

View File

@ -47,12 +47,10 @@ const integrationOrder = reactive({
// -- // --
const changeOrder = (i, val, type) => { const changeOrder = (i, val, type) => {
console.log('i, val, type------------>', i, val, type);
integrationOrder.orderField = val integrationOrder.orderField = val
integrationOrder.orderType = type; integrationOrder.orderType = type;
// 0 apply_count ASC // 0 apply_count ASC
let _index = integrationOrderList.value.findIndex(x => x.value = val) let _index = integrationOrderList.value.findIndex(x => x.value == val)
if (_index > -1) { if (_index > -1) {
integrationOrderList.value[_index].orderType = type integrationOrderList.value[_index].orderType = type
} }

View File

@ -105,7 +105,13 @@
<span>面积{{ item.area }}</span> <span>面积{{ item.area }}</span>
</div> </div>
<div class="bottonmContent"> <div class="bottonmContent">
<a-tooltip>
<template #title>{{ item.description }}</template>
<span>{{ item.description }}</span>
</a-tooltip>
<!-- <a-tooltip>
{{ item.description }} {{ item.description }}
</a-tooltip> -->
</div> </div>
</div> </div>
<a-button <a-button
@ -851,11 +857,7 @@
const meetingSelect = reactive({ data: [] }) const meetingSelect = reactive({ data: [] })
const meetingSelectOld = reactive({ data: [] }) const meetingSelectOld = reactive({ data: [] })
const meetingOnSelectChange = (selectedRowKeys) => { const meetingOnSelectChange = (selectedRowKeys) => {
console.log( console.log('selectedRowKeys changed: ', selectedRowKeys, meetingSelect.data)
'selectedRowKeys changed: ',
selectedRowKeys,
meetingSelect.data
)
meetingSelect.data = selectedRowKeys meetingSelect.data = selectedRowKeys
meetingSelectOld.data[meetingPagination.value.current - 1] = meetingSelectOld.data[meetingPagination.value.current - 1] =
meetingSelect.data meetingSelect.data
@ -2141,13 +2143,7 @@
align: 'center', align: 'center',
}, },
]) ])
const onSelectChange = ( const onSelectChange = (record, selected, selectedRows, nativeEvent, type) => {
record,
selected,
selectedRows,
nativeEvent,
type
) => {
record = JSON.parse(JSON.stringify(record)) record = JSON.parse(JSON.stringify(record))
if (selected) { if (selected) {
if (selectedRowKeys.value.length == 1000) { if (selectedRowKeys.value.length == 1000) {
@ -2170,13 +2166,7 @@
mybus.emit('selectTablePoint', selectedList.value) mybus.emit('selectTablePoint', selectedList.value)
console.log('已选中======================>', selectedList.value) console.log('已选中======================>', selectedList.value)
} }
const onSelectChange2 = ( const onSelectChange2 = (record, selected, selectedRows, nativeEvent, type) => {
record,
selected,
selectedRows,
nativeEvent,
type
) => {
console.log( console.log(
'已选中======================>', '已选中======================>',
record, record,
@ -2189,10 +2179,7 @@
selectedRowKeys.value.push(record.name) selectedRowKeys.value.push(record.name)
selectedRows.value.push(record.name) selectedRows.value.push(record.name)
} else { } else {
selectedRowKeys.value.splice( selectedRowKeys.value.splice(selectedRowKeys.value.indexOf(record.name), 1)
selectedRowKeys.value.indexOf(record.name),
1
)
selectedRows.value.splice(selectedRowKeys.value.indexOf(record.name), 1) selectedRows.value.splice(selectedRowKeys.value.indexOf(record.name), 1)
} }
} }
@ -2610,6 +2597,14 @@
font-size: 0.14rem; font-size: 0.14rem;
margin: 0.15rem 0 0.2rem 0; margin: 0.15rem 0 0.2rem 0;
} }
.bottonmContent {
width: 100%;
overflow: hidden; //
text-overflow: ellipsis; //...
display: -webkit-box; //div1
-webkit-line-clamp: 3; //div12
-webkit-box-orient: vertical; //
}
} }
} }