字段修改
This commit is contained in:
parent
139e9b269b
commit
32fcf1b9a1
|
|
@ -57,7 +57,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="showList">
|
||||
<div class="showList" v-if="pageData.total > 0">
|
||||
<equip-card
|
||||
class="card"
|
||||
v-for="(v,i) in equipList"
|
||||
|
|
@ -71,8 +71,11 @@
|
|||
time-unit="月"
|
||||
@on-click="toDetail"></equip-card>
|
||||
</div>
|
||||
<div class="noData" v-else>
|
||||
<el-empty :image-size="200" />
|
||||
</div>
|
||||
|
||||
<div class="pagination">
|
||||
<div class="pagination" v-if="pageData.total > 0">
|
||||
<el-pagination
|
||||
v-model:current-page="pageData.pageNum"
|
||||
:page-size="pageData.pageSize"
|
||||
|
|
@ -416,8 +419,24 @@ const getData = async (text = '') => {
|
|||
const params = {
|
||||
keyWord: text,
|
||||
pageSize:pageData.pageSize,
|
||||
pageNum:pageData.pageNum
|
||||
pageNum:pageData.pageNum,
|
||||
updateTimeOrderBy:'',
|
||||
monthLeasePriceOrderBy:'',
|
||||
typeId:'',
|
||||
monthLeasePriceMin:0,
|
||||
monthLeasePriceMax:'',
|
||||
ageMin:'',
|
||||
ageMax:'',
|
||||
workingHoursMin:'',
|
||||
workingHoursMax:''
|
||||
}
|
||||
|
||||
if(optionActive.value == '1'){
|
||||
|
||||
}else if(optionActive.value == '2'){
|
||||
|
||||
}
|
||||
|
||||
const res = await getList(params)
|
||||
pageData.total = res.total
|
||||
equipList.value = res.rows
|
||||
|
|
@ -507,7 +526,7 @@ init()
|
|||
cursor: pointer;
|
||||
color: #939393;
|
||||
font-size: 15px;
|
||||
|
||||
line-height: 25px;
|
||||
&:hover {
|
||||
color: red;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue